From satish at linuxbug.org Sun Mar 1 20:13:11 2009 From: satish at linuxbug.org (Satish Patel) Date: Sun, 1 Mar 2009 14:13:11 -0500 Subject: SELinux problem for SNMP In-Reply-To: <16b031c0902260909r2f6bcea2laa541eeb9c718ba@mail.gmail.com> References: <20090226094505.3hnof1ub5wk0c8oo@mail.lintelindia.com> <16b031c0902260909r2f6bcea2laa541eeb9c718ba@mail.gmail.com> Message-ID: I have a selinx its running under default policy. i want SELinux disable for SNMP daemon thats it.. if any one know about how to disable for snmpd please let me know. I have tried to found on SELinux mailing list as well but not gave any appropriate answer. ----- Original Message ----- From: "Lee Azzarello" To: Sent: Thursday, February 26, 2009 12:09 PM Subject: Re: [Nagios-users] SELinux problem for SNMP >I believe your question would be better served on a list related to >SELinux. > > In my experience SELinux is overkill for anything but the most > paranoid security situations. Without a complete understanding of your > entire security landscape, you'll just end up fighting with your own > systems because SELinux is protecting them from you. > > -lee > > On Thu, Feb 26, 2009 at 9:45 AM, Satish Patel wrote: >> >> Hi, >> >> I have RHEL 5 Box with SELinux enforceing mode now what happend when >> my nagios box trying to use snmp to get CPU load its working fine. but >> when it trying to use DISK and MEM infor its failed not response. even >> this same plugin working with all my linux client ubuntu, debian, >> Redhat not problem with plugin but i found problem related to SELinux >> and i dont want to Disable it so what is the other option and how i >> can disable snmp policy in SELinux to make happy my nagios? >> >> >> Regards, >> >> Satish Patel >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, >> CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the >> Enterprise >> -Strategies to boost innovation and cut costs with open source >> participation >> -Receive a $600 discount off the registration fee with the source code: >> SFAD >> http://p.sf.net/sfu/XcvMzF8H >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ayotunde.Itayemi at zain.com Mon Mar 2 09:22:06 2009 From: Ayotunde.Itayemi at zain.com (Ayotunde Itayemi) Date: Mon, 2 Mar 2009 09:22:06 +0100 Subject: SUSPECT: gui config application In-Reply-To: <49A85FCC.1050604@weatherflow.com> References: <49A85FCC.1050604@weatherflow.com> Message-ID: <99487797D76C7841AEEDE4A1DCA86C7004E22165@VNL-LA01EX04S.vmobile-nigeria.com> Hi, I have been using NagiosQL and I must say it's great. I am going to try Centreon (not sure if it has modules for editing Nagios files though). There is also Lilac (formerly fruity) which comes with an autodiscovery engine (actually running Nmap).There is EZNag (lots of stuff to make Nagios easy to manage already bundled together) and Opscfg or so. But until I actually see something better, it's NagiosQL for me - here is thanks to the development team and the support community. Regards. "This mail is from a Gimper" -----Original Message----- From: Lance Raymond [mailto:lraymond at weatherflow.com] Sent: Friday, February 27, 2009 10:49 PM To: nagios-users at lists.sourceforge.net Subject: SUSPECT: [Nagios-users] gui config application Googling around there are a few out there, mostly ng1, ng2, and I am wondering if there is something nice and clean out there for nagios 3. I don't mind the cli, but sometimes a point/click is just so much easier. New to the list, so if it's been discussed, I apologize. ------------------------------------------------------------------------ ------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp-intl.com Mon Mar 2 10:37:41 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Mon, 2 Mar 2009 09:37:41 +0000 Subject: Connection refused question In-Reply-To: <49A88605.5030902@compinfosystems.com> References: <49A875B7.2060806@compinfosystems.com> Message-ID: <200903020937.41156.assaf.flatto@ssp-intl.com> Mark First - welcome the a world of wonder (meaning nagios) . Second - the nagios install comes with a complete set of documentation you can access via the wen interface . And for your question - the file containing the definitions you are looking for is called either commands.cfg or misccommnd.cfg , it resides in the etc directory of the nagios installation . most likely you'll find a command called check_http with no parameters , that is because it is going to the default ports , RTFM and made the modifications . Good luck . Assaf On Saturday 28 February 2009 00:32:05 Mark Weaver wrote: > Brian A. Seklecki wrote: > >> My question is where in the nagios configuration do I change the setting > >> so nagios knows what ports these two services are listening on? > > > > $ egrep -ir "check_(ssh|http)" in your {/usr/local,}/etc/nagios config > > dir: > > > > > > $ /usr/local/libexec/nagios/check_http -h|grep -i port > > strings and regular expressions, check connection times, and report on > > Usage: check_http -H | -I [-u ] [-p ] > > Append a port to include it in the header (eg: example.com:5000) > > -p, --port=INTEGER > > Port number (default: 80) > > Connect via SSL. Port defaults to 443 > > Minimum number of days a certificate has to be valid. Port defaults to > > 443 > > > > > > $ /usr/local/libexec/nagios/check_ssh -h|grep -i port > > Try to connect to an SSH server at specified server and port > > Usage:check_ssh [-46] [-t ] [-r ] [-p ] > > > > -p, --port=INTEGER > > Port number (default: 22) > > > > > > Adjust the templates as nessecary, or customize. > > > > Great books out there, too, eat em up! > > > > ~BAS > > Hi Brian, > > While I appreciate your reply I have absolutely no idea what you said. > As I mentioned earlier I'm a complete noobie when it comes to Nagios. > I.e. this is my first time ever exposure to this system. i've been all > over the config file and I can't find anywhere where it would appear you > could set the ports services run on for a given host. > > Do they even exist? > > Mark > > --------------------------------------------------------------------------- >--- Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing > the Enterprise -Strategies to boost innovation and cut costs with open > source participation -Receive a $600 discount off the registration fee with > the source code: SFAD http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vinod.e at enlume.com Mon Mar 2 10:43:27 2009 From: vinod.e at enlume.com (vinod.e) Date: Mon, 02 Mar 2009 15:13:27 +0530 Subject: tomcat plugins Message-ID: <49ABAA3F.1090806@enlume.com> I want to monitor tomcat in detail similar to mysql like no.of connection to tomcat ,memory used by tomcat only etc. related to tomcat ., Are there any plugins for tomcat available or scripts . Kindly forward . Thanks a lot. Regards Vinod ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Mon Mar 2 12:37:04 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 2 Mar 2009 11:37:04 +0000 Subject: Connection refused question In-Reply-To: <200903020937.41156.assaf.flatto@ssp-intl.com> References: <49A88605.5030902@compinfosystems.com> <200903020937.41156.assaf.flatto@ssp-intl.com> Message-ID: <765d77c80903020337s21ccdaa8q5bea50a8e17661f3@mail.gmail.com> Note that most plugins can be executed from the shell prompt with a "--help" option. For example: $ /usr/local/nagios/libexec/check_http --help will tell you what all the possible options are for this plugin, including how to check a particular port number. It's usually best to make sure you're happy that the plugin is working by executing it yourself from the shell prompt before configuring it in the nagios config files. hth, Jim ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp-intl.com Mon Mar 2 12:35:10 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Mon, 2 Mar 2009 11:35:10 +0000 Subject: tomcat plugins In-Reply-To: <49ABAA3F.1090806@enlume.com> References: <49ABAA3F.1090806@enlume.com> Message-ID: <200903021135.10555.assaf.flatto@ssp-intl.com> Take a look at this : http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2338.html;d=1 Hope this helps Assaf On Monday 02 March 2009 09:43:27 vinod.e wrote: > I want to monitor tomcat in detail similar to mysql like no.of > connection to tomcat ,memory used by tomcat only etc. related to tomcat > ., Are there any plugins for tomcat available or scripts . > Kindly forward . > Thanks a lot. > > > Regards > Vinod > > --------------------------------------------------------------------------- >--- Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing > the Enterprise -Strategies to boost innovation and cut costs with open > source participation -Receive a $600 discount off the registration fee with > the source code: SFAD http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philipp at phflesch.de Mon Mar 2 12:59:22 2009 From: philipp at phflesch.de (Philipp Flesch) Date: Mon, 02 Mar 2009 12:59:22 +0100 Subject: Monitor AD-Login?? Message-ID: <20090302125922.33ft4k1q840gkc0s@webmail.wvb-gym.de> Hi! I found a lot of usefull hints how to monitor my AD-server. I'll check that step by step. BUT: Is there a possibility to check if a special client (running Win XP or Windows 2003 Terminal-Server) can log into a special AD? Greetings Philipp ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Mon Mar 2 18:25:49 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Mon, 2 Mar 2009 11:25:49 -0600 Subject: Alert History seems empty Message-ID: If I try "View Alert History for this Service" I seem to get an error "No history information was found for this this service in the current log file" The file that it reports "File: /usr/local/nagios/var/nagios.log" is indeed correctly present. What else could be wrong? Does "Alert History" have to be explicitly enabled in some way? This is a simple "ping" service so it does have performance data. -- Rahul ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From masoud.tabrizi at gmail.com Mon Mar 2 17:08:15 2009 From: masoud.tabrizi at gmail.com (Masoud Tabrizi) Date: Mon, 2 Mar 2009 11:08:15 -0500 Subject: Monitoring Logs under Windows 2003 server Message-ID: <733AB7C81DB6459BAE8CF45FCE521BCD@EDI3MT> Hello Everyone, I have a requirement to monitor a large number of application log files under Win2003. Is there anything out there that can accomplish this? Using Nagios 2.9 and Nrpe_nt_0.8 Thanks in advance M ++++++++++++++++++++++++++++++++++++++++++++++++++++ Mobile Phone: 617-872-2052 email: masoud.tabrizi at gmail.com P Please consider the environment before printing this email ++++++++++++++++++++++++++++++++++++++++++++++++++++ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From curtislamasters at gmail.com Mon Mar 2 21:09:46 2009 From: curtislamasters at gmail.com (Curtis LaMasters) Date: Mon, 2 Mar 2009 14:09:46 -0600 Subject: Monitoring Logs under Windows 2003 server In-Reply-To: <733AB7C81DB6459BAE8CF45FCE521BCD@EDI3MT> References: <733AB7C81DB6459BAE8CF45FCE521BCD@EDI3MT> Message-ID: <6b13ab0f0903021209k530c114are98e175031dd794c@mail.gmail.com> You could use NSClient++ with the event log plugin. I'm not sure what you need exactly from the eventlog but it'll alert you when something happens. Curtis LaMasters http://www.curtis-lamasters.com http://www.builtnetworks.com On Mon, Mar 2, 2009 at 10:08 AM, Masoud Tabrizi wrote: > Hello Everyone, > > I have a requirement to monitor a large number of application log files > under Win2003. > > Is there anything out there that can accomplish this? > > Using Nagios 2.9 and Nrpe_nt_0.8 > > > > Thanks in advance > > M > > > > ++++++++++++++++++++++++++++++++++++++++++++++++++++ > > Mobile Phone: 617-872-2052 > > email: masoud.tabrizi at gmail.com > > ??P Please consider the environment before printing this email > > ++++++++++++++++++++++++++++++++++++++++++++++++++++ > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Mar 2 20:12:15 2009 From: marc at ena.com (Marc Powell) Date: Mon, 2 Mar 2009 13:12:15 -0600 Subject: Alert History seems empty In-Reply-To: References: Message-ID: <80C4C6AF-F1D6-49EA-9375-0DF1CCC2A50F@ena.com> On Mar 2, 2009, at 11:25 AM, Rahul Nabar wrote: > If I try "View Alert History for this Service" I seem to get an error > "No history information was found for this this service in the current > log file" > > The file that it reports "File: /usr/local/nagios/var/nagios.log" is > indeed correctly present. What else could be wrong? Does "Alert > History" have to be explicitly enabled in some way? No. > This is a simple "ping" service so it does have performance data. Alert history isn't performance data. An 'alert' is logged when the service changes state (i.e. OK->CRITICAL for example). Your service has not changed state in the current log file. Nagios does not log performance data to nagios.log. -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Mon Mar 2 20:57:50 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 2 Mar 2009 19:57:50 +0000 Subject: Alert History seems empty In-Reply-To: References: Message-ID: <765d77c80903021157u4446ee12oa12617d65ea4c0b5@mail.gmail.com> 2009/3/2 Rahul Nabar : > If I try "View Alert History for this Service" I seem to get an error > "No history information was found for this this service in the current > log file" > > The file that it reports "File: /usr/local/nagios/var/nagios.log" is > indeed correctly present. What else could be wrong? Does "Alert > History" have to be explicitly enabled in some way? > > This is a simple "ping" service so it does have performance data. > > -- > Rahul The history will normally only record anything if the ping check has changed state (for example from OK to Warning). If there's nothing in the log for a particular day, it simply means it''s been pinging fine all day (or if it's been critical all day long). Nagios itself doesn't do anything with the performance data, but can be configured to pass it on to flat files, a database or to a graph for example PNP or nagiosgrapher. I use (and recommend) PNP as it's easy to install and use and seems to get better & better with every new release. http://www.pnp4nagios.org/pnp/start ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From masoud.tabrizi at gmail.com Mon Mar 2 21:20:44 2009 From: masoud.tabrizi at gmail.com (Masoud Tabrizi) Date: Mon, 2 Mar 2009 15:20:44 -0500 Subject: Monitoring Logs under Windows 2003 server In-Reply-To: <6b13ab0f0903021209k530c114are98e175031dd794c@mail.gmail.com> References: <733AB7C81DB6459BAE8CF45FCE521BCD@EDI3MT> <6b13ab0f0903021209k530c114are98e175031dd794c@mail.gmail.com> Message-ID: <02A3F946013C44EB9B2B6CCAB8E86C45@EDI3MT> I looked that the event log but does no good for me as I am trying to monitor application logs and not events logs. looking for something similar to check_logfiles on Unix. Thanks ++++++++++++++++++++++++++++++++++++++++++++++++++++ -----Original Message----- From: Curtis LaMasters [mailto:curtislamasters at gmail.com] Sent: Monday, March 02, 2009 3:10 PM To: Masoud Tabrizi Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring Logs under Windows 2003 server You could use NSClient++ with the event log plugin. I'm not sure what you need exactly from the eventlog but it'll alert you when something happens. Curtis LaMasters http://www.curtis-lamasters.com http://www.builtnetworks.com On Mon, Mar 2, 2009 at 10:08 AM, Masoud Tabrizi wrote: > Hello Everyone, > > I have a requirement to monitor a large number of application log files > under Win2003. > > Is there anything out there that can accomplish this? > > Using Nagios 2.9 and Nrpe_nt_0.8 > > > > Thanks in advance > > M > > > > > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Mon Mar 2 22:28:48 2009 From: martyn at chetnet.co.uk (Martyn) Date: Mon, 2 Mar 2009 21:28:48 -0000 Subject: NSCLIENT Message-ID: Can anybody recommend an MSI editor, I would like to add the IP address of the server before I send the client MSI out, if I have to purchase one I do not mind. Cheers Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Tue Mar 3 00:36:53 2009 From: subscription at kkeane.com (Kevin Keane) Date: Mon, 2 Mar 2009 15:36:53 -0800 Subject: NSCLIENT In-Reply-To: References: Message-ID: <49AC6D95.3080801@kkeane.com> You don't have to purchase one. If you want to do the editing manually, use Microsoft's Orca. http://support.microsoft.com/kb/255905 Or if you want to automate it, look into MakeMSI. http://dennisbareis.com/makemsi.htm This scripting language is a bit quirky, but it works. That said, I'm currently working on a complete Nagios client including install package that may do just about the same thing (and a few more things). You can already download it from Sourceforge, although the "burn the server IP address into the MSI" functionality isn't implemented yet. One thing I did differently from NSClient is that I am using HTTPS to submit the results (an older version also supported SSH, but I have not re-implemented that in the latest version). That lets me avoid firewall issues. It is based on NSClient++ with quite a few enhancements. http://sourceforge.net/projects/tntmonitoring/ Martyn wrote: > > Can anybody recommend an MSI editor, I would like to add the IP > address of the server before I send the client MSI out, if I have to > purchase one I do not mind. > > Cheers > > Martyn > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Tue Mar 3 02:40:20 2009 From: amontibello at gmail.com (Anthony Montibello) Date: Mon, 2 Mar 2009 20:40:20 -0500 Subject: Monitor AD-Login?? In-Reply-To: <20090302125922.33ft4k1q840gkc0s@webmail.wvb-gym.de> References: <20090302125922.33ft4k1q840gkc0s@webmail.wvb-gym.de> Message-ID: Hi Philipp, CAN Login is a Bit dificult, For that it may be better to check Effective Permissions on a particular Resource for a particular User or group. For HAS logged in, then try Enabling Auditing to The Windows Security Log Then Use an EventLog Check, (there are several Window clients that do this including NC_NEt) Tony (AUthor of NC_NEt) On Mon, Mar 2, 2009 at 6:59 AM, Philipp Flesch wrote: > Hi! > I found a lot of usefull hints how to monitor my AD-server. I'll check > that step by step. > > BUT: > Is there a possibility to check if a special client (running Win XP or > Windows 2003 Terminal-Server) can log into a special AD? > > Greetings > > Philipp > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Tue Mar 3 02:35:15 2009 From: amontibello at gmail.com (Anthony Montibello) Date: Mon, 2 Mar 2009 20:35:15 -0500 Subject: Monitoring Logs under Windows 2003 server In-Reply-To: <02A3F946013C44EB9B2B6CCAB8E86C45@EDI3MT> References: <733AB7C81DB6459BAE8CF45FCE521BCD@EDI3MT> <6b13ab0f0903021209k530c114are98e175031dd794c@mail.gmail.com> <02A3F946013C44EB9B2B6CCAB8E86C45@EDI3MT> Message-ID: HI, This is something I been wanting to add to NC_NEt for a while, but have not had the time to implement. I have not yet heard of one availible specifically for nagios on a Windows Host. Assuming the Log Files are just TEXT your best bet is to write a program that parses through text logs using regular expessions. This can be done through VB Scripts. The tricky thing with VBS, or Dot Net is it handles RegExp slightly differently than compared to UNIX but there are a series of Settings one could use to get desired results from the Regexp. THe other tricky thing with Windows is making sure you file opening for Read Only , since opening them with RW access may cause their corrosponding apps to fail getting the file handles to its own log file. The last thing to consider is the order of the file, If the Log file always appends to the end then try to itterate through the file from the end moving twords the begining untill you hit your stopping point, This way you can exit the loop early. Tony (author of NC_NEt) On Mon, Mar 2, 2009 at 3:20 PM, Masoud Tabrizi wrote: > I looked that the event log but does no good for me as I am trying to > monitor application logs and not events logs. looking for something similar > to check_logfiles on Unix. > Thanks > > > ++++++++++++++++++++++++++++++++++++++++++++++++++++ > -----Original Message----- > From: Curtis LaMasters [mailto:curtislamasters at gmail.com] > Sent: Monday, March 02, 2009 3:10 PM > To: Masoud Tabrizi > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring Logs under Windows 2003 server > > You could use NSClient++ with the event log plugin. I'm not sure what > you need exactly from the eventlog but it'll alert you when something > happens. > > Curtis LaMasters > http://www.curtis-lamasters.com > http://www.builtnetworks.com > > > > On Mon, Mar 2, 2009 at 10:08 AM, Masoud Tabrizi > wrote: > > Hello Everyone, > > > > I have a requirement to monitor a large number of application log files > > under Win2003. > > > > Is there anything out there that can accomplish this? > > > > Using Nagios 2.9 and Nrpe_nt_0.8 > > > > > > > > Thanks in advance > > > > M > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > > -Strategies to boost innovation and cut costs with open source > participation > > -Receive a $600 discount off the registration fee with the source code: > SFAD > > http://p.sf.net/sfu/XcvMzF8H > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Tue Mar 3 02:48:44 2009 From: martyn at chetnet.co.uk (Martyn) Date: Tue, 3 Mar 2009 01:48:44 -0000 Subject: NSCLIENT In-Reply-To: <49AC6D95.3080801@kkeane.com> References: <49AC6D95.3080801@kkeane.com> Message-ID: Thanks very much for the reply. I will also take a look at your client too, how stable is it at present? Cheers -----Original Message----- From: Kevin Keane [mailto:subscription at kkeane.com] Sent: 02 March 2009 23:37 Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NSCLIENT You don't have to purchase one. If you want to do the editing manually, use Microsoft's Orca. http://support.microsoft.com/kb/255905 Or if you want to automate it, look into MakeMSI. http://dennisbareis.com/makemsi.htm This scripting language is a bit quirky, but it works. That said, I'm currently working on a complete Nagios client including install package that may do just about the same thing (and a few more things). You can already download it from Sourceforge, although the "burn the server IP address into the MSI" functionality isn't implemented yet. One thing I did differently from NSClient is that I am using HTTPS to submit the results (an older version also supported SSH, but I have not re-implemented that in the latest version). That lets me avoid firewall issues. It is based on NSClient++ with quite a few enhancements. http://sourceforge.net/projects/tntmonitoring/ Martyn wrote: > > Can anybody recommend an MSI editor, I would like to add the IP > address of the server before I send the client MSI out, if I have to > purchase one I do not mind. > > Cheers > > Martyn > ---------------------------------------------------------------------------- -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Tue Mar 3 04:01:40 2009 From: subscription at kkeane.com (Kevin Keane) Date: Mon, 2 Mar 2009 19:01:40 -0800 Subject: NSCLIENT In-Reply-To: References: Message-ID: <49AC9D94.3070107@kkeane.com> Hi Martyn, The client itself actually is quite stable; I have it running on several of my customer's servers for a few months now - maybe two years if you count the old versions. It is a fairly small piece of software written in C++ (the original version was written in VBS) and have yet to see it crash or cause any problems. The main value of the client - aside from my own innovation of using HTTPS to submit the passive check results - is that it packages quite a few third-party plugins, including NSClient++, and their configurations into a single installer package. What isn't stable about it is the exact specification, behavior and which plugins get packaged and how they are configured; I expect that there will be ongoing changes. The interface between the TNTMonitoring client and Nagios should be fairly stable - it is simply the standard NSCA protocol, but running over HTTPS PUT requests. On the receiving end, a simple PHP script accepts the results and puts it to the Nagios command file. The source code for TNTMonitoring contains an older version of that script; I should really be updating that. Also the documentation is really somewhat insufficient. The current installer will ask a number of questions before installing everything. One of the improvements I'm working on is to come up with a "quiet" version that simply installs without asking any questions - basically, what you've been asking for. Martyn wrote: > Thanks very much for the reply. > I will also take a look at your client too, how stable is it at present? > > Cheers > > -----Original Message----- > From: Kevin Keane [mailto:subscription at kkeane.com] > Sent: 02 March 2009 23:37 > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NSCLIENT > > You don't have to purchase one. If you want to do the editing manually, use > Microsoft's Orca. http://support.microsoft.com/kb/255905 > > Or if you want to automate it, look into MakeMSI. > http://dennisbareis.com/makemsi.htm This scripting language is a bit quirky, > but it works. > > That said, I'm currently working on a complete Nagios client including > install package that may do just about the same thing (and a few more > things). You can already download it from Sourceforge, although the "burn > the server IP address into the MSI" functionality isn't implemented yet. One > thing I did differently from NSClient is that I am using HTTPS to submit the > results (an older version also supported SSH, but I have not re-implemented > that in the latest version). That lets me avoid firewall issues. > > It is based on NSClient++ with quite a few enhancements. > > http://sourceforge.net/projects/tntmonitoring/ > > Martyn wrote: > >> Can anybody recommend an MSI editor, I would like to add the IP >> address of the server before I send the client MSI out, if I have to >> purchase one I do not mind. >> >> Cheers >> >> Martyn >> >> > > > ---------------------------------------------------------------------------- > -- > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Tue Mar 3 04:01:18 2009 From: subscription at kkeane.com (Kevin Keane) Date: Mon, 2 Mar 2009 19:01:18 -0800 Subject: NSCLIENT In-Reply-To: References: Message-ID: <49AC9D7E.4070806@kkeane.com> Hi Martyn, The client itself actually is quite stable; I have it running on several of my customer's servers for a few months now - maybe two years if you count the old versions. It is a fairly small piece of software written in C++ (the original version was written in VBS) and have yet to see it crash or cause any problems. The main value of the client - aside from my own innovation of using HTTPS to submit the passive check results - is that it packages quite a few third-party plugins, including NSClient++, and their configurations into a single installer package. What isn't stable about it is the exact specification, behavior and which plugins get packaged and how they are configured; I expect that there will be ongoing changes. The interface between the TNTMonitoring client and Nagios should be fairly stable - it is simply the standard NSCA protocol, but running over HTTPS PUT requests. On the receiving end, a simple PHP script accepts the results and puts it to the Nagios command file. The source code for TNTMonitoring contains an older version of that script; I should really be updating that. Also the documentation is really somewhat insufficient. The current installer will ask a number of questions before installing everything. One of the improvements I'm working on is to come up with a "quiet" version that simply installs without asking any questions - basically, what you've been asking for. Martyn wrote: > Thanks very much for the reply. > I will also take a look at your client too, how stable is it at present? > > Cheers > > -----Original Message----- > From: Kevin Keane [mailto:subscription at kkeane.com] > Sent: 02 March 2009 23:37 > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NSCLIENT > > You don't have to purchase one. If you want to do the editing manually, use > Microsoft's Orca. http://support.microsoft.com/kb/255905 > > Or if you want to automate it, look into MakeMSI. > http://dennisbareis.com/makemsi.htm This scripting language is a bit quirky, > but it works. > > That said, I'm currently working on a complete Nagios client including > install package that may do just about the same thing (and a few more > things). You can already download it from Sourceforge, although the "burn > the server IP address into the MSI" functionality isn't implemented yet. One > thing I did differently from NSClient is that I am using HTTPS to submit the > results (an older version also supported SSH, but I have not re-implemented > that in the latest version). That lets me avoid firewall issues. > > It is based on NSClient++ with quite a few enhancements. > > http://sourceforge.net/projects/tntmonitoring/ > > Martyn wrote: > >> Can anybody recommend an MSI editor, I would like to add the IP >> address of the server before I send the client MSI out, if I have to >> purchase one I do not mind. >> >> Cheers >> >> Martyn >> >> > > > ---------------------------------------------------------------------------- > -- > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael at medin.name Tue Mar 3 07:36:28 2009 From: michael at medin.name (Michael Medin) Date: Tue, 03 Mar 2009 07:36:28 +0100 Subject: Monitoring Logs under Windows 2003 server In-Reply-To: <02A3F946013C44EB9B2B6CCAB8E86C45@EDI3MT> References: <733AB7C81DB6459BAE8CF45FCE521BCD@EDI3MT> <6b13ab0f0903021209k530c114are98e175031dd794c@mail.gmail.com> <02A3F946013C44EB9B2B6CCAB8E86C45@EDI3MT> Message-ID: <49ACCFEC.7000609@medin.name> Hello, I would suggest someone to "port" check_logfiles to "windows" (ie working with for instance pure Perl or some such). That is the "point" of the NRPE support in NSClient++ (and others) // Michael Medin Masoud Tabrizi skrev: > I looked that the event log but does no good for me as I am trying to monitor application logs and not events logs. looking for something similar to check_logfiles on Unix. > Thanks > > > ++++++++++++++++++++++++++++++++++++++++++++++++++++ > -----Original Message----- > From: Curtis LaMasters [mailto:curtislamasters at gmail.com] > Sent: Monday, March 02, 2009 3:10 PM > To: Masoud Tabrizi > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring Logs under Windows 2003 server > > You could use NSClient++ with the event log plugin. I'm not sure what > you need exactly from the eventlog but it'll alert you when something > happens. > > Curtis LaMasters > http://www.curtis-lamasters.com > http://www.builtnetworks.com > > > > On Mon, Mar 2, 2009 at 10:08 AM, Masoud Tabrizi > wrote: > >> Hello Everyone, >> >> I have a requirement to monitor a large number of application log files >> under Win2003. >> >> Is there anything out there that can accomplish this? >> >> Using Nagios 2.9 and Nrpe_nt_0.8 >> >> >> >> Thanks in advance >> >> M >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise >> -Strategies to boost innovation and cut costs with open source participation >> -Receive a $600 discount off the registration fee with the source code: SFAD >> http://p.sf.net/sfu/XcvMzF8H >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp-intl.com Tue Mar 3 10:47:04 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Tue, 3 Mar 2009 09:47:04 +0000 Subject: Connection refused question In-Reply-To: <49ACA9A8.9070505@compinfosystems.com> References: <49A875B7.2060806@compinfosystems.com> Message-ID: <200903030947.04307.assaf.flatto@ssp-intl.com> Mark , first - please always post your questions to the list , you'll get faster answers and will share the knowledge earned with other members . As for your issue , see below : > Background info: > SSH Service: Reconfigure to non-standard port. 22 => 2270 > HTTPD Service: Reconfigure to non-standard port. 80 => 8080 (I've got > multiple web servers on the LAN serving different purposes. Apache on > the Nagios server, (this server is my sandbox) listens on port 8080. > > In the localhost.cfg file: > ========================= > define host{ > use linux-server ; Name of host > template to use > ; This host > definition will inherit all variables that are defined > ; in (or > inherited by) the linux-server host template definition. > host_name localhost > alias localhost > address 127.0.0.1 > } > > define service{ > use local-service ; Name of > service template to use > host_name localhost > service_description HTTP > check_command check_http > notifications_enabled 1 > } > > ================== > > in the services.cfg file > =============== > # 'check_http' command definition > define command{ > command_name check_http > command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$ > } since you define a command to wait a argument , you need to supply that in the command call in the check execution - meaning in the declaration of the service . so your service definition should be something like this : define service{ use local-service ; Name of service template to use host_name localhost service_description HTTP check_command check_http!$ARG1$ notifications_enabled 1 } where $ARG!$ is the "-p 8080 " string you with to direct the HTTP request to . Assaf -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Tue Mar 3 11:01:50 2009 From: pitchfork at ederdrom.de (Joerg Linge) Date: Tue, 03 Mar 2009 11:01:50 +0100 Subject: Monitoring Logs under Windows 2003 server In-Reply-To: <49ACCFEC.7000609@medin.name> References: <733AB7C81DB6459BAE8CF45FCE521BCD@EDI3MT> <6b13ab0f0903021209k530c114are98e175031dd794c@mail.gmail.com> <02A3F946013C44EB9B2B6CCAB8E86C45@EDI3MT> <49ACCFEC.7000609@medin.name> Message-ID: <49AD000E.7080300@ederdrom.de> Michael Medin schrieb: > Hello, > > I would suggest someone to "port" check_logfiles to "windows" (ie > working with for instance pure Perl or some such). > That is the "point" of the NRPE support in NSClient++ (and others) Hi Michael, check_logfiles is already availably for windows. http://www.consol.de/opensource/nagios/check-logfiles/ Joerg ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shimon at openu.ac.il Tue Mar 3 11:17:16 2009 From: shimon at openu.ac.il (Shimon Weinreich) Date: Tue, 3 Mar 2009 12:17:16 +0200 Subject: Nagios do not send hosts notifications Message-ID: Hello, I run Nagios version 3.0.3 on Linux. I have a strange problem. I don?t get any notifications When hosts went down but notifications is working OK for services. Any hint ?? Tnx, in advance ------- ?????, ????? ???????? ??????????? ?????? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue Mar 3 12:06:26 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 3 Mar 2009 11:06:26 +0000 Subject: Nagios do not send hosts notifications In-Reply-To: References: Message-ID: <765d77c80903030306i187d1503oadff5e36b1990140@mail.gmail.com> 2009/3/3 Shimon Weinreich : > Hello, > > I run Nagios version 3.0.3 on Linux. I have a strange problem. I don?t get > any notifications > > When hosts went down but notifications is working OK for services. > > Any hint ?? There are various options in the host definition which determine whether Nagios will send a notification for a host. For example max_check_attempts, check_interval, retry_interval, contact_groups, first_notification_delay, notification_period, notification_options and notifications_enabled. You can read all about them in the documentation at: http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host It's possible too that you might have disabled notifications for the host. Check the host in the web front-end to make sure. In the host detail screen it should say (amongst other things) "Notifications: ENABLED". Also note that host and service notification options are specified separately in the contact definition. For example, the template I use for contacts looks like this: define contact{ name generic-contact service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,c,r host_notification_options d,r service_notification_commands notify-service-by-email host_notification_commands notify-host-by-email register 0 } The host notification command is usually different to the service notification command. Check your command definitions and make sure there isn't some problem with your host notification command. hth, Jim ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Tue Mar 3 15:02:12 2009 From: martyn at chetnet.co.uk (Martyn) Date: Tue, 3 Mar 2009 14:02:12 -0000 Subject: NRPE only_from Message-ID: Hi all, I want to test connectivity from the outside world to my Linux box inside my network, I'm wanting to test before I try and monitor an external box. On the inside of my network I have a Linux box on 192.168.3.245 running NRPE and my Nagios Server on 192.168.3.247 Both of these are connected to a 3560 Cisco Switch which in turn is connected to my Linksys Router then onto my Cable modem. On my Linux box I have in my nrpe "only_from = 192.168.3.247 which allows Nagios to gather its stats, however if I change it to the public IP address that is given I get the following errors "Check_NRPE: Error Could not complete SSL handshake". In my .cfg file on my Nagios server (the cfg of the box I want to monitor) I have pointed it to my public IP address and restarted Nagios. On my Linksys Router I'm port forwarding to the Linux box port 5666 but it makes no difference, I have even put my Linux box in the DMZ but still no joy. Does anybody know how I can test my Linux box so it looks like its from the external network, failing that does anybody have a test box I can try and monitor for 10 minutes or so. Also, NRPE the line only_from, am I allowed to put the domain name or is it just IP address only. Thanks Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Mar 3 16:10:02 2009 From: marc at ena.com (Marc Powell) Date: Tue, 3 Mar 2009 09:10:02 -0600 Subject: NRPE only_from In-Reply-To: References: Message-ID: On Mar 3, 2009, at 8:02 AM, Martyn wrote: > Hi all, I want to test connectivity from the outside world to my > Linux box inside my network, I'm wanting to test before I try and > monitor an external box. > > On the inside of my network I have a Linux box on 192.168.3.245 > running NRPE and my Nagios Server on 192.168.3.247 > Both of these are connected to a 3560 Cisco Switch which in turn is > connected to my Linksys Router then onto my Cable modem. > > On my Linux box I have in my nrpe "only_from = 192.168.3.247 which > allows Nagios to gather its stats, however if I change it to the > public IP address that is given I get the following errors > "Check_NRPE: Error Could not complete SSL handshake". > NRPE will never see the public IP of your Linksys Router/Cable modem. The requests do not originate from that device. It may pass them, but it does not originate them. You need to permit the (public) IP of the machine you are testing from. > In my .cfg file on my Nagios server (the cfg of the box I want to > monitor) I have pointed it to my public IP address and restarted > Nagios. > > On my Linksys Router I'm port forwarding to the Linux box port 5666 > but it makes no difference, I have even put my Linux box in the DMZ > but still no joy. > I would be very surprised if the Linksys router supported NAT reflection. The key is that the requests must come in from the WAN interface for the port forwarding to work. If you're testing the port forwarding from your nagios machine (on private IP), the Linksys box isn't going to use the Forward rule for that connection. > Does anybody know how I can test my Linux box so it looks like its > from the external network, failing that does anybody have a test box > I can try and monitor for 10 minutes or so. > Test from a machine that is off your network, on the public Internet; a friends computer or one at work. Unless you have multiple public IP's given to you by your provider, an architecture to simulate that locally is complicated. > Also, NRPE the line only_from, am I allowed to put the domain name > or is it just IP address only > Do you mean 'allowed_hosts'? # ALLOWED HOST ADDRESSES # This is an optional comma-delimited list of IP address or hostnames # that are allowed to talk to the NRPE daemon. -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From livio.zanol.puppim at gmail.com Tue Mar 3 18:44:28 2009 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Tue, 3 Mar 2009 14:44:28 -0300 Subject: Ndoutils MySQL performance problem? Message-ID: Hello everyone! I'm having huge troubles with Mysql using 100% of CPU at peculiar times. I don't know when this problem starts and I don't know the reason, but when it happends I kill nagios, ndoutils and Mysql, and try to restart Mysql, ndoutils and Nagios at this order. When I start Nagios, the CPU usage of Mysql goes to 100% and everything just freezes with the initials INSERT/UPDATES made by ndoutils. Has anyone had the same problem? I've changed my.cnf to hold slow-queries logging, an have seen at intervals of 1 minute a query runned by ndo that tries to delete service_checks results. It takes about 4 seconds too run. Is this expected? Can anyone help me? Running Nagios 3.0.3, Debian etch, NDO2DB 1.4b7 and mysql Ver 14.12 Distrib 5.0.45. Slow-Queries log: # Time: 090303 14:29:25 # User at Host: ndoutils[ndoutils] @ localhost [] # Query_time: 4 Lock_time: 0 Rows_sent: 0 Rows_examined: 0 DELETE FROM nagios_servicechecks WHERE instance_id='1' AND start_time -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lee at dropio.com Tue Mar 3 18:43:41 2009 From: lee at dropio.com (Lee Azzarello) Date: Tue, 3 Mar 2009 12:43:41 -0500 Subject: Need to monitor Solaris 10 and am new to Nagios In-Reply-To: References: <770c4470902242021j293cfd09je8be2d2f33489e1d@mail.gmail.com> Message-ID: <16b031c0903030943r216f72fao84dbb2db31413036@mail.gmail.com> Open the web panel of Nagios and click on the "documentation" link. It's the second entry in the "general" category in the left frame. -lee On Fri, Feb 27, 2009 at 12:08 AM, syed jafar wrote: > > > I am new to Nagios and would like to monitor Solaris 10 systems (CPU, Disk, > ...etc). Nagios server/host?is running Redhat LINUX. Could someone let me > know step by step process what to do. I have been told that it's kinda > dfficult to monitor Solaris 10 system. If this is not possible is there a > PERL or Shell script available to monitor the disk and CPU utilization. > > > > Thanks, > > Syed Jafar > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From J.Roberson at tees.ac.uk Tue Mar 3 18:36:08 2009 From: J.Roberson at tees.ac.uk (Roberson, John) Date: Tue, 3 Mar 2009 17:36:08 +0000 Subject: Request for a list users. Message-ID: <1A1E94F0C6E8BC4A8EC276A6E723E037D8900FA2FF@HOLLYCLUSTER.windows.tees.ac.uk> Hello Nagios Users, I am hoping someone can help. This is not a technical problem as such but just a general request. I am introducing Nagios to my University as a monitoring solution, and I would like be able to list a few companies/academic establishments who are using Nagios to monitor their networks in a forthcoming presentation. Does such a list exist, and if so please point me to the URL. Kind Regards, John Roberson -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From masoud.tabrizi at gmail.com Tue Mar 3 18:54:42 2009 From: masoud.tabrizi at gmail.com (Masoud Tabrizi) Date: Tue, 3 Mar 2009 12:54:42 -0500 Subject: Monitoring Logs under Windows 2003 server In-Reply-To: <49ACCFEC.7000609@medin.name> References: <733AB7C81DB6459BAE8CF45FCE521BCD@EDI3MT> <6b13ab0f0903021209k530c114are98e175031dd794c@mail.gmail.com> <02A3F946013C44EB9B2B6CCAB8E86C45@EDI3MT> <49ACCFEC.7000609@medin.name> Message-ID: <0740CE670BE04DDD9C8919A484012C52@EDI3MT> Hello Michael, I came to the same conclusion as well. Thanks for all the responses. M ++++++++++++++++++++++++++++++++++++++++++++++++++++ email: masoud.tabrizi at gmail.com P Please consider the environment before printing this email ++++++++++++++++++++++++++++++++++++++++++++++++++++ -----Original Message----- From: Michael Medin [mailto:michael at medin.name] Sent: Tuesday, March 03, 2009 1:36 AM To: Masoud Tabrizi Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring Logs under Windows 2003 server Hello, I would suggest someone to "port" check_logfiles to "windows" (ie working with for instance pure Perl or some such). That is the "point" of the NRPE support in NSClient++ (and others) // Michael Medin Masoud Tabrizi skrev: > I looked that the event log but does no good for me as I am trying to monitor application logs and not events logs. looking for something similar to check_logfiles on Unix. > Thanks > > > ++++++++++++++++++++++++++++++++++++++++++++++++++++ > -----Original Message----- > From: Curtis LaMasters [mailto:curtislamasters at gmail.com] > Sent: Monday, March 02, 2009 3:10 PM > To: Masoud Tabrizi > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring Logs under Windows 2003 server > > You could use NSClient++ with the event log plugin. I'm not sure what > you need exactly from the eventlog but it'll alert you when something > happens. > > Curtis LaMasters > http://www.curtis-lamasters.com > http://www.builtnetworks.com > > > > On Mon, Mar 2, 2009 at 10:08 AM, Masoud Tabrizi > wrote: > >> Hello Everyone, >> >> I have a requirement to monitor a large number of application log files >> under Win2003. >> >> Is there anything out there that can accomplish this? >> >> Using Nagios 2.9 and Nrpe_nt_0.8 >> >> >> >> Thanks in advance >> >> M >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise >> -Strategies to boost innovation and cut costs with open source participation >> -Receive a $600 discount off the registration fee with the source code: SFAD >> http://p.sf.net/sfu/XcvMzF8H >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lee at dropio.com Tue Mar 3 18:54:14 2009 From: lee at dropio.com (Lee Azzarello) Date: Tue, 3 Mar 2009 12:54:14 -0500 Subject: Service linked to hostgroup / notifications In-Reply-To: References: <29d675940902262315n59f091d3rc5ed1f5dd3e03dfd@mail.gmail.com> <49A7B157.2080106@kkeane.com> Message-ID: <16b031c0903030954o10ee5755q70ca95f9b143200a@mail.gmail.com> On Fri, Feb 27, 2009 at 3:20 PM, Neu, Timothy wrote: > As I understand it, running NTP on a VM is a complete waste of > resources, as there is no real per-VM clock to keep in sync. (i.e., > you're updating ether) ?VMWare "fakes" a clock whenever a process tries > to access one. > > I know there are some kernel boot parameters that can be added to > improve time accuracy inside a VM. ?Not sure if I found them on Redhat's > site or VMWare's... ? That and VMWare tools time synchronization is the > best I've been able to come up with. I'm running 40 hosts in Amazon EC2. They are Xen virtual machines and all of their clocks are synced via NTP. I have never had a problem with time shift nor CPU performance. -lee ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Tue Mar 3 18:57:13 2009 From: ssimmons at cymfony.com (Seth Simmons) Date: Tue, 3 Mar 2009 12:57:13 -0500 Subject: Request for a list users. In-Reply-To: <1A1E94F0C6E8BC4A8EC276A6E723E037D8900FA2FF@HOLLYCLUSTER.windows.tees.ac.uk> References: <1A1E94F0C6E8BC4A8EC276A6E723E037D8900FA2FF@HOLLYCLUSTER.windows.tees.ac.uk> Message-ID: <4881ECF1AB752843908A20CEE07A8EB112784D@buf-ex01.cymfony.com> http://www.nagios.org/userprofiles/search.php?search=1 From: Roberson, John [mailto:J.Roberson at tees.ac.uk] Sent: Tuesday, March 3, 2009 12:36 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Request for a list users. Hello Nagios Users, I am hoping someone can help. This is not a technical problem as such but just a general request. I am introducing Nagios to my University as a monitoring solution, and I would like be able to list a few companies/academic establishments who are using Nagios to monitor their networks in a forthcoming presentation. Does such a list exist, and if so please point me to the URL. Kind Regards, John Roberson -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Tue Mar 3 19:02:45 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Tue, 3 Mar 2009 12:02:45 -0600 Subject: Alert History seems empty In-Reply-To: <80C4C6AF-F1D6-49EA-9375-0DF1CCC2A50F@ena.com> References: <80C4C6AF-F1D6-49EA-9375-0DF1CCC2A50F@ena.com> Message-ID: On Mon, Mar 2, 2009 at 1:12 PM, Marc Powell wrote: > > On Mar 2, 2009, at 11:25 AM, Rahul Nabar wrote: > > Alert history isn't performance data. An 'alert' is logged when the > service changes state (i.e. OK->CRITICAL for example). Your service > has not changed state in the current log file. Thanks Marc. My bad. What I should have been looking for is "View Trends for this service". I got confused between those two. -- Rahul ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Tue Mar 3 19:03:52 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Tue, 3 Mar 2009 12:03:52 -0600 Subject: Alert History seems empty In-Reply-To: <765d77c80903021157u4446ee12oa12617d65ea4c0b5@mail.gmail.com> References: <765d77c80903021157u4446ee12oa12617d65ea4c0b5@mail.gmail.com> Message-ID: On Mon, Mar 2, 2009 at 1:57 PM, Jim Avery wrote: > The history will normally only record anything if the ping check has > changed state (for example from OK to Warning). ?If there's nothing in > the log for a particular day, it simply means it''s been pinging fine > all day (or if it's been critical all day long). > > Nagios itself doesn't do anything with the performance data, but can > be configured to pass it on to flat files, a database or to a graph > for example PNP or nagiosgrapher. ?I use (and recommend) PNP as it's > easy to install and use and seems to get better & better with every > new release. ?http://www.pnp4nagios.org/pnp/start Thanks Jim. That makes sense now. I was misinterpreting the term "alert history". I already have PNP4nagios working. -- Rahul ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cyruspy at gmail.com Tue Mar 3 19:18:15 2009 From: cyruspy at gmail.com (Ciro Iriarte) Date: Tue, 3 Mar 2009 15:18:15 -0300 Subject: Ndoutils MySQL performance problem? In-Reply-To: References: Message-ID: 2009/3/3 Livio Zanol Puppim : > Hello everyone! > > I'm having huge troubles with Mysql using 100% of CPU at peculiar times. I > don't know when this problem starts and I don't know the reason, but when it > happends I kill nagios, ndoutils and Mysql, and try to restart Mysql, > ndoutils and Nagios at this order. When I start Nagios, the CPU usage of > Mysql goes to 100% and everything just freezes with the initials > INSERT/UPDATES made by ndoutils. > > Has anyone had the same problem? I've changed my.cnf to hold slow-queries > logging, an have seen at intervals of 1 minute a query runned by ndo that > tries to delete service_checks results. It takes about 4 seconds too run. Is > this expected? Can anyone help me? > > Running Nagios 3.0.3, Debian etch, NDO2DB 1.4b7 and mysql? Ver 14.12 Distrib > 5.0.45. > > > Slow-Queries log: > # Time: 090303 14:29:25 > # User at Host: ndoutils[ndoutils] @ localhost [] > # Query_time: 4? Lock_time: 0? Rows_sent: 0? Rows_examined: 0 > DELETE FROM nagios_servicechecks WHERE instance_id='1' AND > start_time # Time: 090303 14:30:26 > # User at Host: ndoutils[ndoutils] @ localhost [] > # Query_time: 4? Lock_time: 0? Rows_sent: 0? Rows_examined: 0 > DELETE FROM nagios_servicechecks WHERE instance_id='1' AND > start_time > Thank you. > -- > []'s > > L?vio Zanol Puppim > Try creating a index for that table ----- create index nagios_servicechecks_idx1 on nagios_servicechecks (start_time, instance_id) ----- I'm not sure if the order would change the result though (start_time, instance_id) OR (instance_id, start_time) Regards, -- Ciro Iriarte http://cyruspy.wordpress.com -- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgagne at iweb.com Tue Mar 3 19:26:12 2009 From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=) Date: Tue, 03 Mar 2009 13:26:12 -0500 Subject: Ndoutils MySQL performance problem? In-Reply-To: References: Message-ID: <49AD7644.4050500@iweb.com> Livio Zanol Puppim wrote: > I'm having huge troubles with Mysql using 100% of CPU at peculiar times. > I don't know when this problem starts and I don't know the reason, but > when it happends I kill nagios, ndoutils and Mysql, and try to restart > Mysql, ndoutils and Nagios at this order. When I start Nagios, the CPU > usage of Mysql goes to 100% and everything just freezes with the > initials INSERT/UPDATES made by ndoutils. You can read this thread too: [Nagios-users] NDOutils and Nagios startup speed http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg23943.html There's a list of indexes to create at the end. -- Mathieu ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From burton at simondsfamily.com Tue Mar 3 17:45:50 2009 From: burton at simondsfamily.com (Burton Simonds) Date: Tue, 3 Mar 2009 11:45:50 -0500 Subject: Notifications configuration Message-ID: <77f48c0d0903030845i65c52e2dt221ece139721d19f@mail.gmail.com> I am setting up my first nagios instance, and I am trying to figure out how to set up the notifications. I would like to have any service that is a warning send an email, while any service that is critical send a page. I can not find in the configurations where I can set that threshold. Can someone please point me in the right direction? Thanks, B ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Mar 3 21:29:09 2009 From: marc at ena.com (Marc Powell) Date: Tue, 3 Mar 2009 14:29:09 -0600 Subject: Notifications configuration In-Reply-To: <77f48c0d0903030845i65c52e2dt221ece139721d19f@mail.gmail.com> References: <77f48c0d0903030845i65c52e2dt221ece139721d19f@mail.gmail.com> Message-ID: <7CF8D1B8-E06D-40D8-A773-5CDD38962855@ena.com> On Mar 3, 2009, at 10:45 AM, Burton Simonds wrote: > I am setting up my first nagios instance, and I am trying to figure > out how to set up the notifications. I would like to have any > service that is a warning send an email, while any service that is > critical send a page. I can not find in the configurations where I > can set that threshold. > > Can someone please point me in the right direction? Nagios doesn't implement that type of logic. Some options that come to mind -- 1) Create a contact per status. contact1 that sends e-mails only does so for critical services; contact2 that sends pages only does so for warning services. 2) Have one contact but multiple notification commands (service_notification_commands service-notify-by-email,service-notify- by-pager). -by-email and -by-pager contain simple logic to only work for critical or warning respectively. 3) Create one contact with one notification command. That notification command contains the simple logic to send an e-mail or send a page depending on the notification type. 4) ... 5) Profit! This kind of configuration is discussed somewhat frequently on the list. The archives might provide more information. -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Tue Mar 3 23:57:39 2009 From: martyn at chetnet.co.uk (Martyn) Date: Tue, 3 Mar 2009 22:57:39 -0000 Subject: Email to Voice Message-ID: Although I'm new and still setting up how I want to monitor my Servers and Routers, it got me thinking about texts that I receive whilst I'm in bed, I'm so used to getting a text statement from my bank that I now sleep through them, so text alerts are not sufficient enough for me to lift my head of my pillow if there was a fault. Does anybody know of a company that offers email to voice service, this way I get Nagios to send an email to a server which in turn call my mobile and will play me an alert of some kind. Cheers Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From echatham at broadvox.net Wed Mar 4 00:07:16 2009 From: echatham at broadvox.net (Eric Chatham) Date: Tue, 3 Mar 2009 18:07:16 -0500 Subject: Exchange 2003 MIBs Message-ID: <4ABA3E162F60624A949503A7F960245EB0E1D28D50@CLEHBEXMS01.broadvox.local> Greetings! Does anyone know where I can find MIB sheets for Exchange 2003? We would like to monitor things like "inforomation store" and such in Nagios. Thank you. Eric Chatham ________________________________ CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mdiehl at diehlnet.com Wed Mar 4 00:42:45 2009 From: mdiehl at diehlnet.com (Mike Diehl) Date: Tue, 03 Mar 2009 23:42:45 +0000 Subject: Email to Voice In-Reply-To: References: Message-ID: <1236123765.15668.89.camel@ubuntu> Shameless plug: http://www.linuxjournal.com/content/custom-checks-and-notifications-nagios This is an article I wrote some time ago that shows you how to get a phone call from asterisk/nagios in the event of a fault. You simply record a voice message and there you go. Mike Diehl. On Tue, 2009-03-03 at 22:57 +0000, Martyn wrote: > Although I'm new and still setting up how I want to monitor my Servers > and Routers, it got me thinking about texts that I receive whilst I'm > in bed, I'm so used to getting a text statement from my bank that I > now sleep through them, so text alerts are not sufficient enough for > me to lift my head of my pillow if there was a fault. > > Does anybody know of a company that offers email to voice service, > this way I get Nagios to send an email to a server which in turn call > my mobile and will play me an alert of some kind. > > Cheers > > Martyn > > > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Wed Mar 4 02:12:02 2009 From: subscription at kkeane.com (Kevin Keane) Date: Tue, 3 Mar 2009 17:12:02 -0800 Subject: Exchange 2003 MIBs In-Reply-To: <4ABA3E162F60624A949503A7F960245EB0E1D28D50@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB0E1D28D50@CLEHBEXMS01.broadvox.local> Message-ID: <49ADD562.3050706@kkeane.com> Look into using NSClient++ and use it to access the Windows performance counters to get this type of information. Microsoft's support of SNMP is not all that great. If you don't want to install anything on the Exchange server, you could also look into using WMI to get the same information remotely. I'm not sure about how to integrate that with Nagios, though. Eric Chatham wrote: > > Greetings! > > > > Does anyone know where I can find MIB sheets for Exchange 2003? We > would like to monitor things like "inforomation store" and such in Nagios. > > > > Thank you. > > Eric Chatham > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Wed Mar 4 02:50:02 2009 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 3 Mar 2009 20:50:02 -0500 Subject: Exchange 2003 MIBs In-Reply-To: <49ADD562.3050706@kkeane.com> References: <4ABA3E162F60624A949503A7F960245EB0E1D28D50@CLEHBEXMS01.broadvox.local> <49ADD562.3050706@kkeane.com> Message-ID: hi, NC_Net has a WMI query Check built into it, http://sourceforge.net/projects/nc-net/ As well as ability to run scripts/executables, NSCA Support, Performance Counters, and EventLogs. There are also some VB Scrpts under Windows NRPE on nagios exchang that process through checking WMI Tony (author of NC_NEt) On Tue, Mar 3, 2009 at 8:12 PM, Kevin Keane wrote: > Look into using NSClient++ and use it to access the Windows performance > counters to get this type of information. Microsoft's support of SNMP is > not all that great. > > If you don't want to install anything on the Exchange server, you could > also look into using WMI to get the same information remotely. I'm not > sure about how to integrate that with Nagios, though. > > Eric Chatham wrote: > > > > Greetings! > > > > > > > > Does anyone know where I can find MIB sheets for Exchange 2003? We > > would like to monitor things like "inforomation store" and such in > Nagios. > > > > > > > > Thank you. > > > > Eric Chatham > > > > -- > Kevin Keane > Owner > The NetTech > Find the Uncommon: Expert Solutions for a Network You Never Have to Think > About > > Office: 866-642-7116 > http://www.4nettech.com > > This e-mail and attachments, if any, may contain confidential and/or > proprietary information. Please be advised that the unauthorized use or > disclosure of the information is strictly prohibited. The information herein > is intended only for use by the intended recipient(s) named above. If you > have received this transmission in error, please notify the sender > immediately and permanently delete the e-mail and any copies, printouts or > attachments thereof. > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shimon at openu.ac.il Wed Mar 4 05:17:17 2009 From: shimon at openu.ac.il (Shimon Weinreich) Date: Wed, 4 Mar 2009 06:17:17 +0200 Subject: Nagios-users Digest, Vol 34, Issue 2 In-Reply-To: References: Message-ID: Tnx for the quick answer. I'll check. ------- ?????, ????? ???????? ??????????? ?????? -----Original Message----- From: nagios-users-request at lists.sourceforge.net [mailto:nagios-users-request at lists.sourceforge.net] Sent: Tuesday, March 03, 2009 8:18 PM To: nagios-users at lists.sourceforge.net Subject: Nagios-users Digest, Vol 34, Issue 2 Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Re: NSCLIENT (Martyn) 2. Re: NSCLIENT (Kevin Keane) 3. Re: NSCLIENT (Kevin Keane) 4. Re: Monitoring Logs under Windows 2003 server (Michael Medin) 5. Re: Connection refused question (Assaf Flatto) 6. Re: Monitoring Logs under Windows 2003 server (Joerg Linge) 7. Nagios do not send hosts notifications (Shimon Weinreich) 8. Re: Nagios do not send hosts notifications (Jim Avery) 9. NRPE only_from (Martyn) 10. Re: NRPE only_from (Marc Powell) 11. Re: Need to monitor Solaris 10 and am new to Nagios (Lee Azzarello) 12. Ndoutils MySQL performance problem? (Livio Zanol Puppim) 13. Request for a list users. (Roberson, John) 14. Re: Monitoring Logs under Windows 2003 server (Masoud Tabrizi) 15. Re: Service linked to hostgroup / notifications (Lee Azzarello) 16. Re: Request for a list users. (Seth Simmons) 17. Re: Alert History seems empty (Rahul Nabar) 18. Re: Alert History seems empty (Rahul Nabar) 19. Re: Ndoutils MySQL performance problem? (Ciro Iriarte) ---------------------------------------------------------------------- Message: 1 Date: Tue, 3 Mar 2009 01:48:44 -0000 From: "Martyn" Subject: Re: [Nagios-users] NSCLIENT To: "'Kevin Keane'" Cc: nagios-users at lists.sourceforge.net Message-ID: Content-Type: text/plain; charset="us-ascii" Thanks very much for the reply. I will also take a look at your client too, how stable is it at present? Cheers -----Original Message----- From: Kevin Keane [mailto:subscription at kkeane.com] Sent: 02 March 2009 23:37 Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NSCLIENT You don't have to purchase one. If you want to do the editing manually, use Microsoft's Orca. http://support.microsoft.com/kb/255905 Or if you want to automate it, look into MakeMSI. http://dennisbareis.com/makemsi.htm This scripting language is a bit quirky, but it works. That said, I'm currently working on a complete Nagios client including install package that may do just about the same thing (and a few more things). You can already download it from Sourceforge, although the "burn the server IP address into the MSI" functionality isn't implemented yet. One thing I did differently from NSClient is that I am using HTTPS to submit the results (an older version also supported SSH, but I have not re-implemented that in the latest version). That lets me avoid firewall issues. It is based on NSClient++ with quite a few enhancements. http://sourceforge.net/projects/tntmonitoring/ Martyn wrote: > > Can anybody recommend an MSI editor, I would like to add the IP > address of the server before I send the client MSI out, if I have to > purchase one I do not mind. > > Cheers > > Martyn > ---------------------------------------------------------------------------- -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------ Message: 2 Date: Mon, 2 Mar 2009 19:01:18 -0800 From: Kevin Keane Subject: Re: [Nagios-users] NSCLIENT Cc: nagios-users at lists.sourceforge.net Message-ID: <49AC9D7E.4070806 at kkeane.com> Content-Type: text/plain; charset="US-ASCII"; format="flowed" Hi Martyn, The client itself actually is quite stable; I have it running on several of my customer's servers for a few months now - maybe two years if you count the old versions. It is a fairly small piece of software written in C++ (the original version was written in VBS) and have yet to see it crash or cause any problems. The main value of the client - aside from my own innovation of using HTTPS to submit the passive check results - is that it packages quite a few third-party plugins, including NSClient++, and their configurations into a single installer package. What isn't stable about it is the exact specification, behavior and which plugins get packaged and how they are configured; I expect that there will be ongoing changes. The interface between the TNTMonitoring client and Nagios should be fairly stable - it is simply the standard NSCA protocol, but running over HTTPS PUT requests. On the receiving end, a simple PHP script accepts the results and puts it to the Nagios command file. The source code for TNTMonitoring contains an older version of that script; I should really be updating that. Also the documentation is really somewhat insufficient. The current installer will ask a number of questions before installing everything. One of the improvements I'm working on is to come up with a "quiet" version that simply installs without asking any questions - basically, what you've been asking for. Martyn wrote: > Thanks very much for the reply. > I will also take a look at your client too, how stable is it at present? > > Cheers > > -----Original Message----- > From: Kevin Keane [mailto:subscription at kkeane.com] > Sent: 02 March 2009 23:37 > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NSCLIENT > > You don't have to purchase one. If you want to do the editing manually, use > Microsoft's Orca. http://support.microsoft.com/kb/255905 > > Or if you want to automate it, look into MakeMSI. > http://dennisbareis.com/makemsi.htm This scripting language is a bit quirky, > but it works. > > That said, I'm currently working on a complete Nagios client including > install package that may do just about the same thing (and a few more > things). You can already download it from Sourceforge, although the "burn > the server IP address into the MSI" functionality isn't implemented yet. One > thing I did differently from NSClient is that I am using HTTPS to submit the > results (an older version also supported SSH, but I have not re-implemented > that in the latest version). That lets me avoid firewall issues. > > It is based on NSClient++ with quite a few enhancements. > > http://sourceforge.net/projects/tntmonitoring/ > > Martyn wrote: > >> Can anybody recommend an MSI editor, I would like to add the IP >> address of the server before I send the client MSI out, if I have to >> purchase one I do not mind. >> >> Cheers >> >> Martyn >> >> > > > ---------------------------------------------------------------------------- > -- > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------ Message: 3 Date: Mon, 2 Mar 2009 19:01:40 -0800 From: Kevin Keane Subject: Re: [Nagios-users] NSCLIENT Cc: nagios-users at lists.sourceforge.net Message-ID: <49AC9D94.3070107 at kkeane.com> Content-Type: text/plain; charset="US-ASCII"; format="flowed" Hi Martyn, The client itself actually is quite stable; I have it running on several of my customer's servers for a few months now - maybe two years if you count the old versions. It is a fairly small piece of software written in C++ (the original version was written in VBS) and have yet to see it crash or cause any problems. The main value of the client - aside from my own innovation of using HTTPS to submit the passive check results - is that it packages quite a few third-party plugins, including NSClient++, and their configurations into a single installer package. What isn't stable about it is the exact specification, behavior and which plugins get packaged and how they are configured; I expect that there will be ongoing changes. The interface between the TNTMonitoring client and Nagios should be fairly stable - it is simply the standard NSCA protocol, but running over HTTPS PUT requests. On the receiving end, a simple PHP script accepts the results and puts it to the Nagios command file. The source code for TNTMonitoring contains an older version of that script; I should really be updating that. Also the documentation is really somewhat insufficient. The current installer will ask a number of questions before installing everything. One of the improvements I'm working on is to come up with a "quiet" version that simply installs without asking any questions - basically, what you've been asking for. Martyn wrote: > Thanks very much for the reply. > I will also take a look at your client too, how stable is it at present? > > Cheers > > -----Original Message----- > From: Kevin Keane [mailto:subscription at kkeane.com] > Sent: 02 March 2009 23:37 > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NSCLIENT > > You don't have to purchase one. If you want to do the editing manually, use > Microsoft's Orca. http://support.microsoft.com/kb/255905 > > Or if you want to automate it, look into MakeMSI. > http://dennisbareis.com/makemsi.htm This scripting language is a bit quirky, > but it works. > > That said, I'm currently working on a complete Nagios client including > install package that may do just about the same thing (and a few more > things). You can already download it from Sourceforge, although the "burn > the server IP address into the MSI" functionality isn't implemented yet. One > thing I did differently from NSClient is that I am using HTTPS to submit the > results (an older version also supported SSH, but I have not re-implemented > that in the latest version). That lets me avoid firewall issues. > > It is based on NSClient++ with quite a few enhancements. > > http://sourceforge.net/projects/tntmonitoring/ > > Martyn wrote: > >> Can anybody recommend an MSI editor, I would like to add the IP >> address of the server before I send the client MSI out, if I have to >> purchase one I do not mind. >> >> Cheers >> >> Martyn >> >> > > > ---------------------------------------------------------------------------- > -- > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------ Message: 4 Date: Tue, 03 Mar 2009 07:36:28 +0100 From: Michael Medin Subject: Re: [Nagios-users] Monitoring Logs under Windows 2003 server To: Masoud Tabrizi Cc: nagios-users at lists.sourceforge.net Message-ID: <49ACCFEC.7000609 at medin.name> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hello, I would suggest someone to "port" check_logfiles to "windows" (ie working with for instance pure Perl or some such). That is the "point" of the NRPE support in NSClient++ (and others) // Michael Medin Masoud Tabrizi skrev: > I looked that the event log but does no good for me as I am trying to monitor application logs and not events logs. looking for something similar to check_logfiles on Unix. > Thanks > > > ++++++++++++++++++++++++++++++++++++++++++++++++++++ > -----Original Message----- > From: Curtis LaMasters [mailto:curtislamasters at gmail.com] > Sent: Monday, March 02, 2009 3:10 PM > To: Masoud Tabrizi > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring Logs under Windows 2003 server > > You could use NSClient++ with the event log plugin. I'm not sure what > you need exactly from the eventlog but it'll alert you when something > happens. > > Curtis LaMasters > http://www.curtis-lamasters.com > http://www.builtnetworks.com > > > > On Mon, Mar 2, 2009 at 10:08 AM, Masoud Tabrizi > wrote: > >> Hello Everyone, >> >> I have a requirement to monitor a large number of application log files >> under Win2003. >> >> Is there anything out there that can accomplish this? >> >> Using Nagios 2.9 and Nrpe_nt_0.8 >> >> >> >> Thanks in advance >> >> M >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise >> -Strategies to boost innovation and cut costs with open source participation >> -Receive a $600 discount off the registration fee with the source code: SFAD >> http://p.sf.net/sfu/XcvMzF8H >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------ Message: 5 Date: Tue, 3 Mar 2009 09:47:04 +0000 From: Assaf Flatto Subject: Re: [Nagios-users] Connection refused question To: Mark Weaver Cc: Nagios User list Message-ID: <200903030947.04307.assaf.flatto at ssp-intl.com> Content-Type: text/plain; charset="US-ASCII" Mark , first - please always post your questions to the list , you'll get faster answers and will share the knowledge earned with other members . As for your issue , see below : > Background info: > SSH Service: Reconfigure to non-standard port. 22 => 2270 > HTTPD Service: Reconfigure to non-standard port. 80 => 8080 (I've got > multiple web servers on the LAN serving different purposes. Apache on > the Nagios server, (this server is my sandbox) listens on port 8080. > > In the localhost.cfg file: > ========================= > define host{ > use linux-server ; Name of host > template to use > ; This host > definition will inherit all variables that are defined > ; in (or > inherited by) the linux-server host template definition. > host_name localhost > alias localhost > address 127.0.0.1 > } > > define service{ > use local-service ; Name of > service template to use > host_name localhost > service_description HTTP > check_command check_http > notifications_enabled 1 > } > > ================== > > in the services.cfg file > =============== > # 'check_http' command definition > define command{ > command_name check_http > command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$ > } since you define a command to wait a argument , you need to supply that in the command call in the check execution - meaning in the declaration of the service . so your service definition should be something like this : define service{ use local-service ; Name of service template to use host_name localhost service_description HTTP check_command check_http!$ARG1$ notifications_enabled 1 } where $ARG!$ is the "-p 8080 " string you with to direct the HTTP request to . Assaf -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------ Message: 6 Date: Tue, 03 Mar 2009 11:01:50 +0100 From: Joerg Linge Subject: Re: [Nagios-users] Monitoring Logs under Windows 2003 server Cc: nagios-users at lists.sourceforge.net Message-ID: <49AD000E.7080300 at ederdrom.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Michael Medin schrieb: > Hello, > > I would suggest someone to "port" check_logfiles to "windows" (ie > working with for instance pure Perl or some such). > That is the "point" of the NRPE support in NSClient++ (and others) Hi Michael, check_logfiles is already availably for windows. http://www.consol.de/opensource/nagios/check-logfiles/ Joerg ------------------------------ Message: 7 Date: Tue, 3 Mar 2009 12:17:16 +0200 From: "Shimon Weinreich" Subject: [Nagios-users] Nagios do not send hosts notifications To: Message-ID: Content-Type: text/plain; charset="windows-1255" Hello, I run Nagios version 3.0.3 on Linux. I have a strange problem. I don?t get any notifications When hosts went down but notifications is working OK for services. Any hint ?? Tnx, in advance ------- ?????, ????? ???????? ??????????? ?????? -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 8 Date: Tue, 3 Mar 2009 11:06:26 +0000 From: Jim Avery Subject: Re: [Nagios-users] Nagios do not send hosts notifications To: nagios-users at lists.sourceforge.net Message-ID: <765d77c80903030306i187d1503oadff5e36b1990140 at mail.gmail.com> Content-Type: text/plain; charset=windows-1252 2009/3/3 Shimon Weinreich : > Hello, > > I run Nagios version 3.0.3 on Linux. I have a strange problem. I don?t get > any notifications > > When hosts went down but notifications is working OK for services. > > Any hint ?? There are various options in the host definition which determine whether Nagios will send a notification for a host. For example max_check_attempts, check_interval, retry_interval, contact_groups, first_notification_delay, notification_period, notification_options and notifications_enabled. You can read all about them in the documentation at: http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host It's possible too that you might have disabled notifications for the host. Check the host in the web front-end to make sure. In the host detail screen it should say (amongst other things) "Notifications: ENABLED". Also note that host and service notification options are specified separately in the contact definition. For example, the template I use for contacts looks like this: define contact{ name generic-contact service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,c,r host_notification_options d,r service_notification_commands notify-service-by-email host_notification_commands notify-host-by-email register 0 } The host notification command is usually different to the service notification command. Check your command definitions and make sure there isn't some problem with your host notification command. hth, Jim ------------------------------ Message: 9 Date: Tue, 3 Mar 2009 14:02:12 -0000 From: "Martyn" Subject: [Nagios-users] NRPE only_from To: Message-ID: Content-Type: text/plain; charset="us-ascii" Hi all, I want to test connectivity from the outside world to my Linux box inside my network, I'm wanting to test before I try and monitor an external box. On the inside of my network I have a Linux box on 192.168.3.245 running NRPE and my Nagios Server on 192.168.3.247 Both of these are connected to a 3560 Cisco Switch which in turn is connected to my Linksys Router then onto my Cable modem. On my Linux box I have in my nrpe "only_from = 192.168.3.247 which allows Nagios to gather its stats, however if I change it to the public IP address that is given I get the following errors "Check_NRPE: Error Could not complete SSL handshake". In my .cfg file on my Nagios server (the cfg of the box I want to monitor) I have pointed it to my public IP address and restarted Nagios. On my Linksys Router I'm port forwarding to the Linux box port 5666 but it makes no difference, I have even put my Linux box in the DMZ but still no joy. Does anybody know how I can test my Linux box so it looks like its from the external network, failing that does anybody have a test box I can try and monitor for 10 minutes or so. Also, NRPE the line only_from, am I allowed to put the domain name or is it just IP address only. Thanks Martyn -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 10 Date: Tue, 3 Mar 2009 09:10:02 -0600 From: Marc Powell Subject: Re: [Nagios-users] NRPE only_from To: nagios-users Mailinglist Message-ID: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes On Mar 3, 2009, at 8:02 AM, Martyn wrote: > Hi all, I want to test connectivity from the outside world to my > Linux box inside my network, I'm wanting to test before I try and > monitor an external box. > > On the inside of my network I have a Linux box on 192.168.3.245 > running NRPE and my Nagios Server on 192.168.3.247 > Both of these are connected to a 3560 Cisco Switch which in turn is > connected to my Linksys Router then onto my Cable modem. > > On my Linux box I have in my nrpe "only_from = 192.168.3.247 which > allows Nagios to gather its stats, however if I change it to the > public IP address that is given I get the following errors > "Check_NRPE: Error Could not complete SSL handshake". > NRPE will never see the public IP of your Linksys Router/Cable modem. The requests do not originate from that device. It may pass them, but it does not originate them. You need to permit the (public) IP of the machine you are testing from. > In my .cfg file on my Nagios server (the cfg of the box I want to > monitor) I have pointed it to my public IP address and restarted > Nagios. > > On my Linksys Router I'm port forwarding to the Linux box port 5666 > but it makes no difference, I have even put my Linux box in the DMZ > but still no joy. > I would be very surprised if the Linksys router supported NAT reflection. The key is that the requests must come in from the WAN interface for the port forwarding to work. If you're testing the port forwarding from your nagios machine (on private IP), the Linksys box isn't going to use the Forward rule for that connection. > Does anybody know how I can test my Linux box so it looks like its > from the external network, failing that does anybody have a test box > I can try and monitor for 10 minutes or so. > Test from a machine that is off your network, on the public Internet; a friends computer or one at work. Unless you have multiple public IP's given to you by your provider, an architecture to simulate that locally is complicated. > Also, NRPE the line only_from, am I allowed to put the domain name > or is it just IP address only > Do you mean 'allowed_hosts'? # ALLOWED HOST ADDRESSES # This is an optional comma-delimited list of IP address or hostnames # that are allowed to talk to the NRPE daemon. -- Marc ------------------------------ Message: 11 Date: Tue, 3 Mar 2009 12:43:41 -0500 From: Lee Azzarello Subject: Re: [Nagios-users] Need to monitor Solaris 10 and am new to Nagios To: Nagios Users Mailinglist Message-ID: <16b031c0903030943r216f72fao84dbb2db31413036 at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Open the web panel of Nagios and click on the "documentation" link. It's the second entry in the "general" category in the left frame. -lee On Fri, Feb 27, 2009 at 12:08 AM, syed jafar wrote: > > > I am new to Nagios and would like to monitor Solaris 10 systems (CPU, Disk, > ...etc). Nagios server/host?is running Redhat LINUX. Could someone let me > know step by step process what to do. I have been told that it's kinda > dfficult to monitor Solaris 10 system. If this is not possible is there a > PERL or Shell script available to monitor the disk and CPU utilization. > > > > Thanks, > > Syed Jafar > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------ Message: 12 Date: Tue, 3 Mar 2009 14:44:28 -0300 From: Livio Zanol Puppim Subject: [Nagios-users] Ndoutils MySQL performance problem? To: nagios List Message-ID: Content-Type: text/plain; charset="iso-8859-1" Hello everyone! I'm having huge troubles with Mysql using 100% of CPU at peculiar times. I don't know when this problem starts and I don't know the reason, but when it happends I kill nagios, ndoutils and Mysql, and try to restart Mysql, ndoutils and Nagios at this order. When I start Nagios, the CPU usage of Mysql goes to 100% and everything just freezes with the initials INSERT/UPDATES made by ndoutils. Has anyone had the same problem? I've changed my.cnf to hold slow-queries logging, an have seen at intervals of 1 minute a query runned by ndo that tries to delete service_checks results. It takes about 4 seconds too run. Is this expected? Can anyone help me? Running Nagios 3.0.3, Debian etch, NDO2DB 1.4b7 and mysql Ver 14.12 Distrib 5.0.45. Slow-Queries log: # Time: 090303 14:29:25 # User at Host: ndoutils[ndoutils] @ localhost [] # Query_time: 4 Lock_time: 0 Rows_sent: 0 Rows_examined: 0 DELETE FROM nagios_servicechecks WHERE instance_id='1' AND start_time Subject: [Nagios-users] Request for a list users. To: "'nagios-users at lists.sourceforge.net'" Message-ID: <1A1E94F0C6E8BC4A8EC276A6E723E037D8900FA2FF at HOLLYCLUSTER.windows.tees.ac.uk> Content-Type: text/plain; charset="us-ascii" Hello Nagios Users, I am hoping someone can help. This is not a technical problem as such but just a general request. I am introducing Nagios to my University as a monitoring solution, and I would like be able to list a few companies/academic establishments who are using Nagios to monitor their networks in a forthcoming presentation. Does such a list exist, and if so please point me to the URL. Kind Regards, John Roberson -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 14 Date: Tue, 3 Mar 2009 12:54:42 -0500 From: "Masoud Tabrizi" Subject: Re: [Nagios-users] Monitoring Logs under Windows 2003 server To: "'Michael Medin'" Cc: nagios-users at lists.sourceforge.net Message-ID: <0740CE670BE04DDD9C8919A484012C52 at EDI3MT> Content-Type: text/plain; charset="UTF-8" Hello Michael, I came to the same conclusion as well. Thanks for all the responses. M ++++++++++++++++++++++++++++++++++++++++++++++++++++ email: masoud.tabrizi at gmail.com P Please consider the environment before printing this email ++++++++++++++++++++++++++++++++++++++++++++++++++++ -----Original Message----- From: Michael Medin [mailto:michael at medin.name] Sent: Tuesday, March 03, 2009 1:36 AM To: Masoud Tabrizi Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring Logs under Windows 2003 server Hello, I would suggest someone to "port" check_logfiles to "windows" (ie working with for instance pure Perl or some such). That is the "point" of the NRPE support in NSClient++ (and others) // Michael Medin Masoud Tabrizi skrev: > I looked that the event log but does no good for me as I am trying to monitor application logs and not events logs. looking for something similar to check_logfiles on Unix. > Thanks > > > ++++++++++++++++++++++++++++++++++++++++++++++++++++ > -----Original Message----- > From: Curtis LaMasters [mailto:curtislamasters at gmail.com] > Sent: Monday, March 02, 2009 3:10 PM > To: Masoud Tabrizi > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring Logs under Windows 2003 server > > You could use NSClient++ with the event log plugin. I'm not sure what > you need exactly from the eventlog but it'll alert you when something > happens. > > Curtis LaMasters > http://www.curtis-lamasters.com > http://www.builtnetworks.com > > > > On Mon, Mar 2, 2009 at 10:08 AM, Masoud Tabrizi > wrote: > >> Hello Everyone, >> >> I have a requirement to monitor a large number of application log files >> under Win2003. >> >> Is there anything out there that can accomplish this? >> >> Using Nagios 2.9 and Nrpe_nt_0.8 >> >> >> >> Thanks in advance >> >> M >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise >> -Strategies to boost innovation and cut costs with open source participation >> -Receive a $600 discount off the registration fee with the source code: SFAD >> http://p.sf.net/sfu/XcvMzF8H >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------ Message: 15 Date: Tue, 3 Mar 2009 12:54:14 -0500 From: Lee Azzarello Subject: Re: [Nagios-users] Service linked to hostgroup / notifications To: Nagios-users at lists.sourceforge.net Message-ID: <16b031c0903030954o10ee5755q70ca95f9b143200a at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 On Fri, Feb 27, 2009 at 3:20 PM, Neu, Timothy wrote: > As I understand it, running NTP on a VM is a complete waste of > resources, as there is no real per-VM clock to keep in sync. (i.e., > you're updating ether) ?VMWare "fakes" a clock whenever a process tries > to access one. > > I know there are some kernel boot parameters that can be added to > improve time accuracy inside a VM. ?Not sure if I found them on Redhat's > site or VMWare's... ? That and VMWare tools time synchronization is the > best I've been able to come up with. I'm running 40 hosts in Amazon EC2. They are Xen virtual machines and all of their clocks are synced via NTP. I have never had a problem with time shift nor CPU performance. -lee ------------------------------ Message: 16 Date: Tue, 3 Mar 2009 12:57:13 -0500 From: "Seth Simmons" Subject: Re: [Nagios-users] Request for a list users. To: "Roberson, John" , Message-ID: <4881ECF1AB752843908A20CEE07A8EB112784D at buf-ex01.cymfony.com> Content-Type: text/plain; charset="us-ascii" http://www.nagios.org/userprofiles/search.php?search=1 From: Roberson, John [mailto:J.Roberson at tees.ac.uk] Sent: Tuesday, March 3, 2009 12:36 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Request for a list users. Hello Nagios Users, I am hoping someone can help. This is not a technical problem as such but just a general request. I am introducing Nagios to my University as a monitoring solution, and I would like be able to list a few companies/academic establishments who are using Nagios to monitor their networks in a forthcoming presentation. Does such a list exist, and if so please point me to the URL. Kind Regards, John Roberson -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 17 Date: Tue, 3 Mar 2009 12:02:45 -0600 From: Rahul Nabar Subject: Re: [Nagios-users] Alert History seems empty To: Marc Powell Cc: nagios-users Mailinglist Message-ID: Content-Type: text/plain; charset=ISO-8859-1 On Mon, Mar 2, 2009 at 1:12 PM, Marc Powell wrote: > > On Mar 2, 2009, at 11:25 AM, Rahul Nabar wrote: > > Alert history isn't performance data. An 'alert' is logged when the > service changes state (i.e. OK->CRITICAL for example). Your service > has not changed state in the current log file. Thanks Marc. My bad. What I should have been looking for is "View Trends for this service". I got confused between those two. -- Rahul ------------------------------ Message: 18 Date: Tue, 3 Mar 2009 12:03:52 -0600 From: Rahul Nabar Subject: Re: [Nagios-users] Alert History seems empty To: Jim Avery Cc: nagios-users at lists.sourceforge.net Message-ID: Content-Type: text/plain; charset=ISO-8859-1 On Mon, Mar 2, 2009 at 1:57 PM, Jim Avery wrote: > The history will normally only record anything if the ping check has > changed state (for example from OK to Warning). ?If there's nothing in > the log for a particular day, it simply means it''s been pinging fine > all day (or if it's been critical all day long). > > Nagios itself doesn't do anything with the performance data, but can > be configured to pass it on to flat files, a database or to a graph > for example PNP or nagiosgrapher. ?I use (and recommend) PNP as it's > easy to install and use and seems to get better & better with every > new release. ?http://www.pnp4nagios.org/pnp/start Thanks Jim. That makes sense now. I was misinterpreting the term "alert history". I already have PNP4nagios working. -- Rahul ------------------------------ Message: 19 Date: Tue, 3 Mar 2009 15:18:15 -0300 From: Ciro Iriarte Subject: Re: [Nagios-users] Ndoutils MySQL performance problem? To: Livio Zanol Puppim Cc: nagios List Message-ID: Content-Type: text/plain; charset=UTF-8 2009/3/3 Livio Zanol Puppim : > Hello everyone! > > I'm having huge troubles with Mysql using 100% of CPU at peculiar times. I > don't know when this problem starts and I don't know the reason, but when it > happends I kill nagios, ndoutils and Mysql, and try to restart Mysql, > ndoutils and Nagios at this order. When I start Nagios, the CPU usage of > Mysql goes to 100% and everything just freezes with the initials > INSERT/UPDATES made by ndoutils. > > Has anyone had the same problem? I've changed my.cnf to hold slow-queries > logging, an have seen at intervals of 1 minute a query runned by ndo that > tries to delete service_checks results. It takes about 4 seconds too run. Is > this expected? Can anyone help me? > > Running Nagios 3.0.3, Debian etch, NDO2DB 1.4b7 and mysql? Ver 14.12 Distrib > 5.0.45. > > > Slow-Queries log: > # Time: 090303 14:29:25 > # User at Host: ndoutils[ndoutils] @ localhost [] > # Query_time: 4? Lock_time: 0? Rows_sent: 0? Rows_examined: 0 > DELETE FROM nagios_servicechecks WHERE instance_id='1' AND > start_time # Time: 090303 14:30:26 > # User at Host: ndoutils[ndoutils] @ localhost [] > # Query_time: 4? Lock_time: 0? Rows_sent: 0? Rows_examined: 0 > DELETE FROM nagios_servicechecks WHERE instance_id='1' AND > start_time > Thank you. > -- > []'s > > L?vio Zanol Puppim > Try creating a index for that table ----- create index nagios_servicechecks_idx1 on nagios_servicechecks (start_time, instance_id) ----- I'm not sure if the order would change the result though (start_time, instance_id) OR (instance_id, start_time) Regards, -- Ciro Iriarte http://cyruspy.wordpress.com -- ------------------------------ ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest, Vol 34, Issue 2 ******************************************* ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From borkmann at cbs.mpg.de Wed Mar 4 09:06:59 2009 From: borkmann at cbs.mpg.de (Daniel Borkmann) Date: Wed, 04 Mar 2009 09:06:59 +0100 Subject: NagiosGrapher not working: "Some error occured: RRD Error: Attempting to reuse '...'" Message-ID: <49AE36A3.10804@cbs.mpg.de> Hi all, NagiosGrapher seems not to be working... After following the installation steps some problems remain and I have actually no idea why... the rrdtool is set up but it seems that no DBs will be generated... more info here: Problems: ######### # No grapher icons shown on nagios service detail page # Error (e.g.) on http://10.0.51.232/nagios/cgi-bin/graphs.cgi?host=localhost&service=PING: No graphs shown -> "Some error occured: RRD Error: Attempting to reuse 'Loss'" By clicking on RRDInfo -> "No RRDFile found !" By clicking on TemplateInfo -> correct templates are shown Installed versions: ################### # NagiosGrapher-1.7.1 # Nagios-3.0.6 # Nagios-Plugins-1.4.13 # NRPE-2.12 Layout: ####### prefix: /usr/local/nagios nagios_config: /etc/nagios/nagios.cfg nagios_config_cgi: /etc/nagios/cgi.cfg nagios_images: ${prefix}/share/images nagios_images_logos: ${prefix}/share/images/logos nagios_folder_cgi: ${prefix}/sbin nagios_contribution: ${prefix}/contrib perl_inc: ${prefix}/perl/lib ng_config: /etc/nagios ng_config_sub: ${ng_config}/ngraph.d ng_daemon: /var/nagios_grapher ng_srvext_file: /etc/nagios/serviceextinfo.cfg ng_srvext_dir: /etc/nagios/serviceext ng_interface_pipe: /var/nagios/rw/ngraph.pipe ng_perffile_path: /var/nagios/ ng_logfile: /var/nagios/ngraph.log ng_rrd: /var/lib/rrd/nagios_grapher ng_rrd_font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed.ttf ng_tmp_path: /tmp/nagiosgrapher ng_cgi: /nagios/cgi-bin ng_logos: /nagios/images/logos ng_pid_file: ${ng_daemon}/nagios_grapher.pid init_script_dir: /etc/init.d logrotate_conf_dir: /etc/logrotate.d Install: ######## apt-get install autoconf rrdtool perl perl-base perl-modules libcalendar-simple-perl libgd-gd2-perl perlmagick librrds-perl liburi-perl autoconf ./configure --with-layout=mylayout make testdeps make install nagios.cfg: ########### cfg_dir=/etc/nagios/serviceext process_performance_data=1 service_perfdata_file=/var/nagios/service-perfdata service_perfdata_file_template=$HOSTNAME$ $SERVICEDESC$ $SERVICEOUTPUT$ $SERVICEPERFDATA$ $TIMET$ service_perfdata_file_mode=a service_perfdata_file_processing_interval=30 service_perfdata_file_processing_command=process-service-perfdata-file commands.cfg: ############# define command{ command_name process-service-perfdata-file command_line mv /var/nagios/service-perfdata /var/nagios/service-perfdata.$TIMET$ } ngraph.ncfg: ############ define config { port 5667 buffer 1024 interface file pipe /var/nagios/rw/ngraph.pipe perffile_path /var/nagios/ pidfile /var/nagios_grapher/nagios_grapher.pid user nagios group nagios skip_object_cache false step 300 heartbeat AUTO rrdpath /var/lib/rrd/nagios_grapher/ tmppath /tmp/nagiosgrapher/ fontfile /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed.ttf serviceext_type MULTIPLE serviceextinfo /etc/nagios/serviceextinfo.cfg serviceext_path /etc/nagios/serviceext url /nagios/cgi-bin/graphs.cgi notes_url nagios_config /etc/nagios cgi_config /etc/nagios/cgi.cfg icon_image_tag ' dot.png' alt="###ALT###" border="0"> '1024' 2009-03-04 08:38:15 CFG: cgi_config => '/etc/nagios/cgi.cfg' 2009-03-04 08:38:15 CFG: fe_use_browser_all => 'false' 2009-03-04 08:38:15 CFG: fe_use_browser_for => 'nagiosadmin' 2009-03-04 08:38:15 CFG: fe_use_browser_url => 'false' 2009-03-04 08:38:15 CFG: fe_use_timefilter => 'true' 2009-03-04 08:38:15 CFG: fontfile => '/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed.ttf' 2009-03-04 08:38:15 CFG: group => 'nagios' 2009-03-04 08:38:15 CFG: heartbeat => 'AUTO' 2009-03-04 08:38:15 CFG: icon_image_script => '/nagios/cgi-bin/rrd2-system.cgi?###URL###&start=-5400&title=Actual&width=20&height=20&type=AVERAGE&only-graph=true' 2009-03-04 08:38:15 CFG: icon_image_src => '/nagios/images/logos/graph.png' 2009-03-04 08:38:15 CFG: icon_image_static => 'true' 2009-03-04 08:38:15 CFG: icon_image_tag => ' dot.png' alt="###ALT###" border="0"> 'file' 2009-03-04 08:38:15 CFG: log_file => '/var/nagios/ngraph.log' 2009-03-04 08:38:15 CFG: log_level => '1023' 2009-03-04 08:38:15 CFG: nagios_config => '/etc/nagios' 2009-03-04 08:38:15 CFG: perffile_path => '/var/nagios/' 2009-03-04 08:38:15 CFG: pidfile => '/var/nagios_grapher/nagios_grapher.pid' 2009-03-04 08:38:15 CFG: pipe => '/var/nagios/rw/ngraph.pipe' 2009-03-04 08:38:15 CFG: port => '5667' 2009-03-04 08:38:15 CFG: rrd_color_arrow => 'ff0000' 2009-03-04 08:38:15 CFG: rrd_color_background => 'ffffff' 2009-03-04 08:38:15 CFG: rrd_color_canvas => 'ffffff' 2009-03-04 08:38:15 CFG: rrd_color_font => '333333' 2009-03-04 08:38:15 CFG: rrd_color_frame => 'ffffff' 2009-03-04 08:38:15 CFG: rrd_color_shadea => 'c0c0c0' 2009-03-04 08:38:15 CFG: rrd_color_shadeb => 'c0c0c0' 2009-03-04 08:38:15 CFG: rrd_show_vlines => 'true' 2009-03-04 08:38:15 CFG: rrdpath => '/var/lib/rrd/nagios_grapher/' 2009-03-04 08:38:15 CFG: serviceext_path => '/etc/nagios/serviceext/' 2009-03-04 08:38:15 CFG: serviceext_type => 'MULTIPLE' 2009-03-04 08:38:15 CFG: serviceextinfo => '/etc/nagios/serviceextinfo.cfg' 2009-03-04 08:38:15 CFG: skip_object_cache => 'false' 2009-03-04 08:38:15 CFG: step => '300' 2009-03-04 08:38:15 CFG: tmppath => '/tmp/nagiosgrapher/' 2009-03-04 08:38:15 CFG: url => '/nagios/cgi-bin/graphs.cgi' 2009-03-04 08:38:15 CFG: use_authentication => 'true' 2009-03-04 08:38:15 CFG: user => 'nagios' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: graph_legend => 'Loss' 2009-03-04 08:38:15 CFG: graph_legend_eol => 'none' 2009-03-04 08:38:15 CFG: graph_log_regex => 'loss = (\d+)' 2009-03-04 08:38:15 CFG: graph_units => '%' 2009-03-04 08:38:15 CFG: graph_value => 'Loss' 2009-03-04 08:38:15 CFG: page => '2 Loss' 2009-03-04 08:38:15 CFG: rrd_color => 'ff0000' 2009-03-04 08:38:15 CFG: rrd_plottype => 'LINE2' 2009-03-04 08:38:15 CFG: service_name => 'PING' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: graph_legend => 'RTA' 2009-03-04 08:38:15 CFG: graph_log_regex => 'rta = (\d+[,\.]\d+)' 2009-03-04 08:38:15 CFG: graph_units => 'ms' 2009-03-04 08:38:15 CFG: graph_value => 'RTA' 2009-03-04 08:38:15 CFG: page => '1 RTA' 2009-03-04 08:38:15 CFG: rrd_color => '00a000' 2009-03-04 08:38:15 CFG: rrd_plottype => 'AREA' 2009-03-04 08:38:15 CFG: service_name => 'PING' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: graph_calc => 'RTA,AVERAGE' 2009-03-04 08:38:15 CFG: graph_legend => 'RTA Average' 2009-03-04 08:38:15 CFG: graph_legend_eol => 'LEFT' 2009-03-04 08:38:15 CFG: graph_value => 'vdef_ping_average' 2009-03-04 08:38:15 CFG: hide => 'no' 2009-03-04 08:38:15 CFG: page => '1 RTA' 2009-03-04 08:38:15 CFG: rrd_color => '0000ff' 2009-03-04 08:38:15 CFG: rrd_plottype => 'LINE1' 2009-03-04 08:38:15 CFG: service_name => 'PING' 2009-03-04 08:38:15 CFG: type => 'VDEF' 2009-03-04 08:38:15 CFG: ==> nmgraph definition: 2009-03-04 08:38:15 CFG: define => 'nmgraph' 2009-03-04 08:38:15 CFG: graph_type => 'line' 2009-03-04 08:38:15 CFG: host_name => '* Multigraphen' 2009-03-04 08:38:15 CFG: hosts => 'nethq-dev' 2009-03-04 08:38:15 CFG: service_name => 'nethq-dev Services' 2009-03-04 08:38:15 CFG: services => '.*?' 2009-03-04 08:38:15 CFG: ==> nmgraph definition: 2009-03-04 08:38:15 CFG: colors => 'ff8000, 00ff00, 0000ff' 2009-03-04 08:38:15 CFG: define => 'nmgraph' 2009-03-04 08:38:15 CFG: graph_type => 'stack' 2009-03-04 08:38:15 CFG: host_name => '* Multigraphen' 2009-03-04 08:38:15 CFG: hosts => '.*?' 2009-03-04 08:38:15 CFG: order => 'reverse' 2009-03-04 08:38:15 CFG: service_name => 'all ping' 2009-03-04 08:38:15 CFG: services => 'PING' 2009-03-04 08:38:15 CFG: ==> nmgraph definition: 2009-03-04 08:38:15 CFG: colors => 'ff8000, 00ff00, 0000ff' 2009-03-04 08:38:15 CFG: define => 'nmgraph' 2009-03-04 08:38:15 CFG: graph_type => 'stack' 2009-03-04 08:38:15 CFG: host_name => '* Multigraphen' 2009-03-04 08:38:15 CFG: hosts => '.*?' 2009-03-04 08:38:15 CFG: order => 'reverse' 2009-03-04 08:38:15 CFG: service_name => 'all http' 2009-03-04 08:38:15 CFG: services => 'HTTP.*?' 2009-03-04 08:38:15 CFG: ==> nmgraph definition: 2009-03-04 08:38:15 CFG: define => 'nmgraph' 2009-03-04 08:38:15 CFG: graph_type => 'area' 2009-03-04 08:38:15 CFG: host_name => '* Multigraphen' 2009-03-04 08:38:15 CFG: hosts => '.*?' 2009-03-04 08:38:15 CFG: service_name => 'all services' 2009-03-04 08:38:15 CFG: services => '.*?' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: graph_legend => 'free space' 2009-03-04 08:38:15 CFG: graph_log_regex => '\((\d+)% inode' 2009-03-04 08:38:15 CFG: graph_units => 'percent' 2009-03-04 08:38:15 CFG: graph_value => 'RTA' 2009-03-04 08:38:15 CFG: hide => 'yes' 2009-03-04 08:38:15 CFG: rrd_color => '00a000' 2009-03-04 08:38:15 CFG: rrd_plottype => 'AREA' 2009-03-04 08:38:15 CFG: service_name => 'disk' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: graph_calc => '100,RTA,-' 2009-03-04 08:38:15 CFG: graph_legend => 'used space' 2009-03-04 08:38:15 CFG: graph_units => 'percent' 2009-03-04 08:38:15 CFG: graph_value => 'used' 2009-03-04 08:38:15 CFG: hide => 'no' 2009-03-04 08:38:15 CFG: rrd_color => 'ff0000' 2009-03-04 08:38:15 CFG: rrd_plottype => 'AREA' 2009-03-04 08:38:15 CFG: service_name => 'disk' 2009-03-04 08:38:15 CFG: type => 'CDEF' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: graph_calc => 'RTA' 2009-03-04 08:38:15 CFG: graph_legend => 'free space' 2009-03-04 08:38:15 CFG: graph_units => 'percent' 2009-03-04 08:38:15 CFG: graph_value => 'free' 2009-03-04 08:38:15 CFG: hide => 'no' 2009-03-04 08:38:15 CFG: rrd_color => '00a000' 2009-03-04 08:38:15 CFG: rrd_plottype => 'STACK' 2009-03-04 08:38:15 CFG: service_name => 'disk' 2009-03-04 08:38:15 CFG: type => 'CDEF' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: graph_legend => '15min avg load:' 2009-03-04 08:38:15 CFG: graph_legend_max => '15' 2009-03-04 08:38:15 CFG: graph_log_regex => ',(\d+[\.,]\d+)($|critical|warning)' 2009-03-04 08:38:15 CFG: graph_units => 'load' 2009-03-04 08:38:15 CFG: graph_value => '15min' 2009-03-04 08:38:15 CFG: rrd_color => 'EACC00' 2009-03-04 08:38:15 CFG: rrd_plottype => 'AREA' 2009-03-04 08:38:15 CFG: service_name => 'LOAD' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: print_description => 'Latest:' 2009-03-04 08:38:15 CFG: print_format => '%2.2lf' 2009-03-04 08:38:15 CFG: print_function => 'LAST' 2009-03-04 08:38:15 CFG: print_source => '15min' 2009-03-04 08:38:15 CFG: service_name => 'LOAD' 2009-03-04 08:38:15 CFG: type => 'GPRINT' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: print_description => 'Maximum:' 2009-03-04 08:38:15 CFG: print_format => '%2.2lf' 2009-03-04 08:38:15 CFG: print_function => 'MAX' 2009-03-04 08:38:15 CFG: print_source => '15min' 2009-03-04 08:38:15 CFG: service_name => 'LOAD' 2009-03-04 08:38:15 CFG: type => 'GPRINT' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: print_description => 'Average:' 2009-03-04 08:38:15 CFG: print_eol => 'left' 2009-03-04 08:38:15 CFG: print_format => '%2.2lf' 2009-03-04 08:38:15 CFG: print_function => 'AVERAGE' 2009-03-04 08:38:15 CFG: print_source => '15min' 2009-03-04 08:38:15 CFG: service_name => 'LOAD' 2009-03-04 08:38:15 CFG: type => 'GPRINT' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: graph_legend => '5min avg load:' 2009-03-04 08:38:15 CFG: graph_legend_max => '15' 2009-03-04 08:38:15 CFG: graph_log_regex => ',(\d+[\.,]\d+),' 2009-03-04 08:38:15 CFG: graph_units => 'load' 2009-03-04 08:38:15 CFG: graph_value => '5min' 2009-03-04 08:38:15 CFG: rrd_color => 'EA8F00' 2009-03-04 08:38:15 CFG: rrd_plottype => 'STACK' 2009-03-04 08:38:15 CFG: service_name => 'LOAD' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: print_description => 'Latest:' 2009-03-04 08:38:15 CFG: print_format => '%2.2lf' 2009-03-04 08:38:15 CFG: print_function => 'LAST' 2009-03-04 08:38:15 CFG: print_source => '5min' 2009-03-04 08:38:15 CFG: service_name => 'LOAD' 2009-03-04 08:38:15 CFG: type => 'GPRINT' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: print_description => 'Maximum:' 2009-03-04 08:38:15 CFG: print_format => '%2.2lf' 2009-03-04 08:38:15 CFG: print_function => 'MAX' 2009-03-04 08:38:15 CFG: print_source => '5min' 2009-03-04 08:38:15 CFG: service_name => 'LOAD' 2009-03-04 08:38:15 CFG: type => 'GPRINT' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: print_description => 'Average:' 2009-03-04 08:38:15 CFG: print_eol => 'left' 2009-03-04 08:38:15 CFG: print_format => '%2.2lf' 2009-03-04 08:38:15 CFG: print_function => 'AVERAGE' 2009-03-04 08:38:15 CFG: print_source => '5min' 2009-03-04 08:38:15 CFG: service_name => 'LOAD' 2009-03-04 08:38:15 CFG: type => 'GPRINT' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: graph_legend => '1min avg load:' 2009-03-04 08:38:15 CFG: graph_legend_max => '15' 2009-03-04 08:38:15 CFG: graph_log_regex => ':(\d+[\.,]\d+),' 2009-03-04 08:38:15 CFG: graph_units => 'load' 2009-03-04 08:38:15 CFG: graph_value => '1min' 2009-03-04 08:38:15 CFG: rrd_color => 'FF0000' 2009-03-04 08:38:15 CFG: rrd_plottype => 'STACK' 2009-03-04 08:38:15 CFG: service_name => 'LOAD' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: print_description => 'Latest:' 2009-03-04 08:38:15 CFG: print_format => '%2.2lf' 2009-03-04 08:38:15 CFG: print_function => 'LAST' 2009-03-04 08:38:15 CFG: print_source => '1min' 2009-03-04 08:38:15 CFG: service_name => 'LOAD' 2009-03-04 08:38:15 CFG: type => 'GPRINT' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: print_descriptio => 'nMaximum:' 2009-03-04 08:38:15 CFG: print_format => '%2.2lf' 2009-03-04 08:38:15 CFG: print_function => 'MAX' 2009-03-04 08:38:15 CFG: print_source => '1min' 2009-03-04 08:38:15 CFG: service_name => 'LOAD' 2009-03-04 08:38:15 CFG: type => 'GPRINT' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: print_description => 'Average:' 2009-03-04 08:38:15 CFG: print_eol => 'left' 2009-03-04 08:38:15 CFG: print_format => '%2.2lf' 2009-03-04 08:38:15 CFG: print_function => 'AVERAGE' 2009-03-04 08:38:15 CFG: print_source => '1min' 2009-03-04 08:38:15 CFG: service_name => 'LOAD' 2009-03-04 08:38:15 CFG: type => 'GPRINT' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: graph_calc => '15min,5min,+,1min,+' 2009-03-04 08:38:15 CFG: graph_value => 'cdef_load' 2009-03-04 08:38:15 CFG: hide => 'no' 2009-03-04 08:38:15 CFG: rrd_color => '000000' 2009-03-04 08:38:15 CFG: rrd_plottype => 'LINE1' 2009-03-04 08:38:15 CFG: service_name => 'LOAD' 2009-03-04 08:38:15 CFG: type => 'CDEF' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: print_eol => 'justify' 2009-03-04 08:38:15 CFG: print_repeat => '0' 2009-03-04 08:38:15 CFG: service_name => 'LOAD' 2009-03-04 08:38:15 CFG: type => 'COMMENT' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: graph_calc => 'cdef_load,AVERAGE' 2009-03-04 08:38:15 CFG: graph_legend => 'Sum avg values' 2009-03-04 08:38:15 CFG: graph_value => 'vdef_load_average' 2009-03-04 08:38:15 CFG: hide => 'no' 2009-03-04 08:38:15 CFG: rrd_color => '0000ff' 2009-03-04 08:38:15 CFG: rrd_plottype => 'LINE1' 2009-03-04 08:38:15 CFG: service_name => 'LOAD' 2009-03-04 08:38:15 CFG: type => 'VDEF' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: graph_legend => 'Loss' 2009-03-04 08:38:15 CFG: graph_legend_eol => 'none' 2009-03-04 08:38:15 CFG: graph_log_regex => 'loss = (\d+)' 2009-03-04 08:38:15 CFG: graph_units => '%' 2009-03-04 08:38:15 CFG: graph_value => 'Loss' 2009-03-04 08:38:15 CFG: page => '2 Loss' 2009-03-04 08:38:15 CFG: rrd_color => 'ff0000' 2009-03-04 08:38:15 CFG: rrd_plottype => 'LINE2' 2009-03-04 08:38:15 CFG: service_name => 'PING' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: graph_legend => 'RTA' 2009-03-04 08:38:15 CFG: graph_log_regex => 'rta = (\d+[,\.]\d+)' 2009-03-04 08:38:15 CFG: graph_units => 'ms' 2009-03-04 08:38:15 CFG: graph_value => 'RTA' 2009-03-04 08:38:15 CFG: page => '1 RTA' 2009-03-04 08:38:15 CFG: rrd_color => '00a000' 2009-03-04 08:38:15 CFG: rrd_plottype => 'AREA' 2009-03-04 08:38:15 CFG: service_name => 'PING' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: graph_calc => 'RTA,AVERAGE' 2009-03-04 08:38:15 CFG: graph_legend => 'RTA Average' 2009-03-04 08:38:15 CFG: graph_legend_eol => 'LEFT' 2009-03-04 08:38:15 CFG: graph_value => 'vdef_ping_average' 2009-03-04 08:38:15 CFG: hide => 'no' 2009-03-04 08:38:15 CFG: page => '1 RTA' 2009-03-04 08:38:15 CFG: rrd_color => '0000ff' 2009-03-04 08:38:15 CFG: rrd_plottype => 'LINE1' 2009-03-04 08:38:15 CFG: service_name => 'PING' 2009-03-04 08:38:15 CFG: type => 'VDEF' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: graph_legend => 'Running proccesses' 2009-03-04 08:38:15 CFG: graph_log_regex => '([0-9]+)\s+processes' 2009-03-04 08:38:15 CFG: graph_units => 'procs' 2009-03-04 08:38:15 CFG: graph_value => 'procs' 2009-03-04 08:38:15 CFG: rrd_color => 'ff0000' 2009-03-04 08:38:15 CFG: rrd_plottype => 'AREA' 2009-03-04 08:38:15 CFG: service_name => 'PROCS' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: graph_calc => 'procs' 2009-03-04 08:38:15 CFG: graph_value => 'cdef_procs' 2009-03-04 08:38:15 CFG: rrd_color => '000000' 2009-03-04 08:38:15 CFG: rrd_plottype => 'LINE1' 2009-03-04 08:38:15 CFG: service_name => 'PROCS' 2009-03-04 08:38:15 CFG: type => 'CDEF' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: print_description => 'Current:' 2009-03-04 08:38:15 CFG: print_eol => 'none:2' 2009-03-04 08:38:15 CFG: print_format => '%2.2lf%s' 2009-03-04 08:38:15 CFG: print_function => 'LAST' 2009-03-04 08:38:15 CFG: print_source => 'procs' 2009-03-04 08:38:15 CFG: service_name => 'PROCS' 2009-03-04 08:38:15 CFG: type => 'GPRINT' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: print_description => 'Average:' 2009-03-04 08:38:15 CFG: print_eol => 'none:2' 2009-03-04 08:38:15 CFG: print_format => '%2.2lf%s' 2009-03-04 08:38:15 CFG: print_function => 'AVERAGE' 2009-03-04 08:38:15 CFG: print_repeat => '0' 2009-03-04 08:38:15 CFG: print_source => 'procs' 2009-03-04 08:38:15 CFG: service_name => 'PROCS' 2009-03-04 08:38:15 CFG: type => 'GPRINT' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: print_description => 'Maximum:' 2009-03-04 08:38:15 CFG: print_eol => 'left:2' 2009-03-04 08:38:15 CFG: print_format => '%2.2lf%s' 2009-03-04 08:38:15 CFG: print_function => 'MAX' 2009-03-04 08:38:15 CFG: print_source => 'procs' 2009-03-04 08:38:15 CFG: service_name => 'PROCS' 2009-03-04 08:38:15 CFG: type => 'GPRINT' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: graph_calc => 'cdef_procs,AVERAGE' 2009-03-04 08:38:15 CFG: graph_legend => 'Average values' 2009-03-04 08:38:15 CFG: graph_value => 'vdef_procs_average' 2009-03-04 08:38:15 CFG: hide => 'no' 2009-03-04 08:38:15 CFG: rrd_color => '0000ff' 2009-03-04 08:38:15 CFG: rrd_plottype => 'LINE1' 2009-03-04 08:38:15 CFG: service_name => 'PROCS' 2009-03-04 08:38:15 CFG: type => 'VDEF' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: graph_legend => 'free swap space' 2009-03-04 08:38:15 CFG: graph_log_regex => '(\d+)%' 2009-03-04 08:38:15 CFG: graph_units => 'percent' 2009-03-04 08:38:15 CFG: graph_uper_limit => '100' 2009-03-04 08:38:15 CFG: graph_value => 'swap' 2009-03-04 08:38:15 CFG: hide => 'yes' 2009-03-04 08:38:15 CFG: rrd_color => '00a000' 2009-03-04 08:38:15 CFG: rrd_plottype => 'AREA' 2009-03-04 08:38:15 CFG: service_name => 'swap' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: graph_calc => 'swap,UNKN,NE,swap,0,IF,100,LE,swap,100,IF,100,-,-1,*' 2009-03-04 08:38:15 CFG: graph_legend => 'used swap space' 2009-03-04 08:38:15 CFG: graph_units => 'percent' 2009-03-04 08:38:15 CFG: graph_value => 'swapdef' 2009-03-04 08:38:15 CFG: rrd_color => 'a00000' 2009-03-04 08:38:15 CFG: rrd_plottype => 'AREA' 2009-03-04 08:38:15 CFG: service_name => 'swap' 2009-03-04 08:38:15 CFG: type => 'CDEF' 2009-03-04 08:38:15 CFG: ==> ngraph definition: 2009-03-04 08:38:15 CFG: define => 'ngraph' 2009-03-04 08:38:15 CFG: graph_legend => 'Logged in users' 2009-03-04 08:38:15 CFG: graph_log_regex => '([0-9]+)\s*users' 2009-03-04 08:38:15 CFG: graph_units => 'users' 2009-03-04 08:38:15 CFG: graph_value => 'user' 2009-03-04 08:38:15 CFG: rrd_color => '0066c0' 2009-03-04 08:38:15 CFG: rrd_plottype => 'AREA' 2009-03-04 08:38:15 CFG: service_name => 'USERS' 2009-03-04 08:38:15 PRG: Starting up collect2.pl (PID: 9530) ... 2009-03-04 08:38:15 PRG: using service-perfdata.time in /var/nagios/ 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091184 2009-03-04 08:38:18 PIPE: karl PING PING OK - Packet loss = 0%, RTA = 0.35 ms rta=0.346000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0 1236091154 2009-03-04 08:38:18 PIPE: localhost Current Load OK - load average: 0.03, 0.12, 0.14 load1=0.030;5.000;10.000;0; load5=0.120;4.000;6.000;0; load15=0.140;3.000;4.000;0; 1236091174 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091214 2009-03-04 08:38:18 PIPE: karl Test-Plugin Hallo Welt 1236091184 2009-03-04 08:38:18 PIPE: localhost SSH SSH OK - OpenSSH_4.7p1 Debian-8ubuntu1.2 (protocol 2.0) 1236091204 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091244 2009-03-04 08:38:18 PIPE: localhost Current Users USERS OK - 10 users currently logged in users=10;20;50;0 1236091234 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091274 2009-03-04 08:38:18 PIPE: localhost Total Processes PROCS OK: 53 processes with STATE = RSZDT 1236091244 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091304 2009-03-04 08:38:18 PIPE: localhost Swap Usage SWAP OK - 100% free (3922 MB out of 3922 MB) swap=3922MB;0;0;0;3922 1236091274 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091334 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091364 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091394 2009-03-04 08:38:18 PIPE: localhost HTTP HTTP OK HTTP/1.1 200 OK - 297 bytes in 0.001 seconds time=0.000739s;;;0.000000 size=297B;;;0 1236091364 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091424 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091454 2009-03-04 08:38:18 PIPE: localhost PING PING OK - Packet loss = 0%, RTA = 0.05 ms rta=0.047000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0 1236091434 2009-03-04 08:38:18 PIPE: localhost Root Partition DISK CRITICAL - free space: / 7985 MB (9% inode=93%): /=78191MB;72600;81675;0;90750 1236091444 2009-03-04 08:38:18 PIPE: localhost Test-Plugin Hallo Welt 1236091444 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091484 2009-03-04 08:38:18 PIPE: localhost Current Load OK - load average: 0.00, 0.04, 0.09 load1=0.000;5.000;10.000;0; load5=0.040;4.000;6.000;0; load15=0.090;3.000;4.000;0; 1236091474 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091514 2009-03-04 08:38:18 PIPE: localhost SSH SSH OK - OpenSSH_4.7p1 Debian-8ubuntu1.2 (protocol 2.0) 1236091504 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091544 2009-03-04 08:38:18 PIPE: localhost Current Users USERS OK - 10 users currently logged in users=10;20;50;0 1236091534 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091574 2009-03-04 08:38:18 PIPE: localhost Total Processes PROCS OK: 53 processes with STATE = RSZDT 1236091544 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091604 2009-03-04 08:38:18 PIPE: localhost Swap Usage SWAP OK - 100% free (3922 MB out of 3922 MB) swap=3922MB;0;0;0;3922 1236091574 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091634 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091664 2009-03-04 08:38:18 PIPE: karl CPU-Load OK - load average: 0.01, 0.05, 0.01 load1=0.010;15.000;30.000;0; load5=0.050;10.000;25.000;0; load15=0.010;5.000;20.000;0; 1236091644 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091694 2009-03-04 08:38:18 PIPE: localhost HTTP HTTP OK HTTP/1.1 200 OK - 297 bytes in 0.001 seconds time=0.000741s;;;0.000000 size=297B;;;0 1236091664 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091724 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091754 2009-03-04 08:38:18 PIPE: localhost PING PING OK - Packet loss = 0%, RTA = 0.05 ms rta=0.046000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0 1236091734 2009-03-04 08:38:18 PIPE: localhost Root Partition DISK CRITICAL - free space: / 7981 MB (9% inode=93%): /=78195MB;72600;81675;0;90750 1236091744 2009-03-04 08:38:18 PIPE: localhost Test-Plugin Hallo Welt 1236091744 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091784 2009-03-04 08:38:18 PIPE: karl PING PING OK - Packet loss = 0%, RTA = 0.36 ms rta=0.362000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0 1236091754 2009-03-04 08:38:18 PIPE: localhost Current Load OK - load average: 0.28, 0.41, 0.24 load1=0.280;5.000;10.000;0; load5=0.410;4.000;6.000;0; load15=0.240;3.000;4.000;0; 1236091774 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091814 2009-03-04 08:38:18 PIPE: karl Test-Plugin Hallo Welt 1236091784 2009-03-04 08:38:18 PIPE: localhost SSH SSH OK - OpenSSH_4.7p1 Debian-8ubuntu1.2 (protocol 2.0) 1236091804 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091844 2009-03-04 08:38:18 PIPE: localhost Current Users USERS OK - 10 users currently logged in users=10;20;50;0 1236091834 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091874 2009-03-04 08:38:18 PIPE: localhost Total Processes PROCS OK: 54 processes with STATE = RSZDT 1236091844 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091904 2009-03-04 08:38:18 PIPE: localhost Swap Usage SWAP OK - 100% free (3922 MB out of 3922 MB) swap=3922MB;0;0;0;3922 1236091874 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091934 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091964 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236091994 2009-03-04 08:38:18 PIPE: localhost HTTP HTTP OK HTTP/1.1 200 OK - 297 bytes in 0.001 seconds time=0.000735s;;;0.000000 size=297B;;;0 1236091964 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236092024 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236092054 2009-03-04 08:38:18 PIPE: localhost PING PING OK - Packet loss = 0%, RTA = 0.04 ms rta=0.042000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0 1236092034 2009-03-04 08:38:18 PIPE: localhost Root Partition DISK CRITICAL - free space: / 7981 MB (9% inode=93%): /=78195MB;72600;81675;0;90750 1236092044 2009-03-04 08:38:18 PIPE: localhost Test-Plugin Hallo Welt 1236092044 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236092084 2009-03-04 08:38:18 PIPE: localhost Current Load OK - load average: 0.04, 0.20, 0.19 load1=0.040;5.000;10.000;0; load5=0.200;4.000;6.000;0; load15=0.190;3.000;4.000;0; 1236092074 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236092114 2009-03-04 08:38:18 PIPE: localhost SSH SSH OK - OpenSSH_4.7p1 Debian-8ubuntu1.2 (protocol 2.0) 1236092104 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236092144 2009-03-04 08:38:18 PIPE: localhost Current Users USERS OK - 10 users currently logged in users=10;20;50;0 1236092134 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236092174 2009-03-04 08:38:18 PIPE: localhost Total Processes PROCS OK: 53 processes with STATE = RSZDT 1236092144 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236092204 2009-03-04 08:38:18 PIPE: localhost Swap Usage SWAP OK - 100% free (3922 MB out of 3922 MB) swap=3922MB;0;0;0;3922 1236092174 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236092234 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236092264 2009-03-04 08:38:18 PIPE: karl CPU-Load OK - load average: 0.00, 0.00, 0.00 load1=0.000;15.000;30.000;0; load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0; 1236092244 2009-03-04 08:38:18 FILE: reading perf data from /var/nagios/service-perfdata.1236092294 2009-03-04 08:38:18 PIPE: localhost HTTP HTTP OK HTTP/1.1 200 OK - 297 bytes in 0.001 seconds time=0.000766s;;;0.000000 size=297B;;;0 1236092264 2009-03-04 08:39:57 FILE: reading perf data from /var/nagios/service-perfdata.1236152390 2009-03-04 08:40:30 FILE: reading perf data from /var/nagios/service-perfdata.1236152420 2009-03-04 08:40:30 PIPE: karl CPU-Load OK - load average: 0.07, 0.02, 0.00 load1=0.070;15.000;30.000;0; load5=0.020;10.000;25.000;0; load15=0.000;5.000;20.000;0; 1236152410 2009-03-04 08:41:03 FILE: reading perf data from /var/nagios/service-perfdata.1236152450 Thanks for help :) ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Mar 4 09:38:41 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 4 Mar 2009 08:38:41 +0000 Subject: Need to monitor Solaris 10 and am new to Nagios In-Reply-To: References: <770c4470902242021j293cfd09je8be2d2f33489e1d@mail.gmail.com> Message-ID: <765d77c80903040038p67f752dej816f78dec2cfcb91@mail.gmail.com> 2009/2/27 syed jafar : > > > I am new to Nagios and would like to monitor Solaris 10 systems (CPU, Disk, > ...etc). Nagios server/host?is running Redhat LINUX. Could someone let me > know step by step process what to do. I have been told that it's kinda > dfficult to monitor Solaris 10 system. If this is not possible is there a > PERL or Shell script available to monitor the disk and CPU utilization. If you are able to query CPU and disk using SNMP, that's probably going to be the easiest way to monitor them on a Solaris system. I monitor an older Solaris system this way quite successfully. You'll find some good Nagios plugins for querying systems using SNMP at http://nagios.manubulon.com/ and http://nagiosexchange.org As for a step-by-step guide, if you find the documentation heavy going, you could try one of the many books available on the subject. My personal favourite is "Nagios" by Wolfgang Barth, pub. No Starch Press http://nostarch.com/nagios_2e.htm . I found the 1st edition very helpful and have just bought the 2nd edition. hth, Jim ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dries.Dams at vlaamsparlement.be Wed Mar 4 10:13:59 2009 From: Dries.Dams at vlaamsparlement.be (Dries Dams) Date: Wed, 04 Mar 2009 10:13:59 +0100 Subject: scheduling problems Message-ID: <0KFZ00B1I5NHNY00@mail.vlaamsparlement.be> Hi, Since the beginning of the year we are experiencing some problems with the scheduling of checks on our nagios installation. Some checks that normally run several times a day are now scheduled for a time more than a year from now. For example a check that runs today will have a next scheduled check date of 05/03/2010 instead of 05/03/2009. There is no real connection between the checks, it's like a random problem. Some checks have it, others don't. a manual reschedule of the check does solve the problem but sometimes only temporary. We have upgraded our version of nagios to 3.1.0 but we did have the problem on previous versions as well. Any ideas as what is causing this problem? -- Dries -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Wed Mar 4 10:58:24 2009 From: martyn at chetnet.co.uk (Martyn) Date: Wed, 4 Mar 2009 09:58:24 -0000 Subject: Email to Voice In-Reply-To: <1236123765.15668.89.camel@ubuntu> References: <1236123765.15668.89.camel@ubuntu> Message-ID: Hi Mike, thanks for the shameless link and the links from that also, some nice reading material there. Could this be adopted to use Call Manager Express with VM in the same way as I have this running as my home phone system. Cheers Martyn -----Original Message----- From: Mike Diehl [mailto:mdiehl at diehlnet.com] Sent: 03 March 2009 23:43 To: Martyn Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Email to Voice Shameless plug: http://www.linuxjournal.com/content/custom-checks-and-notifications-nagios This is an article I wrote some time ago that shows you how to get a phone call from asterisk/nagios in the event of a fault. You simply record a voice message and there you go. Mike Diehl. On Tue, 2009-03-03 at 22:57 +0000, Martyn wrote: > Although I'm new and still setting up how I want to monitor my Servers > and Routers, it got me thinking about texts that I receive whilst I'm > in bed, I'm so used to getting a text statement from my bank that I > now sleep through them, so text alerts are not sufficient enough for > me to lift my head of my pillow if there was a fault. > > Does anybody know of a company that offers email to voice service, > this way I get Nagios to send an email to a server which in turn call > my mobile and will play me an alert of some kind. > > Cheers > > Martyn > > > > > > ---------------------------------------------------------------------- > -------- Open Source Business Conference (OSBC), March 24-25, 2009, > San Francisco, CA -OSBC tackles the biggest issue in open source: Open > Sourcing the Enterprise -Strategies to boost innovation and cut costs > with open source participation -Receive a $600 discount off the > registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ Nagios-users mailing > list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > include Nagios version, plugin version (-v) and OS when reporting any > issue. ::: Messages without supporting info will risk being sent to > /dev/null ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ricardo.maraschini at opservices.com.br Wed Mar 4 13:28:40 2009 From: ricardo.maraschini at opservices.com.br (Ricardo Maraschini) Date: Wed, 4 Mar 2009 09:28:40 -0300 (BRT) Subject: scheduling problems In-Reply-To: <25034598.449651236169583392.JavaMail.root@mail.opservices.com.br> References: <25034598.449651236169583392.JavaMail.root@mail.opservices.com.br> Message-ID: <31993032.449701236169720707.JavaMail.root@mail.opservices.com.br> Hello, ----- "Dries Dams" escreveu: > Since the beginning of the year we are experiencing some problems with > the scheduling of checks on our nagios installation. Some checks that > normally run several times a day are now scheduled for a time more > than a year from now. Welcome to the club Dries. We are experiencing this same problem, I notified nagios development group and they are probably still looking for a solution. Did you see if the problem occurs for services with different timeperiods(!=24x7)? Can you send me directly your service/timeperiod configuration? Let's wait for a Nagios Devel return for a while. On the below link you can find a problem description and a workaround that, according Nagios Devel List, doesn't work; http://article.gmane.org/gmane.network.nagios.devel/5554/match=next+year -rm ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dries.Dams at vlaamsparlement.be Wed Mar 4 13:53:20 2009 From: Dries.Dams at vlaamsparlement.be (Dries Dams) Date: Wed, 04 Mar 2009 13:53:20 +0100 Subject: scheduling problems In-Reply-To: <31993032.449701236169720707.JavaMail.root@mail.opservices.com.br> References: <31993032.449701236169720707.JavaMail.root@mail.opservices.com.br> Message-ID: <0KFZ00F1MFT2PR00@mail.vlaamsparlement.be> We only use the 24x7 timeperiod for host checks. Service checks don't run between 00:00 and 04:00 (this is our backup window and we noticed some checks give false warnings and critical because of running backup jobs). So theoretically all our services could possibly be affected by this problem, there is no way of telling which services are infected and which are not. I will look into the workaround you provided -- Dries -----Oorspronkelijk bericht----- Van: Ricardo Maraschini [mailto:ricardo.maraschini at opservices.com.br] Verzonden: woensdag 4 maart 2009 13:29 Aan: Dries Dams CC: nagios-users at lists.sourceforge.net Onderwerp: Re: [Nagios-users] scheduling problems Hello, ----- "Dries Dams" escreveu: > Since the beginning of the year we are experiencing some problems with > the scheduling of checks on our nagios installation. Some checks that > normally run several times a day are now scheduled for a time more > than a year from now. Welcome to the club Dries. We are experiencing this same problem, I notified nagios development group and they are probably still looking for a solution. Did you see if the problem occurs for services with different timeperiods(!=24x7)? Can you send me directly your service/timeperiod configuration? Let's wait for a Nagios Devel return for a while. On the below link you can find a problem description and a workaround that, according Nagios Devel List, doesn't work; http://article.gmane.org/gmane.network.nagios.devel/5554/match=next+year -rm ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ricardo.maraschini at opservices.com.br Wed Mar 4 14:03:53 2009 From: ricardo.maraschini at opservices.com.br (Ricardo Maraschini) Date: Wed, 4 Mar 2009 10:03:53 -0300 (BRT) Subject: scheduling problems In-Reply-To: <0KFZ00F1MFT2PR00@mail.vlaamsparlement.be> References: <0KFZ00F1MFT2PR00@mail.vlaamsparlement.be> Message-ID: <7057897.450131236171833249.JavaMail.root@mail.opservices.com.br> Hi Damns, ----- "Dries Dams" escreveu: > I will look into the workaround you provided Did you have some "daylight saving" change recently? And just to let the thinks clear, I didn't provide this workaround and it's not supposed to work :). -rm ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sujit.kadam at netmagicsolutions.com Wed Mar 4 14:50:09 2009 From: sujit.kadam at netmagicsolutions.com (Sujit D. Kadam) Date: Wed, 04 Mar 2009 19:20:09 +0530 Subject: Need help to monitor ASP.NET performance counters for windows 2008 Message-ID: <49AE8711.4010305@netmagicsolutions.com> Hi, I am using Nagios Version 3.0.3 on server side. Need to monitor ASP.NET counters of Window 2008 (64 bit) On windows 2008 , I have installed pNsclient.exe also tried with nsclient++ On server side in commands.cfg # 'check_nt_Counters' command definition define command { command_name check_nt_counters command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -s password -v COUNTER -l $ARG1$ -w $ARG2$ -c $ARG3$ } in services.cfg ## Below is Service Definition for ASP.NET Apps v2.050727 - Sessions Active define service{ use windows-service host_name host1 service_description ASP.NET_Apps-Sessions_Active check_command check_nt_counters!"\\ASP.NET Apps v2.050727\\Sessions Active"!2000!2500 } I am getting the output value as 0 but exactly in perfmon I can see the exact value i.e approx 1000 Also tried nrpe_nt to install on windows 2008. But throwing error while starting the service. Windows could not start th Nagios Remote Plugin Executor for NT/W at K service on Local Computer. Error 1053: The service did not respond to the start or control request in timely manner. Regrds, Sujit -- **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. NetMagic Solutions Pvt. Ltd. has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. NetMagic Solutions Pvt. Ltd. reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the NetMagic Solutions Pvt. Ltd.'s e-mail system. ***************** End of Disclaimer ******************* -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jaiho8 at gmail.com Wed Mar 4 15:45:33 2009 From: jaiho8 at gmail.com (Jai Ram) Date: Wed, 4 Mar 2009 09:45:33 -0500 Subject: header intact Message-ID: <9cfff3f00903040645n2d51d0d6o6876acb8b54f5b10@mail.gmail.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jaiho8 at gmail.com Wed Mar 4 15:49:46 2009 From: jaiho8 at gmail.com (Jai Ram) Date: Wed, 4 Mar 2009 09:49:46 -0500 Subject: Any Help? Message-ID: <9cfff3f00903040649r3fa24516ncf0f8d5de5e186d7@mail.gmail.com> Hello, Can any one post the process of upgrading nagios from version 2.8 to the latest version 3.1 on Solaris 10 OS. Thanks in advance. Jai. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Mar 4 15:57:51 2009 From: marc at ena.com (Marc Powell) Date: Wed, 4 Mar 2009 08:57:51 -0600 Subject: Any Help? In-Reply-To: <9cfff3f00903040649r3fa24516ncf0f8d5de5e186d7@mail.gmail.com> References: <9cfff3f00903040649r3fa24516ncf0f8d5de5e186d7@mail.gmail.com> Message-ID: On Mar 4, 2009, at 8:49 AM, Jai Ram wrote: > Hello, > > Can any one post the process of upgrading nagios from version 2.8 to > the latest version 3.1 on Solaris 10 OS. RTFM isn't enough? http://nagios.sourceforge.net/docs/3_0/upgrading.html -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Mar 4 16:09:02 2009 From: marc at ena.com (Marc Powell) Date: Wed, 4 Mar 2009 09:09:02 -0600 Subject: header intact In-Reply-To: <9cfff3f00903040645n2d51d0d6o6876acb8b54f5b10@mail.gmail.com> References: <9cfff3f00903040645n2d51d0d6o6876acb8b54f5b10@mail.gmail.com> Message-ID: <822F3162-3897-47D1-81DA-A35DA2BBC452@ena.com> On Mar 4, 2009, at 8:45 AM, Jai Ram wrote: indeed, but . =) -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frisvolj at lafayette.edu Wed Mar 4 16:09:30 2009 From: frisvolj at lafayette.edu (Jason Frisvold) Date: Wed, 04 Mar 2009 10:09:30 -0500 Subject: radius checks Message-ID: <49AE99AA.6090704@lafayette.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, I'm at wits end here trying to figure out how to monitor radius with nagios. I have tried multiple plugins, but all to no avail. I tried the check_radius plugin that ships with nagios-plugins, but I kept getting "Auth failed" and no packets were ever sent to my radius server. I tried radauth from NagiosExchange (both the original and the updated radauth.c) and they failed with error in radius about malformed packets. I moved on to radius_check_adv and radius_check_ih, both from NagiosExchange, and they both fail with errors about the secrets not being correct, though I have checked them multiple times and even tried configuring them as testing123 and test and nagios and more. radtest (from freeradius) can authenticate with no problem using the same secrets. What am I missing? Is there some super-secret config switch I need to set or something? Thanks! - -- - --------------------------- Jason Frisvold Network Engineer frisvolj at lafayette.edu - --------------------------- "What I cannot create, I do not understand" - Richard Feynman -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFJrpmqO80o6DJ8UvkRAi44AKCIyVxPa8uObJE2hyxB+5UsMd6DKgCfbbfO SJnLNpdBeqlGDs8NwiTjuAA= =r8Fh -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holger at CIS.FU-Berlin.DE Wed Mar 4 16:43:47 2009 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Wed, 4 Mar 2009 16:43:47 +0100 Subject: radius checks In-Reply-To: <49AE99AA.6090704@lafayette.edu> References: <49AE99AA.6090704@lafayette.edu> Message-ID: <20090304154347.GL25694516@CIS.FU-Berlin.DE> * Jason Frisvold [2009-03-04 10:09]: > I tried the check_radius plugin that ships with nagios-plugins, but I > kept getting "Auth failed" and no packets were ever sent to my radius > server. What's the check_radius command line you're using and how does your radiusclient.conf look like? FWIW, I use a command line such as: check_radius -F /path/to/etc/radius/client.conf \ -H radius.example.com -P 1812 \ -u username -p password ... and a configuration similar to the following: # # /path/to/etc/radius/client.conf: # authserver radius.example.com acctserver radius.example.com servers /path/to/etc/radius/servers login_tries 4 login_timeout 60 radius_timeout 10 radius_retries 3 dictionary /path/to/etc/radius/dictionary mapfile /path/to/etc/radius/port-id-map seqfile /path/to/var/run/radius/seq nologin /etc/nologin # # /path/to/etc/radius/servers: # radius.example.com sh4red-s3cr3t Holger ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From torresgi at ninds.nih.gov Wed Mar 4 16:50:22 2009 From: torresgi at ninds.nih.gov (Giovanni Torres) Date: Wed, 04 Mar 2009 10:50:22 -0500 Subject: SELinux problem for SNMP Message-ID: <49AEA33E.30007@ninds.nih.gov> $ getsebool -a | grep snmpd snmpd_disable_trans --> off $ setsebool -P snmpd_disable_trans 1 $ getsebool snmpd_disable_trans snmpd_disable_trans --> on Let me know if that helps you out. Thanks, Giovanni Satish Patel wrote: > I have a selinx its running under default policy. i want SELinux disable for SNMP daemon thats it.. if any one know about how to disable for snmpd please let me know. > > I have tried to found on SELinux mailing list as well but not gave any appropriate answer. > > ----- Original Message ----- From: "Lee Azzarello" > To: > Sent: Thursday, February 26, 2009 12:09 PM > Subject: Re: [Nagios-users] SELinux problem for SNMP > > >> I believe your question would be better served on a list related to SELinux. >> >> In my experience SELinux is overkill for anything but the most >> paranoid security situations. Without a complete understanding of your >> entire security landscape, you'll just end up fighting with your own >> systems because SELinux is protecting them from you. >> >> -lee >> >> On Thu, Feb 26, 2009 at 9:45 AM, Satish Patel wrote: >>> Hi, >>> >>> I have RHEL 5 Box with SELinux enforceing mode now what happend when >>> my nagios box trying to use snmp to get CPU load its working fine. but >>> when it trying to use DISK and MEM infor its failed not response. even >>> this same plugin working with all my linux client ubuntu, debian, >>> Redhat not problem with plugin but i found problem related to SELinux >>> and i dont want to Disable it so what is the other option and how i >>> can disable snmp policy in SELinux to make happy my nagios? >>> >>> >>> Regards, >>> >>> Satish Patel >>> >>> >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA >>> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise >>> -Strategies to boost innovation and cut costs with open source participation >>> -Receive a $600 discount off the registration fee with the source code: SFAD >>> http://p.sf.net/sfu/XcvMzF8H >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> ------------------------------------------------------------------------------ >> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise >> -Strategies to boost innovation and cut costs with open source participation >> -Receive a $600 discount off the registration fee with the source code: SFAD >> http://p.sf.net/sfu/XcvMzF8H >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmoseley at corp.xanadoo.com Wed Mar 4 16:35:47 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Wed, 4 Mar 2009 09:35:47 -0600 Subject: radius checks In-Reply-To: <49AE99AA.6090704@lafayette.edu> References: <49AE99AA.6090704@lafayette.edu> Message-ID: Fairly busy at the moment, but getting check_radius to work is a bit tedious. This plugin actually checks to see if it gets a valid response from the radius daemon against an actual user, not just if the port is open. So, you've got to setup the clients and users files correctly on the radius server. You've also got to install a radius client on the nagios server and configure its conf file as well. The actual check command looks something like: define command { command_name check_radius command_line $USER1$/check_radius -H $HOSTADDRESS$ -F /etc/radiusclient/radiusclient.conf -u -p -P 1812 } James Moseley Jason Frisvold To nagios-users at lists.sourceforge.net 03/04/2009 09:09 cc AM Subject [Nagios-users] radius checks -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, I'm at wits end here trying to figure out how to monitor radius with nagios. I have tried multiple plugins, but all to no avail. I tried the check_radius plugin that ships with nagios-plugins, but I kept getting "Auth failed" and no packets were ever sent to my radius server. I tried radauth from NagiosExchange (both the original and the updated radauth.c) and they failed with error in radius about malformed packets. I moved on to radius_check_adv and radius_check_ih, both from NagiosExchange, and they both fail with errors about the secrets not being correct, though I have checked them multiple times and even tried configuring them as testing123 and test and nagios and more. radtest (from freeradius) can authenticate with no problem using the same secrets. What am I missing? Is there some super-secret config switch I need to set or something? Thanks! - -- - --------------------------- Jason Frisvold Network Engineer frisvolj at lafayette.edu - --------------------------- "What I cannot create, I do not understand" - Richard Feynman -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFJrpmqO80o6DJ8UvkRAi44AKCIyVxPa8uObJE2hyxB+5UsMd6DKgCfbbfO SJnLNpdBeqlGDs8NwiTjuAA= =r8Fh -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frisvolj at lafayette.edu Wed Mar 4 17:12:31 2009 From: frisvolj at lafayette.edu (Jason Frisvold) Date: Wed, 04 Mar 2009 11:12:31 -0500 Subject: radius checks In-Reply-To: <20090304154347.GL25694516@CIS.FU-Berlin.DE> References: <49AE99AA.6090704@lafayette.edu> <20090304154347.GL25694516@CIS.FU-Berlin.DE> Message-ID: <49AEA86F.4@lafayette.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Holger Weiss wrote: > What's the check_radius command line you're using and how does your > radiusclient.conf look like? With check_radius, I had used a configuration almost identical to what you had (of course, addresses and secrets were different) ... I've run across an old message mentioning that running check_radius as root made it work.. However, while I can get it to remotely contact the server if I run it as root, I still get an Auth failed error. I have, again, double checked secrets and made sure that the nagios server is in the clients.conf file properly. And so now I have multiple radius clients that cannot seem to get the secret correct, yet radtest works flawlessly. Could this possibly be a 64-bit issue? These servers are x86_64 RHEL5 servers.. Maybe that's a problem? I'm grasping at this point... - -- - --------------------------- Jason Frisvold Network Engineer frisvolj at lafayette.edu - --------------------------- "What I cannot create, I do not understand" - Richard Feynman -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFJrqhvO80o6DJ8UvkRAh1vAJ99qcTP3YPOHHqG+InIKKbV5NoixQCdF08p MApJtGnGghxwYcIrO75oDPI= =UAGw -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Mar 4 17:13:36 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 4 Mar 2009 16:13:36 +0000 Subject: radius checks In-Reply-To: <49AE99AA.6090704@lafayette.edu> References: <49AE99AA.6090704@lafayette.edu> Message-ID: <765d77c80903040813g3f7a777cl1e13b297443a37f7@mail.gmail.com> 2009/3/4 Jason Frisvold : > Hi all, > > ? ? ? ?I'm at wits end here trying to figure out how to monitor radius with > nagios. ?I have tried multiple plugins, but all to no avail. > > ? ? ? ?I tried the check_radius plugin that ships with nagios-plugins, but I > kept getting "Auth failed" and no packets were ever sent to my radius > server. > > ? ? ? ?I tried radauth from NagiosExchange (both the original and the updated > radauth.c) and they failed with error in radius about malformed packets. > > ? ? ? ?I moved on to radius_check_adv and radius_check_ih, both from > NagiosExchange, and they both fail with errors about the secrets not > being correct, though I have checked them multiple times and even tried > configuring them as testing123 and test and nagios and more. ?radtest > (from freeradius) can authenticate with no problem using the same secrets. > > ? ? ? ?What am I missing? ?Is there some super-secret config switch I need to > set or something? I have used check_radius.pl by Carlos Vicente sucessfully in the past (it's title is "Perl check radius" on nagiosexchange.org). I found that after a month though the password for the radius account I was using would time out and the check would fail. Fair enough, but the admin of the Radius server would never get around to resetting the password for me so I gave up in the end and have stopped monitoring it. Good luck. Jim ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Mar 4 17:27:50 2009 From: marc at ena.com (Marc Powell) Date: Wed, 4 Mar 2009 10:27:50 -0600 Subject: radius checks In-Reply-To: <49AEA86F.4@lafayette.edu> References: <49AE99AA.6090704@lafayette.edu> <20090304154347.GL25694516@CIS.FU-Berlin.DE> <49AEA86F.4@lafayette.edu> Message-ID: <382F070E-1145-4EFB-96FD-36F3D9AC286F@ena.com> On Mar 4, 2009, at 10:12 AM, Jason Frisvold wrote: > However, while I can get it to remotely contact the server if I run it > as root, I still get an Auth failed error. I have, again, double What does your radius server log file say about it? -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frisvolj at lafayette.edu Wed Mar 4 17:29:41 2009 From: frisvolj at lafayette.edu (Jason Frisvold) Date: Wed, 04 Mar 2009 11:29:41 -0500 Subject: radius checks In-Reply-To: <765d77c80903040813g3f7a777cl1e13b297443a37f7@mail.gmail.com> References: <49AE99AA.6090704@lafayette.edu> <765d77c80903040813g3f7a777cl1e13b297443a37f7@mail.gmail.com> Message-ID: <49AEAC75.8020504@lafayette.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jim Avery wrote: > I have used check_radius.pl by Carlos Vicente sucessfully in the past > (it's title is "Perl check radius" on nagiosexchange.org). I found > that after a month though the password for the radius account I was > using would time out and the check would fail. Fair enough, but the > admin of the Radius server would never get around to resetting the > password for me so I gave up in the end and have stopped monitoring > it. Thanks for the tip. I just spent all of 10 minutes getting the perl version up and running. And it worked, first time. I have no idea what the problem is with the other programs, but since this works, I'll leave it at that. Thanks! > Good luck. > > Jim - -- - --------------------------- Jason Frisvold Network Engineer frisvolj at lafayette.edu - --------------------------- "What I cannot create, I do not understand" - Richard Feynman -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFJrqx1O80o6DJ8UvkRAnGFAJ9Vy7H5zLBQJA5OMXu8h4rfkCwQJwCfSeqf sfrkOmkp7F5bqqRpEuOtfyk= =exHc -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frisvolj at lafayette.edu Wed Mar 4 17:32:04 2009 From: frisvolj at lafayette.edu (Jason Frisvold) Date: Wed, 04 Mar 2009 11:32:04 -0500 Subject: radius checks In-Reply-To: <382F070E-1145-4EFB-96FD-36F3D9AC286F@ena.com> References: <49AE99AA.6090704@lafayette.edu> <20090304154347.GL25694516@CIS.FU-Berlin.DE> <49AEA86F.4@lafayette.edu> <382F070E-1145-4EFB-96FD-36F3D9AC286F@ena.com> Message-ID: <49AEAD04.20704@lafayette.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marc Powell wrote: > What does your radius server log file say about it? It says the secrets are mismatched. If you look at the debug output, you can clearly see this is the case, as well. The password shown in the debug output is garbled, unlike when I use radtest, where the password is displayed properly. > -- > Marc - -- - --------------------------- Jason Frisvold Network Engineer frisvolj at lafayette.edu - --------------------------- "What I cannot create, I do not understand" - Richard Feynman -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFJrq0EO80o6DJ8UvkRAqO8AJ4hh2gDolXvJRVNK1/fy8DbjjWljwCZAbFr ouwX+UNNF6KvL0/ulucyuJY= =X6m7 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holger at CIS.FU-Berlin.DE Wed Mar 4 17:33:42 2009 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Wed, 4 Mar 2009 17:33:42 +0100 Subject: radius checks In-Reply-To: <49AEA86F.4@lafayette.edu> References: <49AE99AA.6090704@lafayette.edu> <20090304154347.GL25694516@CIS.FU-Berlin.DE> <49AEA86F.4@lafayette.edu> Message-ID: <20090304163342.GM25694516@CIS.FU-Berlin.DE> * Jason Frisvold [2009-03-04 11:12]: > Holger Weiss wrote: > > What's the check_radius command line you're using and how does your > > radiusclient.conf look like? > > With check_radius, I had used a configuration almost identical to what > you had (of course, addresses and secrets were different) ... I've run > across an old message mentioning that running check_radius as root made > it work.. It works just fine for me without root privileges. Is the radiusclient configuration (including the "servers" file) readable for the user executing check_radius? > However, while I can get it to remotely contact the server if I run it > as root, I still get an Auth failed error. I have, again, double > checked secrets and made sure that the nagios server is in the > clients.conf file properly. > > And so now I have multiple radius clients that cannot seem to get the > secret correct, yet radtest works flawlessly. > > Could this possibly be a 64-bit issue? These servers are x86_64 RHEL5 > servers.. Maybe that's a problem? Yes, there are issues with radiusclient on 64-bit systems. However, it should work with radiusclient-ng[*], or with the following patch against radiusclient (included with Debian's libradius1 0.3.2-9): http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=321229 Holger [*] http://developer.berlios.de/projects/radiusclient-ng/ ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jaiho8 at gmail.com Wed Mar 4 17:41:52 2009 From: jaiho8 at gmail.com (Jai Ram) Date: Wed, 4 Mar 2009 11:41:52 -0500 Subject: Any Help Message-ID: <9cfff3f00903040841t7d016489ue6b13d5b8535f8cf@mail.gmail.com> Hello, Can anyone post there experience in installing nagios on solaris server. Thanks jai. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Wed Mar 4 17:50:06 2009 From: nccomp at gmail.com (Andrew Davis) Date: Wed, 04 Mar 2009 11:50:06 -0500 Subject: Any Help In-Reply-To: <9cfff3f00903040841t7d016489ue6b13d5b8535f8cf@mail.gmail.com> References: <9cfff3f00903040841t7d016489ue6b13d5b8535f8cf@mail.gmail.com> Message-ID: <49AEB13E.6060307@gmail.com> Someone already did: Nagios 2nd Edition by Wolfgang Barth. Buy it. Andrew Davis Email: nccomp at gmail.com Phone: 772-834-0010 "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Jai Ram wrote: > Hello, > > Can anyone post there experience in installing nagios on solaris server. > > > Thanks > > jai. > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at chrisserafin.com Wed Mar 4 18:56:36 2009 From: chris at chrisserafin.com (ChrisSerafin) Date: Wed, 04 Mar 2009 11:56:36 -0600 Subject: Exchange 2003 MIBs In-Reply-To: <4ABA3E162F60624A949503A7F960245EB0E1D28D50@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB0E1D28D50@CLEHBEXMS01.broadvox.local> Message-ID: <49AEC0D4.1010207@chrisserafin.com> I monitor the process running: store.exe --chris Eric Chatham wrote: > > Greetings! > > > > Does anyone know where I can find MIB sheets for Exchange 2003? We > would like to monitor things like "inforomation store" and such in Nagios. > > > > Thank you. > > Eric Chatham > > > ------------------------------------------------------------------------ > CONFIDENTIAL. This e-mail and any attached files are confidential and > should be destroyed and/or returned if you are not the intended and > proper recipient. > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.0.237 / Virus Database: 270.11.7/1983 - Release Date: 03/04/09 07:41:00 > > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marco.tirado at gmail.com Wed Mar 4 21:33:52 2009 From: marco.tirado at gmail.com (Marco Tirado) Date: Wed, 4 Mar 2009 21:33:52 +0100 Subject: graphing trends across hosts or services instead of a timeseries In-Reply-To: References: <765d77c80902231119v7f0b7f5x75c596c53d2cebd2@mail.gmail.com> <765d77c80902240117h6db2254dme67c1577562298c9@mail.gmail.com> Message-ID: Hello: PNP4Nagios has a feature called "pages" that allows you to show multiple services for the same host or multiple hosts for the same service. It should be easy to use since it supports regular expressions. Check the following link http://www.pnp4nagios.org/pnp/pages //Marco On Tue, Feb 24, 2009 at 10:34 AM, Rahul Nabar wrote: > On Tue, Feb 24, 2009 at 3:17 AM, Jim Avery wrote: > > I had to install some dependencies, I forget which ones, but I'm > > pretty sure librrds-perl was one of them. > > > > The web interface for drraw is fairly intuitive, except it took me a > > few minutes to notice that in order to save a graph, you need to > > specify a Graph Title in the Graph Options section! > > > > hth, > > > > Jim > > Awesome! That will be a lot of help I am sure. Thank you again, Jim. I > appreciate the help! > > -- > Rahul > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From syed_jafar at hotmail.com Wed Mar 4 22:23:11 2009 From: syed_jafar at hotmail.com (syed jafar) Date: Wed, 4 Mar 2009 21:23:11 +0000 Subject: Nagios Plugin In-Reply-To: References: Message-ID: Does anybody know how to resolve this issue when compiling Nagios plugin on Solaris 10. checking for SSL headers... configure: error: Cannot find ssl headers Thanks..... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded message was scrubbed... From: syed jafar Subject: Nagios Plugin Date: Wed, 4 Mar 2009 21:11:59 +0000 Size: 1595 URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Wed Mar 4 22:35:06 2009 From: martyn at chetnet.co.uk (Martyn) Date: Wed, 4 Mar 2009 21:35:06 -0000 Subject: Any Help In-Reply-To: <9cfff3f00903040841t7d016489ue6b13d5b8535f8cf@mail.gmail.com> References: <9cfff3f00903040841t7d016489ue6b13d5b8535f8cf@mail.gmail.com> Message-ID: maybe this link will help you out, not sure though as I'm new too http://www.mernin.com/blog/?p=118 _____ From: Jai Ram [mailto:jaiho8 at gmail.com] Sent: 04 March 2009 16:42 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Any Help Hello, Can anyone post there experience in installing nagios on solaris server. Thanks jai. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dhalik at jla.rutgers.edu Wed Mar 4 22:15:43 2009 From: dhalik at jla.rutgers.edu (David Halik) Date: Wed, 04 Mar 2009 16:15:43 -0500 Subject: authenticated user always "guest" Message-ID: <49AEEF7F.1050500@jla.rutgers.edu> Hi all, We've recently started to upgrade from Nagios 2.7 to 3.1 and noticed something odd. We use .htaccess with Apache in the Nagios webroot to restrict authentication to only our internal LDAP system. Once auth'd Nagios' cgi.conf then defines which users have which perms. Users coming from our "protected" IP space don't have to auth at all and get the default user of guest. This has been working fine for us over the last year or two, but since trying to move to 3.1 the same method and config files are giving us different behavior. After authenticating succesfully as user "bob", Nagios doesn't pick up bob as the auth'd name and just sees me as the default "guest". Which means bob's Nagios perms are not activated, guest's are. No matter what I've tried I can't get Nagios to accept the authenticated user name from Apache, yet I have this working fine in 2.7 with identical configs. Anyone else seen the same behavior or have any ideas? This really has me stumped and is a blocker for us upgrading. Thanks, -Dave -- ================================ David Halik System Administrator OIT-CSS Rutgers University dhalik at jla.rutgers.edu ================================ ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marco.tirado at gmail.com Wed Mar 4 22:45:19 2009 From: marco.tirado at gmail.com (Marco Tirado) Date: Wed, 4 Mar 2009 22:45:19 +0100 Subject: Automatic Configuration Update Message-ID: Hello users: I am trying to do the following: - From a script, automatically generate Nagios configuration files for host addition. - From the same script export individual files to a web based Nagios configuration tool (NagiosQL or Lilac for example). - Finally reload both Nagios and the Web Configuration tool, also from the script. I have looked at both "NagiosQL" and "Lilac" since both have nice configuration tools and import options. However none of them provide a text console interface for importing config files from a script nor periodical scheduling of file imports. Has anybody implemented this? Is there a better tool for this besides NagiosQL or Lilac? Any pointers are appreciated //Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dhalik at jla.rutgers.edu Wed Mar 4 23:00:51 2009 From: dhalik at jla.rutgers.edu (David Halik) Date: Wed, 04 Mar 2009 17:00:51 -0500 Subject: authenticated user always "guest" In-Reply-To: <49AEEF7F.1050500@jla.rutgers.edu> References: <49AEEF7F.1050500@jla.rutgers.edu> Message-ID: <49AEFA13.5000902@jla.rutgers.edu> It figures that after three hours of debugging, as soon as I send mail the problem is fixed. We actually use *two* htaccess files, and the second one in the cgi area was missing. ;) I did find a bug in config.inc.php which I'm upstreaming though. Thanks anyways! David Halik wrote: > Hi all, > > We've recently started to upgrade from Nagios 2.7 to 3.1 and noticed > something odd. > > We use .htaccess with Apache in the Nagios webroot to restrict > authentication to only our internal LDAP system. Once auth'd Nagios' > cgi.conf then defines which users have which perms. Users coming from > our "protected" IP space don't have to auth at all and get the default > user of guest. > > This has been working fine for us over the last year or two, but since > trying to move to 3.1 the same method and config files are giving us > different behavior. After authenticating succesfully as user "bob", > Nagios doesn't pick up bob as the auth'd name and just sees me as the > default "guest". Which means bob's Nagios perms are not activated, > guest's are. > > No matter what I've tried I can't get Nagios to accept the authenticated > user name from Apache, yet I have this working fine in 2.7 with > identical configs. > > Anyone else seen the same behavior or have any ideas? This really has me > stumped and is a blocker for us upgrading. > > Thanks, > -Dave > > -- ================================ David Halik System Administrator OIT-CSS Rutgers University dhalik at jla.rutgers.edu ================================ ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lee at dropio.com Thu Mar 5 00:10:12 2009 From: lee at dropio.com (Lee Azzarello) Date: Wed, 4 Mar 2009 18:10:12 -0500 Subject: Email to Voice In-Reply-To: References: Message-ID: <16b031c0903041510l507ade90td58c2412033338fd@mail.gmail.com> On Tue, Mar 3, 2009 at 5:57 PM, Martyn wrote: > Although I'm new and still setting up how I want to monitor my Servers and > Routers, it got me thinking about texts that I receive whilst I'm in bed, > I'm so used to getting a text statement from my bank that I now sleep > through them, so text alerts are not sufficient enough for me to lift my > head of my pillow if there was a fault. > > Does anybody know of a company that offers email to voice service, this way > I get Nagios to send an email to a server which in turn call my mobile and > will play me an alert of some kind. Twilio.com has a REST API to make phone calls. You can do it all via a script with an HTTP client library. -lee ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Thu Mar 5 00:26:03 2009 From: martyn at chetnet.co.uk (Martyn) Date: Wed, 4 Mar 2009 23:26:03 -0000 Subject: Nagios/NRPE relationship Message-ID: Hi all, hope you do no think this is a stupid question; however I have to ask it anyway for a better understanding. I have my Nagios Server with NRPE plugins installed and I have a Linux Remote Server that I want to monitor, I know that you need NRPE on the remote Linux box but after that it goes a bit glazed, this is the bit I need to understand. Here is the standard configuration NRPE installed on my remote Linux box: command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/sda1 command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c 200 So my question is, if I need to monitor SMTP on the remote box I would have to ask the remote administrator to add the following command to their nrpe.cfg: Command[check_smtp]=/usr/local/nagios/libexec/check_smtp -H localhost Do they have to use the -H localhost directive or is there something different they can use, the localhost just does not seem right looking at the other examples above. Then on my Nagios Server, under the .cfg box I want to monitor I define the command: define service{ use generic-service host_name linux-server service_description SSH check_command check_nrpe!check_ssh } Hope its not such a stupid question that it does not warrant a reply. Rgs Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at gridshield.net Thu Mar 5 00:19:41 2009 From: marc at gridshield.net (Marc DeTrano) Date: Wed, 04 Mar 2009 17:19:41 -0600 Subject: Ndoutils MySQL performance problem? In-Reply-To: References: Message-ID: <49AF0C8D.20503@gridshield.net> 2009/3/3 Livio Zanol Puppim : > > > > I'm having huge troubles with Mysql using 100% of CPU at peculiar times. I > > don't know when this problem starts and I don't know the reason, but when it > > happends I kill nagios, ndoutils and Mysql, and try to restart Mysql, > > ndoutils and Nagios at this order. When I start Nagios, the CPU usage of > > Mysql goes to 100% and everything just freezes with the initials > > INSERT/UPDATES made by ndoutils. > > > > Has anyone had the same problem? I've changed my.cnf to hold slow-queries > > logging, an have seen at intervals of 1 minute a query runned by ndo that I'm no expert at MySQL performance, but we found a couple of things that helped speed up NDO significantly: -We are using a my.cnf based on the "my-innodb-heavy-4G.cnf" example that comes with MySQL. -The innodb_flush_log_at_trx_commit setting in that file is "2" (instead of 1..the difference in performance is huge, and the trade off in data integrity is negligible for us). If your process gets heavy over time, you may have to reduce things in ndo2db.cfg like max_servicechecks_age (to keep the size of these historical tables manageable). Marc Gridshield, S.A. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 5 01:09:41 2009 From: marc at ena.com (Marc Powell) Date: Wed, 4 Mar 2009 18:09:41 -0600 Subject: Ndoutils MySQL performance problem? In-Reply-To: <49AF0C8D.20503@gridshield.net> References: <49AF0C8D.20503@gridshield.net> Message-ID: <234BCF65-06DA-40BF-A3F3-E680F4B6D9D9@ena.com> On Mar 4, 2009, at 5:19 PM, Marc DeTrano wrote: > 2009/3/3 Livio Zanol Puppim : > > -We are using a my.cnf based on the "my-innodb-heavy-4G.cnf" example > that comes with MySQL. > -The innodb_flush_log_at_trx_commit setting in that file is > "2" (instead > of 1..the difference in performance is huge, and the trade off in data > integrity is negligible for us) Thanks for this info... > If your process gets heavy over time, you may have to reduce things in > ndo2db.cfg like max_servicechecks_age (to keep the size of these > historical tables manageable). I find that these are my two largest. They grow *huge* I had to drop them and recreate just last week as they were ~20G and ~35G respectively... 1.5G nagios_host_contactgroups.ibd 3.2G nagios_service_contactgroups.ibd They're not particularly relevant to me but I don't see that there is that kind of granularity to exclude them... -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From satish at linuxbug.org Thu Mar 5 01:56:58 2009 From: satish at linuxbug.org (Satish Patel) Date: Wed, 4 Mar 2009 19:56:58 -0500 Subject: SELinux problem for SNMP In-Reply-To: <49AEA33E.30007@ninds.nih.gov> References: <49AEA33E.30007@ninds.nih.gov> Message-ID: I already used this option its not working. ----- Original Message ----- From: "Giovanni Torres" To: Sent: Wednesday, March 04, 2009 10:50 AM Subject: Re: [Nagios-users] SELinux problem for SNMP >$ getsebool -a | grep snmpd > snmpd_disable_trans --> off > > $ setsebool -P snmpd_disable_trans 1 > > $ getsebool snmpd_disable_trans > snmpd_disable_trans --> on > > Let me know if that helps you out. > > Thanks, > Giovanni > > Satish Patel wrote: > > I have a selinx its running under default policy. i want SELinux > disable for SNMP daemon thats it.. if any one know about how to disable > for snmpd please let me know. > > > > I have tried to found on SELinux mailing list as well but not gave > any appropriate answer. > > > > ----- Original Message ----- From: "Lee Azzarello" > > To: > > Sent: Thursday, February 26, 2009 12:09 PM > > Subject: Re: [Nagios-users] SELinux problem for SNMP > > > > > >> I believe your question would be better served on a list related to > SELinux. > >> > >> In my experience SELinux is overkill for anything but the most > >> paranoid security situations. Without a complete understanding of your > >> entire security landscape, you'll just end up fighting with your own > >> systems because SELinux is protecting them from you. > >> > >> -lee > >> > >> On Thu, Feb 26, 2009 at 9:45 AM, Satish Patel > wrote: > >>> Hi, > >>> > >>> I have RHEL 5 Box with SELinux enforceing mode now what happend when > >>> my nagios box trying to use snmp to get CPU load its working fine. but > >>> when it trying to use DISK and MEM infor its failed not response. even > >>> this same plugin working with all my linux client ubuntu, debian, > >>> Redhat not problem with plugin but i found problem related to SELinux > >>> and i dont want to Disable it so what is the other option and how i > >>> can disable snmp policy in SELinux to make happy my nagios? > >>> > >>> > >>> Regards, > >>> > >>> Satish Patel > >>> > >>> > >>> > >>> > >>> > >>> > >>> > ------------------------------------------------------------------------------ > >>> Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, CA > >>> -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > >>> -Strategies to boost innovation and cut costs with open source > participation > >>> -Receive a $600 discount off the registration fee with the source > code: SFAD > >>> http://p.sf.net/sfu/XcvMzF8H > >>> _______________________________________________ > >>> Nagios-users mailing list > >>> Nagios-users at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/nagios-users > >>> ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > >>> ::: Messages without supporting info will risk being sent to /dev/null > >>> > >> > ------------------------------------------------------------------------------ > >> Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, CA > >> -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > >> -Strategies to boost innovation and cut costs with open source > participation > >> -Receive a $600 discount off the registration fee with the source > code: SFAD > >> http://p.sf.net/sfu/XcvMzF8H > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null > >> > > > > > > > ------------------------------------------------------------------------------ > > Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, CA > > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > > -Strategies to boost innovation and cut costs with open source > participation > > -Receive a $600 discount off the registration fee with the source > code: SFAD > > http://p.sf.net/sfu/XcvMzF8H > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From satish at linuxbug.org Thu Mar 5 01:55:44 2009 From: satish at linuxbug.org (Satish Patel) Date: Wed, 4 Mar 2009 19:55:44 -0500 Subject: Nagios Plugin In-Reply-To: References: Message-ID: <781E7D16D09444AB85911C22B4E8FB01@linuxbug> Install Header openssl-devel package or install header file os ssl -satish ----- Original Message ----- From: syed jafar To: nagios-users at lists.sourceforge.net Sent: Wednesday, March 04, 2009 4:23 PM Subject: [Nagios-users] Nagios Plugin Does anybody know how to resolve this issue when compiling Nagios plugin on Solaris 10. checking for SSL headers... configure: error: Cannot find ssl headers Thanks..... ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From satish at linuxbug.org Thu Mar 5 02:00:51 2009 From: satish at linuxbug.org (Satish Patel) Date: Wed, 4 Mar 2009 20:00:51 -0500 Subject: Nagios authentication with Active directoy Message-ID: <3567F0699DE94B2DAFB97DF9585FEB3B@linuxbug> I want to authenticate my nagios with AD. i read couple of document on net but no luck..any one using this method of authentication please let me know i will appricate your help. Thanks! satish -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From satish at linuxbug.org Thu Mar 5 02:02:19 2009 From: satish at linuxbug.org (Satish Patel) Date: Wed, 4 Mar 2009 20:02:19 -0500 Subject: ESX server monitroing Message-ID: anyone using SNMP base ESX monitoring with nagios, i have tried few plugins but i want advance one so i can fully monitor my ESX boxes. Thansk! satish -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From livio.zanol.puppim at gmail.com Thu Mar 5 02:14:19 2009 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Wed, 4 Mar 2009 22:14:19 -0300 Subject: Ndoutils MySQL performance problem? In-Reply-To: <234BCF65-06DA-40BF-A3F3-E680F4B6D9D9@ena.com> References: <49AF0C8D.20503@gridshield.net> <234BCF65-06DA-40BF-A3F3-E680F4B6D9D9@ena.com> Message-ID: I've tweaked the ndo configuration... It doesn't saves logs at database, and I'm still having this problem. I'll give a try at everybody suggestion tomorow. Thanks very much! :) 2009/3/4 Marc Powell > > On Mar 4, 2009, at 5:19 PM, Marc DeTrano wrote: > > > 2009/3/3 Livio Zanol Puppim : > > > > > -We are using a my.cnf based on the "my-innodb-heavy-4G.cnf" example > > that comes with MySQL. > > -The innodb_flush_log_at_trx_commit setting in that file is > > "2" (instead > > of 1..the difference in performance is huge, and the trade off in data > > integrity is negligible for us) > > Thanks for this info... > > > If your process gets heavy over time, you may have to reduce things in > > ndo2db.cfg like max_servicechecks_age (to keep the size of these > > historical tables manageable). > > I find that these are my two largest. They grow *huge* I had to drop > them and recreate just last week as they were ~20G and ~35G > respectively... > > 1.5G nagios_host_contactgroups.ibd > 3.2G nagios_service_contactgroups.ibd > > They're not particularly relevant to me but I don't see that there is > that kind of granularity to exclude them... > > -- > Marc > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- []'s L?vio Zanol Puppim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Thu Mar 5 02:27:22 2009 From: jpratt at norwich.edu (James Pratt) Date: Wed, 4 Mar 2009 20:27:22 -0500 Subject: ESX server monitroing In-Reply-To: References: Message-ID: <8147CCE3C4A8764DA9980125EE70E8239A1969@nuexchg.norwich.edu> > -----Original Message----- > From: Satish Patel [mailto:satish at linuxbug.org] > Sent: Wednesday, March 04, 2009 8:02 PM > To: nagios Users Mailinglist > Subject: [Nagios-users] ESX server monitroing > > anyone using SNMP base ESX monitoring with nagios, i have tried few plugins but i > want advance one so i can fully monitor my ESX boxes. > > Thansk! > satish Hi - I found http://www.op5.com/support/documentation/how-to/400-monitoring-vmware-es x-3x-and-vmware-esxi to be very useful for our setup. The other good one I've found is http://www.steveshipway.org/forum/viewforum.php?f=28&sid=b46c3d67d13167c 7298c51bfaf32a7ab Cheers, jamie ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Thu Mar 5 02:23:59 2009 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 4 Mar 2009 20:23:59 -0500 Subject: Need help to monitor ASP.NET performance counters for windows 2008 In-Reply-To: <49AE8711.4010305@netmagicsolutions.com> References: <49AE8711.4010305@netmagicsolutions.com> Message-ID: Perfomance Counters on windows are sometimes tricky Have you looked at log files for Nsclient++ ? Have you tried NC_NEt for these yet? - It comunicates with Check_nt as well but does not require any configuration on the Windows Host side other than install and start for all the standard pNsClient commands/Defaults I think you may need to tweek you Nagios Configuration for this issue - I found sometimes the " get parsed out when passed to the Command definition try the following: define command { command_name check_nt_counters command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -s password -v COUNTER -l "$ARG1$" -w $ARG2$ -c $ARG3$ } define service{ use windows-service host_name host1 service_description ASP.NET_Apps-Sessions_Active check_command check_nt_counters!\\ASP.NETApps v2.050727\\Sessions Active!2000!2500 } Tony (Author of NC_NEt) On Wed, Mar 4, 2009 at 8:50 AM, Sujit D. Kadam < sujit.kadam at netmagicsolutions.com> wrote: > Hi, > > I am using Nagios Version 3.0.3 on server side. > Need to monitor ASP.NET counters of Window 2008 (64 bit) > On windows 2008 , I have installed pNsclient.exe > also tried with nsclient++ > > On server side in commands.cfg > > # 'check_nt_Counters' command definition > define command { > command_name check_nt_counters > command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -s > password -v COUNTER -l $ARG1$ -w $ARG2$ -c $ARG3$ > } > > > in services.cfg > > ## Below is Service Definition for ASP.NET Apps > v2.050727 - Sessions Active > define service{ > use windows-service > host_name host1 > service_description ASP.NET_Apps-Sessions_Active > check_command check_nt_counters!"\\ASP.NETApps v2.050727\\Sessions Active"!2000!2500 > } > > > I am getting the output value as 0 but exactly in perfmon I can see the > exact value i.e approx 1000 > > > Also tried nrpe_nt to install on windows 2008. But throwing error while > starting the service. > > Windows could not start th Nagios Remote Plugin Executor for NT/W at Kservice on Local Computer. > Error 1053: The service did not respond to the start or control request in > timely manner. > > > Regrds, > > Sujit > >     > > > -- > **************** CAUTION - Disclaimer ***************** This e-mail > contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use > of the addressee(s). If you are not the intended recipient, please notify > the sender by e-mail and delete the original message. Further, you are not > to copy, disclose, or distribute this e-mail or its contents to any other > person and any such actions are unlawful. This e-mail may contain viruses. > NetMagic Solutions Pvt. Ltd. has taken every reasonable precaution to > minimize this risk, but is not liable for any damage you may sustain as a > result of any virus in this e-mail. You should carry out your own virus > checks before opening the e-mail or attachment. NetMagic Solutions Pvt. Ltd. > reserves the right to monitor and review the content of all messages sent to > or from this e-mail address. Messages sent to or from this e-mail address > may be stored on the NetMagic Solutions Pvt. Ltd.'s e-mail system. > ***************** End of Disclaimer ******************* >     > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Thu Mar 5 04:39:55 2009 From: jon at netdork.net (Jon Angliss) Date: Wed, 04 Mar 2009 21:39:55 -0600 Subject: ESX server monitroing References: Message-ID: <2aiuq41uko7hlmhooi3jlu8168oup8uif4@4ax.com> On Wed, 4 Mar 2009 20:02:19 -0500, "Satish Patel" wrote: >anyone using SNMP base ESX monitoring with nagios, i have tried few plugins but i want advance one so i can fully monitor my ESX boxes. What "few plugins" have you tried? And what advanced features are you after? Have you checked http://www.nagiosexchange.org ? -- Jon Angliss ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Thu Mar 5 04:42:45 2009 From: jon at netdork.net (Jon Angliss) Date: Wed, 04 Mar 2009 21:42:45 -0600 Subject: Nagios authentication with Active directoy References: <3567F0699DE94B2DAFB97DF9585FEB3B@linuxbug> Message-ID: On Wed, 4 Mar 2009 20:00:51 -0500, "Satish Patel" wrote: >I want to authenticate my nagios with AD. i read couple of document on net but no luck..any one using this method of authentication please let me know i will appricate your help. I'm assuming you mean the Nagios UI, in which case you'll want to look for mod_auth_ldap and active directory. The Nagios UI is just a web page, authentication is done via your web server. Assuming Apache, then mod_auth_ldap, or mod_auth_kerberos should be where you are looking. -- Jon Angliss ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Thu Mar 5 05:03:10 2009 From: jon at netdork.net (Jon Angliss) Date: Wed, 04 Mar 2009 22:03:10 -0600 Subject: Need help to monitor ASP.NET performance counters for windows 2008 References: <49AE8711.4010305@netmagicsolutions.com> Message-ID: <9tiuq4d80lsbo87a5010uo3vev1niskbad@4ax.com> On Wed, 04 Mar 2009 19:20:09 +0530, "Sujit D. Kadam" wrote: >Hi, > >I am using Nagios Version 3.0.3 on server side. >Need to monitor ASP.NET counters of Window 2008 (64 bit) >On windows 2008 , I have installed pNsclient.exe >also tried with nsclient++ > >On server side in commands.cfg > ># 'check_nt_Counters' command definition >define command { > command_name check_nt_counters > command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -s >password -v COUNTER -l $ARG1$ -w $ARG2$ -c $ARG3$ > } > > >in services.cfg > >## Below is Service Definition for ASP.NET Apps v2.050727 - Sessions Active >define service{ > use windows-service > host_name host1 > service_description ASP.NET_Apps-Sessions_Active > check_command check_nt_counters!"\\ASP.NET >Apps v2.050727\\Sessions Active"!2000!2500 > } Have you tried executing from the command line to see if the command is executing properly? Whilst it shouldn't be a huge issue, have you tried dropping the version specific counter? \\ASP.NET Applications\\Sessions Active >I am getting the output value as 0 but exactly in perfmon I can see the >exact value i.e approx 1000 > > >Also tried nrpe_nt to install on windows 2008. But throwing error while >starting the service. > >Windows could not start th Nagios Remote Plugin Executor for NT/W at K >service on Local Computer. >Error 1053: The service did not respond to the start or control request >in timely manner. So the service isn't starting that you're trying to use to get counters from? nsclient++ seems to work okay, not tested on 2008 yet, pretty soon though. I don't have that counter monitored, but I do have RAS monitored with nsclient++. -- Jon Angliss ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Thu Mar 5 05:14:57 2009 From: jon at netdork.net (Jon Angliss) Date: Wed, 04 Mar 2009 22:14:57 -0600 Subject: Monitor SOAP? References: <4B59CB89-E847-4B77-8256-362060953905@frontierflying.com> Message-ID: On Thu, 26 Feb 2009 08:25:49 -0900, Israel Brewster wrote: >Is there a nagios plugin out there that can monitor a soap server, >i.e. by sending a soap call to the server and looking for a response? >Or do I need to write one? I did a search on nagios exchange for >"soap" and "Web services", but didn't find anything that looked >promising. Thanks. http://www.webinject.org/webservices.html -- Jon Angliss ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asam30 at gmail.com Thu Mar 5 09:06:23 2009 From: asam30 at gmail.com (asam30 at gmail.com) Date: Thu, 5 Mar 2009 13:36:23 +0530 Subject: check_ping to monitor all IP's of a firewall Message-ID: <25251aec0903050006o63e9384ew5abbaccd65542972@mail.gmail.com> Hi, I've a question on how to monitor multiple IP's of a firewall device using check_ping in Nagios. Example, I have a firewall (prod-fireall) has 6 ip's associated with it so in host.cfg i should do like this define host{ host_name Prod-firewall-0 use generic-switch address xx.xx.xx.40 hostgroups firewall } define host{ host_name Prod-firewall-1 use generic-switch address xx.xx.xx.41 hostgroups firewall } define host{ host_name Prod-firewall-2 use generic-switch address xx.xx.xx.42 hostgroups firewall } like I need to assign different hostname per each ip address but in the nagios interface, this looks a long list of host name that we dont want to have. Is there any way that I can have a single hostname showing in nagios interface and that should monitor all IPs associated with it? Please let me know if possoble thanks -- Shankar Asam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james.mohr at elaxy.com Thu Mar 5 09:40:37 2009 From: james.mohr at elaxy.com (Mohr James) Date: Thu, 5 Mar 2009 09:40:37 +0100 Subject: Determining status of a single service Message-ID: Hi All! Is there any combination of parameters with status.cgi or some other script that one could use to easily determine the current status of a specific host:service? I can get the whole page with this kind of URL nagios/cgi-bin/status.cgi?host=HOSTNAME and then simply parse out the status of the specific service. However, I am not too happy with relying on the structure of an HTML page. I would like to be able to call up a URL from a remote machine, passing the hostname and service, and get some very basic text like OK or a numeric value for the status of that service. I would then take this value and pass it to some other application. Building something with Perl or PHP is straight forward (we're running NDO). But I was hoping that something is already available. Any input is appreaciated. Regards, Jim Mohr -- Diese E-Mail enth?lt vertrauliche und/oder rechtlich gesch?tzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrt?mlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Thu Mar 5 09:56:44 2009 From: subscription at kkeane.com (Kevin Keane) Date: Thu, 5 Mar 2009 00:56:44 -0800 Subject: check_ping to monitor all IP's of a firewall In-Reply-To: <25251aec0903050006o63e9384ew5abbaccd65542972@mail.gmail.com> References: <25251aec0903050006o63e9384ew5abbaccd65542972@mail.gmail.com> Message-ID: <49AF93CC.2040109@kkeane.com> You can do the same thing in services as you did in hosts. First, define a new check command in commands.cfg: # 'check_ping_ip' command definition define command{ command_name check_ping_ip command_line $USER1$/check_ping -H $ARG1$ -w $ARG2$ -c $ARG3$ -p 5 } And then add the services you need: define host { host_name Prod-firewall use generic-switch address xx.xx.xx.40 hostgroups firewall } define service { host_name Prod-firewall service_Description Ping_1 use generic-service check_period 24x7 notification-interval 240 notification_period 24x7 check_command check_ping_ip!xx.xx.xx.40!3000.0,80%!5000.0,100% } define service { host_name Prod-firewall service_Description Ping_1 use generic-service check_period 24x7 notification-interval 240 notification_period 24x7 check_command check_ping_ip!xx.xx.xx.41!3000.0,80%!5000.0,100% } and so on asam30 at gmail.com wrote: > Hi, > > I've a question on how to monitor multiple IP's of a firewall device > using check_ping in Nagios. Example, I have a firewall (prod-fireall) > has 6 ip's associated with it so in host.cfg i should do like this > > define host{ > host_name Prod-firewall-0 > use generic-switch > address xx.xx.xx.40 > hostgroups firewall > } > > define host{ > host_name Prod-firewall-1 > use generic-switch > address xx.xx.xx.41 > hostgroups firewall > } > define host{ > host_name Prod-firewall-2 > use generic-switch > address xx.xx.xx.42 > hostgroups firewall > } > like I need to assign different hostname per each ip address but in > the nagios interface, this looks a long list of host name that we dont > want to have. Is there any way that I can have a single hostname > showing in nagios interface and that should monitor all IPs associated > with it? > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marouane.himdi at kereval.com Thu Mar 5 10:22:18 2009 From: marouane.himdi at kereval.com (Marouane HIMDI) Date: Thu, 5 Mar 2009 10:22:18 +0100 Subject: check_ping to monitor all IP's of a firewall In-Reply-To: <49AF93CC.2040109@kkeane.com> References: <25251aec0903050006o63e9384ew5abbaccd65542972@mail.gmail.com> <49AF93CC.2040109@kkeane.com> Message-ID: <2D4E14D442004192AE75B3016BE789E7@pcmhi> You should do as Kevin suggested or you can define one service that check if all interfaces of the firewall are up (there are many plugins which address this issue) Best regards Dr Marouane HIMDI Ing?nieur R&D/R&D Engineer KEREVAL 4, rue H?l?ne Boucher Z.A. Bellevue 35235 Thorign? Fouillard Tel : +33 (0)2 23 20 36 64 http://www.kereval.com P Pensez ? l'environnement : n'imprimez ce message et ses pi?ces jointes que si n?cessaire ! -----Message d'origine----- De?: Kevin Keane [mailto:subscription at kkeane.com] Envoy??: jeudi 5 mars 2009 09:57 Cc?: Nagios Users Mailinglist Objet?: Re: [Nagios-users] check_ping to monitor all IP's of a firewall You can do the same thing in services as you did in hosts. First, define a new check command in commands.cfg: # 'check_ping_ip' command definition define command{ command_name check_ping_ip command_line $USER1$/check_ping -H $ARG1$ -w $ARG2$ -c $ARG3$ -p 5 } And then add the services you need: define host { host_name Prod-firewall use generic-switch address xx.xx.xx.40 hostgroups firewall } define service { host_name Prod-firewall service_Description Ping_1 use generic-service check_period 24x7 notification-interval 240 notification_period 24x7 check_command check_ping_ip!xx.xx.xx.40!3000.0,80%!5000.0,100% } define service { host_name Prod-firewall service_Description Ping_1 use generic-service check_period 24x7 notification-interval 240 notification_period 24x7 check_command check_ping_ip!xx.xx.xx.41!3000.0,80%!5000.0,100% } and so on asam30 at gmail.com wrote: > Hi, > > I've a question on how to monitor multiple IP's of a firewall device > using check_ping in Nagios. Example, I have a firewall (prod-fireall) > has 6 ip's associated with it so in host.cfg i should do like this > > define host{ > host_name Prod-firewall-0 > use generic-switch > address xx.xx.xx.40 > hostgroups firewall > } > > define host{ > host_name Prod-firewall-1 > use generic-switch > address xx.xx.xx.41 > hostgroups firewall > } > define host{ > host_name Prod-firewall-2 > use generic-switch > address xx.xx.xx.42 > hostgroups firewall > } > like I need to assign different hostname per each ip address but in > the nagios interface, this looks a long list of host name that we dont > want to have. Is there any way that I can have a single hostname > showing in nagios interface and that should monitor all IPs associated > with it? > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ---------------------------------------------------------------------------- -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vinod.e at enlume.com Thu Mar 5 11:56:33 2009 From: vinod.e at enlume.com (vinod.e) Date: Thu, 05 Mar 2009 16:26:33 +0530 Subject: How to monitor using custom scripts in nagios. Message-ID: <49AFAFE1.9020009@enlume.com> Hi Friends, I Want share My experience of monitoring scripts on nagios , Very simple and Easy. I am 3 months experienced with nagios and u should make copy of all your modifying files initially. Actually I want to monitor tomcat threads,memory etc.. along with other services , i could not find plug ins similar to mysql. In my office we have inbuilt scripts to monitor tomcat manually. On test bases I had taken one of this script and tested , I had success. There are other ways thanks to Mr.Richard Quintin who shared his knowledge of using nagiosgraph and scripts to monitor tomcat but my suse10.2 , monitoring server have few issues i could not go head instead tried this. Monitoring nagios using scripts. Example: Monitoring tomcat Threads. At remote host side i.e where nrpe is installed / monitored box Created a file tomcat_threads.sh using vi editor #vi tomcat_threads.sh Entered following three line code #!/bin/sh totalThreads=`ps -C java -L -o pid,tid,pcpu,state | wc -l` echo "Total Threads Available:$totalThreads" Save the file and quit Made sure first script runs at # prompt. Moved script to /usr/local/nagios/libexec folder if its not created here. Set permission #chmod 755 tomcat_threads.sh Give ownner ship to nagios user only. #chown nagios:nagios tomcat_threads.sh #cd /usr/local/nagios/etc #vi nrpe.cfg Append below command line command[tomcat_threads.sh]=/usr/local/nagios/libexec/tomcat_threads.sh Save and quit Restart xinetd to make changes effected. #service xinetd restart At monitoring server side / where nagios monitoring server installed. #cd /usr/local/nagios/etc/ #vi services.cfg Append this service define service{ use generic-service host_name amazon service_description tomcat_threads.sh check_command check_nrpe!tomcat_threads.sh notifications_enabled 0 } Save and quit check for erorrs #/usr/local/nagios/bin /nagios -v /usr/local/nagios/etc/nagios.cfg correct your erorror if any. Restart nagios service #service nagios restart DISCLAIMER: This is what worked for me and i am confident i will add as many as scripts i want in future. You make changes as it suits to you and i own no responsibility for typo error or if some thing goes wrong. Please share your knowledge, knowledges grows by sharing while money reduces by sharing. Regards Gajula Vinod Kumar Eleshetty SYSTEM ADMINISTRATOR/DATA BASE ADMINISTRATOR Enlume technologis. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Thu Mar 5 12:41:55 2009 From: martyn at chetnet.co.uk (Martyn) Date: Thu, 5 Mar 2009 11:41:55 -0000 Subject: How to monitor using custom scripts in nagios. In-Reply-To: <49AFAFE1.9020009@enlume.com> References: <49AFAFE1.9020009@enlume.com> Message-ID: Brill, this is the kind of thing that helps me learn how to use programs, wish a few more would post things like this. Cheers _____ From: vinod.e [mailto:vinod.e at enlume.com] Sent: 05 March 2009 10:57 To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] How to monitor using custom scripts in nagios. Hi Friends, I Want share My experience of monitoring scripts on nagios , Very simple and Easy. I am 3 months experienced with nagios and u should make copy of all your modifying files initially. Actually I want to monitor tomcat threads,memory etc.. along with other services , i could not find plug ins similar to mysql. In my office we have inbuilt scripts to monitor tomcat manually. On test bases I had taken one of this script and tested , I had success. There are other ways thanks to Mr.Richard Quintin who shared his knowledge of using nagiosgraph and scripts to monitor tomcat but my suse10.2 , monitoring server have few issues i could not go head instead tried this. Monitoring nagios using scripts. Example: Monitoring tomcat Threads. At remote host side i.e where nrpe is installed / monitored box Created a file tomcat_threads.sh using vi editor #vi tomcat_threads.sh Entered following three line code #!/bin/sh totalThreads=`ps -C java -L -o pid,tid,pcpu,state | wc -l` echo "Total Threads Available:$totalThreads" Save the file and quit Made sure first script runs at # prompt. Moved script to /usr/local/nagios/libexec folder if its not created here. Set permission #chmod 755 tomcat_threads.sh Give ownner ship to nagios user only. #chown nagios:nagios tomcat_threads.sh #cd /usr/local/nagios/etc #vi nrpe.cfg Append below command line command[tomcat_threads.sh]=/usr/local/nagios/libexec/tomcat_threads.sh Save and quit Restart xinetd to make changes effected. #service xinetd restart At monitoring server side / where nagios monitoring server installed. #cd /usr/local/nagios/etc/ #vi services.cfg Append this service define service{ use generic-service host_name amazon service_description tomcat_threads.sh check_command check_nrpe!tomcat_threads.sh notifications_enabled 0 } Save and quit check for erorrs #/usr/local/nagios/bin /nagios -v /usr/local/nagios/etc/nagios.cfg correct your erorror if any. Restart nagios service #service nagios restart DISCLAIMER: This is what worked for me and i am confident i will add as many as scripts i want in future. You make changes as it suits to you and i own no responsibility for typo error or if some thing goes wrong. Please share your knowledge, knowledges grows by sharing while money reduces by sharing. Regards Gajula Vinod Kumar Eleshetty SYSTEM ADMINISTRATOR/DATA BASE ADMINISTRATOR Enlume technologis. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asam30 at gmail.com Thu Mar 5 12:59:03 2009 From: asam30 at gmail.com (asam30 at gmail.com) Date: Thu, 5 Mar 2009 17:29:03 +0530 Subject: check_ping to monitor all IP's of a firewall In-Reply-To: <49AF93CC.2040109@kkeane.com> References: <25251aec0903050006o63e9384ew5abbaccd65542972@mail.gmail.com> <49AF93CC.2040109@kkeane.com> Message-ID: <25251aec0903050359r3ee45995m5c8b57ca507d9c@mail.gmail.com> Kevin, I did what you suggested, now I can one hostname and underneath I can see services as ping_1, ping_2,..... to monitor other ips in the same host/device. this looks kool. But I tried to shut down one server that relates to the IP ( i added my test server IP here to check), I can still see that the host's IP is up and running in Nagios. And when I down the actual hostname ie Prod-firewall all the services related to that host were down. It looks the solution you gave me is not working. Any idea? Thanks On Thu, Mar 5, 2009 at 2:26 PM, Kevin Keane wrote: > You can do the same thing in services as you did in hosts. First, define > a new check command in commands.cfg: > > # 'check_ping_ip' command definition > define command{ > command_name check_ping_ip > command_line $USER1$/check_ping -H $ARG1$ -w $ARG2$ -c $ARG3$ > -p 5 > } > > And then add the services you need: > > define host { > host_name Prod-firewall > use generic-switch > address xx.xx.xx.40 > hostgroups firewall > } > > define service { > host_name Prod-firewall > service_Description Ping_1 > use generic-service > check_period 24x7 > notification-interval 240 > notification_period 24x7 > check_command check_ping_ip!xx.xx.xx.40!3000.0,80%!5000.0,100% > } > > > define service { > host_name Prod-firewall > service_Description Ping_1 > use generic-service > check_period 24x7 > notification-interval 240 > notification_period 24x7 > check_command check_ping_ip!xx.xx.xx.41!3000.0,80%!5000.0,100% > } > > and so on > > asam30 at gmail.com wrote: > > Hi, > > > > I've a question on how to monitor multiple IP's of a firewall device > > using check_ping in Nagios. Example, I have a firewall (prod-fireall) > > has 6 ip's associated with it so in host.cfg i should do like this > > > > define host{ > > host_name Prod-firewall-0 > > use generic-switch > > address xx.xx.xx.40 > > hostgroups firewall > > } > > > > define host{ > > host_name Prod-firewall-1 > > use generic-switch > > address xx.xx.xx.41 > > hostgroups firewall > > } > > define host{ > > host_name Prod-firewall-2 > > use generic-switch > > address xx.xx.xx.42 > > hostgroups firewall > > } > > like I need to assign different hostname per each ip address but in > > the nagios interface, this looks a long list of host name that we dont > > want to have. Is there any way that I can have a single hostname > > showing in nagios interface and that should monitor all IPs associated > > with it? > > > -- > Kevin Keane > Owner > The NetTech > Find the Uncommon: Expert Solutions for a Network You Never Have to Think > About > > Office: 866-642-7116 > http://www.4nettech.com > > This e-mail and attachments, if any, may contain confidential and/or > proprietary information. Please be advised that the unauthorized use or > disclosure of the information is strictly prohibited. The information herein > is intended only for use by the intended recipient(s) named above. If you > have received this transmission in error, please notify the sender > immediately and permanently delete the e-mail and any copies, printouts or > attachments thereof. > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Shankar Asam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Thu Mar 5 14:14:11 2009 From: subscription at kkeane.com (Kevin Keane) Date: Thu, 5 Mar 2009 05:14:11 -0800 Subject: check_ping to monitor all IP's of a firewall In-Reply-To: <25251aec0903050359r3ee45995m5c8b57ca507d9c@mail.gmail.com> References: <25251aec0903050006o63e9384ew5abbaccd65542972@mail.gmail.com> Message-ID: <49AFD023.8020804@kkeane.com> I can only guess, but it sounds as if all the service checks are still using check_ping instead of your new command check_ping_ip. Either that, or check_ping_ip is misdefined; make sure that the argument to -H in your command is $ARG1$, not the host IP address. You may want to turn on logging and check the Nagios log files to see what commands are actually being issued. asam30 at gmail.com wrote: > Kevin, > > I did what you suggested, now I can one hostname and underneath I can > see services as ping_1, ping_2,..... to monitor other ips in the same > host/device. this looks kool. But I tried to shut down one server that > relates to the IP ( i added my test server IP here to check), I can > still see that the host's IP is up and running in Nagios. And when I > down the actual hostname ie Prod-firewall all the services related to > that host were down. > > It looks the solution you gave me is not working. Any idea? > > Thanks > > > On Thu, Mar 5, 2009 at 2:26 PM, Kevin Keane > wrote: > > You can do the same thing in services as you did in hosts. First, > define > a new check command in commands.cfg: > > # 'check_ping_ip' command definition > define command{ > command_name check_ping_ip > command_line $USER1$/check_ping -H $ARG1$ -w $ARG2$ -c > $ARG3$ > -p 5 > } > > And then add the services you need: > > define host { > host_name Prod-firewall > use generic-switch > address xx.xx.xx.40 > hostgroups firewall > } > > define service { > host_name Prod-firewall > service_Description Ping_1 > use generic-service > check_period 24x7 > notification-interval 240 > notification_period 24x7 > check_command check_ping_ip!xx.xx.xx.40!3000.0,80%!5000.0,100% > } > > > define service { > host_name Prod-firewall > service_Description Ping_1 > use generic-service > check_period 24x7 > notification-interval 240 > notification_period 24x7 > check_command check_ping_ip!xx.xx.xx.41!3000.0,80%!5000.0,100% > } > > and so on > > asam30 at gmail.com wrote: > > Hi, > > > > I've a question on how to monitor multiple IP's of a firewall device > > using check_ping in Nagios. Example, I have a firewall > (prod-fireall) > > has 6 ip's associated with it so in host.cfg i should do like this > > > > define host{ > > host_name Prod-firewall-0 > > use generic-switch > > address xx.xx.xx.40 > > hostgroups firewall > > } > > > > define host{ > > host_name Prod-firewall-1 > > use generic-switch > > address xx.xx.xx.41 > > hostgroups firewall > > } > > define host{ > > host_name Prod-firewall-2 > > use generic-switch > > address xx.xx.xx.42 > > hostgroups firewall > > } > > like I need to assign different hostname per each ip address but in > > the nagios interface, this looks a long list of host name that > we dont > > want to have. Is there any way that I can have a single hostname > > showing in nagios interface and that should monitor all IPs > associated > > with it? > > > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tomas.Trnka at podravka.cz Thu Mar 5 14:37:41 2009 From: Tomas.Trnka at podravka.cz (Trnka Tomas) Date: Thu, 5 Mar 2009 14:37:41 +0100 Subject: snmp monitoring of RICOH / DEVELOP Message-ID: <4E91EC55C494DE418A7587CDEAE5433801771916@nt_server.cz.podravka.int> Anyone have experience with snmp monitoring of RICOH / DEVELOP printers ? i like to have results something like from Check_hpjd .... Thanks in advance for your notes -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From torresgi at ninds.nih.gov Thu Mar 5 15:07:09 2009 From: torresgi at ninds.nih.gov (Giovanni Torres) Date: Thu, 05 Mar 2009 09:07:09 -0500 Subject: SELinux problem for SNMP In-Reply-To: References: <49AEA33E.30007@ninds.nih.gov> Message-ID: <49AFDC8D.60705@ninds.nih.gov> I have a CentOS machine that has selinux in enforcing/targeted mode and is monitored with snmp checks by nagios successfully. The SE boolean value for snmpd_disable_trans is off on my machine and I can still query snmp. I would recommend the following: . check the firewall/iptables rules for udp port 161 . enable logging in iptables to see if the firewall is dropping packets (requires more work) . check the source and string under the com2sec definition in snmpd.conf . check the view definition in snmpd.conf, defaults are a bit restrictive . try using the setroubleshoot browser to see if any snmpd related warnings pop up. These warnings can include a section called Allowing Access. -Giovanni Satish Patel wrote: > I already used this option its not working. > > ----- Original Message ----- From: "Giovanni Torres" > > To: > Sent: Wednesday, March 04, 2009 10:50 AM > Subject: Re: [Nagios-users] SELinux problem for SNMP > > >> $ getsebool -a | grep snmpd >> snmpd_disable_trans --> off >> >> $ setsebool -P snmpd_disable_trans 1 >> >> $ getsebool snmpd_disable_trans >> snmpd_disable_trans --> on >> >> Let me know if that helps you out. >> >> Thanks, >> Giovanni >> >> Satish Patel wrote: >> > I have a selinx its running under default policy. i want SELinux >> disable for SNMP daemon thats it.. if any one know about how to disable >> for snmpd please let me know. >> > >> > I have tried to found on SELinux mailing list as well but not gave >> any appropriate answer. >> > >> > ----- Original Message ----- From: "Lee Azzarello" >> > To: >> > Sent: Thursday, February 26, 2009 12:09 PM >> > Subject: Re: [Nagios-users] SELinux problem for SNMP >> > >> > >> >> I believe your question would be better served on a list related to >> SELinux. >> >> >> >> In my experience SELinux is overkill for anything but the most >> >> paranoid security situations. Without a complete understanding of your >> >> entire security landscape, you'll just end up fighting with your own >> >> systems because SELinux is protecting them from you. >> >> >> >> -lee >> >> >> >> On Thu, Feb 26, 2009 at 9:45 AM, Satish Patel >> wrote: >> >>> Hi, >> >>> >> >>> I have RHEL 5 Box with SELinux enforceing mode now what happend when >> >>> my nagios box trying to use snmp to get CPU load its working fine. >> but >> >>> when it trying to use DISK and MEM infor its failed not response. >> even >> >>> this same plugin working with all my linux client ubuntu, debian, >> >>> Redhat not problem with plugin but i found problem related to SELinux >> >>> and i dont want to Disable it so what is the other option and how i >> >>> can disable snmp policy in SELinux to make happy my nagios? >> >>> >> >>> >> >>> Regards, >> >>> >> >>> Satish Patel >> >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> ------------------------------------------------------------------------------ >> >> >>> Open Source Business Conference (OSBC), March 24-25, 2009, San >> Francisco, CA >> >>> -OSBC tackles the biggest issue in open source: Open Sourcing the >> Enterprise >> >>> -Strategies to boost innovation and cut costs with open source >> participation >> >>> -Receive a $600 discount off the registration fee with the source >> code: SFAD >> >>> http://p.sf.net/sfu/XcvMzF8H >> >>> _______________________________________________ >> >>> Nagios-users mailing list >> >>> Nagios-users at lists.sourceforge.net >> >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >>> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> >>> ::: Messages without supporting info will risk being sent to >> /dev/null >> >>> >> >> >> ------------------------------------------------------------------------------ >> >> >> Open Source Business Conference (OSBC), March 24-25, 2009, San >> Francisco, CA >> >> -OSBC tackles the biggest issue in open source: Open Sourcing the >> Enterprise >> >> -Strategies to boost innovation and cut costs with open source >> participation >> >> -Receive a $600 discount off the registration fee with the source >> code: SFAD >> >> http://p.sf.net/sfu/XcvMzF8H >> >> _______________________________________________ >> >> Nagios-users mailing list >> >> Nagios-users at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> > >> > >> > >> ------------------------------------------------------------------------------ >> >> > Open Source Business Conference (OSBC), March 24-25, 2009, San >> Francisco, CA >> > -OSBC tackles the biggest issue in open source: Open Sourcing the >> Enterprise >> > -Strategies to boost innovation and cut costs with open source >> participation >> > -Receive a $600 discount off the registration fee with the source >> code: SFAD >> > http://p.sf.net/sfu/XcvMzF8H >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null >> >> >> >> ------------------------------------------------------------------------------ >> >> Open Source Business Conference (OSBC), March 24-25, 2009, San >> Francisco, CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the >> Enterprise >> -Strategies to boost innovation and cut costs with open source >> participation >> -Receive a $600 discount off the registration fee with the source >> code: SFAD >> http://p.sf.net/sfu/XcvMzF8H >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > -- Giovanni Torres Network Administrator Contractor - Kelly Services NINDS, NMR Center National Institutes of Health 301-402-3110 ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rodneyra at gmail.com Thu Mar 5 15:53:04 2009 From: rodneyra at gmail.com (Rodney Ramos) Date: Thu, 5 Mar 2009 11:53:04 -0300 Subject: Check attempt number do not reset Message-ID: I?m noticing that, sometimes, the check attempt number do not reset to "1" after a recovery state, as we can see below: [1236254782] HOST ALERT: sani6as05;DOWN;SOFT;1;No route to host [1236254852] HOST ALERT: sani6as05;UP;SOFT;2;TCP OK - 0.519 second response time on port 135 [1236255172] HOST ALERT: sani6as05;DOWN;SOFT;2;CRITICAL - Socket timeout after 10 seconds <---- Should be "SOFT:1", not "SOFT:2" [1236255242] HOST ALERT: sani6as05;DOWN;SOFT;3;Network is unreachable [1236255312] HOST ALERT: sani6as05;DOWN;HARD;4;Network is unreachable Is this a normal behaviour or is it a Nagios problem? Thanks in advance, Rodney. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kdawg44 at gmail.com Thu Mar 5 15:54:32 2009 From: kdawg44 at gmail.com (K-Dawg) Date: Thu, 5 Mar 2009 09:54:32 -0500 Subject: New to Nagios - Watching Services Message-ID: <5caea3690903050654x260ca1d4i9398ffd41968d365@mail.gmail.com> Hi, I am very new to Nagios but am trying to convince my company that Nagios is the way to go instead of our current monitoring application that we pay a lot for and is VERY basic. I have a series of items that I need to get Nagios to do so I am excited to be learning it and will probably frequent this list. To start with, how do I specify to watch a service in Windows? For example, I want to watch the Backup Exec remote agent on a series of servers and be paged if for some reason it is not started. Do I need an add on for this or can I simply specify it in the Windows Cfg file? Thanks. Kevin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kdawg44 at gmail.com Thu Mar 5 16:01:58 2009 From: kdawg44 at gmail.com (K-Dawg) Date: Thu, 5 Mar 2009 10:01:58 -0500 Subject: New to Nagios - Watching Services In-Reply-To: <5caea3690903050654x260ca1d4i9398ffd41968d365@mail.gmail.com> References: <5caea3690903050654x260ca1d4i9398ffd41968d365@mail.gmail.com> Message-ID: <5caea3690903050701v19476477p9954583ab0765ae2@mail.gmail.com> On Thu, Mar 5, 2009 at 9:54 AM, K-Dawg wrote: > Hi, > > I am very new to Nagios but am trying to convince my company that Nagios is > the way to go instead of our current monitoring application that we pay a > lot for and is VERY basic. I have a series of items that I need to get > Nagios to do so I am excited to be learning it and will probably frequent > this list. > > To start with, how do I specify to watch a service in Windows? For > example, I want to watch the Backup Exec remote agent on a series of servers > and be paged if for some reason it is not started. Do I need an add on for > this or can I simply specify it in the Windows Cfg file? > > Thanks. > > Kevin > Please disregard, I just stumbled onto the *SERVICESTATE *definition so I will play with that. Thanks. Kevin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DVeldhuisen at slb.com Thu Mar 5 16:12:39 2009 From: DVeldhuisen at slb.com (Doug Veldhuisen) Date: Thu, 5 Mar 2009 16:12:39 +0100 Subject: snmp monitoring of RICOH / DEVELOP In-Reply-To: <4E91EC55C494DE418A7587CDEAE5433801771916@nt_server.cz.podravka.int> References: <4E91EC55C494DE418A7587CDEAE5433801771916@nt_server.cz.podravka.int> Message-ID: I tried once to get RICOH Savin Printers checked via Nagios. Searched high and low for something and never did find anything that was already developed. Figured I was going to have to write my own stuff. Now I'm trying the same thing with Toshiba printers, nothing there either. If someone has a way to utilize "Check_hpjd" for non HP printers, lets pool the knowledge on this subject. Doug From: Trnka Tomas [mailto:Tomas.Trnka at podravka.cz] Sent: Thursday, March 05, 2009 7:38 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] snmp monitoring of RICOH / DEVELOP Anyone have experience with snmp monitoring of RICOH / DEVELOP printers ? i like to have results something like from Check_hpjd .... Thanks in advance for your notes -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Thu Mar 5 16:15:54 2009 From: subscription at kkeane.com (Kevin Keane) Date: Thu, 5 Mar 2009 07:15:54 -0800 Subject: New to Nagios - Watching Services In-Reply-To: <5caea3690903050654x260ca1d4i9398ffd41968d365@mail.gmail.com> References: <5caea3690903050654x260ca1d4i9398ffd41968d365@mail.gmail.com> Message-ID: <49AFECAA.9020701@kkeane.com> Try looking into NSClient++ for all kinds of elaborate monitoring possibilities. I am using it to check for stopped services, among other things. K-Dawg wrote: > Hi, > > I am very new to Nagios but am trying to convince my company that > Nagios is the way to go instead of our current monitoring application > that we pay a lot for and is VERY basic. I have a series of items > that I need to get Nagios to do so I am excited to be learning it and > will probably frequent this list. > > To start with, how do I specify to watch a service in Windows? For > example, I want to watch the Backup Exec remote agent on a series of > servers and be paged if for some reason it is not started. Do I need > an add on for this or can I simply specify it in the Windows Cfg file? > > Thanks. > > Kevin -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 5 16:22:09 2009 From: marc at ena.com (Marc Powell) Date: Thu, 5 Mar 2009 09:22:09 -0600 Subject: Check attempt number do not reset In-Reply-To: References: Message-ID: <462BDFBC-63FC-49D4-B045-345CEEFE4BFA@ena.com> On Mar 5, 2009, at 8:53 AM, Rodney Ramos wrote: > I?m noticing that, sometimes, the check attempt number do not reset > to "1" after a recovery state, as we can see below: > > [1236254782] HOST ALERT: sani6as05;DOWN;SOFT;1;No route to host > [1236254852] HOST ALERT: sani6as05;UP;SOFT;2;TCP OK - 0.519 second > response time on port 135 ^^^^^ Wasn't in a HARD OK state yet so hadn't _really_ recovered. > [1236255172] HOST ALERT: sani6as05;DOWN;SOFT;2;CRITICAL - Socket > timeout after 10 seconds <---- Should be "SOFT:1", not "SOFT:2" > [1236255242] HOST ALERT: sani6as05;DOWN;SOFT;3;Network is unreachable > [1236255312] HOST ALERT: sani6as05;DOWN;HARD;4;Network is unreachable > > Is this a normal behaviour or is it a Nagios problem? Doesn't appear to be a bug, IMHO. -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lee at dropio.com Thu Mar 5 16:23:00 2009 From: lee at dropio.com (Lee Azzarello) Date: Thu, 5 Mar 2009 10:23:00 -0500 Subject: Nagios/NRPE relationship In-Reply-To: References: Message-ID: <16b031c0903050723i2c3899cay22bfa4ef60fe8871@mail.gmail.com> It helps me to build up a NRPE service check manually. First execute it manually on the host and confirm it's working, next copy the command line into the nrpe configuration. Disconnect from that host and connect to the host where nagios is running and manually execute the check_nrpe plugin with the IP/hostname of the remote host to confirm remote execution works. Then go into the service configuration and lock it down. I prefer not to pass arguments via NRPE, so the service check is always just the name of the NRPE command name on the remote host. There is also SNMP, though that's a real can of worms if you haven't yet worked with Net-SNMP before. -lee On Wed, Mar 4, 2009 at 6:26 PM, Martyn wrote: > Hi all, hope you do no think this is a stupid question; however I have to > ask it anyway for a better understanding. > > I have my Nagios Server with NRPE plugins installed and I have a Linux > Remote Server that I want to monitor, I know that you need NRPE on the > remote Linux box but after that it goes a bit glazed, this is the bit I need > to understand. > > Here is the standard configuration NRPE installed on my remote Linux box: > > command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 > command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c > 30,25,20 > command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p > /dev/sda1 > command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 > -s Z > command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c > 200 > > So my question is, if I need to monitor SMTP on the remote box I would have > to ask the remote administrator to add the following command to their > nrpe.cfg: > > Command[check_smtp]=/usr/local/nagios/libexec/check_smtp -H localhost > > Do they have to use the -H localhost directive or is there something > different they can use, the localhost just does not seem right looking at > the other examples above. > > Then on my Nagios Server, under the .cfg box I want to monitor I define the > command: > > define service{ > ??????? use????????????????????????????? generic-service > ??????? host_name?????????????????? linux-server > ??????? service_description?????? SSH > ??????? check_command????????? check_nrpe!check_ssh > ??????? } > > Hope its not such a stupid question that it does not warrant a reply. > > Rgs > Martyn > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 5 16:25:50 2009 From: marc at ena.com (Marc Powell) Date: Thu, 5 Mar 2009 09:25:50 -0600 Subject: New to Nagios - Watching Services In-Reply-To: <5caea3690903050654x260ca1d4i9398ffd41968d365@mail.gmail.com> References: <5caea3690903050654x260ca1d4i9398ffd41968d365@mail.gmail.com> Message-ID: On Mar 5, 2009, at 8:54 AM, K-Dawg wrote: > Hi, > > I am very new to Nagios but am trying to convince my company that > Nagios is the way to go instead of our current monitoring > application that we pay a lot for and is VERY basic. I have a > series of items that I need to get Nagios to do so I am excited to > be learning it and will probably frequent this list. Welcome! > To start with, how do I specify to watch a service in Windows? For > example, I want to watch the Backup Exec remote agent on a series of > servers and be paged if for some reason it is not started. Do I > need an add on for this or can I simply specify it in the Windows > Cfg file? I think I can speak for most of us in recommending that you read the documentation at least once. It's very thorough and covers theory of operation and most common questions and configurations. The QuickStart section addresses this particular question at http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html . -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Thu Mar 5 16:28:41 2009 From: subscription at kkeane.com (Kevin Keane) Date: Thu, 5 Mar 2009 07:28:41 -0800 Subject: snmp monitoring of RICOH / DEVELOP In-Reply-To: References: <4E91EC55C494DE418A7587CDEAE5433801771916@nt_server.cz.podravka.int> Message-ID: <49AFEFA9.3090904@kkeane.com> I'm actually writing a plugin for monitoring printers. Currently, I have only tested it with HP printers, but at least in theory it should work with Ricoh and others as well, since it uses standard SNMP. If you want to try it out, download http://sourceforge.net/projects/tntnagiosplugin/ I would actually appreciate feedback about what printers it does or does not work with. One catch: the plugin only runs on Windows, so it is not directly useful for the majority of nagios users (I wrote it primarily for my own needs). Also, the only thing it currently monitors is toner level. Doug Veldhuisen wrote: > > I tried once to get RICOH Savin Printers checked via Nagios. Searched > high and low for something and never did find anything that was > already developed. > > Figured I was going to have to write my own stuff. > > Now I?m trying the same thing with Toshiba printers, nothing there either. > > If someone has a way to utilize ?Check_hpjd? for non HP printers, lets > pool the knowledge on this subject. > > Doug > > *From:* Trnka Tomas [mailto:Tomas.Trnka at podravka.cz] > *Sent:* Thursday, March 05, 2009 7:38 AM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] snmp monitoring of RICOH / DEVELOP > > Anyone have experience with snmp monitoring of RICOH / DEVELOP > printers ? i like to have results something like from Check_hpjd ?. > Thanks in advance for your notes > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mangoo at wpkg.org Thu Mar 5 16:56:00 2009 From: mangoo at wpkg.org (Tomasz Chmielewski) Date: Thu, 05 Mar 2009 16:56:00 +0100 Subject: alternative Status Map? Message-ID: <49AFF610.6070207@wpkg.org> Are there alternative Status Maps for Nagios? Current implementation has at least these limitations: 1. With lots of monitored hosts, the map becomes unreadable / does not fit on the screen. The ideal would be if status map allowed to draw selected host groups only (right now, it allows host group selection, but the whole map with all hosts is rendered anyway; not selected hosts won't have icons/descriptions, but it doesn't help much with readability) 2. All nagios users can see the whole network structure for all hosts. Even if a given web user is not authorised to view certain hosts, he/she will see them anyway on the status map (without icons/descriptions). It can be even viewed as a security flaw. Is the only solution compiling and running several nagios instances? -- Tomasz Chmielewski http://wpkg.org ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Thu Mar 5 17:00:35 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Thu, 5 Mar 2009 11:00:35 -0500 Subject: check_ping for service and host explanation Message-ID: <6db4a4200903050800r46d5207cjbb90940ad4f4e235@mail.gmail.com> All, I need some clarification about Nagios host and service check relationship. I have no dependency defined. I have the following host and service defintion define host{ name foo use generic-host ; Inherit default values check_period 24x7 check_interval 0 max_check_attempts 2 notification_period 24x7 notification_interval 10 notification_enabled 0 check_command check_host_alive } define service { use basic-service hostname foo service_description ping servicegroups named check_command check-host-alive } if you look above, I have both service and host check_command is the same check ("check_host_alive"). Now host is not checking on regular time interval because I have the check_interval is set to "0". Lets say the service check fails, at this point would nagios perform on demand host check? Also would nagios show host status as down and service status as critical? Please advise on this. Thanks -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 5 17:14:43 2009 From: marc at ena.com (Marc Powell) Date: Thu, 5 Mar 2009 10:14:43 -0600 Subject: check_ping for service and host explanation In-Reply-To: <6db4a4200903050800r46d5207cjbb90940ad4f4e235@mail.gmail.com> References: <6db4a4200903050800r46d5207cjbb90940ad4f4e235@mail.gmail.com> Message-ID: <29C6A088-F996-4991-A888-5DB6106E4EB9@ena.com> On Mar 5, 2009, at 10:00 AM, shadih rahman wrote: > if you look above, I have both service and host check_command is the > same check ("check_host_alive"). Now host is not checking on > regular time interval because I have the check_interval is set to > "0". Lets say the service check fails, at this point would nagios > perform on demand host check? Yes. > Also would nagios show host status as down and service status as > critical? Yes. http://nagios.sourceforge.net/docs/3_0/hostchecks.html kind of lays it out but the first two paragraphs of http://nagios.sourceforge.net/docs/2_0/networkreachability.html say it best, IMHO. -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.weaver at bbc.co.uk Thu Mar 5 17:13:14 2009 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Thu, 5 Mar 2009 16:13:14 -0000 Subject: Nagios authentication with Active directoy In-Reply-To: References: <3567F0699DE94B2DAFB97DF9585FEB3B@linuxbug> Message-ID: > >I want to authenticate my nagios with AD. i read couple of > document on net but no luck..any one using this method of > authentication please let me know i will appricate your help. > > I'm assuming you mean the Nagios UI, in which case you'll > want to look for mod_auth_ldap and active directory. The > Nagios UI is just a web page, authentication is done via your > web server. Assuming Apache, then mod_auth_ldap, or > mod_auth_kerberos should be where you are looking. The way we do it is thus (specifically for ubuntu, YMMV) Install libapache2-authenntlm-perm # apt-get install libapache2-authenntlm-perm Edit your apache config thus: % % Include /etc/ntlm/htaccess % Options +ExecCGI % AllowOverride None % % % Alias /nagios /usr/local/nagios/share % % Include /etc/ntlm/htaccess % % Options +ExecCGI % AddHandler cgi-script .cgi % And finally create /etc/ntlm/htaccess Thus: % PerlAuthenHandler Apache2::AuthenNTLM % AuthType ntlm,basic % AuthName Nagios % require valid-user % % PerlAddVar ntdomain "MYDOMAIN dc25 dc26" % PerlAddVar ntdomain "OTHERDOMAIN dc25 dc26" % PerlAddVar ntdomain "THIRDDOMAIN dc25 dc26" % % PerlSetVar defaultdomain MYDOMAIN % PerlSetVar fallbackdomain OTHERDOMAIN % PerlSetVar splitdomainprefix 1 % PerlSetVar ntlmdebug 0 Replance "dc25" with your local domain controller, "dc26" with a backup one, MYDOMAIN with your main domain, OTHERDOMAIN, THIRDDOMAIN, etc with any other domains This does the AD authentication, and also allows machines to use transparent passthrough authentication. Each user will need a nagios account, unless you have a default_user_name in your cgi.cfg (We do this) ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.weaver at bbc.co.uk Thu Mar 5 17:29:00 2009 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Thu, 5 Mar 2009 16:29:00 -0000 Subject: alternative Status Map? In-Reply-To: <49AFF610.6070207@wpkg.org> References: <49AFF610.6070207@wpkg.org> Message-ID: > -----Original Message----- > From: Tomasz Chmielewski [mailto:mangoo at wpkg.org] > Sent: 05 March 2009 15:56 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] alternative Status Map? > > Are there alternative Status Maps for Nagios? > > Current implementation has at least these limitations: > > 1. With lots of monitored hosts, the map becomes unreadable / > does not fit on the screen. That's true > 2. All nagios users can see the whole network structure for all hosts. > > Even if a given web user is not authorised to view certain > hosts, he/she will see them anyway on the status map (without > icons/descriptions). > It can be even viewed as a security flaw. Personally I'm not a fan of maps, very few cases I think they're useful, however NagVis might be what you want http://www.nagvis.org/ This kind of map could be useful for a server room http://www.nagvis.org/sites/default/files/screenshots/nagvis-1.3-rack.pn g And perhaps this kind if you have a geographically spread system. http://www.nagvis.org/sites/default/files/screenshots/nagvis_map_2.png -- Paul Weaver Systems Development Engineer News Production Facilities, BBC News ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 5 17:28:49 2009 From: marc at ena.com (Marc Powell) Date: Thu, 5 Mar 2009 10:28:49 -0600 Subject: Nagios/NRPE relationship In-Reply-To: References: Message-ID: <705FB7CA-A555-45A7-85B0-113420CB04F1@ena.com> On Mar 4, 2009, at 5:26 PM, Martyn wrote: > Hi all, hope you do no think this is a stupid question; however I > have to ask it anyway for a better understanding > > Command[check_smtp]=/usr/local/nagios/libexec/check_smtp -H localhost > > Do they have to use the -H localhost directive or is there something > different they can use, the localhost just does not seem right > looking at the other examples above. > Yes, check_smtp connects to a 'remote' smtp server and verifies that it answers so it needs to know what IP to connect to. It doesn't need NRPE to do that. If this remote server answers on port 25 on an IP reachable from your nagios host, you could just as easily run it from your nagios host and probably have more reliable results. The only scenario where the check above makes sense is if the SMTP server only accepts connections from the local machine. You can always run 'check_ --help' to see what parameters are required and available. NRPE is only needed for checking things that don't expose external services. Things like disk space, cpu utilization, memory use, etc.. Any network aware daemons like sendmail, postfix, apache, sshd, etc can generally be checked without using NRPE. > Then on my Nagios Server, under the .cfg box I want to monitor I > define the command: > > define service{ > use generic-service > host_name linux-server > service_description SSH > check_command check_nrpe!check_ssh > } > This is another one that doesn't really make sense to run through NRPE. check_ssh tries to connect to port 22 on a specified host (-H) to see if sshd is listening. You'd want to perform that test from a different box than sshd is running on to make sure it's listening publicly. Running directly from nagios is better. define service{ use generic-service host_name linux-server service_description SSH check_command check_ssh } Assuming your check_ssh command definition looks something like -- define command { command_name check_ssh command_line $USER1$/check_ssh -t 30 -H $HOSTADDRESS$ } -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From satish at linuxbug.org Thu Mar 5 18:25:12 2009 From: satish at linuxbug.org (Satish Patel) Date: Thu, 05 Mar 2009 12:25:12 -0500 Subject: SELinux problem for SNMP In-Reply-To: <49AFDC8D.60705@ninds.nih.gov> References: <49AEA33E.30007@ninds.nih.gov> <49AFDC8D.60705@ninds.nih.gov> Message-ID: <20090305122512.cd2p1m73okwoooc8@mail.lintelindia.com> Thansk your reply I have checked IPtables and other related stuff with security port security i found one thing when i perform snmp CPU Load plugin its working fine measn i have access of snmp quary for CPU oid. Then why i am not able to Disk monitoring via SNMP? Notes:- I have few NFS mount point whicg is mounted at /mnt directory is this the problem ? might be selinux not allow to snmp query to /mnt filesystem. when i check my /var/log/messages file i got Access denied on /mnt mounted file system with snmpd error here my logs Mar 5 11:34:54 server02 snmpd[17536]: /mnt/to-rap-cm-bak01/h: Permission denied Mar 5 11:34:54 server02 snmpd[17536]: /mnt/to-rap-cm-bak01/i: Permission denied Mar 5 11:34:54 server02 snmpd[17536]: /mnt/ustnsto-lin03/opt/comtel: Permission denied Mar 5 11:34:54 server02 snmpd[17536]: /mnt/ustnsto-lin03/media/usbdisk: Permission denied Mar 5 11:34:54 server02 kernel: smb_add_request: request [d31eee80, mid=22042] timed out! Mar 5 11:34:54 server02 kernel: audit(1236270894.187:224715): avc: denied { read append } for pid=17536 comm="snmpd" name="snmpd.log" dev=dm-3 ino=393320 scontext=root:system_r:snmpd_t tcontext=user_u:object_r:var_log_t tclass=file Mar 5 11:34:54 server02 kernel: audit(1236270894.187:224716): avc: denied { search } for pid=17536 comm="snmpd" name="mnt" dev=dm-0 ino=65537 scontext=root:system_r:snmpd_t tcontext=system_u:object_r:mnt_t tclass=dir Regards, Satish Patel Quoting Giovanni Torres : > I have a CentOS machine that has selinux in enforcing/targeted mode and > is monitored with snmp checks by nagios successfully. The SE boolean > value for snmpd_disable_trans is off on my machine and I can still > query snmp. I would recommend the following: > . check the firewall/iptables rules for udp port 161 > . enable logging in iptables to see if the firewall is dropping packets > (requires more work) > . check the source and string under the com2sec definition in snmpd.conf > . check the view definition in snmpd.conf, defaults are a bit restrictive > . try using the setroubleshoot browser to see if any snmpd related > warnings pop up. These warnings can include a section called Allowing > Access. > > -Giovanni > > > Satish Patel wrote: >> I already used this option its not working. >> >> ----- Original Message ----- From: "Giovanni Torres" >> >> To: >> Sent: Wednesday, March 04, 2009 10:50 AM >> Subject: Re: [Nagios-users] SELinux problem for SNMP >> >> >>> $ getsebool -a | grep snmpd >>> snmpd_disable_trans --> off >>> >>> $ setsebool -P snmpd_disable_trans 1 >>> >>> $ getsebool snmpd_disable_trans >>> snmpd_disable_trans --> on >>> >>> Let me know if that helps you out. >>> >>> Thanks, >>> Giovanni >>> >>> Satish Patel wrote: >>>> I have a selinx its running under default policy. i want SELinux >>> disable for SNMP daemon thats it.. if any one know about how to disable >>> for snmpd please let me know. >>>> >>>> I have tried to found on SELinux mailing list as well but not gave >>> any appropriate answer. >>>> >>>> ----- Original Message ----- From: "Lee Azzarello" >>>> To: >>>> Sent: Thursday, February 26, 2009 12:09 PM >>>> Subject: Re: [Nagios-users] SELinux problem for SNMP >>>> >>>> >>>>> I believe your question would be better served on a list related to >>> SELinux. >>>>> >>>>> In my experience SELinux is overkill for anything but the most >>>>> paranoid security situations. Without a complete understanding of your >>>>> entire security landscape, you'll just end up fighting with your own >>>>> systems because SELinux is protecting them from you. >>>>> >>>>> -lee >>>>> >>>>> On Thu, Feb 26, 2009 at 9:45 AM, Satish Patel >>> wrote: >>>>>> Hi, >>>>>> >>>>>> I have RHEL 5 Box with SELinux enforceing mode now what happend when >>>>>> my nagios box trying to use snmp to get CPU load its working fine. but >>>>>> when it trying to use DISK and MEM infor its failed not response. even >>>>>> this same plugin working with all my linux client ubuntu, debian, >>>>>> Redhat not problem with plugin but i found problem related to SELinux >>>>>> and i dont want to Disable it so what is the other option and how i >>>>>> can disable snmp policy in SELinux to make happy my nagios? >>>>>> >>>>>> >>>>>> Regards, >>>>>> >>>>>> Satish Patel >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>> ------------------------------------------------------------------------------ >>> Open Source Business Conference (OSBC), March 24-25, 2009, >>> San >>> Francisco, CA >>>>>> -OSBC tackles the biggest issue in open source: Open Sourcing the >>> Enterprise >>>>>> -Strategies to boost innovation and cut costs with open source >>> participation >>>>>> -Receive a $600 discount off the registration fee with the source >>> code: SFAD >>>>>> http://p.sf.net/sfu/XcvMzF8H >>>>>> _______________________________________________ >>>>>> Nagios-users mailing list >>>>>> Nagios-users at lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>>>>> ::: Messages without supporting info will risk being sent to /dev/null >>>>>> >>>>> >>> ------------------------------------------------------------------------------ >> Open Source Business Conference (OSBC), March 24-25, 2009, >>> San >>> Francisco, CA >>>>> -OSBC tackles the biggest issue in open source: Open Sourcing the >>> Enterprise >>>>> -Strategies to boost innovation and cut costs with open source >>> participation >>>>> -Receive a $600 discount off the registration fee with the source >>> code: SFAD >>>>> http://p.sf.net/sfu/XcvMzF8H >>>>> _______________________________________________ >>>>> Nagios-users mailing list >>>>> Nagios-users at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>>>> ::: Messages without supporting info will risk being sent to /dev/null >>>>> >>>> >>>> >>>> >>> ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, >>> San >>> Francisco, CA >>>> -OSBC tackles the biggest issue in open source: Open Sourcing the >>> Enterprise >>>> -Strategies to boost innovation and cut costs with open source >>> participation >>>> -Receive a $600 discount off the registration fee with the source >>> code: SFAD >>>> http://p.sf.net/sfu/XcvMzF8H >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. ::: Messages without supporting info will risk >>> being sent to /dev/null >>> >>> >>> >>> ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, >>> CA >>> -OSBC tackles the biggest issue in open source: Open Sourcing the >>> Enterprise >>> -Strategies to boost innovation and cut costs with open source >>> participation >>> -Receive a $600 discount off the registration fee with the source >>> code: SFAD >>> http://p.sf.net/sfu/XcvMzF8H >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> > > -- > Giovanni Torres > Network Administrator > Contractor - Kelly Services > NINDS, NMR Center > National Institutes of Health > 301-402-3110 ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From satish at linuxbug.org Thu Mar 5 18:36:20 2009 From: satish at linuxbug.org (Satish Patel) Date: Thu, 05 Mar 2009 12:36:20 -0500 Subject: Host information with nagios Message-ID: <20090305123620.k4d597bk740kcwcc@mail.lintelindia.com> Hey I have 100+ server geographically located or distributed so some time hard to find information as well as rack/switch/UPS/owner of server/contact and few more any one know about any good interface which i can integrate with nagios. Regards, Satish Patel ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From torresgi at ninds.nih.gov Thu Mar 5 18:17:06 2009 From: torresgi at ninds.nih.gov (Giovanni Torres) Date: Thu, 05 Mar 2009 12:17:06 -0500 Subject: SELinux problem for SNMP In-Reply-To: <20090305122512.cd2p1m73okwoooc8@mail.lintelindia.com> References: <49AEA33E.30007@ninds.nih.gov> <49AFDC8D.60705@ninds.nih.gov> <20090305122512.cd2p1m73okwoooc8@mail.lintelindia.com> Message-ID: <49B00912.9000409@ninds.nih.gov> On your linux machine, do 'df -h' to look at the partitions. for example, you might have the following partitions: / /boot /home /var edit snmpd.conf at somewhere, put the following: disk / disk /boot disk /home disk /var also, the view that you create, make sure it is not restricting you to certain parts of the mib tree, for example, you could try: # incl/excl subtree mask view all included .1 80 then restart snmpd. Giovanni Satish Patel wrote: > Thansk your reply > > I have checked IPtables and other related stuff with security port > security i found one thing when i perform snmp CPU Load plugin its > working fine measn i have access of snmp quary for CPU oid. Then why i > am not able to Disk monitoring via SNMP? > > Notes:- I have few NFS mount point whicg is mounted at /mnt directory is > this the problem ? might be selinux not allow to snmp query to /mnt > filesystem. when i check my /var/log/messages file i got Access denied > on /mnt mounted file system with snmpd error > > here my logs > > Mar 5 11:34:54 server02 snmpd[17536]: /mnt/to-rap-cm-bak01/h: > Permission denied > Mar 5 11:34:54 server02 snmpd[17536]: /mnt/to-rap-cm-bak01/i: > Permission denied > Mar 5 11:34:54 server02 snmpd[17536]: /mnt/ustnsto-lin03/opt/comtel: > Permission denied > Mar 5 11:34:54 server02 snmpd[17536]: /mnt/ustnsto-lin03/media/usbdisk: > Permission denied > Mar 5 11:34:54 server02 kernel: smb_add_request: request [d31eee80, > mid=22042] timed out! > Mar 5 11:34:54 server02 kernel: audit(1236270894.187:224715): avc: > denied { read append } for pid=17536 comm="snmpd" name="snmpd.log" > dev=dm-3 ino=393320 scontext=root:system_r:snmpd_t > tcontext=user_u:object_r:var_log_t tclass=file > Mar 5 11:34:54 server02 kernel: audit(1236270894.187:224716): avc: > denied { search } for pid=17536 comm="snmpd" name="mnt" dev=dm-0 > ino=65537 scontext=root:system_r:snmpd_t > tcontext=system_u:object_r:mnt_t tclass=dir > > > > Regards, > > Satish Patel > > > Quoting Giovanni Torres : > >> I have a CentOS machine that has selinux in enforcing/targeted mode and >> is monitored with snmp checks by nagios successfully. The SE boolean >> value for snmpd_disable_trans is off on my machine and I can still >> query snmp. I would recommend the following: >> . check the firewall/iptables rules for udp port 161 >> . enable logging in iptables to see if the firewall is dropping packets >> (requires more work) >> . check the source and string under the com2sec definition in snmpd.conf >> . check the view definition in snmpd.conf, defaults are a bit restrictive >> . try using the setroubleshoot browser to see if any snmpd related >> warnings pop up. These warnings can include a section called Allowing >> Access. >> >> -Giovanni >> >> >> Satish Patel wrote: >>> I already used this option its not working. >>> >>> ----- Original Message ----- From: "Giovanni Torres" >>> >>> To: >>> Sent: Wednesday, March 04, 2009 10:50 AM >>> Subject: Re: [Nagios-users] SELinux problem for SNMP >>> >>> >>>> $ getsebool -a | grep snmpd >>>> snmpd_disable_trans --> off >>>> >>>> $ setsebool -P snmpd_disable_trans 1 >>>> >>>> $ getsebool snmpd_disable_trans >>>> snmpd_disable_trans --> on >>>> >>>> Let me know if that helps you out. >>>> >>>> Thanks, >>>> Giovanni >>>> >>>> Satish Patel wrote: >>>>> I have a selinx its running under default policy. i want SELinux >>>> disable for SNMP daemon thats it.. if any one know about how to disable >>>> for snmpd please let me know. >>>>> >>>>> I have tried to found on SELinux mailing list as well but not gave >>>> any appropriate answer. >>>>> >>>>> ----- Original Message ----- From: "Lee Azzarello" >>>>> To: >>>>> Sent: Thursday, February 26, 2009 12:09 PM >>>>> Subject: Re: [Nagios-users] SELinux problem for SNMP >>>>> >>>>> >>>>>> I believe your question would be better served on a list related to >>>> SELinux. >>>>>> >>>>>> In my experience SELinux is overkill for anything but the most >>>>>> paranoid security situations. Without a complete understanding of >>>>>> your >>>>>> entire security landscape, you'll just end up fighting with your own >>>>>> systems because SELinux is protecting them from you. >>>>>> >>>>>> -lee >>>>>> >>>>>> On Thu, Feb 26, 2009 at 9:45 AM, Satish Patel >>>> wrote: >>>>>>> Hi, >>>>>>> >>>>>>> I have RHEL 5 Box with SELinux enforceing mode now what happend when >>>>>>> my nagios box trying to use snmp to get CPU load its working >>>>>>> fine. but >>>>>>> when it trying to use DISK and MEM infor its failed not response. >>>>>>> even >>>>>>> this same plugin working with all my linux client ubuntu, debian, >>>>>>> Redhat not problem with plugin but i found problem related to >>>>>>> SELinux >>>>>>> and i dont want to Disable it so what is the other option and how i >>>>>>> can disable snmp policy in SELinux to make happy my nagios? >>>>>>> >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> Satish Patel >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>> ------------------------------------------------------------------------------ >>>> >>> Open Source Business Conference (OSBC), March 24-25, 2009, San >>>> Francisco, CA >>>>>>> -OSBC tackles the biggest issue in open source: Open Sourcing the >>>> Enterprise >>>>>>> -Strategies to boost innovation and cut costs with open source >>>> participation >>>>>>> -Receive a $600 discount off the registration fee with the source >>>> code: SFAD >>>>>>> http://p.sf.net/sfu/XcvMzF8H >>>>>>> _______________________________________________ >>>>>>> Nagios-users mailing list >>>>>>> Nagios-users at lists.sourceforge.net >>>>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>> reporting any issue. >>>>>>> ::: Messages without supporting info will risk being sent to >>>>>>> /dev/null >>>>>>> >>>>>> >>>> ------------------------------------------------------------------------------ >>>> >> Open Source Business Conference (OSBC), March 24-25, 2009, San >>>> Francisco, CA >>>>>> -OSBC tackles the biggest issue in open source: Open Sourcing the >>>> Enterprise >>>>>> -Strategies to boost innovation and cut costs with open source >>>> participation >>>>>> -Receive a $600 discount off the registration fee with the source >>>> code: SFAD >>>>>> http://p.sf.net/sfu/XcvMzF8H >>>>>> _______________________________________________ >>>>>> Nagios-users mailing list >>>>>> Nagios-users at lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>> reporting any issue. >>>>>> ::: Messages without supporting info will risk being sent to >>>>>> /dev/null >>>>>> >>>>> >>>>> >>>>> >>>> ------------------------------------------------------------------------------ >>>> > Open Source Business Conference (OSBC), March 24-25, 2009, San >>>> Francisco, CA >>>>> -OSBC tackles the biggest issue in open source: Open Sourcing the >>>> Enterprise >>>>> -Strategies to boost innovation and cut costs with open source >>>> participation >>>>> -Receive a $600 discount off the registration fee with the source >>>> code: SFAD >>>>> http://p.sf.net/sfu/XcvMzF8H >>>>> _______________________________________________ >>>>> Nagios-users mailing list >>>>> Nagios-users at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>> reporting any issue. ::: Messages without supporting info will risk >>>> being sent to /dev/null >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Open Source Business Conference (OSBC), March 24-25, 2009, San >>>> Francisco, CA >>>> -OSBC tackles the biggest issue in open source: Open Sourcing the >>>> Enterprise >>>> -Strategies to boost innovation and cut costs with open source >>>> participation >>>> -Receive a $600 discount off the registration fee with the source >>>> code: SFAD >>>> http://p.sf.net/sfu/XcvMzF8H >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>> reporting any issue. >>>> ::: Messages without supporting info will risk being sent to /dev/null >>>> >>> >> >> -- >> Giovanni Torres >> Network Administrator >> Contractor - Kelly Services >> NINDS, NMR Center >> National Institutes of Health >> 301-402-3110 > > > -- Giovanni Torres Network Administrator Contractor - Kelly Services NINDS, NMR Center National Institutes of Health 301-402-3110 ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu Mar 5 18:25:42 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 5 Mar 2009 17:25:42 +0000 Subject: alternative Status Map? In-Reply-To: References: <49AFF610.6070207@wpkg.org> Message-ID: <765d77c80903050925x33de6922h44d2a14e7b2e35ea@mail.gmail.com> Note that NagVis now also has an automap feature which I confess I don't really use, but if your network topology lends itself to that sort of map it could save you a whole load of effort dragging icons around the screen. Another one well worth looking at is NExSM. It can be a bit of a mare to get it installed and working, but for a large network is probably the best of the bunch. Unlike NagVis it doesn't rely on NDOUtils (MySQL database). The upside of this is you don't have to install/run a MySQL database. The downside is that the amount of querying it does of your Nagios server can be a bit heavy (depending on your setup). Cheers, Jim ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rodneyra at gmail.com Thu Mar 5 18:31:35 2009 From: rodneyra at gmail.com (Rodney Ramos) Date: Thu, 5 Mar 2009 14:31:35 -0300 Subject: Check attempt number do not reset In-Reply-To: <462BDFBC-63FC-49D4-B045-345CEEFE4BFA@ena.com> References: <462BDFBC-63FC-49D4-B045-345CEEFE4BFA@ena.com> Message-ID: Hi, Marc. Thank you for your answer. Do you think that just after a "HARD UP" the check number should be reset to "1"? I don?t think so. Look at other messages log, for the same host: [1236260301] HOST ALERT: sani6as05;DOWN;SOFT;1;Network is unreachable [1236260361] HOST ALERT: sani6as05;UP;SOFT;2;TCP OK - 0.538 second response time on port 135 [1236260681] HOST ALERT: sani6as05;DOWN;SOFT;1;Network is unreachable [1236260751] HOST ALERT: sani6as05;DOWN;SOFT;2;Network is unreachable [1236260821] HOST ALERT: sani6as05;DOWN;SOFT;3;Network is unreachable [1236260891] HOST ALERT: sani6as05;DOWN;HARD;4;Network is unreachable In this example, after the "UP;SOFT;2" we had a "DOWN;SOFT;1". That is my doubt? Someties Nagios resets the check number, sometimes it doesn?t. Thank you again. Rodney. On Thu, Mar 5, 2009 at 12:22 PM, Marc Powell wrote: > > On Mar 5, 2009, at 8:53 AM, Rodney Ramos wrote: > > > I?m noticing that, sometimes, the check attempt number do not reset > > to "1" after a recovery state, as we can see below: > > > > [1236254782] HOST ALERT: sani6as05;DOWN;SOFT;1;No route to host > > [1236254852] HOST ALERT: sani6as05;UP;SOFT;2;TCP OK - 0.519 second > > response time on port 135 > > ^^^^^ Wasn't in a HARD OK state yet so hadn't _really_ recovered. > > > [1236255172] HOST ALERT: sani6as05;DOWN;SOFT;2;CRITICAL - Socket > > timeout after 10 seconds <---- Should be "SOFT:1", not "SOFT:2" > > [1236255242] HOST ALERT: sani6as05;DOWN;SOFT;3;Network is unreachable > > [1236255312] HOST ALERT: sani6as05;DOWN;HARD;4;Network is unreachable > > > > Is this a normal behaviour or is it a Nagios problem? > > Doesn't appear to be a bug, IMHO. > > -- > Marc > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jd at op5.com Thu Mar 5 18:32:27 2009 From: jd at op5.com (Johannes Dagemark) Date: Thu, 05 Mar 2009 18:32:27 +0100 Subject: Host information with nagios In-Reply-To: <20090305123620.k4d597bk740kcwcc@mail.lintelindia.com> References: <20090305123620.k4d597bk740kcwcc@mail.lintelindia.com> Message-ID: <49B00CAB.20700@op5.com> Hi We use dokuwiki to achieve this. It uses a textfile backend and you can easy set up templates for when you document new hosts. Cheers Johannes Satish Patel wrote: > Hey > > I have 100+ server geographically located or distributed so some time > hard to find information as well as rack/switch/UPS/owner of > server/contact and few more any one know about any good interface > which i can integrate with nagios. > > > Regards, > > Satish Patel > > > > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Johannes Dagemark VP Engineering ________________________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 Gothenburg cell: +46 733-70 90 24 fax: +46 31-774 04 32 Email: jd at op5.com http://www.op5.com/ ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 5 18:54:44 2009 From: marc at ena.com (Marc Powell) Date: Thu, 5 Mar 2009 11:54:44 -0600 Subject: Host information with nagios In-Reply-To: <20090305123620.k4d597bk740kcwcc@mail.lintelindia.com> References: <20090305123620.k4d597bk740kcwcc@mail.lintelindia.com> Message-ID: <94F76B03-570B-45EB-A27D-C885A9CD488F@ena.com> On Mar 5, 2009, at 11:36 AM, Satish Patel wrote: > > Hey > > I have 100+ server geographically located or distributed so some time > hard to find information as well as rack/switch/UPS/owner of > server/contact and few more any one know about any good interface > which i can integrate with nagios. Any wiki? You can link to it with host extended information directives. -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From syed_jafar at hotmail.com Thu Mar 5 19:04:52 2009 From: syed_jafar at hotmail.com (syed jafar) Date: Thu, 5 Mar 2009 18:04:52 +0000 Subject: Nagios Plugin In-Reply-To: <781E7D16D09444AB85911C22B4E8FB01@linuxbug> References: <781E7D16D09444AB85911C22B4E8FB01@linuxbug> Message-ID: Hi Satish, Thanks, that fixed the issue. Now when I run a make I get the following error message.. make: Fatal error: Command failed for target `all-recursive' Current working directory /temp/nagios-plugins-1.4.13 *** Error code 1 make: Fatal error: Command failed for target `all' When I run "make install" I get the following error message.......any idea what needs to be done to take care of this... if test "$dot_seen" = "no"; then \ make "$target-am" || exit 1; \ fi; test -z "$fail" make: Fatal error: Command failed for target `install-recursive' bash-3.00# Thanks, Jafar From: satish at linuxbug.org To: syed_jafar at hotmail.com; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Plugin Date: Wed, 4 Mar 2009 19:55:44 -0500 Install Header openssl-devel package or install header file os ssl -satish ----- Original Message ----- From: syed jafar To: nagios-users at lists.sourceforge.net Sent: Wednesday, March 04, 2009 4:23 PM Subject: [Nagios-users] Nagios Plugin Does anybody know how to resolve this issue when compiling Nagios plugin on Solaris 10. checking for SSL headers... configure: error: Cannot find ssl headers Thanks..... ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From syed_jafar at hotmail.com Thu Mar 5 19:23:26 2009 From: syed_jafar at hotmail.com (syed jafar) Date: Thu, 5 Mar 2009 18:23:26 +0000 Subject: Nagios Plugin In-Reply-To: <781E7D16D09444AB85911C22B4E8FB01@linuxbug> References: <781E7D16D09444AB85911C22B4E8FB01@linuxbug> Message-ID: Hi Satish, I also do not see any /usr/local/nagios/libexec directory after compiling... Syed From: satish at linuxbug.org To: syed_jafar at hotmail.com; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Plugin Date: Wed, 4 Mar 2009 19:55:44 -0500 Install Header openssl-devel package or install header file os ssl -satish ----- Original Message ----- From: syed jafar To: nagios-users at lists.sourceforge.net Sent: Wednesday, March 04, 2009 4:23 PM Subject: [Nagios-users] Nagios Plugin Does anybody know how to resolve this issue when compiling Nagios plugin on Solaris 10. checking for SSL headers... configure: error: Cannot find ssl headers Thanks..... ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Thu Mar 5 20:30:55 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Thu, 5 Mar 2009 14:30:55 -0500 Subject: nagios service status page slow to update Message-ID: <6db4a4200903051130t37f1435bs9c6b2f6acdd9a08d@mail.gmail.com> All, I have noticed very slow responds from nagios service alert history page. I have disabled network connectivity from a ups. The ping service status page shows critical. I do a forced reschedule which shows up in the nagios.log file. I enable network connectivity again on the ups. I rescheduled another forced check. It shows up on nagios.log. Upon 1 minute the service status shows "OK" in status.dat file. However the web interface keep on showing service status as critical for next 9 minutes. Is this a bug? I am running nagios-3.0.6 on RHEL 5 86_64 machine without any load issue? Please advise on this. Thanks. -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 5 20:52:32 2009 From: marc at ena.com (Marc Powell) Date: Thu, 5 Mar 2009 13:52:32 -0600 Subject: Nagios Plugin In-Reply-To: References: <781E7D16D09444AB85911C22B4E8FB01@linuxbug> Message-ID: <44F193B4-052E-46E8-B958-64B2E87328FE@ena.com> On Mar 5, 2009, at 12:23 PM, syed jafar wrote: > Hi Satish, > > I also do not see any /usr/local/nagios/libexec directory after > compiling... The plugins are distributed separately but available at www.nagios.org. -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JHorowitz at looksmart.net Thu Mar 5 22:23:06 2009 From: JHorowitz at looksmart.net (Jonah Horowitz) Date: Thu, 5 Mar 2009 13:23:06 -0800 Subject: Bulk Disable of Event Handlers? Message-ID: I finally took the plunge and set up event handlers on a set of our webservers. It?s great because it restarts the web service automatically when there is an issue. The problem is, we can?t take them down for maintenance without Nagios restarting them. I know I can disable the event handlers across the entire nagios system via the ?Tactical? view. Is there any way to do it across a service group through the web interface? Either through the web or through a command line script would be great. If not, I?ll probably write/post my own. Thanks, -- Jonah Horowitz ? Monitoring Manager ? jhorowitz at looksmart.net W: 415-348-7694 ? F: 415-348-7033 ? M: 415-513-7202 LookSmart - Premium and Performance Advertising Solutions 625 Second Street, San Francisco, CA 94107 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2151 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Thu Mar 5 21:52:03 2009 From: israel at frontierflying.com (Israel Brewster) Date: Thu, 5 Mar 2009 11:52:03 -0900 Subject: snmp monitoring of RICOH / DEVELOP In-Reply-To: <49AFEFA9.3090904@kkeane.com> References: <4E91EC55C494DE418A7587CDEAE5433801771916@nt_server.cz.podravka.int> <49AFEFA9.3090904@kkeane.com> Message-ID: Well, I threw together a (very) quick shell script for this purpose that I am using here. Basically just checks the status SNMP entry of our ricohs, and returns a status code depending on that as well as whatever status text SNMP gives. It is NOT polished, and will probably break if you look at it wrong, but it works for us. If anyone wants it, let me know. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- On Mar 5, 2009, at 6:28 AM, Kevin Keane wrote: > I'm actually writing a plugin for monitoring printers. Currently, I > have > only tested it with HP printers, but at least in theory it should work > with Ricoh and others as well, since it uses standard SNMP. If you > want > to try it out, download http://sourceforge.net/projects/tntnagiosplugin/ > I would actually appreciate feedback about what printers it does or > does > not work with. > > One catch: the plugin only runs on Windows, so it is not directly > useful > for the majority of nagios users (I wrote it primarily for my own > needs). Also, the only thing it currently monitors is toner level. > > Doug Veldhuisen wrote: >> >> I tried once to get RICOH Savin Printers checked via Nagios. Searched >> high and low for something and never did find anything that was >> already developed. >> >> Figured I was going to have to write my own stuff. >> >> Now I?m trying the same thing with Toshiba printers, nothing there >> either. >> >> If someone has a way to utilize ?Check_hpjd? for non HP printers, >> lets >> pool the knowledge on this subject. >> >> Doug >> >> *From:* Trnka Tomas [mailto:Tomas.Trnka at podravka.cz] >> *Sent:* Thursday, March 05, 2009 7:38 AM >> *To:* nagios-users at lists.sourceforge.net >> *Subject:* [Nagios-users] snmp monitoring of RICOH / DEVELOP >> >> Anyone have experience with snmp monitoring of RICOH / DEVELOP >> printers ? i like to have results something like from Check_hpjd ?. >> Thanks in advance for your notes >> > > -- > Kevin Keane > Owner > The NetTech > Find the Uncommon: Expert Solutions for a Network You Never Have to > Think About > > Office: 866-642-7116 > http://www.4nettech.com > > This e-mail and attachments, if any, may contain confidential and/or > proprietary information. Please be advised that the unauthorized use > or disclosure of the information is strictly prohibited. The > information herein is intended only for use by the intended > recipient(s) named above. If you have received this transmission in > error, please notify the sender immediately and permanently delete > the e-mail and any copies, printouts or attachments thereof. > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source > code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msh.computing at gmail.com Thu Mar 5 23:31:12 2009 From: msh.computing at gmail.com (Steve Kieu) Date: Fri, 6 Mar 2009 11:31:12 +1300 Subject: migration from nagios2 => nagios3 ; host name definition Message-ID: Hello everyone, The first question is, what is the meaning of directive *name* in host definition? The document says there is no such thing, only *host_name* but if put name there nagios (both 2 and 3 does not complain) Longer explanation follows. When using nagios config version 2 in nagios3 I have some errors. Looking at the config of version 2 I see: define host{ name standard-host use generic-host ; Name of host template to use register 0 ; Template - don't register host_name not-defined alias not-defined check_command check-host-alive contact_groups pager notification_period 24x7 } define host{ name virtual-host use generic-host ; Name of host template to use register 0 ; Template - don't regis ter host_name not-defined alias not-defined check_command check-host-alive contact_groups pager notification_period workhours } It worked with nagios2 ; nagios3 Warning: Duplicate definition found for host 'not-defined' and then error Could not add object property at line point to host_name not-defined. I changed the value of host_name to be uniques such as not-defined0, not-defined1 and it stop complaining. But I do not know what nagios3 understand that in case name and host_name are both defined in host definition? Many thanks in advance -- Steve Kieu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lee at dropio.com Thu Mar 5 23:03:59 2009 From: lee at dropio.com (Lee Azzarello) Date: Thu, 5 Mar 2009 17:03:59 -0500 Subject: Bulk Disable of Event Handlers? In-Reply-To: References: Message-ID: <16b031c0903051403o20ad5bceg62b6fb231be8134f@mail.gmail.com> You can put the services in a service group and schedule downtime for all services in that group. -lee On Thu, Mar 5, 2009 at 4:23 PM, Jonah Horowitz wrote: > I finally took the plunge and set up event handlers on a set of our > webservers. ?It?s great because it restarts the web service automatically > when there is an issue. ?The problem is, we can?t take them down for > maintenance without Nagios restarting them. ?I know I can disable the event > handlers across the entire nagios system via the ?Tactical? view. ?Is there > any way to do it across a service group through the web interface? > > Either through the web or through a command line script would be great. > > If not, I?ll probably write/post my own. > > Thanks, > -- > Jonah Horowitz ? Monitoring Manager ? jhorowitz at looksmart.net > W: 415-348-7694 ? F: 415-348-7033 ? M: 415-513-7202 > LookSmart - Premium and Performance Advertising Solutions > 625 Second Street, San Francisco, CA 94107 > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgagne at iweb.com Thu Mar 5 23:41:21 2009 From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=) Date: Thu, 05 Mar 2009 17:41:21 -0500 Subject: migration from nagios2 => nagios3 ; host name definition In-Reply-To: References: Message-ID: <49B05511.1070404@iweb.com> Hi, Steve Kieu wrote: > > Hello everyone, > > The first question is, what is the meaning of directive *name* in host > definition? The document says there is no such thing, only *host_name* > but if put name there nagios (both 2 and 3 does not complain) "name" is used to identify a template. You can use templates to implement hosts by using "use". http://nagios.sourceforge.net/docs/2_0/templaterecursion.html -- Mathieu ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JHorowitz at looksmart.net Fri Mar 6 00:18:30 2009 From: JHorowitz at looksmart.net (Jonah Horowitz) Date: Thu, 5 Mar 2009 15:18:30 -0800 Subject: Bulk Disable of Event Handlers? In-Reply-To: <16b031c0903051403o20ad5bceg62b6fb231be8134f@mail.gmail.com> References: <16b031c0903051403o20ad5bceg62b6fb231be8134f@mail.gmail.com> Message-ID: Does scheduled downtime stop event handlers? I didn't think it did. Jonah On 3/5/09 2:03 PM, "Lee Azzarello" wrote: > You can put the services in a service group and schedule downtime for > all services in that group. > > -lee > > On Thu, Mar 5, 2009 at 4:23 PM, Jonah Horowitz > wrote: >> I finally took the plunge and set up event handlers on a set of our >> webservers. ?It?s great because it restarts the web service automatically >> when there is an issue. ?The problem is, we can?t take them down for >> maintenance without Nagios restarting them. ?I know I can disable the event >> handlers across the entire nagios system via the ?Tactical? view. ?Is there >> any way to do it across a service group through the web interface? >> >> Either through the web or through a command line script would be great. >> >> If not, I?ll probably write/post my own. >> >> Thanks, >> -- >> Jonah Horowitz ? Monitoring Manager ? jhorowitz at looksmart.net >> W: 415-348-7694 ? F: 415-348-7033 ? M: 415-513-7202 >> LookSmart - Premium and Performance Advertising Solutions >> 625 Second Street, San Francisco, CA 94107 >> >> >> ----------------------------------------------------------------------------->> - >> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise >> -Strategies to boost innovation and cut costs with open source participation >> -Receive a $600 discount off the registration fee with the source code: SFAD >> http://p.sf.net/sfu/XcvMzF8H >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Jonah Horowitz ? Monitoring Manager ? jhorowitz at looksmart.net W: 415-348-7694 ? F: 415-348-7033 ? M: 415-513-7202 LookSmart - Premium and Performance Advertising Solutions 625 Second Street, San Francisco, CA 94107 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2151 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msh.computing at gmail.com Fri Mar 6 00:29:33 2009 From: msh.computing at gmail.com (Steve Kieu) Date: Fri, 6 Mar 2009 12:29:33 +1300 Subject: Bulk Disable of Event Handlers? In-Reply-To: <16b031c0903051403o20ad5bceg62b6fb231be8134f@mail.gmail.com> References: <16b031c0903051403o20ad5bceg62b6fb231be8134f@mail.gmail.com> Message-ID: Thanks, it is in different section of the doc, and I am looking at host definition. So I reckon, the host_name on these template definition does not take any effect? Cheers -- Steve Kieu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyleodonnell at gmail.com Fri Mar 6 00:32:39 2009 From: kyleodonnell at gmail.com (Kyle O'Donnell) Date: Thu, 5 Mar 2009 18:32:39 -0500 Subject: Bulk Disable of Event Handlers? In-Reply-To: References: <16b031c0903051403o20ad5bceg62b6fb231be8134f@mail.gmail.com> Message-ID: <2274b9c30903051532h4f729bcbn3070b0b88aaa201a@mail.gmail.com> downtime does not stop event handlers. On Thu, Mar 5, 2009 at 6:18 PM, Jonah Horowitz wrote: > Does scheduled downtime stop event handlers? I didn't think it did. > > Jonah > > On 3/5/09 2:03 PM, "Lee Azzarello" wrote: > > > You can put the services in a service group and schedule downtime for > > all services in that group. > > > > -lee > > > > On Thu, Mar 5, 2009 at 4:23 PM, Jonah Horowitz > > wrote: > >> I finally took the plunge and set up event handlers on a set of our > >> webservers. It?s great because it restarts the web service > automatically > >> when there is an issue. The problem is, we can?t take them down for > >> maintenance without Nagios restarting them. I know I can disable the > event > >> handlers across the entire nagios system via the ?Tactical? view. Is > there > >> any way to do it across a service group through the web interface? > >> > >> Either through the web or through a command line script would be great. > >> > >> If not, I?ll probably write/post my own. > >> > >> Thanks, > >> -- > >> Jonah Horowitz ? Monitoring Manager ? jhorowitz at looksmart.net > >> W: 415-348-7694 ? F: 415-348-7033 ? M: 415-513-7202 > >> LookSmart - Premium and Performance Advertising Solutions > >> 625 Second Street, San Francisco, CA 94107 > >> > >> > >> > > ----------------------------------------------------------------------------->> > - > >> Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, CA > >> -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > >> -Strategies to boost innovation and cut costs with open source > participation > >> -Receive a $600 discount off the registration fee with the source code: > SFAD > >> http://p.sf.net/sfu/XcvMzF8H > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting > >> any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null > >> > > > > > ------------------------------------------------------------------------------ > > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > > -Strategies to boost innovation and cut costs with open source > participation > > -Receive a $600 discount off the registration fee with the source code: > SFAD > > http://p.sf.net/sfu/XcvMzF8H > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > -- > Jonah Horowitz ? Monitoring Manager ? jhorowitz at looksmart.net > W: 415-348-7694 ? F: 415-348-7033 ? M: 415-513-7202 > LookSmart - Premium and Performance Advertising Solutions > 625 Second Street, San Francisco, CA 94107 > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From satish at linuxbug.org Fri Mar 6 01:26:30 2009 From: satish at linuxbug.org (Satish Patel) Date: Thu, 5 Mar 2009 19:26:30 -0500 Subject: Nagios Plugin In-Reply-To: References: <781E7D16D09444AB85911C22B4E8FB01@linuxbug> Message-ID: I guess solaris use gmake command to compile package, please send full error mesg or send file make > /tmp/make.log so we can find pin point. keep in mind when ever you compile source on Linux you should validate all development packages are installed or not. compile header file few libararys thats reqired for compilation. ----- Original Message ----- From: syed jafar To: satish at linuxbug.org ; nagios-users at lists.sourceforge.net Sent: Thursday, March 05, 2009 1:04 PM Subject: RE: [Nagios-users] Nagios Plugin Hi Satish, Thanks, that fixed the issue. Now when I run a make I get the following error message.. make: Fatal error: Command failed for target `all-recursive' Current working directory /temp/nagios-plugins-1.4.13 *** Error code 1 make: Fatal error: Command failed for target `all' When I run "make install" I get the following error message.......any idea what needs to be done to take care of this... if test "$dot_seen" = "no"; then \ make "$target-am" || exit 1; \ fi; test -z "$fail" make: Fatal error: Command failed for target `install-recursive' bash-3.00# Thanks, Jafar ------------------------------------------------------------------------------ From: satish at linuxbug.org To: syed_jafar at hotmail.com; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Plugin Date: Wed, 4 Mar 2009 19:55:44 -0500 Install Header openssl-devel package or install header file os ssl -satish ----- Original Message ----- From: syed jafar To: nagios-users at lists.sourceforge.net Sent: Wednesday, March 04, 2009 4:23 PM Subject: [Nagios-users] Nagios Plugin Does anybody know how to resolve this issue when compiling Nagios plugin on Solaris 10. checking for SSL headers... configure: error: Cannot find ssl headers Thanks..... ---------------------------------------------------------------------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ---------------------------------------------------------------------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From satish at linuxbug.org Fri Mar 6 01:28:21 2009 From: satish at linuxbug.org (Satish Patel) Date: Thu, 5 Mar 2009 19:28:21 -0500 Subject: Nagios Plugin In-Reply-To: References: <781E7D16D09444AB85911C22B4E8FB01@linuxbug> Message-ID: <73CD156B7E9143E692E4B7937FC672C4@linuxbug> might be solaris used different path for plugins. or us can also specify libexec path cat ./configure script run time. ./configure --help ----- Original Message ----- From: syed jafar To: satish at linuxbug.org ; nagios-users at lists.sourceforge.net Sent: Thursday, March 05, 2009 1:23 PM Subject: RE: [Nagios-users] Nagios Plugin Hi Satish, I also do not see any /usr/local/nagios/libexec directory after compiling... Syed ------------------------------------------------------------------------------ From: satish at linuxbug.org To: syed_jafar at hotmail.com; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Plugin Date: Wed, 4 Mar 2009 19:55:44 -0500 Install Header openssl-devel package or install header file os ssl -satish ----- Original Message ----- From: syed jafar To: nagios-users at lists.sourceforge.net Sent: Wednesday, March 04, 2009 4:23 PM Subject: [Nagios-users] Nagios Plugin Does anybody know how to resolve this issue when compiling Nagios plugin on Solaris 10. checking for SSL headers... configure: error: Cannot find ssl headers Thanks..... ---------------------------------------------------------------------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ---------------------------------------------------------------------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From satish at linuxbug.org Fri Mar 6 01:33:00 2009 From: satish at linuxbug.org (Satish Patel) Date: Thu, 5 Mar 2009 19:33:00 -0500 Subject: New to Nagios - Watching Services In-Reply-To: <5caea3690903050654x260ca1d4i9398ffd41968d365@mail.gmail.com> References: <5caea3690903050654x260ca1d4i9398ffd41968d365@mail.gmail.com> Message-ID: <38743B6FE4FC4488B4301B38EF4C7864@linuxbug> you can use NSCLient to monitor windows services. ----- Original Message ----- From: K-Dawg To: nagios-users at lists.sourceforge.net Sent: Thursday, March 05, 2009 9:54 AM Subject: [Nagios-users] New to Nagios - Watching Services Hi, I am very new to Nagios but am trying to convince my company that Nagios is the way to go instead of our current monitoring application that we pay a lot for and is VERY basic. I have a series of items that I need to get Nagios to do so I am excited to be learning it and will probably frequent this list. To start with, how do I specify to watch a service in Windows? For example, I want to watch the Backup Exec remote agent on a series of servers and be paged if for some reason it is not started. Do I need an add on for this or can I simply specify it in the Windows Cfg file? Thanks. Kevin ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From satish at linuxbug.org Fri Mar 6 01:34:45 2009 From: satish at linuxbug.org (Satish Patel) Date: Thu, 5 Mar 2009 19:34:45 -0500 Subject: Host information with nagios In-Reply-To: <94F76B03-570B-45EB-A27D-C885A9CD488F@ena.com> References: <20090305123620.k4d597bk740kcwcc@mail.lintelindia.com> <94F76B03-570B-45EB-A27D-C885A9CD488F@ena.com> Message-ID: <9561B6A64A8840BA98BF9ECAE77296FA@linuxbug> what kind of wiki, is there any tool base on PHP+mysql so we can update hostinfo on fly and easly access it. or if i use wiki then how to link them with nagios action_url ? ----- Original Message ----- From: "Marc Powell" To: "Nagios Users" Sent: Thursday, March 05, 2009 12:54 PM Subject: Re: [Nagios-users] Host information with nagios > > On Mar 5, 2009, at 11:36 AM, Satish Patel wrote: > >> >> Hey >> >> I have 100+ server geographically located or distributed so some time >> hard to find information as well as rack/switch/UPS/owner of >> server/contact and few more any one know about any good interface >> which i can integrate with nagios. > > Any wiki? You can link to it with host extended information directives. > > -- > Marc > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ayotunde.Itayemi at zain.com Fri Mar 6 01:36:12 2009 From: Ayotunde.Itayemi at zain.com (Ayotunde Itayemi) Date: Fri, 6 Mar 2009 01:36:12 +0100 Subject: Monitoring Solaris systems with default snmpdx In-Reply-To: <2274b9c30903051532h4f729bcbn3070b0b88aaa201a@mail.gmail.com> References: <16b031c0903051403o20ad5bceg62b6fb231be8134f@mail.gmail.com> <2274b9c30903051532h4f729bcbn3070b0b88aaa201a@mail.gmail.com> Message-ID: <99487797D76C7841AEEDE4A1DCA86C7004EC5F79@VNL-LA01EX04S.vmobile-nigeria.com> Hi All, Is anybody using NAGIOS to monitor Solaris systems using the default SNMPDX that comes with the Solaris systems? If yes, can I have your configuration of the snmpdx for the commonly mentioned performance parameters such as RAM utilization, CPU utilization, Disk utilization (the relevant MIBs and how it's configured in the snmpdx config file). I want to monitor some Solaris systems without installing any new software on them (Solaris 9 and 10). Thanks. "This mail is from a Gimper" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Fri Mar 6 02:00:46 2009 From: amontibello at gmail.com (Anthony Montibello) Date: Thu, 5 Mar 2009 20:00:46 -0500 Subject: How to monitor using custom scripts in nagios. In-Reply-To: References: <49AFAFE1.9020009@enlume.com> Message-ID: Many users assume that people aready are familiar with the little steps, I agree that it is nice to see some real life examples spelled out some times. Personally I always recomed people new to Nagios to keep All the Config Files under some kind of source control. (CVS or some other system) Tony On Thu, Mar 5, 2009 at 6:41 AM, Martyn wrote: > Brill, this is the kind of thing that helps me learn how to use programs, > wish a few more would post things like this. > > Cheers > > ------------------------------ > *From:* vinod.e [mailto:vinod.e at enlume.com] > *Sent:* 05 March 2009 10:57 > *To:* Nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] How to monitor using custom scripts in nagios. > > Hi Friends, > I Want share My experience of monitoring scripts on nagios , Very > simple and Easy. > I am 3 months experienced with nagios and u should make copy of all your > modifying files initially. > > Actually I want to monitor tomcat threads,memory etc.. along with other > services , i could not find plug ins similar to mysql. > In my office we have inbuilt scripts to monitor tomcat manually. > On test bases I had taken one of this script and tested , I had success. > There are other ways thanks to Mr.Richard Quintin who shared his > knowledge of using nagiosgraph and scripts to monitor tomcat but my > suse10.2 , monitoring server have few issues i could not go head instead > tried this. > > Monitoring nagios using scripts. > Example: > Monitoring tomcat Threads. > > At remote host side i.e where nrpe is installed / monitored box > > Created a file tomcat_threads.sh using vi editor > > #vi tomcat_threads.sh > Entered following three line code > > #!/bin/sh > totalThreads=`ps -C java -L -o pid,tid,pcpu,state | wc -l` > echo "Total Threads Available:$totalThreads" > > Save the file and quit > > Made sure first script runs at # prompt. > > Moved script to /usr/local/nagios/libexec folder if its not created here. > > Set permission > #chmod 755 tomcat_threads.sh > > Give ownner ship to nagios user only. > #chown nagios:nagios tomcat_threads.sh > > > #cd /usr/local/nagios/etc > #vi nrpe.cfg > > Append below command line > > command[tomcat_threads.sh]=/usr/local/nagios/libexec/tomcat_threads.sh > > Save and quit > > Restart xinetd to make changes effected. > #service xinetd restart > > > At monitoring server side / where nagios monitoring server installed. > #cd /usr/local/nagios/etc/ > > #vi services.cfg > Append this service > > define service{ > use generic-service > host_name amazon > service_description tomcat_threads.sh > check_command check_nrpe!tomcat_threads.sh > notifications_enabled 0 > } > > Save and quit > > check for erorrs > #/usr/local/nagios/bin /nagios -v /usr/local/nagios/etc/nagios.cfg > correct your erorror if any. > > Restart nagios service > #service nagios restart > > DISCLAIMER: > This is what worked for me and i am confident i will add as many as > scripts i want in future. > You make changes as it suits to you and i own no responsibility for typo > error or if some thing goes wrong. > > Please share your knowledge, knowledges grows by sharing while money > reduces by sharing. > > Regards > Gajula Vinod Kumar Eleshetty > SYSTEM ADMINISTRATOR/DATA BASE ADMINISTRATOR > Enlume technologis. > > > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rutski89 at gmail.com Fri Mar 6 02:40:59 2009 From: rutski89 at gmail.com (Patrick M. Rutkowski) Date: Thu, 5 Mar 2009 20:40:59 -0500 Subject: How to monitor using custom scripts in nagios. In-Reply-To: References: <49AFAFE1.9020009@enlume.com> Message-ID: If the implication there is that veteran nagios users don't need to keep configs under source control, then I disagree :-) On Thu, Mar 5, 2009 at 8:00 PM, Anthony Montibello wrote: > Many users assume that people aready are familiar with the little steps, > > I agree that it is nice to see some real life examples spelled out some > times. > > Personally I always recomed people new to Nagios to keep All the Config > Files > under some kind of source control. (CVS or some other system) > Tony > On Thu, Mar 5, 2009 at 6:41 AM, Martyn wrote: >> >> Brill, this is the kind of thing that helps me learn how to use programs, >> wish a few more would post things like this. >> >> Cheers >> ________________________________ >> From: vinod.e [mailto:vinod.e at enlume.com] >> Sent: 05 March 2009 10:57 >> To: Nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] How to monitor using custom scripts in nagios. >> >> Hi Friends, >> I Want share My experience? of?? monitoring? scripts on? nagios , Very >> simple and Easy. >> I am 3 months experienced with nagios? and? u should? make copy of all >> your modifying? files initially. >> >> Actually I want to? monitor tomcat threads,memory etc.. along with other >> services , i could not find plug ins similar? to? mysql. >> In my office? we have inbuilt scripts? to monitor? tomcat manually. >> On test bases I had taken one of this script? and tested , I had success. >> There are other ways thanks to Mr.Richard Quintin? who? shared his >> knowledge of using nagiosgraph? and scripts to monitor tomcat but my >> suse10.2 , monitoring server have few issues i? could not go head instead >> tried this. >> >> Monitoring?? nagios using? scripts. >> Example: >> Monitoring tomcat Threads. >> >> At remote host side i.e where nrpe is installed / monitored box >> >> Created a file tomcat_threads.sh using vi editor >> >> #vi tomcat_threads.sh >> Entered? following? three line code >> >> #!/bin/sh >> totalThreads=`ps -C java -L -o pid,tid,pcpu,state | wc -l` >> echo "Total Threads Available:$totalThreads" >> >> Save the file and quit >> >> Made sure first? script runs at? # prompt. >> >> Moved script to? /usr/local/nagios/libexec? folder if its not created >> here. >> >> Set permission >> #chmod? 755 tomcat_threads.sh >> >> Give ownner ship to nagios user only. >> #chown?? nagios:nagios? tomcat_threads.sh >> >> >> #cd /usr/local/nagios/etc >> #vi nrpe.cfg >> >> Append below command? line >> >> command[tomcat_threads.sh]=/usr/local/nagios/libexec/tomcat_threads.sh >> >> Save and quit >> >> Restart? xinetd to make? changes effected. >> #service xinetd restart >> >> >> At monitoring server side /? where nagios monitoring? server? installed. >> #cd /usr/local/nagios/etc/ >> >> #vi services.cfg >> Append this? service >> >> define service{ >> ? ??????? use ???????????????????????????? generic-service >> ? ? ? ? ? host_name ?????????? ? ? ?? amazon >> ???????? service_description?????? tomcat_threads.sh >> ??????? check_command?????????? check_nrpe!tomcat_threads.sh >> ???????? notifications_enabled???? 0 >> ???????? } >> >> Save and quit >> >> check for erorrs >> #/usr/local/nagios/bin /nagios -v? /usr/local/nagios/etc/nagios.cfg >> correct your erorror if any. >> >> Restart nagios service >> #service nagios restart >> >> DISCLAIMER: >> This is what worked for me? and i am confident i will add as many as >> scripts i want in future. >> You make changes as it suits to you and i own no responsibility? for typo >> error or if some thing? goes wrong. >> >> Please share your knowledge, knowledges grows by sharing while money >> reduces by sharing. >> >> Regards >> Gajula Vinod Kumar Eleshetty >> SYSTEM ADMINISTRATOR/DATA BASE ADMINISTRATOR >> Enlume technologis. >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, >> CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the >> Enterprise >> -Strategies to boost innovation and cut costs with open source >> participation >> -Receive a $600 discount off the registration fee with the source code: >> SFAD >> http://p.sf.net/sfu/XcvMzF8H >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yokoyoko at rd.aisin.co.jp Fri Mar 6 03:32:28 2009 From: yokoyoko at rd.aisin.co.jp (yokoyoko at rd.aisin.co.jp) Date: Fri, 6 Mar 2009 11:32:28 +0900 Subject: Checking Jave application in Internet Explore on Server Message-ID: Hi, everybody :-) Checked system Windows 2003 My server has Java application (HOD(IBM) sessions) by using Internet Explore. I would like to check a status this application. I think .... I use the check_nt and check a process of explore.exe. But 5 process (EXPLORE.exe) executed on my server. Can L check these processes separately ? Please help me ! --------------------------------------------------------- Yoshinari Yokota MailTo:yokoyoko at rd.aisin.co.jp (Office) --------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bperry.volatile at gmail.com Fri Mar 6 04:04:14 2009 From: bperry.volatile at gmail.com (Brandon Perry) Date: Thu, 5 Mar 2009 21:04:14 -0600 Subject: Checking Jave application in Internet Explore on Server In-Reply-To: References: Message-ID: Are you sure you don't want iexplore.exe? On Thu, Mar 5, 2009 at 8:32 PM, wrote: > > Hi, everybody :-) > > Checked system > Windows 2003 > > My server has Java application (HOD(IBM) sessions) by using Internet > Explore. > I would like to check a status this application. > > I think .... > I use the check_nt and check a process of explore.exe. > But 5 process (EXPLORE.exe) executed on my server. > Can L check these processes separately ? > > Please help me ! > --------------------------------------------------------- > Yoshinari Yokota > > MailTo:yokoyoko at rd.aisin.co.jp (Office) > --------------------------------------------------------- > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- http://www.volatileminds.net -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yokoyoko at rd.aisin.co.jp Fri Mar 6 04:15:17 2009 From: yokoyoko at rd.aisin.co.jp (yokoyoko at rd.aisin.co.jp) Date: Fri, 6 Mar 2009 12:15:17 +0900 Subject: (Correction)Checking Jave application in Internet Explore on Server Message-ID: Hi, everyone :-) Sorry, I made a mistake. expore.exe -> iexplore.exe Checked system Windows 2003 My server has Java application (HOD(IBM) sessions) by using Internet Explore. I would like to check a status this application. I think .... I use the check_nt and check a process of iexplore.exe. But 5 process (iexplore.exe) executed on my server. Can L check these processes separately ? Please help me ! --------------------------------------------------------- Yoshinari Yokota MailTo:yokoyoko at rd.aisin.co.jp (Office) --------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From syed_jafar at hotmail.com Fri Mar 6 04:52:36 2009 From: syed_jafar at hotmail.com (syed jafar) Date: Fri, 6 Mar 2009 03:52:36 +0000 Subject: Monitoring Solaris systems with default snmpdx In-Reply-To: <99487797D76C7841AEEDE4A1DCA86C7004EC5F79@VNL-LA01EX04S.vmobile-nigeria.com> References: <16b031c0903051403o20ad5bceg62b6fb231be8134f@mail.gmail.com> <2274b9c30903051532h4f729bcbn3070b0b88aaa201a@mail.gmail.com> <99487797D76C7841AEEDE4A1DCA86C7004EC5F79@VNL-LA01EX04S.vmobile-nigeria.com> Message-ID: Hi, That is exactly what I am trying to do. Monitor Solaris 10 Disk and CPU utilization. Could you let me know how to do that. Thanks, Syed Jafar Date: Fri, 6 Mar 2009 01:36:12 +0100 From: Ayotunde.Itayemi at zain.com To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring Solaris systems with default snmpdx Hi All, Is anybody using NAGIOS to monitor Solaris systems using the default SNMPDX that comes with the Solaris systems? If yes, can I have your configuration of the snmpdx for the commonly mentioned performance parameters such as RAM utilization, CPU utilization, Disk utilization (the relevant MIBs and how it?s configured in the snmpdx config file). I want to monitor some Solaris systems without installing any new software on them (Solaris 9 and 10). Thanks. "This mail is from a Gimper" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Fri Mar 6 07:27:51 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Fri, 6 Mar 2009 06:27:51 +0000 Subject: service group based cgi access Message-ID: <6db4a4200903052227k141919c4ubf50fbcb02aad59e@mail.gmail.com> Is there anyway to configure nagios so that particular servicegroup only members of a particuar group can execute service command and host commands. However anyone can view them. I know there is the following to cgi parameter but they are for global nagios access. authorized_for_all_service_commands authorized_for_all_host_commands -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri Mar 6 09:52:19 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 6 Mar 2009 08:52:19 +0000 Subject: check_local_disk basic question In-Reply-To: <49B02150.5050103@weatherflow.com> References: <49B02150.5050103@weatherflow.com> Message-ID: <765d77c80903060052ncb0e06gd7a7dfba669288ec@mail.gmail.com> 2009/3/5 Lance Raymond : > Still new to it, but so far things are good. ?I have added a remote > host, monitoring load via snmp successfully, but my old alarm keeps > tripping due to disk space. > > df -h shows; > Filesystem ? ? ? Size ?Used Avail Use% Mounted on > /fs here ? ? ? ? ? ? 660G ?597G ? 64G ?91% / > > so it seems 91% is in use, nagios is showing (nice and green); > DISK OK - free space: / 27867 MB (92% inode=99%): > > The config for that machine (servername.cfg) shows; > check_command ? ? ? ? ? ? ? ? ? check_local_disk!20%!10%!/ > > > So to me that says when 20% left warn me, 10% critical alarm, right? You're right, but your check_disk plugin seems to be giving you wrong results. I wonder is it something peculiar to whichever operating-system you are using? I just tried it here on Ubuntu 8.04 LTS Server and got these results (which I believe are fine): $ /usr/local/nagios/libexec/check_disk -w 20% -c 10% -p / DISK OK - free space: / 25541 MB (81% inode=97%);| /=5741MB;26353;29647;0;32942 $ df -h / Filesystem Size Used Avail Use% Mounted on /dev/sda1 33G 5.7G 25G 19% / You could also check your command definition to make sure there's nothing silly in there, but I presume you're using the default from your original install which should normally work fine. Cheers, Jim ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mangoo at wpkg.org Fri Mar 6 10:41:34 2009 From: mangoo at wpkg.org (Tomasz Chmielewski) Date: Fri, 06 Mar 2009 10:41:34 +0100 Subject: alternative Status Map? In-Reply-To: References: <49AFF610.6070207@wpkg.org> Message-ID: <49B0EFCE.1050809@wpkg.org> Paul Weaver schrieb: >> 2. All nagios users can see the whole network structure for all hosts. >> >> Even if a given web user is not authorised to view certain >> hosts, he/she will see them anyway on the status map (without >> icons/descriptions). >> It can be even viewed as a security flaw. > > Personally I'm not a fan of maps, very few cases I think they're useful, That's true. But if I want to give access to given hostgroups to a few people, they should not see the map for the whole infrastructure monitored by nagios. Once, it may confuse them, two, there is no reason why they should see everything (even without hostnames, it unnecessarily outlines the scale of the whole infrastructure). So, maybe the simplest solution would be to entirely disable status map for these users? Any obvious way to do it (other then removing statusmap.cgi file?) -- Tomasz Chmielewski http://wpkg.org ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp-intl.com Fri Mar 6 11:23:05 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Fri, 6 Mar 2009 10:23:05 +0000 Subject: event handlers - remounting smb shares Message-ID: <200903061023.05952.assaf.flatto@ssp-intl.com> Hello List I am having an issue with trying to implement event handlers . Let me explain the background first : We have a several servers that are rebooted every weekend and one of them is a file server with several exported mount points to other servers . After the reboots one of the machines is unable to recover the mount points ( could be cause we are still using smbfs and not cifs ) and we need to manually remount those filesystems . I wanted to implement an event handler to remount the "stuck" mount points after the reboot is complete ,( doing a "mount -f -a " is not an option ) , the problem i am facing is - how do i pass the mount point to the event handler ? is it at all possible ? the output from the command is as follows ; the error : [1235783450] Warning: The check of service 'sapmnt_PX1 disk space' on host 'host' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service... what is should be : DISK OK - free space: /public_data/PR1/interfaces/incoming/Lynx/UK/srf_mount 88720 MB (16%);| /public_data/PR1/interfaces/incoming/Lynx/UK/srf_mount=483424MB;572124;572134;0;572144 Anyone ever done something like this ? Any Ideas ? -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sri.lumpa at free.fr Fri Mar 6 12:43:08 2009 From: sri.lumpa at free.fr (MAD) Date: Fri, 6 Mar 2009 12:43:08 +0100 (CET) Subject: Migration of a nagios servers and logs In-Reply-To: <1014670390.1492151236339566400.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <1014670390.1492151236339566400.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: <956180692.1492661236339788952.JavaMail.root@zimbra16-e3.priv.proxad.net> Hi everyone, Sorry if that questions was already answered but I browsed the web for a while and didn't find a clear answer (and I now this looks like a newbie question). I had installed Nagios on a server I used to run some tests and now I have validate my developments I have to transfer Nagios from this server to a production one. Till then, there is no problem... Unfortunately, I had to run some hosts and services' checks and I want to keep these results on the new server. Should I only copy the old log files to the new installation or do I need to do something else ? I understood the checks' history are only kept in the log files so I imagine all I have to do is some copy but will my new Nagios look at them as its own log files? Thanks in advance Marc-Andr? ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri Mar 6 13:41:50 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 6 Mar 2009 12:41:50 +0000 Subject: Ndoutils MySQL performance problem? In-Reply-To: <49AF0C8D.20503@gridshield.net> References: <49AF0C8D.20503@gridshield.net> Message-ID: <765d77c80903060441y40e754d9j5ddf64bd99d50f94@mail.gmail.com> 2009/3/4 Marc DeTrano : > 2009/3/3 Livio Zanol Puppim : > I'm no expert at MySQL performance, but we found a couple of things that > helped speed up NDO significantly: > > -We are using a my.cnf based on the "my-innodb-heavy-4G.cnf" example > that comes with MySQL. > -The innodb_flush_log_at_trx_commit setting in that file is "2" (instead > of 1..the difference in performance is huge, and the trade off in data > integrity is negligible for us). > > If your process gets heavy over time, you may have to reduce things in > ndo2db.cfg like max_servicechecks_age (to keep the size of these > historical tables manageable). > > Marc > Gridshield, S.A. Wow! That made a huge difference! I simply added a file "nagios.cnf" under /etc/mysql/conf.d like so: [mysqld] innodb_flush_log_at_trx_commit = 2 and it reduced my Nagios startup time from more than 3 minutes to only 30 seconds! I already had quite a few of the data_processing_options disabled in ndomod.cfg and had reduced all of the max_*_age parameters in ndo2db.cfg to 24 hours (before those my startup time was more than 5 minutes). Many thanks indeed! Cheers, Jim ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Mar 6 14:14:09 2009 From: marc at ena.com (Marc Powell) Date: Fri, 6 Mar 2009 07:14:09 -0600 Subject: Migration of a nagios servers and logs In-Reply-To: <956180692.1492661236339788952.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <956180692.1492661236339788952.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: <3EC2CA27-A9AF-4AD9-A96A-E7EF66D13237@ena.com> On Mar 6, 2009, at 5:43 AM, MAD wrote: > Unfortunately, I had to run some hosts and services' checks and I > want to keep these results on the new server. Should I only copy the > old log files to the new installation or do I need to do something > else ? You only need var/archives/* assuming your hosts and services are named exactly the same on the new machine (i.e. you're using the config files from the old machine). -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dunnlg at bettis.gov Fri Mar 6 14:57:52 2009 From: dunnlg at bettis.gov (Dunn, Larry) Date: Fri, 6 Mar 2009 08:57:52 -0500 Subject: Problems getting data from remote host with nrpe Message-ID: Good morning folks! I am trying to get my Nagios 3.0.4 configuration setup with NRPE to remotely monitor the status of a process on my remote systems. I followed the configuration for NRPE on both the Nagios server and the remote system and have it very close but am stumbling over the final piece. I have the remote system able to work with the nrpe daemon and that is all good. When I try to do a simple check_nrpe from my Nagios server I am getting: CHECK_NRPE: Error receiving data from host. I tried to telnet to the port on the remote system and was successful (telnet remotehost 5666). This means it can't be a firewall issue or any problem with routing. The log on the remote system shows the nrpe daemon starting up and exiting on the completion of the check. I know this must be something very simple that I am missing. Can someone point me to something that can help me resolve this issue? Thanks in advance! Larry -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyleodonnell at gmail.com Fri Mar 6 15:03:04 2009 From: kyleodonnell at gmail.com (Kyle O'Donnell) Date: Fri, 6 Mar 2009 09:03:04 -0500 Subject: event handlers - remounting smb shares In-Reply-To: <200903061023.05952.assaf.flatto@ssp-intl.com> References: <200903061023.05952.assaf.flatto@ssp-intl.com> Message-ID: <2274b9c30903060603r6023436fm6c1678f1115cfdbb@mail.gmail.com> How do you check your systems remotely? search the nagiosexchange for something called 'rexec' it is an event handler that I wrote that executes commands remotely using ssh or NRPE. If using NRPE a script to run your mount should be written and added to your nrpe.cfg command list. if this is local, write a script do perform your mount, define it as a command inside nagios, and select the defined command as the event handler. On 3/6/09, Assaf Flatto wrote: > Hello List > > I am having an issue with trying to implement event handlers . > > Let me explain the background first : > We have a several servers that are rebooted every weekend and one of them is > a file server with > several exported mount points to other servers . > After the reboots one of the machines is unable to recover the mount points > ( could be cause we are > still using smbfs and not cifs ) and we need to manually remount those > filesystems . > > I wanted to implement an event handler to remount the "stuck" mount points > after the reboot is > complete ,( doing a "mount -f -a " is not an option ) , the problem i am > facing is - how do i pass > the mount point to the event handler ? > is it at all possible ? > > the output from the command is as follows ; > the error : > [1235783450] Warning: The check of service 'sapmnt_PX1 disk space' on host > 'host' looks like it was > orphaned (results never came back). I'm scheduling an immediate check of > the service... > > what is should be : > DISK OK - free space: /public_data/PR1/interfaces/incoming/Lynx/UK/srf_mount > 88720 MB > (16%);| > /public_data/PR1/interfaces/incoming/Lynx/UK/srf_mount=483424MB;572124;572134;0;572144 > > Anyone ever done something like this ? > Any Ideas ? > -- > Assaf Flatto > SSP Ops Team > Linux System Administrator > 169 Euston Road, London, NW1 2AE > > > > > > IMPORTANT . this email and the information in it may be confidential, > legally > privileged and/or protected by law. It is intended solely for the use of the > person to whom it is addressed. If you are not the intended recipient, > please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any > medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email communications. > We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery > or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service Partner > UK > Limited. Should you communicate with anyone at Select Service Partner UK > Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and > Wales > (company number 05687183) whose registered office is at 1 The Heights, > Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jaiho8 at gmail.com Fri Mar 6 15:05:58 2009 From: jaiho8 at gmail.com (Jai Ram) Date: Fri, 6 Mar 2009 09:05:58 -0500 Subject: How to install Nagios 3.0 on Solaris X4600 Message-ID: <9cfff3f00903060605n4d561f88w6c547f1fd040e8e6@mail.gmail.com> Hello, Can anyone provide me some documentation for installation process of nagios 3.0 on X4600 Solaris10 OS. Thanks Jai. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fferreira at osiatis.es Fri Mar 6 15:16:35 2009 From: fferreira at osiatis.es (Felipe Ferreira) Date: Fri, 06 Mar 2009 15:16:35 +0100 Subject: New to Nagios - Watching Services Message-ID: <49B13043.2040709@osiatis.es> Hello Kevin, You dont really need to instal NSClient, you can monitor using SNMP. Its much easier because you wont need to install any Agent, just enable the SNMP service. I also monitor BackupExec and many other services in this way. I use the plugins check_snmp_win.pl -H -C -t 45 -n "Microsoft ISA Server Control" note the service name has to be same as Display name, not the short name. You can find the plugin in nagiosexchange.com site.If you need help defining a services and a command first look into nagios documentation. cheers, -- *Felipe Ferreira* T?cnico de Sistemas Senior Osiatis.es Email:fferreira at osiatis.es -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp-intl.com Fri Mar 6 15:34:39 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Fri, 6 Mar 2009 14:34:39 +0000 Subject: event handlers - remounting smb shares In-Reply-To: <2274b9c30903060603r6023436fm6c1678f1115cfdbb@mail.gmail.com> References: <200903061023.05952.assaf.flatto@ssp-intl.com> Message-ID: <200903061434.39829.assaf.flatto@ssp-intl.com> Hello Kyle You missed my point - i think . Doing checks on the remote machine is not a problem , i am doing so via NRPE and with no problems . My issue is - how do i make it dynamic - and not a different script for each mount point . I want it to be a single script that when i pass the arguments to the event handler over the nrpe , i add the failed mount point as an argument . I took a look at rexec , but i am still in the same problem - how do i get the mount point extracted - figured from the output and pass it to the remount event handler ? Assaf On Friday 06 March 2009 14:03:04 Kyle O'Donnell wrote: > How do you check your systems remotely? > > search the nagiosexchange for something called 'rexec' it is an event > handler that I wrote that executes commands remotely using ssh or > NRPE. > > If using NRPE a script to run your mount should be written and added > to your nrpe.cfg command list. > > > if this is local, write a script do perform your mount, define it as a > command inside nagios, and select the defined command as the event > handler. > > On 3/6/09, Assaf Flatto wrote: > > Hello List > > > > I am having an issue with trying to implement event handlers . > > > > Let me explain the background first : > > We have a several servers that are rebooted every weekend and one of them > > is a file server with > > several exported mount points to other servers . > > After the reboots one of the machines is unable to recover the mount > > points ( could be cause we are > > still using smbfs and not cifs ) and we need to manually remount those > > filesystems . > > > > I wanted to implement an event handler to remount the "stuck" mount > > points after the reboot is > > complete ,( doing a "mount -f -a " is not an option ) , the problem i am > > facing is - how do i pass > > the mount point to the event handler ? > > is it at all possible ? > > > > the output from the command is as follows ; > > the error : > > [1235783450] Warning: The check of service 'sapmnt_PX1 disk space' on > > host 'host' looks like it was > > orphaned (results never came back). I'm scheduling an immediate check of > > the service... > > > > what is should be : > > DISK OK - free space: > > /public_data/PR1/interfaces/incoming/Lynx/UK/srf_mount 88720 MB > > (16%);| > > /public_data/PR1/interfaces/incoming/Lynx/UK/srf_mount=483424MB;572124;57 > >2134;0;572144 > > > > Anyone ever done something like this ? > > Any Ideas ? > > -- > > Assaf Flatto > > SSP Ops Team > > Linux System Administrator > > 169 Euston Road, London, NW1 2AE > > > > > > > > > > > > IMPORTANT . this email and the information in it may be confidential, > > legally > > privileged and/or protected by law. It is intended solely for the use of > > the person to whom it is addressed. If you are not the intended > > recipient, please > > notify the sender immediately and do not disclose the contents to any > > other person, use it for any purpose, or store or copy the information in > > any medium. > > Please also delete all copies of this email and any attachments from your > > system. > > > > We cannot guarantee the security or confidentiality of email > > communications. We > > do not accept any liability for losses or damages that you may suffer as > > a result of your receipt of this email including but not limited to > > computer service or system failure, access delays or interruption, data > > non-delivery or > > mis-delivery, computer viruses or other harmful components. > > > > Copyright in this email and any attachments belong to Select Service > > Partner UK > > Limited. Should you communicate with anyone at Select Service Partner UK > > Limited by > > email, you consent to us monitoring and reading any such correspondence. > > > > Nothing in this email shall be taken or read as suggesting, proposing or > > relating to any agreement concerted practice or other practice that could > > infringe UK or EC competition legislation. > > > > Select Service Partner UK Limited is a company registered in England and > > Wales > > (company number 05687183) whose registered office is at 1 The Heights, > > Brooklands, Weybridge. Surrey. KT13 0NY > > > > > > > > ------------------------------------------------------------------------- > >----- Open Source Business Conference (OSBC), March 24-25, 2009, San > > Francisco, CA -OSBC tackles the biggest issue in open source: Open > > Sourcing the Enterprise -Strategies to boost innovation and cut costs > > with open source participation -Receive a $600 discount off the > > registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting > > > > any issue. > > > > ::: Messages without supporting info will risk being sent to /dev/null -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthias at mailtower.de Fri Mar 6 15:40:31 2009 From: matthias at mailtower.de (Matthias Krauss) Date: Fri, 6 Mar 2009 15:40:31 +0100 (CET) Subject: Scheduling Queue Message-ID: <3014.10.0.1.62.1236350431.squirrel@mail.mailtower.de> Hi List, i'm new here and have a curious problem with the scheduler. Sometimes it happens that a number of jobs doesnt get checked anymore, the State Information shows for example: Next Scheduled Check: 04-03-2010 22:24:54 Last State Change: 29-12-2008 17:23:15 Last Update: 06-03-2009 15:21:48 ( 0d 0h 0m 7s ago) The next scheduled check is for sudden 1 Year later! the jobs are supposed to get checked all 15 minutes, when i run a reschedule of the service then the schedule check comes back normal. I've found a event log entry which matches the time when this happens: "Warning: A system time change of 0d 0h 0m 1s (backwards in time) has been detected. Compensating..." I believe that the ntp daemon changed the time which is quite normal? Does anybody have a idea ? Many thanks Matthias ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Mar 6 15:51:03 2009 From: marc at ena.com (Marc Powell) Date: Fri, 6 Mar 2009 08:51:03 -0600 Subject: Problems getting data from remote host with nrpe In-Reply-To: References: Message-ID: <04AB85AC-6C9B-47C9-8B26-E4D9B410DF47@ena.com> On Mar 6, 2009, at 7:57 AM, Dunn, Larry wrote: > > I know this must be something very simple that I am missing. Can > someone point me to something that can help me resolve this issue? Did you permit the host in nrpe.cfg allowed_hosts? NRPE should be logging something in messages/syslog. If not, you can enable debug mode and see what's going on. -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sri.lumpa at free.fr Fri Mar 6 15:54:09 2009 From: sri.lumpa at free.fr (MAD) Date: Fri, 6 Mar 2009 15:54:09 +0100 (CET) Subject: Using '!' in check_* argument Message-ID: <250769952.1534911236351249517.JavaMail.root@zimbra16-e3.priv.proxad.net> Hi all, I'm monitoring through my Nagios some web pages which need authentication. For some reasons, some passwords use the character '!', the delimiter between the check commands' arguments. So the '!' in the passwords aren't seen as a character but as a delimiter, wich make the password false and create some false arguments. Is there a way to use '!' in arguments ? I tried by escaping it with a '\', quoting it... Nothing worked. Thanks in advance. Marc-Andr? ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyleodonnell at gmail.com Fri Mar 6 16:04:34 2009 From: kyleodonnell at gmail.com (Kyle O'Donnell) Date: Fri, 6 Mar 2009 10:04:34 -0500 Subject: event handlers - remounting smb shares In-Reply-To: <200903061434.39829.assaf.flatto@ssp-intl.com> References: <2274b9c30903060603r6023436fm6c1678f1115cfdbb@mail.gmail.com> <200903061434.39829.assaf.flatto@ssp-intl.com> Message-ID: <2274b9c30903060704p6ebd3a44o129447cfce0d3156@mail.gmail.com> write the logic into the event handler script. pass the $SERVICEOUTPUT$ to the event handler have the event handler check if the appropriate moutpoint has returned the desired (or undesired) error if condition mount else echo wrong mount failure dont do anything. On 3/6/09, Assaf Flatto wrote: > Hello Kyle > > You missed my point - i think . > > Doing checks on the remote machine is not a problem , i am doing so via NRPE > and with no problems . > My issue is - how do i make it dynamic - and not a different script for > each mount point . > > I want it to be a single script that when i pass the arguments to the event > handler over the nrpe , > i add the failed mount point as an argument . > > I took a look at rexec , but i am still in the same problem - how do i get > the mount point > extracted - figured from the output and pass it to the remount event handler > ? > > Assaf > > > On Friday 06 March 2009 14:03:04 Kyle O'Donnell wrote: >> How do you check your systems remotely? >> >> search the nagiosexchange for something called 'rexec' it is an event >> handler that I wrote that executes commands remotely using ssh or >> NRPE. >> >> If using NRPE a script to run your mount should be written and added >> to your nrpe.cfg command list. >> >> >> if this is local, write a script do perform your mount, define it as a >> command inside nagios, and select the defined command as the event >> handler. >> >> On 3/6/09, Assaf Flatto wrote: >> > Hello List >> > >> > I am having an issue with trying to implement event handlers . >> > >> > Let me explain the background first : >> > We have a several servers that are rebooted every weekend and one of >> > them >> > is a file server with >> > several exported mount points to other servers . >> > After the reboots one of the machines is unable to recover the mount >> > points ( could be cause we are >> > still using smbfs and not cifs ) and we need to manually remount those >> > filesystems . >> > >> > I wanted to implement an event handler to remount the "stuck" mount >> > points after the reboot is >> > complete ,( doing a "mount -f -a " is not an option ) , the problem i am >> > facing is - how do i pass >> > the mount point to the event handler ? >> > is it at all possible ? >> > >> > the output from the command is as follows ; >> > the error : >> > [1235783450] Warning: The check of service 'sapmnt_PX1 disk space' on >> > host 'host' looks like it was >> > orphaned (results never came back). I'm scheduling an immediate check >> > of >> > the service... >> > >> > what is should be : >> > DISK OK - free space: >> > /public_data/PR1/interfaces/incoming/Lynx/UK/srf_mount 88720 MB >> > (16%);| >> > /public_data/PR1/interfaces/incoming/Lynx/UK/srf_mount=483424MB;572124;57 >> >2134;0;572144 >> > >> > Anyone ever done something like this ? >> > Any Ideas ? >> > -- >> > Assaf Flatto >> > SSP Ops Team >> > Linux System Administrator >> > 169 Euston Road, London, NW1 2AE >> > >> > >> > >> > >> > >> > IMPORTANT . this email and the information in it may be confidential, >> > legally >> > privileged and/or protected by law. It is intended solely for the use of >> > the person to whom it is addressed. If you are not the intended >> > recipient, please >> > notify the sender immediately and do not disclose the contents to any >> > other person, use it for any purpose, or store or copy the information >> > in >> > any medium. >> > Please also delete all copies of this email and any attachments from >> > your >> > system. >> > >> > We cannot guarantee the security or confidentiality of email >> > communications. We >> > do not accept any liability for losses or damages that you may suffer as >> > a result of your receipt of this email including but not limited to >> > computer service or system failure, access delays or interruption, data >> > non-delivery or >> > mis-delivery, computer viruses or other harmful components. >> > >> > Copyright in this email and any attachments belong to Select Service >> > Partner UK >> > Limited. Should you communicate with anyone at Select Service Partner UK >> > Limited by >> > email, you consent to us monitoring and reading any such correspondence. >> > >> > Nothing in this email shall be taken or read as suggesting, proposing or >> > relating to any agreement concerted practice or other practice that >> > could >> > infringe UK or EC competition legislation. >> > >> > Select Service Partner UK Limited is a company registered in England and >> > Wales >> > (company number 05687183) whose registered office is at 1 The Heights, >> > Brooklands, Weybridge. Surrey. KT13 0NY >> > >> > >> > >> > ------------------------------------------------------------------------- >> >----- Open Source Business Conference (OSBC), March 24-25, 2009, San >> > Francisco, CA -OSBC tackles the biggest issue in open source: Open >> > Sourcing the Enterprise -Strategies to boost innovation and cut costs >> > with open source participation -Receive a $600 discount off the >> > registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > >> > ::: Please include Nagios version, plugin version (-v) and OS when >> > ::: reporting >> > >> > any issue. >> > >> > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > Assaf Flatto > SSP Ops Team > Linux System Administrator > 169 Euston Road, London, NW1 2AE > > > > > > IMPORTANT . this email and the information in it may be confidential, > legally > privileged and/or protected by law. It is intended solely for the use of the > person to whom it is addressed. If you are not the intended recipient, > please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any > medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email communications. > We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery > or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service Partner > UK > Limited. Should you communicate with anyone at Select Service Partner UK > Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and > Wales > (company number 05687183) whose registered office is at 1 The Heights, > Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Mar 6 16:04:58 2009 From: marc at ena.com (Marc Powell) Date: Fri, 6 Mar 2009 09:04:58 -0600 Subject: Using '!' in check_* argument In-Reply-To: <250769952.1534911236351249517.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <250769952.1534911236351249517.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: <0F9486AE-C107-4366-B4CE-C1270F1FA7EA@ena.com> On Mar 6, 2009, at 8:54 AM, MAD wrote: > Is there a way to use '!' in arguments ? I tried by escaping it with > a '\', quoting it... Nothing worked. What version of nagios are you using? New in 3.x -- http://nagios.sourceforge.net/docs/3_0/macros.html "TipTip: If you need to pass bang (!) characters in your command arguments, you can do so by escaping them with a backslash (\). If you need to include backslashes in your command arguments, they should also be escaped with a backslash. " -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dunnlg at bettis.gov Fri Mar 6 16:52:52 2009 From: dunnlg at bettis.gov (Dunn, Larry) Date: Fri, 6 Mar 2009 10:52:52 -0500 Subject: Problems getting data from remote host with nrpe In-Reply-To: <04AB85AC-6C9B-47C9-8B26-E4D9B410DF47@ena.com> References: <04AB85AC-6C9B-47C9-8B26-E4D9B410DF47@ena.com> Message-ID: I do have the host enabled in the config file. How do I enable debugging for nrpe? -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Friday, March 06, 2009 9:51 AM To: Nagios Users Subject: Re: [Nagios-users] Problems getting data from remote host with nrpe On Mar 6, 2009, at 7:57 AM, Dunn, Larry wrote: > > I know this must be something very simple that I am missing. Can > someone point me to something that can help me resolve this issue? Did you permit the host in nrpe.cfg allowed_hosts? NRPE should be logging something in messages/syslog. If not, you can enable debug mode and see what's going on. -- Marc ------------------------------------------------------------------------ ------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Mar 6 16:59:10 2009 From: marc at ena.com (Marc Powell) Date: Fri, 6 Mar 2009 09:59:10 -0600 Subject: Problems getting data from remote host with nrpe In-Reply-To: References: <04AB85AC-6C9B-47C9-8B26-E4D9B410DF47@ena.com> Message-ID: On Mar 6, 2009, at 9:52 AM, Dunn, Larry wrote: > I do have the host enabled in the config file. How do I enable > debugging > for nrpe? $ grep debug nrpe.cfg # This option determines whether or not debugging messages are logged to the # Values: 0=debugging off, 1=debugging on debug=0 -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Fri Mar 6 17:55:01 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Fri, 6 Mar 2009 11:55:01 -0500 Subject: encrypting or protecting nagios config files Message-ID: <6db4a4200903060855sf967e31s6df68783ada877e7@mail.gmail.com> All, in commands.cfg or in service definition file we have to enter password community string and such. I was wondering if there is any way to encrypt that or setup a system where those information relayed to nagios process in the memory and there is no way to access them? Please advise on this. Thanks -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From plecki at eagency.com Fri Mar 6 18:18:48 2009 From: plecki at eagency.com (Peter Lecki) Date: Fri, 6 Mar 2009 09:18:48 -0800 Subject: encrypting or protecting nagios config files In-Reply-To: <6db4a4200903060855sf967e31s6df68783ada877e7@mail.gmail.com> References: <6db4a4200903060855sf967e31s6df68783ada877e7@mail.gmail.com> Message-ID: <4F9C3ACB9A61D74ABF0D161858A10B2FD2A826@exch1.ea.corp.com> You can use the resource.cfg file to store credentials, which is a secured file. Credentials can then be passed as variables to service definitions such as $PASSWORD1$ and it will pull the actual password string from the secured resource file. Peter. ________________________________ From: shadih rahman [mailto:shadhin71 at gmail.com] Sent: Friday, March 06, 2009 8:55 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] encrypting or protecting nagios config files All, in commands.cfg or in service definition file we have to enter password community string and such. I was wondering if there is any way to encrypt that or setup a system where those information relayed to nagios process in the memory and there is no way to access them? Please advise on this. Thanks -- Cordially, Shadhin Rahman -- ea926p -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthias at mailtower.de Fri Mar 6 18:23:25 2009 From: matthias at mailtower.de (Matthias Krauss) Date: Fri, 6 Mar 2009 18:23:25 +0100 (CET) Subject: Scheduling Queue In-Reply-To: <6db4a4200903060908g35c5e710y127d0c456801470c@mail.gmail.com> References: <3014.10.0.1.62.1236350431.squirrel@mail.mailtower.de> <6db4a4200903060908g35c5e710y127d0c456801470c@mail.gmail.com> Message-ID: <64549.79.220.226.93.1236360205.squirrel@mail.mailtower.de> shadih rahman wrote: > What version of Nagios are you running. I believe there was a day time > calculation with nagios. Below is the changelog history > > http://www.nagios.org/development/history/nagios-3x.php I upgraded from ver 3.0.3 to 3.0.6 a few weeks ago, problem occured on both versions. thx Matthias ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmorris at digitalmorris.com Fri Mar 6 16:45:05 2009 From: dmorris at digitalmorris.com (Derek J. Morris) Date: Fri, 6 Mar 2009 10:45:05 -0500 (EST) Subject: Migrate from Standard Nagios Setup to NDOUtils Setup Message-ID: <9773.65.107.105.50.1236354305.squirrel@mail.digitalmorris.com> Is there a clean, easy way to take my current configurations to the NDOUtils configuration. I am running 3.1.0 and have mysql running as well ready for ndo. Any help is appreciated. -Derek Morris dmorris at digitalmorris.com ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Fri Mar 6 18:40:47 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Fri, 6 Mar 2009 12:40:47 -0500 Subject: monitor router temperature In-Reply-To: <45A75436-64BA-4261-961A-E1A1C538D687@ena.com> References: <8adc88580902121516i25459ba1r5761c7ced95b5160@mail.gmail.com> <45A75436-64BA-4261-961A-E1A1C538D687@ena.com> Message-ID: <6db4a4200903060940t54094d14i87785a2647b4eec3@mail.gmail.com> Try this and see if this works for you. Thanks check_snmp -H yourhost -C your community_string -P your_snmp_version -o 1.3.6.1.4.1.9.9.13.1.3.1.3.1 -w 42: -c 38:42 On Thu, Feb 12, 2009 at 9:25 PM, Marc Powell wrote: > > On Feb 12, 2009, at 5:16 PM, Chris wrote: > > > I was wondering if there is any way to monitor a router's internal > > temperature via Nagios? I get lots of information when I use snmlwalk. > > But most check_snmp_* plugins give me > > This will almost certainly depend on the type of router. You should > check the MIB for your router. For cisco routers (7600's), I use the > following to measure inlet temperatures -- > > define command { > command_name check_temperature > command_line $USER1$/check_snmp -H $HOSTADDRESS > $ -u 'Degrees Celsius' -o .1.3.6.1.4.1.9.9.13.1.3.1.3.2 -C $USER3$ -w > 37:32 -c 99:38 -l 'Temperature is' > } > > define command { > command_name check_temperature_npe-g1 > command_line $USER1$/check_snmp -H $HOSTADDRESS > $ -u 'Degrees Celsius' -o .1.3.6.1.4.1.9.9.13.1.3.1.3.1 -C $USER3$ -w > 37:32 -c 99:38 -l 'Temperature is' > } > > > -- > Marc > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at christiananton.de Fri Mar 6 18:27:32 2009 From: mail at christiananton.de (Christian Anton) Date: Fri, 06 Mar 2009 18:27:32 +0100 Subject: Create hidden hostgroups, many machines in a group, a few of them slightly different Message-ID: <49B15D04.7060004@christiananton.de> Hello everybody. I am maintaining and redesigning a quite large Nagios installation in a mixed environment. The boxes we are monitoring are firewalls, servers, proxies, loadbalancers, ... a lot of stuff. As we have different groups of admins which administer different systems we had host groups like for example "Frontent-Proxies", "Application-Firewalls" and so on and the mapping to the responsible users so that a antivirus administrator does not have to see a broken firewall module. The problem is using these groups also for managing the service-to-host mapping in an easy manner. So for example we have 20 firewalls in "Application-Firewalls", they are the same machines, BUT 8 of them must use a different SNMP port or another additional service checks or need different warning/critical thresholds because of higher load. Managing this in a per-host-manner in services config file is hard work. My idea was to make something like "organinizational" and "functional" subgroups of them, so for example: Application-Firewalls | +--Application-Firewalls_special1 | | | +-- host1 | +-- host2 | +-- ... | +--Application-Firewalls_special2 | +-- host3 | +-- host4 The problem is that all users which are able to view all the hosts included in all the subgroups of "Application-Firewalls" see _all_ the subgroups in host overview. Even more difficult is the following szenario: Firewalls (for overview fw-admins) | +--checkpoint1 +--checkpoint2 +--about 20 more machines Firewalls_with_multicast_routing | +--checkpoint1 +--other machines Now the machines appear twice in the host overview. I am sure that administrators of larger installations have already thought about this and maybe you have a few good ideas for me? How do you manage a lot of machines with slightly different checking to group them in the same hostgroups anyways? I hope you understood what i wanted to say ;-) Best regards Christian ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sri.lumpa at free.fr Fri Mar 6 18:40:49 2009 From: sri.lumpa at free.fr (MAD) Date: Fri, 6 Mar 2009 18:40:49 +0100 Subject: Using '!' in check_* argument In-Reply-To: <0F9486AE-C107-4366-B4CE-C1270F1FA7EA@ena.com> References: <250769952.1534911236351249517.JavaMail.root@zimbra16-e3.priv.proxad.net> <0F9486AE-C107-4366-B4CE-C1270F1FA7EA@ena.com> Message-ID: <2F6F3613EF0B47C08FE6971B71132745@MADness> I'm using Nagios 3.0.6 on a CentOS 5.2 I tryed escaping the (!) with a (\) but it didn't work. I forgot to tell (and I've just realized it is probably important) I use NagiosQL to create the service. Is it possible that NagiosQL didn't escape the (! ) but the (\) when he writes the cfg file ? Macr-Andr? ----- Original Message ----- From: "Marc Powell" To: "Nagios Users" Sent: Friday, March 06, 2009 4:04 PM Subject: Re: [Nagios-users] Using '!' in check_* argument > > On Mar 6, 2009, at 8:54 AM, MAD wrote: > >> Is there a way to use '!' in arguments ? I tried by escaping it with >> a '\', quoting it... Nothing worked. > > > > What version of nagios are you using? New in 3.x -- > > http://nagios.sourceforge.net/docs/3_0/macros.html > > "TipTip: If you need to pass bang (!) characters in your command > arguments, you can do so by escaping them with a backslash (\). If you > need to include backslashes in your command arguments, they should > also be escaped with a backslash. " > > -- > Marc > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Fri Mar 6 19:25:06 2009 From: martyn at chetnet.co.uk (Martyn) Date: Fri, 6 Mar 2009 18:25:06 -0000 Subject: Nagios/NRPE relationship In-Reply-To: <705FB7CA-A555-45A7-85B0-113420CB04F1@ena.com> References: <705FB7CA-A555-45A7-85B0-113420CB04F1@ena.com> Message-ID: Marc it makes perfect sense now, thanks for the detailed explanation. Thanks again! Martyn -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: 05 March 2009 16:29 To: Nagios Users Subject: Re: [Nagios-users] Nagios/NRPE relationship On Mar 4, 2009, at 5:26 PM, Martyn wrote: > Hi all, hope you do no think this is a stupid question; however I have > to ask it anyway for a better understanding > > Command[check_smtp]=/usr/local/nagios/libexec/check_smtp -H localhost > > Do they have to use the -H localhost directive or is there something > different they can use, the localhost just does not seem right > looking at the other examples above. > Yes, check_smtp connects to a 'remote' smtp server and verifies that it answers so it needs to know what IP to connect to. It doesn't need NRPE to do that. If this remote server answers on port 25 on an IP reachable from your nagios host, you could just as easily run it from your nagios host and probably have more reliable results. The only scenario where the check above makes sense is if the SMTP server only accepts connections from the local machine. You can always run 'check_ --help' to see what parameters are required and available. NRPE is only needed for checking things that don't expose external services. Things like disk space, cpu utilization, memory use, etc.. Any network aware daemons like sendmail, postfix, apache, sshd, etc can generally be checked without using NRPE. > Then on my Nagios Server, under the .cfg box I want to monitor I > define the command: > > define service{ > use generic-service > host_name linux-server > service_description SSH > check_command check_nrpe!check_ssh > } > This is another one that doesn't really make sense to run through NRPE. check_ssh tries to connect to port 22 on a specified host (-H) to see if sshd is listening. You'd want to perform that test from a different box than sshd is running on to make sure it's listening publicly. Running directly from nagios is better. define service{ use generic-service host_name linux-server service_description SSH check_command check_ssh } Assuming your check_ssh command definition looks something like -- define command { command_name check_ssh command_line $USER1$/check_ssh -t 30 -H $HOSTADDRESS$ } -- Marc ---------------------------------------------------------------------------- -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phanoko at gmail.com Fri Mar 6 19:52:01 2009 From: phanoko at gmail.com (matt wells) Date: Fri, 6 Mar 2009 18:52:01 +0000 Subject: 2-D map question.. Message-ID: I've not found a good tool to draw the 2d map yet so I'm taking any suggestions.. Also the 2d map as it is now looks pretty cool but I have some icons for my systems. Is there a way to have the boxes that hold the icons auto-size so they at least stop running together? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.weaver at bbc.co.uk Fri Mar 6 19:54:39 2009 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Fri, 6 Mar 2009 18:54:39 -0000 Subject: Using '!' in check_* argument In-Reply-To: <2F6F3613EF0B47C08FE6971B71132745@MADness> References: <250769952.1534911236351249517.JavaMail.root@zimbra16-e3.priv.proxad.net><0F9486AE-C107-4366-B4CE-C1270F1FA7EA@ena.com> <2F6F3613EF0B47C08FE6971B71132745@MADness> Message-ID: > -----Original Message----- > From: MAD [mailto:sri.lumpa at free.fr] > Sent: 06 March 2009 17:41 > To: Marc Powell; Nagios Users > Subject: Re: [Nagios-users] Using '!' in check_* argument > > I'm using Nagios 3.0.6 on a CentOS 5.2 > > I tryed escaping the (!) with a (\) but it didn't work. I > forgot to tell (and I've just realized it is probably > important) I use NagiosQL to create the service. Is it > possible that NagiosQL didn't escape the (! ) but the (\) > when he writes the cfg file ? Look at the actual config file generated. You may need to escape the \ -- so you'd enter "\\\!" -- Paul Weaver Systems Development Engineer News Production Facilities, BBC News ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexus at gmail.com Fri Mar 6 20:07:42 2009 From: alexus at gmail.com (alexus) Date: Fri, 6 Mar 2009 14:07:42 -0500 Subject: ../include/config.h:315:18: error: ltdl.h: No such file or directory Message-ID: <6ae50c2d0903061107p565cc754h5e31a5b10c222fd6@mail.gmail.com> root at lama /usr/local/src/nagios-3.0.6 586$ ./configure LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include checking for a BSD-compatible install... /usr/bin/install -c checking build system type... x86_64-unknown-freebsd7.1 checking host system type... x86_64-unknown-freebsd7.1 checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether make sets $(MAKE)... yes checking for strip... /usr/bin/strip checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pthreads.h usability... no checking pthreads.h presence... no checking for pthreads.h... no checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking socket.h usability... no checking socket.h presence... no checking for socket.h... no checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for sys/types.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for sys/wait.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/msg.h usability... yes checking sys/msg.h presence... yes checking for sys/msg.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking uio.h usability... no checking uio.h presence... no checking for uio.h... no checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for va_copy... yes checking for vsnprintf... yes checking for snprintf... yes checking for asprintf... yes checking for vasprintf... yes checking for C99 vsnprintf... yes checking for initgroups... yes checking for setenv... yes checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for unsetenv... yes checking for type of socket size... size_t checking for pthread_create in -lcma... no checking for pthread_create in -lpthread... yes checking for library containing nanosleep... none required checking for mail... /usr/bin/mail We'll use default routines (in xdata/xsddefault.*) for status data I/O... We'll use default routines (in xdata/xcddefault.*) for comment data I/O... We'll use default routines (in xdata/xrddefault.*) for retention data I/O... We'll use template-based routines (in xdata/xodtemplate.*) for object data I/O... We'll use default routines (in xdata/xpddefault.*) for performance data I/O... We'll use default routines (in xdata/xdddefault.*) for scheduled downtime data I/O... checking for main in -liconv... yes checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... yes GD library was found! gnome-config: not found Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `glib-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'glib-2.0' found gnome-config: not found Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `glib-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'glib-2.0' found checking ltdl.h usability... yes checking ltdl.h presence... yes checking for ltdl.h... yes checking for lt_dlinit in -lltdl... yes checking for extra flags needed to export symbols... -Wl,-export-dynamic checking for linker flags for loadable modules... -shared checking for traceroute... /usr/sbin/traceroute checking for type va_list... yes checking for perl... /usr/bin/perl configure: creating ./config.status config.status: creating Makefile config.status: creating subst config.status: creating pkginfo config.status: creating base/Makefile config.status: creating common/Makefile config.status: creating contrib/Makefile config.status: creating cgi/Makefile config.status: creating html/Makefile config.status: creating module/Makefile config.status: creating xdata/Makefile config.status: creating daemon-init config.status: creating html/index.html config.status: creating html/side.html config.status: creating include/config.h config.status: include/config.h is unchanged config.status: creating include/snprintf.h config.status: include/snprintf.h is unchanged config.status: creating include/cgiutils.h config.status: include/cgiutils.h is unchanged Creating sample config files in sample-config/ ... *** Configuration summary for nagios 3.0.6 12-01-2008 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagios Embedded Perl: no Event Broker: yes Install ${prefix}: /usr/local/nagios Lock file: ${prefix}/var/nagios.lock Check result directory: ${prefix}/var/spool/checkresults Init directory: /usr/local/etc/rc.d Apache conf.d directory: /etc/httpd/conf.d Mail program: /usr/bin/mail Host OS: freebsd7.1 Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): /usr/sbin/traceroute Review the options above for accuracy. If they look okay, type 'make all' to compile the main program and CGIs. root at lama /usr/local/src/nagios-3.0.6 587$ make all cd ./base && make gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c broker.c In file included from broker.c:25: ../include/config.h:315:18: error: ltdl.h: No such file or directory In file included from ../include/nebcallbacks.h:29, from broker.c:30: ../include/nebmodules.h:79: error: expected specifier-qualifier-list before 'lt_dlhandle' *** Error code 1 Stop in /usr/local/src/nagios-3.0.6/base. *** Error code 1 Stop in /usr/local/src/nagios-3.0.6. root at lama /usr/local/src/nagios-3.0.6 588$ ls -la /usr/local/include/ltdl.h -rw-r--r-- 1 root wheel 5715 Mar 6 18:28 /usr/local/include/ltdl.h root at lama /usr/local/src/nagios-3.0.6 589$ libtool --version ltmain.sh (GNU libtool) 2.2.6 Written by Gordon Matzigkeit , 1996 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. root at lama /usr/local/src/nagios-3.0.6 590$ ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From syed_jafar at hotmail.com Fri Mar 6 20:15:41 2009 From: syed_jafar at hotmail.com (syed jafar) Date: Fri, 6 Mar 2009 19:15:41 +0000 Subject: Nagios Plugin question In-Reply-To: <6db4a4200903060940t54094d14i87785a2647b4eec3@mail.gmail.com> References: <8adc88580902121516i25459ba1r5761c7ced95b5160@mail.gmail.com> <45A75436-64BA-4261-961A-E1A1C538D687@ena.com> <6db4a4200903060940t54094d14i87785a2647b4eec3@mail.gmail.com> Message-ID: I am installing Nagios 1.4.1 plugin on a Solaris 10 box and when I run make or make all I this get error message. Any ideas.... Thanks, Syed Jafar # make gcc: language strconst not recognized gcc: check_mysql.c: linker input file unused because linking not done mv: cannot access .deps/check_mysql-check_mysql.Tpo *** Error code 2 make: Fatal error: Command failed for target `check_mysql-check_mysql.o' Current working directory /Temp/nagios-plugins-1.4.11/plugins *** Error code 1 The following command caused the error: failcom='exit 1'; \ for f in x $MAKEFLAGS; do \ case $f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo all-recursive | sed s/-recursive//`; \ list='gl lib plugins plugins-scripts plugins-root po'; for subdir in $list; do \ echo "Making $target in $subdir"; \ if test "$subdir" = "."; then \ dot_seen=yes; \ local_target="$target-am"; \ else \ local_target="$target"; \ fi; \ (cd $subdir && make $local_target) \ || eval $failcom; \ done; \ if test "$dot_seen" = "no"; then \ make "$target-am" || exit 1; \ fi; test -z "$fail" make: Fatal error: Command failed for target `all-recursive' Current working directory /Temp/nagios-plugins-1.4.11 *** Error code 1 make: Fatal error: Command failed for target `all' # make install Making install in gl make install-am Making install in lib Making install in tests Making install in plugins if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/pgsql -I/include -I/usr/sfw/include/mysql -D_REENTRANT -I/include -I/usr/sfw/include/mysql -xstrconst -mt -g -O2 -MT check_mysql-check_mysql.o -MD -MP -MF ".deps/check_mysql-check_mysql.Tpo" -c -o check_mysql-check_mysql.o `test -f 'check_mysql.c' || echo './'`check_mysql.c; \ then mv -f ".deps/check_mysql-check_mysql.Tpo" ".deps/check_mysql-check_mysql.Po"; else rm -f ".deps/check_mysql-check_mysql.Tpo"; exit 1; fi gcc: language strconst not recognized gcc: check_mysql.c: linker input file unused because linking not done mv: cannot access .deps/check_mysql-check_mysql.Tpo *** Error code 2 make: Fatal error: Command failed for target `check_mysql-check_mysql.o' Current working directory /Temp/nagios-plugins-1.4.11/plugins *** Error code 1 The following command caused the error: failcom='exit 1'; \ for f in x $MAKEFLAGS; do \ case $f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo install-recursive | sed s/-recursive//`; \ list='gl lib plugins plugins-scripts plugins-root po'; for subdir in $list; do \ echo "Making $target in $subdir"; \ if test "$subdir" = "."; then \ dot_seen=yes; \ local_target="$target-am"; \ else \ local_target="$target"; \ fi; \ (cd $subdir && make $local_target) \ || eval $failcom; \ done; \ if test "$dot_seen" = "no"; then \ make "$target-am" || exit 1; \ fi; test -z "$fail" make: Fatal error: Command failed for target `install-recursive' -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Fri Mar 6 20:22:31 2009 From: jpratt at norwich.edu (James Pratt) Date: Fri, 6 Mar 2009 14:22:31 -0500 Subject: ../include/config.h:315:18: error: ltdl.h: No suchfile or directory In-Reply-To: <6ae50c2d0903061107p565cc754h5e31a5b10c222fd6@mail.gmail.com> References: <6ae50c2d0903061107p565cc754h5e31a5b10c222fd6@mail.gmail.com> Message-ID: <8147CCE3C4A8764DA9980125EE70E8239A20FC@nuexchg.norwich.edu> > -----Original Message----- > From: alexus [mailto:alexus at gmail.com] > Sent: Friday, March 06, 2009 2:08 PM > To: nagios-user Mailinglist > Subject: [Nagios-users] ../include/config.h:315:18: error: ltdl.h: No suchfile or > directory > > root at lama /usr/local/src/nagios-3.0.6 586$ ./configure > LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include > checking for a BSD-compatible install... /usr/bin/install -c > checking build system type... x86_64-unknown-freebsd7.1 > checking host system type... x86_64-unknown-freebsd7.1 > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes Err.. you can just send us the error instead of the whole configure script output... ... Google is your friend: http://www.google.com/search?hl=en&q=ltdl.h%3A+No+such+file+or+directory +%22nagios%22&btnG=Search regards, jamie ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Mar 6 20:27:37 2009 From: marc at ena.com (Marc Powell) Date: Fri, 6 Mar 2009 13:27:37 -0600 Subject: Migrate from Standard Nagios Setup to NDOUtils Setup In-Reply-To: <9773.65.107.105.50.1236354305.squirrel@mail.digitalmorris.com> References: <9773.65.107.105.50.1236354305.squirrel@mail.digitalmorris.com> Message-ID: On Mar 6, 2009, at 9:45 AM, Derek J. Morris wrote: > Is there a clean, easy way to take my current configurations to the > NDOUtils > configuration. I am running 3.1.0 and have mysql running as well > ready for ndo. > Any help is appreciated. There's no real migration. Nagios itself will continue to rely on it's normal config files and log files. NDOUtils is just a way to store that data in a DB for access by other applications. By specifying the ndo module (and it's options), nagios will just start sending the data you specify there as well. -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Fri Mar 6 20:25:00 2009 From: jpratt at norwich.edu (James Pratt) Date: Fri, 6 Mar 2009 14:25:00 -0500 Subject: Nagios Plugin question In-Reply-To: References: <8adc88580902121516i25459ba1r5761c7ced95b5160@mail.gmail.com><45A75436-64BA-4261-961A-E1A1C538D687@ena.com> <6db4a4200903060940t54094d14i87785a2647b4eec3@mail.gmail.com> Message-ID: <8147CCE3C4A8764DA9980125EE70E8239A2102@nuexchg.norwich.edu> > -----Original Message----- > From: syed jafar [mailto:syed_jafar at hotmail.com] > Sent: Friday, March 06, 2009 2:16 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios Plugin question > > I am installing Nagios 1.4.1 plugin on a Solaris 10 box and when I run make or make > all I this get error message. Any ideas.... > > Thanks, > Syed Jafar > > # make > It appears you are missing mysql-devel pkg, or whatever it is named on sunfreeware.com these days... Regards, Jamie ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Mar 6 20:32:53 2009 From: marc at ena.com (Marc Powell) Date: Fri, 6 Mar 2009 13:32:53 -0600 Subject: Using '!' in check_* argument In-Reply-To: <2F6F3613EF0B47C08FE6971B71132745@MADness> References: <250769952.1534911236351249517.JavaMail.root@zimbra16-e3.priv.proxad.net> <0F9486AE-C107-4366-B4CE-C1270F1FA7EA@ena.com> <2F6F3613EF0B47C08FE6971B71132745@MADness> Message-ID: <7EB27EBE-761A-46F6-A79D-8ACD41845C78@ena.com> On Mar 6, 2009, at 11:40 AM, MAD wrote: > the service. Is it possible that NagiosQL didn't escape the (! ) but > the (\) > when he writes the cfg file ? Did you look? -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri Mar 6 21:02:03 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 6 Mar 2009 20:02:03 +0000 Subject: 2-D map question.. In-Reply-To: References: Message-ID: <765d77c80903061202j38b35cf7y40f0d71c76d9b4b@mail.gmail.com> 2009/3/6 matt wells : > I've not found a good tool to draw the 2d map yet so I'm taking any > suggestions.. > Also the 2d map as it is now looks pretty cool but I have some icons for my > systems.? Is there a way to have the boxes that hold the icons auto-size so > they at least stop running together? Try the auto map in NagVis http://www.nagvis.org/ or NExSM http://nexsm.gridshield.net/Overview.html . ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Fri Mar 6 21:38:15 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 06 Mar 2009 15:38:15 -0500 Subject: migration from nagios2 => nagios3 ; host name definition In-Reply-To: References: Message-ID: <49B189B7.2010900@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/03/09 05:31 PM, Steve Kieu wrote: > > Hello everyone, > > The first question is, what is the meaning of directive *name* in host > definition? The document says there is no such thing, only *host_name* > but if put name there nagios (both 2 and 3 does not complain) > > Longer explanation follows. > > When using nagios config version 2 in nagios3 I have some errors. > Looking at the config of version 2 I see: > > define host{ > name standard-host > use generic-host ; Name of host template to use > register 0 ; Template - don't register > host_name not-defined > alias not-defined > check_command check-host-alive > contact_groups pager > notification_period 24x7 > } > > > define host{ > name virtual-host > use generic-host ; Name of host > template > to use > register 0 ; Template - > don't regis > ter > host_name not-defined > alias not-defined > check_command check-host-alive > contact_groups pager > notification_period workhours > } > > > It worked with nagios2 ; nagios3 Warning: Duplicate definition found for > host 'not-defined' > and then error Could not add object property at line point to host_name > not-defined. Since these are templates (register 0) you should just leave host_name and alias undefined (remove the lines). You'll have to define them anyway when you use the template. Seems like this is a bug, though a very minor one. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJsYm36dZ+Kt5BchYRAqjIAJ96vTx4BTshTOBoXGU1SO2mYc4gDwCeNbnA dCrLGWJZQrnhO4KvUSsjt+k= =5DjF -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gavin.williams at card.co.uk Fri Mar 6 20:44:48 2009 From: gavin.williams at card.co.uk (Gavin Williams) Date: Fri, 6 Mar 2009 13:44:48 -0600 Subject: NRPE: Unable to Read Output??? Message-ID: <39E8DC21C2AFC6499180B85A6154000503D04138@34093-C3-EVS3.exchange.rackspace.com> Hi there, I'm having issues when trying to check a plugin via NRPE... Whenever I run the check command, NRPE returns: Unable to read output. I'm lost... The file permissions are correct, it's executable and owned by the Nagios user... The script runs fine locally. I have double and triple checked the command definition, and that's fine... For reference, here's some output. Sample command and result: nagios]$ libexec/check_oracle.pl -db FSRPRD02 -ch r -w 900 -c 1800 OK: FSRPRD02 Replication is currently 9 seconds behind Live|Replication=9s;900;1800 NRPE command is defined as: command[check_oracle]=/usr/local/nagios/libexec/check_oracle.pl -ch $ARG1$ -db $ARG2$ -w $ARG3$ -c $ARG4$ Permissions on check_oracle.pl are: nagios]$ ls -l libexec/check_oracle.pl -rwxrwxr-x 1 nagios nagios 4371 Mar 6 19:38 libexec/check_oracle.pl NRPE Check command and result is: libexec]$ ./check_nrpe -H fsr-act-db01 -c check_oracle -a r FSRPRD02 900 1800 NRPE: Unable to read output I've restarted NRPE dozens of times, and enabled debugging... however nothing useful shows up in /var/log/messages... Anybody have any ideas??? Cheers Gavin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ricardo.maraschini at opservices.com.br Fri Mar 6 21:47:51 2009 From: ricardo.maraschini at opservices.com.br (Ricardo Maraschini) Date: Fri, 6 Mar 2009 17:47:51 -0300 (BRT) Subject: Scheduling Queue In-Reply-To: <64549.79.220.226.93.1236360205.squirrel@mail.mailtower.de> References: <64549.79.220.226.93.1236360205.squirrel@mail.mailtower.de> Message-ID: <31337375.470541236372471154.JavaMail.root@mail.opservices.com.br> ----- "Matthias Krauss" escreveu: > I upgraded from ver 3.0.3 to 3.0.6 a few weeks ago, problem occured > on both versions. That's a known issue, no solution was provided yet. http://article.gmane.org/gmane.network.nagios.devel/5554/match=next+year -rm ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Mar 6 22:16:23 2009 From: marc at ena.com (Marc Powell) Date: Fri, 6 Mar 2009 15:16:23 -0600 Subject: NRPE: Unable to Read Output??? In-Reply-To: <39E8DC21C2AFC6499180B85A6154000503D04138@34093-C3-EVS3.exchange.rackspace.com> References: <39E8DC21C2AFC6499180B85A6154000503D04138@34093-C3-EVS3.exchange.rackspace.com> Message-ID: On Mar 6, 2009, at 1:44 PM, Gavin Williams wrote: > NRPE command is defined as: > command[check_oracle]=/usr/local/nagios/libexec/check_oracle.pl -ch > $ARG1$ -db $ARG2$ -w $ARG3$ -c $ARG4$ Change this to the following to capture STDERR; you'll probably see something useful. I'm going to bet it's an oracle environment issue. It's come up before and the archives can probably provide further insight (I don't have experience with it beyond this list). command[check_oracle]=/usr/local/nagios/libexec/check_oracle.pl -ch $ARG1$ -db $ARG2$ -w $ARG3$ -c $ARG4$ 2>&1 -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lee at dropio.com Fri Mar 6 22:55:49 2009 From: lee at dropio.com (Lee Azzarello) Date: Fri, 6 Mar 2009 16:55:49 -0500 Subject: Bulk Disable of Event Handlers? In-Reply-To: <2274b9c30903051532h4f729bcbn3070b0b88aaa201a@mail.gmail.com> References: <16b031c0903051403o20ad5bceg62b6fb231be8134f@mail.gmail.com> <2274b9c30903051532h4f729bcbn3070b0b88aaa201a@mail.gmail.com> Message-ID: <16b031c0903061355g10b5925m1e772acbc0dc8507@mail.gmail.com> Sorry for the misinformation. I would expect that if a service is scheduled to be down, a script which is designed to make sure it's still up would be disabled for that period. Or is it that event handlers are too generic and there could be a situation where you would want event handlers to continue for a down host? -lee On Thu, Mar 5, 2009 at 6:32 PM, Kyle O'Donnell wrote: > downtime does not stop event handlers. > > On Thu, Mar 5, 2009 at 6:18 PM, Jonah Horowitz > wrote: >> >> Does scheduled downtime stop event handlers? ?I didn't think it did. >> >> Jonah >> >> On 3/5/09 2:03 PM, "Lee Azzarello" wrote: >> >> > You can put the services in a service group and schedule downtime for >> > all services in that group. >> > >> > -lee >> > >> > On Thu, Mar 5, 2009 at 4:23 PM, Jonah Horowitz >> > wrote: >> >> I finally took the plunge and set up event handlers on a set of our >> >> webservers. ?It?s great because it restarts the web service >> >> automatically >> >> when there is an issue. ?The problem is, we can?t take them down for >> >> maintenance without Nagios restarting them. ?I know I can disable the >> >> event >> >> handlers across the entire nagios system via the ?Tactical? view. ?Is >> >> there >> >> any way to do it across a service group through the web interface? >> >> >> >> Either through the web or through a command line script would be great. >> >> >> >> If not, I?ll probably write/post my own. >> >> >> >> Thanks, >> >> -- >> >> Jonah Horowitz ? Monitoring Manager ? jhorowitz at looksmart.net >> >> W: 415-348-7694 ? F: 415-348-7033 ? M: 415-513-7202 >> >> LookSmart - Premium and Performance Advertising Solutions >> >> 625 Second Street, San Francisco, CA 94107 >> >> >> >> >> >> >> >> ----------------------------------------------------------------------------->> >> - >> >> Open Source Business Conference (OSBC), March 24-25, 2009, San >> >> Francisco, CA >> >> -OSBC tackles the biggest issue in open source: Open Sourcing the >> >> Enterprise >> >> -Strategies to boost innovation and cut costs with open source >> >> participation >> >> -Receive a $600 discount off the registration fee with the source code: >> >> SFAD >> >> http://p.sf.net/sfu/XcvMzF8H >> >> _______________________________________________ >> >> Nagios-users mailing list >> >> Nagios-users at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> ::: Please include Nagios version, plugin version (-v) and OS when >> >> reporting >> >> any issue. >> >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> > >> > >> > ------------------------------------------------------------------------------ >> > Open Source Business Conference (OSBC), March 24-25, 2009, San >> > Francisco, CA >> > -OSBC tackles the biggest issue in open source: Open Sourcing the >> > Enterprise >> > -Strategies to boost innovation and cut costs with open source >> > participation >> > -Receive a $600 discount off the registration fee with the source code: >> > SFAD >> > http://p.sf.net/sfu/XcvMzF8H >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > ::: Please include Nagios version, plugin version (-v) and OS when >> > reporting >> > any issue. >> > ::: Messages without supporting info will risk being sent to /dev/null >> >> -- >> Jonah Horowitz ? Monitoring Manager ? jhorowitz at looksmart.net >> W: 415-348-7694 ? F: 415-348-7033 ? M: 415-513-7202 >> LookSmart - Premium and Performance Advertising Solutions >> 625 Second Street, San Francisco, CA 94107 >> >> >> >> ------------------------------------------------------------------------------ >> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, >> CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the >> Enterprise >> -Strategies to boost innovation and cut costs with open source >> participation >> -Receive a $600 discount off the registration fee with the source code: >> SFAD >> http://p.sf.net/sfu/XcvMzF8H >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vishal.umbrajkar at gmail.com Sat Mar 7 07:49:16 2009 From: vishal.umbrajkar at gmail.com (vishal umbrajkar) Date: Sat, 7 Mar 2009 12:19:16 +0530 Subject: nrpe client installation on solaris 10 Message-ID: <8c2f49610903062249g54bf611dt1ccbe309cb6264fa@mail.gmail.com> hello , -- Vishal Umbrajkar Essential thing in life is not only conquering but also fighting well. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vishal.umbrajkar at gmail.com Sat Mar 7 07:53:10 2009 From: vishal.umbrajkar at gmail.com (vishal umbrajkar) Date: Sat, 7 Mar 2009 12:23:10 +0530 Subject: Nagios plugin installation on sloaris 10 Message-ID: <8c2f49610903062253k79d9215dlbcd7c6c19ce404c9@mail.gmail.com> hello, Can any one Please tell me the *step by step *procedure to install *nrpe client* and *nagios plugin* installaton method on solaris 9 and solaris 10, I have to monitor *disk usages* on Solaris by Nagios, Thanks in advance.... Regards, -- Vishal Umbrajkar Essential thing in life is not only conquering but also fighting well. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asam30 at gmail.com Sat Mar 7 15:50:17 2009 From: asam30 at gmail.com (asam30 at gmail.com) Date: Sat, 7 Mar 2009 20:20:17 +0530 Subject: Nagios Plugin question In-Reply-To: <8147CCE3C4A8764DA9980125EE70E8239A2102@nuexchg.norwich.edu> References: <8adc88580902121516i25459ba1r5761c7ced95b5160@mail.gmail.com> <45A75436-64BA-4261-961A-E1A1C538D687@ena.com> <6db4a4200903060940t54094d14i87785a2647b4eec3@mail.gmail.com> <8147CCE3C4A8764DA9980125EE70E8239A2102@nuexchg.norwich.edu> Message-ID: <25251aec0903070650o5192d519h161093be68b8c390@mail.gmail.com> This is most likely because your mysql was compiled with sun cc with non-gcc compiler flags. Two options here: 1. If you don't need check_mysql*, just configure with "--without-mysql" 2. If you need mysql checks, edit plugins/Makefile, look for MYSQLCFLAGS and remove any non-gcc flag there. shankar On Sat, Mar 7, 2009 at 12:55 AM, James Pratt wrote: > > > > -----Original Message----- > > From: syed jafar [mailto:syed_jafar at hotmail.com] > > Sent: Friday, March 06, 2009 2:16 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Nagios Plugin question > > > > I am installing Nagios 1.4.1 plugin on a Solaris 10 box and when I > run make or make > > all I this get error message. Any ideas.... > > > > Thanks, > > Syed Jafar > > > > # make > > > > > It appears you are missing mysql-devel pkg, or whatever it is named on > sunfreeware.com these days... > > > Regards, > Jamie > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Shankar Asam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From syed_jafar at hotmail.com Sat Mar 7 17:32:15 2009 From: syed_jafar at hotmail.com (syed jafar) Date: Sat, 7 Mar 2009 16:32:15 +0000 Subject: Nagios Plugin question In-Reply-To: <25251aec0903070650o5192d519h161093be68b8c390@mail.gmail.com> References: <8adc88580902121516i25459ba1r5761c7ced95b5160@mail.gmail.com> <45A75436-64BA-4261-961A-E1A1C538D687@ena.com> <6db4a4200903060940t54094d14i87785a2647b4eec3@mail.gmail.com> <8147CCE3C4A8764DA9980125EE70E8239A2102@nuexchg.norwich.edu> <25251aec0903070650o5192d519h161093be68b8c390@mail.gmail.com> Message-ID: Thanks, I will try this out. Syed Jafar Date: Sat, 7 Mar 2009 20:20:17 +0530 Subject: Re: [Nagios-users] Nagios Plugin question From: asam30 at gmail.com To: jpratt at norwich.edu CC: syed_jafar at hotmail.com; nagios-users at lists.sourceforge.net This is most likely because your mysql was compiled with sun cc with non-gcc compiler flags. Two options here: 1. If you don't need check_mysql*, just configure with "--without-mysql" 2. If you need mysql checks, edit plugins/Makefile, look for MYSQLCFLAGS and remove any non-gcc flag there. shankar On Sat, Mar 7, 2009 at 12:55 AM, James Pratt wrote: > -----Original Message----- > From: syed jafar [mailto:syed_jafar at hotmail.com] > Sent: Friday, March 06, 2009 2:16 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios Plugin question > > I am installing Nagios 1.4.1 plugin on a Solaris 10 box and when I run make or make > all I this get error message. Any ideas.... > > Thanks, > Syed Jafar > > # make > It appears you are missing mysql-devel pkg, or whatever it is named on sunfreeware.com these days... Regards, Jamie ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Shankar Asam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From np121 at hotmail.com Sun Mar 8 11:18:56 2009 From: np121 at hotmail.com (Nick Price) Date: Sun, 8 Mar 2009 10:18:56 +0000 Subject: Timeperiods Message-ID: Hello Im running nagios 3.06 I have a host that needs to have 2 people in the notifications. The notification for the 2 people should ONLY be sent out during work hours. (mon-fri 9:00-17:00) The problem is that the 2 people are in different world timezones How do I configure nagios so it can handle this difference in timezones for the notification for the same host I dont want to run several instances of nagios I need everything in one web interface at the end Also is there a maximum to how many hosts and / or services that can be monitored by nagios Many thanks Nick _________________________________________________________________ Hotmail? is up to 70% faster. Now good news travels really fast. http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_032009 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalpatel1982 at yahoo.co.in Sun Mar 8 12:26:51 2009 From: kaushalpatel1982 at yahoo.co.in (Kaushal Patel) Date: Sun, 8 Mar 2009 16:56:51 +0530 (IST) Subject: Help to configure Cyberoam UTM on nagios Message-ID: <183279.66193.qm@web95314.mail.in2.yahoo.com> Hi all, I am using nagios for my router and switch monitoring. I also have Cyberoam UTM in my network. it supports readonly SNMP. Cyberoam guys provided me MIB for UTM and it is working with windows PC. I tried to configure it on nagios but failed. Please help me to configure it step by step. Thanks in advance. Regards, Kaushal Patel Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sun Mar 8 17:14:29 2009 From: marc at ena.com (Marc Powell) Date: Sun, 8 Mar 2009 11:14:29 -0500 Subject: Timeperiods In-Reply-To: References: Message-ID: On Mar 8, 2009, at 5:18 AM, Nick Price wrote: > How do I configure nagios so it can handle this difference in > timezones for the notification for the same host I don't know if there is a better way to do this but what comes to mind first is to just create two different timeperiods and assign them to each contact. Assume one person and the nagios server are in CST and someone else is UTC -- define timeperiod{ name workhours-cst timeperiod_name workhours-cst monday 09:00-17:00 tuesday 09:00-17:00 wednesday 09:00-17:00 thursday 09:00-17:00 friday 09:00-17:00 } define timeperiod{ name workhours-utc timeperiod_name workhours-utc monday 14:00-22:00 tuesday 14:00-22:00 wednesday 14:00-22:00 thursday 14:00-22:00 friday 14:00-22:00 } You'd have to change the UTC guy 2x a year to deal with DST time changes if you honor that in your timezone. There are much more complex time definitions you could create that could deal with DST if you wanted. > Also is there a maximum to how many hosts and / or services that can > be monitored by nagios Depends a lot on hardware you're running it on and the types of checks you are using. You'll hit some points where you'll probably need to change your way of doing things (i.e. at ~10,000 active checks you might need to start looking at moving those to passive checks), etc. There are others on the list running instances with many 10's of thousands of checks that might be able to offer insight into those kinds of things. If you expect to grow large, I'd recommend starting out with a simple distributed setup and expand as needed. -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sun Mar 8 17:21:35 2009 From: marc at ena.com (Marc Powell) Date: Sun, 8 Mar 2009 11:21:35 -0500 Subject: Help to configure Cyberoam UTM on nagios In-Reply-To: <183279.66193.qm@web95314.mail.in2.yahoo.com> References: <183279.66193.qm@web95314.mail.in2.yahoo.com> Message-ID: On Mar 8, 2009, at 6:26 AM, Kaushal Patel wrote: > Hi all, > > I am using nagios for my router and switch monitoring. I also have > Cyberoam UTM in my network. it supports readonly SNMP. Cyberoam guys > provided me MIB for UTM and it is working with windows PC. I tried > to configure it on nagios but failed. > > Please help me to configure it step by step. (pre-requisites) . read the nagios documentation . examine the config files you are already using. . identify the MIB you want to monitor. . re-read the nagios documentation . read the check_snmp help (/path/to/plugins/check_snmp --help) (actual addition to nagios) . create a command{} definition to monitor that MIB using check_snmp . create a host{} definition for the device . create a service{} definition for that MIB, using the check_command you created above and referencing the host_name above . reload nagios . ... . Profit! -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lecb79 at gmail.com Sun Mar 8 18:00:35 2009 From: lecb79 at gmail.com (Eduardo Barreto) Date: Sun, 8 Mar 2009 14:00:35 -0300 Subject: Host dependencies Message-ID: I need an explain on how to exactly set the hosts dependencies, If I got a server linked to switch and that switch linked to a router, do I have to set the server to be a host dependent of the router or just for the switch? If the switch fails nagios won?t alert me about the server but only for the switch, isn?t it? To work like that what option of notification should I configure? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Sun Mar 8 19:19:37 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Sun, 8 Mar 2009 18:19:37 +0000 Subject: Host dependencies In-Reply-To: References: Message-ID: <765d77c80903081119q1b52bf67i8d5cf535e01cac3f@mail.gmail.com> 2009/3/8 Eduardo Barreto : > I need an explain on how to exactly set the hosts dependencies, If I got a > server linked to switch and that switch linked to a router, do I have to set > the server to be a host dependent of the router or just for the switch? > > If the switch fails nagios won?t alert me about the server but only for the > switch, isn?t it? Normally you should use parent relationships instead of host dependencies. See http://nagios.sourceforge.net/docs/3_0/networkreachability.html Cheers, Jim ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From np121 at hotmail.com Sun Mar 8 22:41:05 2009 From: np121 at hotmail.com (Nick) Date: Sun, 8 Mar 2009 22:41:05 +0100 Subject: FW: Timeperiods Message-ID: That is one way of doing it, means changing 2 times per year for DST. Is there a nagios "wish list" I can send this to and maybe in a future version this can be programmed in. Many thanks Nick On Mar 8, 2009, at 5:18 AM, Nick Price wrote: > How do I configure nagios so it can handle this difference in > timezones for the notification for the same host I don't know if there is a better way to do this but what comes to mind first is to just create two different timeperiods and assign them to each contact. Assume one person and the nagios server are in CST and someone else is UTC -- define timeperiod{ name workhours-cst timeperiod_name workhours-cst monday 09:00-17:00 tuesday 09:00-17:00 wednesday 09:00-17:00 thursday 09:00-17:00 friday 09:00-17:00 } define timeperiod{ name workhours-utc timeperiod_name workhours-utc monday 14:00-22:00 tuesday 14:00-22:00 wednesday 14:00-22:00 thursday 14:00-22:00 friday 14:00-22:00 } You'd have to change the UTC guy 2x a year to deal with DST time changes if you honor that in your timezone. There are much more complex time definitions you could create that could deal with DST if you wanted. > Also is there a maximum to how many hosts and / or services that can > be monitored by nagios Depends a lot on hardware you're running it on and the types of checks you are using. You'll hit some points where you'll probably need to change your way of doing things (i.e. at ~10,000 active checks you might need to start looking at moving those to passive checks), etc. There are others on the list running instances with many 10's of thousands of checks that might be able to offer insight into those kinds of things. If you expect to grow large, I'd recommend starting out with a simple distributed setup and expand as needed. -- Marc ---------------------------------------------------------------------------- -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdondich at gmail.com Mon Mar 9 05:12:07 2009 From: tdondich at gmail.com (Taylor Dondich) Date: Sun, 8 Mar 2009 21:12:07 -0700 Subject: Lilac, a Nagios 3.x Configuration Tool, has released 1.0 Release Candidate 1. Message-ID: <3d2eb72a0903082112k21f1f1dbya052880d500e7102@mail.gmail.com> Lilac, the Nagios configuration tool with the MOST coverage of 3.x features, has released 1.0 release candidate 1. This version features: - Multiple Template Inheritance - Advanced Timeperiod Definitions - Enhanced Templates (Attach services, dependencies, escalations to host templates, something you CAN'T do with regular Nagios config files) - Robust Auto-Discovery system - Import existing Nagios 2.x and Nagios 3.x configurations - Import configurations from existing Fruity installations - Export to Nagios 3.x, perform pre-flight checks and restart Nagios at will - Background Import/Export/Auto-Discovery processes (no need to wait at the browser for your exports/imports/discovery processes to take place) Take a look, join the community, and help build the most powerful configuration tool for Nagios out there! Downloads and Documentation is available at www.lilacplatform.com -- Taylor Dondich Check out Lilac, a configuration tool for Nagios 3 at http://www.lilacplatform.com Check out my Shortcut with O'Reilly Press: Network Monitoring with Nagios: http://oreilly.com/catalog/9780596528195/index.html ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james.mohr at elaxy.com Mon Mar 9 12:51:38 2009 From: james.mohr at elaxy.com (Mohr James) Date: Mon, 9 Mar 2009 12:51:38 +0100 Subject: Specifying order of notifications Message-ID: Hi All! Is there any way of specifying the order in which notifications are sent to contacts. We send out SMSs to several addresses one of which should always be the first. This contact is first in the list in the contactgroup and first in the contact file, but still is not the first one to which the SMS is sent. Is there anyway of defining this? Regards, Jim Mohr -- Diese E-Mail enth?lt vertrauliche und/oder rechtlich gesch?tzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrt?mlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From satish at linuxbug.org Mon Mar 9 13:26:26 2009 From: satish at linuxbug.org (Satish Patel) Date: Mon, 9 Mar 2009 08:26:26 -0400 Subject: Help to configure Cyberoam UTM on nagios In-Reply-To: References: <183279.66193.qm@web95314.mail.in2.yahoo.com> Message-ID: <4B76B5E0AC95415CB97CC6ECE1D81366@linuxbug> i guess put MIB file inside the /usr/share/net-snmpd/mibs folder and restart snmp. ----- Original Message ----- From: "Marc Powell" To: "Nagios Users Mailinglist" Sent: Sunday, March 08, 2009 12:21 PM Subject: Re: [Nagios-users] Help to configure Cyberoam UTM on nagios > > On Mar 8, 2009, at 6:26 AM, Kaushal Patel wrote: > >> Hi all, >> >> I am using nagios for my router and switch monitoring. I also have >> Cyberoam UTM in my network. it supports readonly SNMP. Cyberoam guys >> provided me MIB for UTM and it is working with windows PC. I tried >> to configure it on nagios but failed. >> >> Please help me to configure it step by step. > > > (pre-requisites) > . read the nagios documentation > . examine the config files you are already using. > . identify the MIB you want to monitor. > . re-read the nagios documentation > . read the check_snmp help (/path/to/plugins/check_snmp --help) > > (actual addition to nagios) > . create a command{} definition to monitor that MIB using check_snmp > . create a host{} definition for the device > . create a service{} definition for that MIB, using the check_command > you created above and referencing the host_name above > . reload nagios > . ... > . Profit! > > -- > Marc > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyleodonnell at gmail.com Mon Mar 9 13:32:09 2009 From: kyleodonnell at gmail.com (Kyle O'Donnell) Date: Mon, 9 Mar 2009 08:32:09 -0400 Subject: Specifying order of notifications In-Reply-To: References: Message-ID: <2274b9c30903090532l1846852ckfae2d45a9f5d9a9a@mail.gmail.com> read up on escalations http://nagios.sourceforge.net/docs/3_0/escalations.html On 3/9/09, Mohr James wrote: > Hi All! > > Is there any way of specifying the order in which notifications are sent > to contacts. We send out SMSs to several addresses one of which should > always be the first. This contact is first in the list in the > contactgroup and first in the contact file, but still is not the first > one to which the SMS is sent. Is there anyway of defining this? > > Regards, > > Jim Mohr > > > > -- > Diese E-Mail enth?lt vertrauliche und/oder rechtlich gesch?tzte > Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail > irrt?mlich erhalten haben, informieren Sie bitte sofort den Absender und > vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte > Weitergabe dieser Mail ist nicht gestattet. > > This e-mail may contain confidential and/or privileged information. If you > are not the intended recipient (or have received this e-mail in error) > please notify the sender immediately and destroy this e-mail. Any > unauthorized copying, disclosure or distribution of the material in this > e-mail is strictly forbidden. > > > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lecb79 at gmail.com Mon Mar 9 13:51:58 2009 From: lecb79 at gmail.com (Eduardo Barreto) Date: Mon, 9 Mar 2009 09:51:58 -0300 Subject: Host dependencies In-Reply-To: <765d77c80903081119q1b52bf67i8d5cf535e01cac3f@mail.gmail.com> References: <765d77c80903081119q1b52bf67i8d5cf535e01cac3f@mail.gmail.com> Message-ID: Jim, I already have configured the parent relationship, and for visualization (status map), the network structure is exactly what it is. I do now that the host dependency works for notify exactly where the problem is, that's the reason, I send the last message to get some help on how to set it. I do appreciate your help. Eduardo On Sun, Mar 8, 2009 at 3:19 PM, Jim Avery wrote: > 2009/3/8 Eduardo Barreto : > > I need an explain on how to exactly set the hosts dependencies, If I got > a > > server linked to switch and that switch linked to a router, do I have to > set > > the server to be a host dependent of the router or just for the switch? > > > > If the switch fails nagios won?t alert me about the server but only for > the > > switch, isn?t it? > > Normally you should use parent relationships instead of host dependencies. > > See http://nagios.sourceforge.net/docs/3_0/networkreachability.html > > Cheers, > > Jim > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Mon Mar 9 14:22:51 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Mon, 9 Mar 2009 09:22:51 -0400 Subject: logout for nagios web interface Message-ID: <6db4a4200903090622w5498468eo1f092ba003b60e3e@mail.gmail.com> All, Is it possible to create logout for nagios web interface. As far as I understand, it is just matter of resetting the $_REMOTE_USER apache variable. Can someone please provide some guidance on this. Thanks -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rlwhite at illinois.edu Mon Mar 9 14:23:53 2009 From: rlwhite at illinois.edu (White, Richard L) Date: Mon, 9 Mar 2009 08:23:53 -0500 Subject: encrypting or protecting nagios config files In-Reply-To: <4F9C3ACB9A61D74ABF0D161858A10B2FD2A826@exch1.ea.corp.com> References: <6db4a4200903060855sf967e31s6df68783ada877e7@mail.gmail.com> <4F9C3ACB9A61D74ABF0D161858A10B2FD2A826@exch1.ea.corp.com> Message-ID: <16D997EBBFD7C147A9B068D6A59BDAC209156670F5@DSMAILBOX.ad.uiuc.edu> I'm new so forgive a dumb question... Is the resource.cfg on the monitored system or on the Nagios server? If it is on the Nagios server, will the information be sent in plain text to the monitored system? Rich White Service Manager -- Illinois Compass University of Illinois at Urbana-Champaign ________________________________ From: Peter Lecki [mailto:plecki at eagency.com] Sent: Friday, March 06, 2009 11:19 AM To: shadih rahman; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] encrypting or protecting nagios config files You can use the resource.cfg file to store credentials, which is a secured file. Credentials can then be passed as variables to service definitions such as $PASSWORD1$ and it will pull the actual password string from the secured resource file. Peter. ________________________________ From: shadih rahman [mailto:shadhin71 at gmail.com] Sent: Friday, March 06, 2009 8:55 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] encrypting or protecting nagios config files All, in commands.cfg or in service definition file we have to enter password community string and such. I was wondering if there is any way to encrypt that or setup a system where those information relayed to nagios process in the memory and there is no way to access them? Please advise on this. Thanks -- Cordially, Shadhin Rahman -- ea926h -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Mar 9 14:53:09 2009 From: marc at ena.com (Marc Powell) Date: Mon, 9 Mar 2009 08:53:09 -0500 Subject: Host dependencies In-Reply-To: References: <765d77c80903081119q1b52bf67i8d5cf535e01cac3f@mail.gmail.com> Message-ID: <0EC3377F-1B3E-4C88-90B7-40F00C29C7F6@ena.com> On Mar 9, 2009, at 7:51 AM, Eduardo Barreto wrote: > Jim, > > I already have configured the parent relationship, and for > visualization (status map), the network structure is exactly what it > is. I do now that the host dependency works for notify exactly where > the problem is, that's the reason, I send the last message to get > some help on how to set it. As Jim indicated, parenting does this better. http://nagios.sourceforge.net/docs/3_0/networkreachability.html If your switch fails, it's children will be identified as UNREACHABLE instead of DOWN. If you don't want notifications for those children, don't specify unreachable as a wanted notification_option. Are you seeing this behavior when the switch goes down? -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Mar 9 14:59:25 2009 From: marc at ena.com (Marc Powell) Date: Mon, 9 Mar 2009 08:59:25 -0500 Subject: logout for nagios web interface In-Reply-To: <6db4a4200903090622w5498468eo1f092ba003b60e3e@mail.gmail.com> References: <6db4a4200903090622w5498468eo1f092ba003b60e3e@mail.gmail.com> Message-ID: <2907828C-B4E0-4E73-A5CC-CB2C8EC20614@ena.com> On Mar 9, 2009, at 8:22 AM, shadih rahman wrote: > All, > Is it possible to create logout for nagios web interface. As far > as I understand, it is just matter of resetting the $_REMOTE_USER > apache variable. Can someone please provide some guidance on this. > Thanks This is a general .htaccess issue. Generally speaking, you need to set up another .htaccess protected directory, _in the same realm_ and provide a link to that protected directory with a valid login passed within the link. The Goog provides many examples. http://www.google.com/search?q=htaccess+logout -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Mar 9 15:03:49 2009 From: marc at ena.com (Marc Powell) Date: Mon, 9 Mar 2009 09:03:49 -0500 Subject: encrypting or protecting nagios config files In-Reply-To: <16D997EBBFD7C147A9B068D6A59BDAC209156670F5@DSMAILBOX.ad.uiuc.edu> References: <6db4a4200903060855sf967e31s6df68783ada877e7@mail.gmail.com> <4F9C3ACB9A61D74ABF0D161858A10B2FD2A826@exch1.ea.corp.com> <16D997EBBFD7C147A9B068D6A59BDAC209156670F5@DSMAILBOX.ad.uiuc.edu> Message-ID: On Mar 9, 2009, at 8:23 AM, White, Richard L wrote: > I?m new so forgive a dumb question? > Is the resource.cfg on the monitored system or on the Nagios server? Nagios server. > If it is on the Nagios server, will the information be sent in plain > text to the monitored system? Depends on your use. If you're using check_by_ssh or NRPE with SSL, then no, the transport between the nagios server and the remote server would be encrypted. If you need a more specific answers, provide more specific information/ scenarios. -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Mon Mar 9 15:06:47 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Mon, 9 Mar 2009 10:06:47 -0400 Subject: encrypting or protecting nagios config files In-Reply-To: <16D997EBBFD7C147A9B068D6A59BDAC209156670F5@DSMAILBOX.ad.uiuc.edu> References: <6db4a4200903060855sf967e31s6df68783ada877e7@mail.gmail.com> <4F9C3ACB9A61D74ABF0D161858A10B2FD2A826@exch1.ea.corp.com> <16D997EBBFD7C147A9B068D6A59BDAC209156670F5@DSMAILBOX.ad.uiuc.edu> Message-ID: <6db4a4200903090706r6d27d396ld2316475430f88d0@mail.gmail.com> Richard, resource.cfg is on nagios server. I have implemented as Peter suggested with resource.cfg and it works fine for me. On Mon, Mar 9, 2009 at 9:23 AM, White, Richard L wrote: > I?m new so forgive a dumb question? > > Is the resource.cfg on the monitored system or on the Nagios server? > > If it is on the Nagios server, will the information be sent in plain text > to the monitored system? > > > > Rich White > Service Manager -- Illinois Compass > University of Illinois at Urbana-Champaign > ------------------------------ > > *From:* Peter Lecki [mailto:plecki at eagency.com] > *Sent:* Friday, March 06, 2009 11:19 AM > *To:* shadih rahman; nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] encrypting or protecting nagios config files > > > > You can use the resource.cfg file to store credentials, which is a secured > file. Credentials can then be passed as variables to service definitions > such as $PASSWORD1$ and it will pull the actual password string from the > secured resource file. > > > > Peter. > > > > > ------------------------------ > > *From:* shadih rahman [mailto:shadhin71 at gmail.com] > *Sent:* Friday, March 06, 2009 8:55 AM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] encrypting or protecting nagios config files > > All, > in commands.cfg or in service definition file we have to enter > password community string and such. I was wondering if there is any way to > encrypt that or setup a system where those information relayed to nagios > process in the memory and there is no way to access them? Please advise on > this. Thanks > > -- > Cordially, > Shadhin Rahman > -- ea926h > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rlwhite at illinois.edu Mon Mar 9 15:15:52 2009 From: rlwhite at illinois.edu (White, Richard L) Date: Mon, 9 Mar 2009 09:15:52 -0500 Subject: encrypting or protecting nagios config files In-Reply-To: References: <6db4a4200903060855sf967e31s6df68783ada877e7@mail.gmail.com> <4F9C3ACB9A61D74ABF0D161858A10B2FD2A826@exch1.ea.corp.com> <16D997EBBFD7C147A9B068D6A59BDAC209156670F5@DSMAILBOX.ad.uiuc.edu> Message-ID: <16D997EBBFD7C147A9B068D6A59BDAC20915667143@DSMAILBOX.ad.uiuc.edu> Thanks, you answered my question. Rich White Service Manager -- Illinois Compass University of Illinois at Urbana-Champaign -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Monday, March 09, 2009 9:04 AM To: nagios-users ML Subject: Re: [Nagios-users] encrypting or protecting nagios config files On Mar 9, 2009, at 8:23 AM, White, Richard L wrote: > I'm new so forgive a dumb question... > Is the resource.cfg on the monitored system or on the Nagios server? Nagios server. > If it is on the Nagios server, will the information be sent in plain > text to the monitored system? Depends on your use. If you're using check_by_ssh or NRPE with SSL, then no, the transport between the nagios server and the remote server would be encrypted. If you need a more specific answers, provide more specific information/ scenarios. -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jaiho8 at gmail.com Mon Mar 9 15:27:27 2009 From: jaiho8 at gmail.com (Jai Ram) Date: Mon, 9 Mar 2009 10:27:27 -0400 Subject: ANY HELP?? Message-ID: <9cfff3f00903090727k1217feacxb5760eb5513d9ed0@mail.gmail.com> Hello, I am installing nagios 3.10 on Solaris10 OS. When i run make all am getting the below error. !297 # make all cd ./base && make gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c ../common/snprintf.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o macros-base.o netutils.o notifications.o sehandlers.o skiplist.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o ../common/snprintf.o -lm -lpthread -ldl -lrt gcc: ../common/snprintf.o: No such file or directory *** Error code 1 make: Fatal error: Command failed for target `nagios' Current working directory /tmp/nagios-3.1.0/base *** Error code 1 make: Fatal error: Command failed for target `all' Can someone explain me about this. Thanks Jai. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srianirudh at gmail.com Mon Mar 9 15:42:54 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Mon, 9 Mar 2009 10:42:54 -0400 Subject: ping Message-ID: <699b436a0903090742v4b55917ama32de0accb4410c5@mail.gmail.com> Hey Folks, Can anyone let me know what is the excat difference between check_ping and check_fping. I searched all the resourses but couldnt get the correct explanation. Thanks in advance -- Anirudh Srinivasan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp-intl.com Mon Mar 9 15:46:55 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Mon, 9 Mar 2009 14:46:55 +0000 Subject: Nconf - failure to work with Message-ID: <200903091446.55644.assaf.flatto@ssp-intl.com> Hello List I'd like to ask if anyone has been able to install and work with the latest version nconf ? I downloaded the latest version and followed the instructions , but i am unable to get the utility to work . where i am trying to run the INSTALL.php , i am getting the following error : Premature end of script headers: INSTALL.php Any ideas ? -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcall at verio.net Mon Mar 9 15:46:08 2009 From: jcall at verio.net (Jonathan Call) Date: Mon, 9 Mar 2009 10:46:08 -0400 Subject: Lilac, a Nagios 3.x Configuration Tool, has released 1.0 Release Candidate 1. In-Reply-To: <3d2eb72a0903082112k21f1f1dbya052880d500e7102@mail.gmail.com> References: <3d2eb72a0903082112k21f1f1dbya052880d500e7102@mail.gmail.com> Message-ID: <04F3233F47E2714CB7431AE913E57E770339ABDC@IAD-WPRD-XCHB02.corp.verio.net> I don't see it mentioned anywhere so I thought I would ask, Does Lilac support distributed Nagios deployments? Jonathan > -----Original Message----- > From: Taylor Dondich [mailto:tdondich at gmail.com] > Sent: Sunday, March 08, 2009 10:12 PM > To: nagios-user Mailinglist > Subject: [Nagios-users] Lilac, a Nagios 3.x Configuration Tool,has > released 1.0 Release Candidate 1. > > Lilac, the Nagios configuration tool with the MOST coverage of 3.x > features, has released 1.0 release candidate 1. This version > features: > - Multiple Template Inheritance > - Advanced Timeperiod Definitions > - Enhanced Templates (Attach services, dependencies, escalations to > host templates, something you CAN'T do with regular Nagios config > files) > - Robust Auto-Discovery system > - Import existing Nagios 2.x and Nagios 3.x configurations > - Import configurations from existing Fruity installations > - Export to Nagios 3.x, perform pre-flight checks and restart Nagios at > will > - Background Import/Export/Auto-Discovery processes (no need to wait > at the browser for your exports/imports/discovery processes to take > place) > > Take a look, join the community, and help build the most powerful > configuration tool for Nagios out there! > > Downloads and Documentation is available at www.lilacplatform.com > > -- > Taylor Dondich > Check out Lilac, a configuration tool for Nagios 3 at > http://www.lilacplatform.com > > Check out my Shortcut with O'Reilly Press: > Network Monitoring with Nagios: > http://oreilly.com/catalog/9780596528195/index.html > > ------------------------------------------------------------------------ -- > ---- > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. Thank you. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Mon Mar 9 16:18:41 2009 From: nccomp at gmail.com (Andrew Davis) Date: Mon, 09 Mar 2009 11:18:41 -0400 Subject: Nagios, memory tests, and Linux hosts... Message-ID: <49B53351.202@gmail.com> So along with disk and CPU tests, I want to test for memory usage. I pulled a perl memory script off Nagios Exchange and was quickly reminded of how linux handles memory... how it leaves whatever has been used previously as "reserved". Thus, a server with 4Gb of RAM may show that 3.95Gb is in use, but in reality, more like 512Mb is in use and the swap usage is under 10%, if used at all, confirming the "actual versus reserved" issue. So how are you guys testing for memory on Linux boxes that flag it as reserved when its not? Are there any scripts on Nagios Exchange for memory testing that are better than others? -- A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Albert.Shih at obspm.fr Mon Mar 9 16:22:18 2009 From: Albert.Shih at obspm.fr (Albert Shih) Date: Mon, 9 Mar 2009 16:22:18 +0100 Subject: ping In-Reply-To: <699b436a0903090742v4b55917ama32de0accb4410c5@mail.gmail.com> References: <699b436a0903090742v4b55917ama32de0accb4410c5@mail.gmail.com> Message-ID: <20090309152218.GD72351@obspm.fr> Le 09/03/2009 ? 10:42:54-0400, Anirudh Srinivasan a ?crit > Hey Folks, > ? > Can anyone let me know what is the excat difference between check_ping and > check_fping. I searched all the resourses but couldnt get the correct > explanation. ping use ?ping? and fping use ?fping? to do the task Use ping if it's work for you. For example if you using nagios in a jail (freebsd) it's more easy to use fping insted ping Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Lun 9 mar 2009 16:20:41 CET ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Albert.Shih at obspm.fr Mon Mar 9 16:50:58 2009 From: Albert.Shih at obspm.fr (Albert Shih) Date: Mon, 9 Mar 2009 16:50:58 +0100 Subject: Strange thing about boot Message-ID: <20090309155058.GF72351@obspm.fr> Hi all I've some problem with one nrpe-plugin write by...me. In this plugin I check with md5 the output of some command (in fact a check of the status of my raid card). My plugin is launch by nrpe check_md5 -f command_with_path -checksum XXXXX if the if command_with_path |md5sum = XXXX return everything is OK else return NO-OK This plugin work fine until...I reboot the server. After each reboot the nagios server tell me the checksum is wrong, but if I launch the plugin manually it's working. But if I launch it from nagios-server I've got NOOK. But If I restart nrpe...everything working...until next reboot. Anyone have a idea ? Regards JAS NB: Nagios server : 3.0.6 run on FreeBSD 7.1 nrpe-2.12 on FreeBSD 7.1 -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex T?l?phone : 01 45 07 76 26 Heure local/Local time: Lun 9 mar 2009 16:44:41 CET ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justinp at newmediagateway.com Mon Mar 9 16:56:22 2009 From: justinp at newmediagateway.com (Justin Pasher) Date: Mon, 09 Mar 2009 10:56:22 -0500 Subject: Nagios, memory tests, and Linux hosts... In-Reply-To: <49B53351.202@gmail.com> References: <49B53351.202@gmail.com> Message-ID: <49B53C26.2030004@newmediagateway.com> Andrew Davis wrote: > So along with disk and CPU tests, I want to test for memory usage. I > pulled a perl memory script off Nagios Exchange and was quickly > reminded of how linux handles memory... how it leaves whatever has > been used previously as "reserved". Thus, a server with 4Gb of RAM may > show that 3.95Gb is in use, but in reality, more like 512Mb is in use > and the swap usage is under 10%, if used at all, confirming the > "actual versus reserved" issue. So how are you guys testing for memory > on Linux boxes that flag it as reserved when its not? Are there any > scripts on Nagios Exchange for memory testing that are better than others? I use check_memory.pl. It properly takes buffers and cache into consideration (using the "free" command). http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1433.html;d=1 -- Justin Pasher ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdondich at gmail.com Mon Mar 9 17:27:52 2009 From: tdondich at gmail.com (Taylor Dondich) Date: Mon, 9 Mar 2009 09:27:52 -0700 Subject: Lilac, a Nagios 3.x Configuration Tool, has released 1.0 Release Candidate 1. In-Reply-To: <04F3233F47E2714CB7431AE913E57E770339ABDC@IAD-WPRD-XCHB02.corp.verio.net> References: <3d2eb72a0903082112k21f1f1dbya052880d500e7102@mail.gmail.com> <04F3233F47E2714CB7431AE913E57E770339ABDC@IAD-WPRD-XCHB02.corp.verio.net> Message-ID: <3d2eb72a0903090927u5036afbfqef43f77eb7533432@mail.gmail.com> That's on the map for 1.2. The first thing to determine is, what is the best way to handle distributed environments properly. Do we have a single master with multiple slave monitoring servers? How do most people do distributed monitoring? Taylor On Mon, Mar 9, 2009 at 7:46 AM, Jonathan Call wrote: > I don't see it mentioned anywhere so I thought I would ask, > > Does Lilac support distributed Nagios deployments? > > Jonathan > >> -----Original Message----- >> From: Taylor Dondich [mailto:tdondich at gmail.com] >> Sent: Sunday, March 08, 2009 10:12 PM >> To: nagios-user Mailinglist >> Subject: [Nagios-users] Lilac, a Nagios 3.x Configuration Tool,has >> released 1.0 Release Candidate 1. >> >> Lilac, the Nagios configuration tool with the MOST coverage of 3.x >> features, has released 1.0 release candidate 1. ?This version >> features: >> ?- Multiple Template Inheritance >> ?- Advanced Timeperiod Definitions >> ?- Enhanced Templates (Attach services, dependencies, escalations to >> host templates, something you CAN'T do with regular Nagios config >> files) >> ?- Robust Auto-Discovery system >> ?- Import existing Nagios 2.x and Nagios 3.x configurations >> ?- Import configurations from existing Fruity installations >> ?- Export to Nagios 3.x, perform pre-flight checks and restart Nagios > at >> will >> ?- Background Import/Export/Auto-Discovery processes (no need to wait >> at the browser for your exports/imports/discovery processes to take >> place) >> >> Take a look, join the community, and help build the most powerful >> configuration tool for Nagios out there! >> >> Downloads and Documentation is available at www.lilacplatform.com >> >> -- >> Taylor Dondich >> Check out Lilac, a configuration tool for Nagios 3 at >> http://www.lilacplatform.com >> >> Check out my Shortcut with O'Reilly Press: >> Network Monitoring with Nagios: >> http://oreilly.com/catalog/9780596528195/index.html >> >> > ------------------------------------------------------------------------ > -- >> ---- >> Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, >> CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the >> Enterprise >> -Strategies to boost innovation and cut costs with open source >> participation >> -Receive a $600 discount off the registration fee with the source > code: >> SFAD >> http://p.sf.net/sfu/XcvMzF8H >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. ?Thank you. > -- Taylor Dondich Check out Lilac, a configuration tool for Nagios 3 at http://www.lilacplatform.com Check out my Shortcut with O'Reilly Press: Network Monitoring with Nagios: http://oreilly.com/catalog/9780596528195/index.html ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From durendel at gmail.com Mon Mar 9 17:33:53 2009 From: durendel at gmail.com (Victor Lee) Date: Mon, 9 Mar 2009 12:33:53 -0400 Subject: Adding hosts to new installation Message-ID: <586806120903090933l2ca5898ew7ef4561be0e19ba2@mail.gmail.com> I'm pretty new at this. I just installed Nagios 3.X on Ubuntu 8.10. I have my first host (Cisco 6509) being polled. The quick start guide worked fine and I followed the instructions on monitoring routers and switches. However how do I get Nagios to monitor other switches? Do I just keep adding lines to the switch.cfg template? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp-intl.com Mon Mar 9 17:50:28 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Mon, 9 Mar 2009 16:50:28 +0000 Subject: Adding hosts to new installation In-Reply-To: <586806120903090933l2ca5898ew7ef4561be0e19ba2@mail.gmail.com> References: <586806120903090933l2ca5898ew7ef4561be0e19ba2@mail.gmail.com> Message-ID: <200903091650.29005.assaf.flatto@ssp-intl.com> Hello you might want to take a look here http://nagios.sourceforge.net/docs/3_0/config.html read the way nagios is configured and you'll understand how to add hosts and services. Assaf On Monday 09 March 2009 16:33:53 Victor Lee wrote: > I'm pretty new at this. I just installed Nagios 3.X on Ubuntu 8.10. I have > my first host (Cisco 6509) being polled. The quick start guide worked fine > and I followed the instructions on monitoring routers and switches. However > how do I get Nagios to monitor other switches? Do I just keep adding lines > to the switch.cfg template? -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Mon Mar 9 18:31:40 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Mon, 9 Mar 2009 13:31:40 -0400 Subject: check_ftp Message-ID: <6db4a4200903091031x6e7db12fjcee6690a43a31025@mail.gmail.com> Can someone please advise how to monitor ftpd service with username password and download a file. The check_ftp plugins seems to be lacking some of these options. -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From irvine.harris at gmail.com Mon Mar 9 18:43:05 2009 From: irvine.harris at gmail.com (Harry John) Date: Mon, 9 Mar 2009 21:43:05 +0400 Subject: monitoring website Message-ID: Hi friends, am just wondering how to monitor a website as http://172.168.1.1:82/xap/murl2?language=en define service{ use generic-service ; Inherit default values from a template host_name remotehost service_description HTTP check_command check_http } How do I fit this link here? Thanks, Harry -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Mar 9 19:53:23 2009 From: marc at ena.com (Marc Powell) Date: Mon, 9 Mar 2009 13:53:23 -0500 Subject: check_ftp In-Reply-To: <6db4a4200903091031x6e7db12fjcee6690a43a31025@mail.gmail.com> References: <6db4a4200903091031x6e7db12fjcee6690a43a31025@mail.gmail.com> Message-ID: On Mar 9, 2009, at 12:31 PM, shadih rahman wrote: > Can someone please advise how to monitor ftpd service with username > password and download a file. The check_ftp plugins seems to be > lacking some of these options. This plugin seems to work as advertised: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=1837.html;d=1 -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From np121 at hotmail.com Mon Mar 9 20:08:26 2009 From: np121 at hotmail.com (Nick) Date: Mon, 9 Mar 2009 20:08:26 +0100 Subject: New feature Message-ID: Hello Where is the correct place to ask fo new features to be considered for addition in future versions Many thanks Nick ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Mon Mar 9 20:32:05 2009 From: nccomp at gmail.com (Andrew Davis) Date: Mon, 09 Mar 2009 15:32:05 -0400 Subject: Nagios, memory tests, and Linux hosts... In-Reply-To: <49B53C26.2030004@newmediagateway.com> References: <49B53351.202@gmail.com> <49B53C26.2030004@newmediagateway.com> Message-ID: <49B56EB5.6030307@gmail.com> Looks good, but no performance data, which I would like to be able to trend memory usage and justify upgrades. Anyone familiar with a good memory test that properly handles memory reservations AND also includes performance trending data? A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Justin Pasher wrote: > Andrew Davis wrote: >> So along with disk and CPU tests, I want to test for memory usage. I >> pulled a perl memory script off Nagios Exchange and was quickly >> reminded of how linux handles memory... how it leaves whatever has >> been used previously as "reserved". Thus, a server with 4Gb of RAM >> may show that 3.95Gb is in use, but in reality, more like 512Mb is in >> use and the swap usage is under 10%, if used at all, confirming the >> "actual versus reserved" issue. So how are you guys testing for >> memory on Linux boxes that flag it as reserved when its not? Are >> there any scripts on Nagios Exchange for memory testing that are >> better than others? > > I use check_memory.pl. It properly takes buffers and cache into > consideration (using the "free" command). > > http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1433.html;d=1 > > -- > Justin Pasher -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jaiho8 at gmail.com Mon Mar 9 20:37:27 2009 From: jaiho8 at gmail.com (Jai Ram) Date: Mon, 9 Mar 2009 15:37:27 -0400 Subject: make: Fatal error: Command failed for target `all' Message-ID: <9cfff3f00903091237u7c35aad6qa7407f72aa878599@mail.gmail.com> Hello All, Can anyone explain me about the following error. Am trying to install nagios but am getting this error and unable to move forward. # make all cd ./base && make gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c ../common/snprintf.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o macros-base.o netutils.o notifications.o sehandlers.o skiplist.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o ../common/snprintf.o -lm -lpthread -ldl -lrt gcc: ../common/snprintf.o: No such file or directory *** Error code 1 make: Fatal error: Command failed for target `nagios' Current working directory /tmp/nagios-3.1.0/base *** Error code 1 make: Fatal error: Command failed for target `all' Any help in this is highly appreciated. Thanks Jai. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From natxo.asenjo at gmail.com Mon Mar 9 20:54:52 2009 From: natxo.asenjo at gmail.com (Natxo Asenjo) Date: Mon, 9 Mar 2009 20:54:52 +0100 Subject: check_ftp In-Reply-To: <6db4a4200903091031x6e7db12fjcee6690a43a31025@mail.gmail.com> References: <6db4a4200903091031x6e7db12fjcee6690a43a31025@mail.gmail.com> Message-ID: <90f6e8270903091254t32a765cfpa928bed3d49ff7cb@mail.gmail.com> hi, did you check the nagiosexchange? www.nagiosexchange.org. I just saw the plugin you were looking for. -- Groeten, J.Asenjo ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justinp at newmediagateway.com Mon Mar 9 21:03:06 2009 From: justinp at newmediagateway.com (Justin Pasher) Date: Mon, 09 Mar 2009 15:03:06 -0500 Subject: monitoring website In-Reply-To: References: Message-ID: <49B575FA.9080002@newmediagateway.com> Harry John wrote: > Hi friends, > > am just wondering how to monitor a website as > http://172.168.1.1:82/xap/murl2?language=en > > define service{ > use generic-service ; Inherit default values from a template > host_name remotehost > service_description HTTP > check_command check_http > } > How do I fit this link here? You'll need to call the check_http script with the -u option. The default "check_http" command doesn't do this, so you'll have to create a new one. Since you're also querying a custom port, you'll need to pass that info along too. Something like this is one way to do it: define command { command_name check_http_path command_line /usr/lib/nagios/plugins/check_http -H '$ARG1$' -u '$ARG2$' -w $ARG3$ -c $ARG4$ } define service { use generic-service ; Inherit default values from a template host_name remotehost service_description HTTP check_command check_http_path!172.168.1.1:82 !/xap/murl2?language=en !25!50 } -- Justin Pasher ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Mar 9 21:10:53 2009 From: marc at ena.com (Marc Powell) Date: Mon, 9 Mar 2009 15:10:53 -0500 Subject: New feature In-Reply-To: <002501c9a0ea$6c8d22b0$45a76810$@com> References: <002501c9a0ea$6c8d22b0$45a76810$@com> Message-ID: > -----Original Message----- > From: Nick [mailto:np121 at hotmail.com] > Sent: Monday, March 09, 2009 2:08 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] New feature > > Hello > > > Where is the correct place to ask fo new features to be considered for > addition in future versions nagios-devel -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justinp at newmediagateway.com Mon Mar 9 21:04:58 2009 From: justinp at newmediagateway.com (Justin Pasher) Date: Mon, 09 Mar 2009 15:04:58 -0500 Subject: Nagios, memory tests, and Linux hosts... In-Reply-To: <49B56EB5.6030307@gmail.com> References: <49B53351.202@gmail.com> <49B53C26.2030004@newmediagateway.com> <49B56EB5.6030307@gmail.com> Message-ID: <49B5766A.3000400@newmediagateway.com> Andrew Davis wrote: > Looks good, but no performance data, which I would like to be able to > trend memory usage and justify upgrades. Anyone familiar with a good > memory test that properly handles memory reservations AND also > includes performance trending data? I personally only use Nagios for monitoring services, not trending or graphs. For that I use Cacti and SNMP (http://www.cacti.net/). -- Justin Pasher ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Mar 9 21:14:41 2009 From: marc at ena.com (Marc Powell) Date: Mon, 9 Mar 2009 15:14:41 -0500 Subject: make: Fatal error: Command failed for target `all' In-Reply-To: <9cfff3f00903091237u7c35aad6qa7407f72aa878599@mail.gmail.com> References: <9cfff3f00903091237u7c35aad6qa7407f72aa878599@mail.gmail.com> Message-ID: > -----Original Message----- > From: Jai Ram [mailto:jaiho8 at gmail.com] > Sent: Monday, March 09, 2009 2:37 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] make: Fatal error: Command failed for target `all' > > Hello All, > > Can anyone explain me about the following error. Am trying to install nagios > but am getting this error and unable to move forward. > > # make all > cd ./base && make > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c ../common/snprintf.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o > checks.o config.o commands.o events.o flapping.o logging.o macros-base.o > netutils.o notifications.o sehandlers.o skiplist.o utils.o retention-base.o > xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects- > base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o > downtime-base.o xdowntime-base.o ../common/snprintf.o -lm -lpthread -ldl > -lrt > gcc: ../common/snprintf.o: No such file or directory Are you using GNU make? You should be. http://archive.netbsd.se/?ml=nagios-devel&a=2007-08&t=5023627 Try googleing for the gcc: line for more. -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justinp at newmediagateway.com Mon Mar 9 21:14:27 2009 From: justinp at newmediagateway.com (Justin Pasher) Date: Mon, 09 Mar 2009 15:14:27 -0500 Subject: monitoring website In-Reply-To: <49B575FA.9080002@newmediagateway.com> References: <49B575FA.9080002@newmediagateway.com> Message-ID: <49B578A3.4010704@newmediagateway.com> Justin Pasher wrote: > Harry John wrote: > >> Hi friends, >> >> am just wondering how to monitor a website as >> http://172.168.1.1:82/xap/murl2?language=en >> >> define service{ >> use generic-service ; Inherit default values from a template >> host_name remotehost >> service_description HTTP >> check_command check_http >> } >> How do I fit this link here? >> > > define service { > use generic-service ; Inherit default values from a template > host_name remotehost > service_description HTTP > check_command check_http_path!172.168.1.1:82 > !/xap/murl2?language=en > !25!50 > } > Agh.. stupid Thunderbird. It should look like this: define service { use generic-service ; Inherit default values from a template host_name remotehost service_description HTTP check_command check_http_path!172.168.1.1:82!/xap/murl2?language=en!25!50 } -- Justin Pasher ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srianirudh at gmail.com Mon Mar 9 22:22:52 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Mon, 9 Mar 2009 17:22:52 -0400 Subject: nagios check frequency Message-ID: <699b436a0903091422jdebc79ave18c7ec37e809c33@mail.gmail.com> Which parameter determine the time between two service checks. i.e let me give an example . For Disk usage check i see that the time between two checks is Check Duration: 0.374 seconds There are so many parameters that its confusing . If thats the case what is the excat parameter to look at Kindly help -- Anirudh Srinivasan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Mar 9 22:49:08 2009 From: marc at ena.com (Marc Powell) Date: Mon, 9 Mar 2009 16:49:08 -0500 Subject: nagios check frequency In-Reply-To: <699b436a0903091422jdebc79ave18c7ec37e809c33@mail.gmail.com> References: <699b436a0903091422jdebc79ave18c7ec37e809c33@mail.gmail.com> Message-ID: > -----Original Message----- > From: Anirudh Srinivasan [mailto:srianirudh at gmail.com] > Sent: Monday, March 09, 2009 4:23 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios check frequency > > Which parameter determine the time between two service checks. i.e let me give > an example . > > For Disk usage check i see that the time between two checks is > Check Duration: 0.374 seconds This is the time it took to actually run the last check, not the duration between checks. > There are so many parameters that its confusing. You'll soon recognize the usual suspects. > If thats the case what is the excat parameter to look at normal_check_interval. - Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Mon Mar 9 22:45:12 2009 From: martyn at chetnet.co.uk (Martyn) Date: Mon, 9 Mar 2009 21:45:12 -0000 Subject: Any recommendations Message-ID: Hi Group, anybody used or can recommend ant of the below, or any others, I think if I can build a few via a GUI it will give me a better understanding. Nagmin Nagat Nagiosweb Thanks Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Mon Mar 9 22:57:28 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Mon, 9 Mar 2009 16:57:28 -0500 Subject: how to generate an availability report for a specific service on a whole hostgroup. Message-ID: I cannot figure out what is the best way to generate (if at all possible) this kind of a report in Nagios: For a specific service ("ssh") list all the nodes in a hostgroup that had a status other than "normal" in the last year (say). I can get a trend for a service on a specific host. But how do I get this report for an entire hostgroup+service combination? Any tips? -- Rahul ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Mon Mar 9 23:11:15 2009 From: nccomp at gmail.com (Andrew Davis) Date: Mon, 09 Mar 2009 18:11:15 -0400 Subject: Any recommendations In-Reply-To: References: Message-ID: <49B59403.5020307@gmail.com> Per the Nagios Exchange site, NagiosWeb only supports up to Nagios 2.x. It also hasn't been updated since 2006. If you're going to do a new Nagios install, you should be on 3.x. If you're going to try one, you're probably best off with NagMin, but realistically, unless you're going to make changes in the web frontend, then crawl your server for what's changed and diff it, you aren't likely to learn it. I just migrated from BB to Nagios following Wolfgang Barth's "Nagios 2nd Edition" and its been really helpful to understand the file structures and command-line, especially if you want to extend Nagios with trending, etc. So this is where I politely say "suck it up and read the manual... or at least a good book about it". :) Of course, a few years of experience as a UNIX/Linux admin won't hurt either... A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Martyn wrote: > > Hi Group, anybody used or can recommend ant of the below, or any > others, I think if I can build a few via a GUI it will give me a > better understanding. > > Nagmin > Nagat > Nagiosweb > > Thanks > > Martyn > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Mon Mar 9 23:20:39 2009 From: subscription at kkeane.com (Kevin Keane) Date: Mon, 9 Mar 2009 15:20:39 -0700 Subject: logout for nagios web interface In-Reply-To: <6db4a4200903090622w5498468eo1f092ba003b60e3e@mail.gmail.com> References: <6db4a4200903090622w5498468eo1f092ba003b60e3e@mail.gmail.com> Message-ID: <49B59637.504@kkeane.com> No, unfortunately it is not that easy. The problem is really not a Nagios problem, but an HTTP authentication problem. Nagios uses HTTP authentication, and that means that the user name and password are sent with every single request. So when you try to reset this variable, it will get set right back to what it was the next time the user requests a page. HTTP authentication did not envision ever logging out; that is one of the reasons why most Web sites today use Web forms and session-based logins instead. I think there are tricks around this problem with HTTP Auth, though. shadih rahman wrote: > All, > Is it possible to create logout for nagios web interface. As far > as I understand, it is just matter of resetting the $_REMOTE_USER > apache variable. Can someone please provide some guidance on this. > Thanks > > -- > Cordially, > Shadhin Rahman > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Tue Mar 10 00:05:06 2009 From: martyn at chetnet.co.uk (Martyn) Date: Mon, 9 Mar 2009 23:05:06 -0000 Subject: Any recommendations In-Reply-To: <49B59403.5020307@gmail.com> References: <49B59403.5020307@gmail.com> Message-ID: Yep I understand, which book to purchase is the question though. Building a Monitoring Infrastructure with Nagios http://www.amazon.com/Building-Monitoring-Infrastructure-Nagios-Josephsen/dp /0132236931/ref=pd_bxgy_b_img_b or Nagios 3 Enterprise Network Monitoring: Including Plug-Ins and Hardware Devices http://www.amazon.com/Nagios-Enterprise-Network-Monitoring-Including/dp/1597 492671/ref=pd_bbs_sr_2?ie=UTF8 &s=books&qid=1222355174&sr=8-2 Am on the verge of purchasing Nagios 3 ent. Thanks _____ From: Andrew Davis [mailto:nccomp at gmail.com] Sent: 09 March 2009 22:11 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Any recommendations Per the Nagios Exchange site, NagiosWeb only supports up to Nagios 2.x. It also hasn't been updated since 2006. If you're going to do a new Nagios install, you should be on 3.x. If you're going to try one, you're probably best off with NagMin, but realistically, unless you're going to make changes in the web frontend, then crawl your server for what's changed and diff it, you aren't likely to learn it. I just migrated from BB to Nagios following Wolfgang Barth's "Nagios 2nd Edition" and its been really helpful to understand the file structures and command-line, especially if you want to extend Nagios with trending, etc. So this is where I politely say "suck it up and read the manual... or at least a good book about it". :) Of course, a few years of experience as a UNIX/Linux admin won't hurt either... A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Martyn wrote: Hi Group, anybody used or can recommend ant of the below, or any others, I think if I can build a few via a GUI it will give me a better understanding. Nagmin Nagat Nagiosweb Thanks Martyn _____ ---------------------------------------------------------------------------- -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _____ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Tue Mar 10 00:15:24 2009 From: martyn at chetnet.co.uk (Martyn) Date: Mon, 9 Mar 2009 23:15:24 -0000 Subject: A group of Nagios users are: Message-ID: Just on a lighter note, what do we call a bunch of Nagios users; Nagiothions? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Tue Mar 10 01:18:16 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Mon, 9 Mar 2009 19:18:16 -0500 Subject: A group of Nagios users are: In-Reply-To: References: Message-ID: On Mon, Mar 9, 2009 at 6:15 PM, Martyn wrote: > Just on a lighter note, what do we call a bunch of Nagios users; > Nagiothions? "Nagiosers" is my vote. :) ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.weaver at bbc.co.uk Tue Mar 10 01:51:23 2009 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Tue, 10 Mar 2009 00:51:23 -0000 Subject: A group of Nagios users are: In-Reply-To: References: Message-ID: > From: Martyn [mailto:martyn at chetnet.co.uk] > Subject: [Nagios-users] A group of Nagios users are: > Just on a lighter note, what do we call a bunch of Nagios users; Nagiothions? Relaxed :) -- The probability of someone watching you is proportional to the stupidity of your action. Paul Weaver Systems Development Engineer News Production Facilities, BBC News ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Tue Mar 10 03:06:58 2009 From: jperrin at gmail.com (Jim Perrin) Date: Mon, 9 Mar 2009 22:06:58 -0400 Subject: A group of Nagios users are: In-Reply-To: References: Message-ID: <302ce8b50903091906r52c8b86drdff5c8f1c60612d@mail.gmail.com> On Mon, Mar 9, 2009 at 8:51 PM, Paul Weaver wrote: >> From: Martyn [mailto:martyn at chetnet.co.uk] >> Subject: [Nagios-users] A group of Nagios users are: >> Just on a lighter note, what do we call a bunch of Nagios users; > Nagiothions? > > Relaxed :) Relaxed? I'm not so sure about , that. What makes you so relaxed? If you're relaxed, then it's possible that your nagios install isn't notifying properly. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steve.Onotsky at broadridge.com Tue Mar 10 02:41:39 2009 From: Steve.Onotsky at broadridge.com (Onotsky, Steve x55328) Date: Mon, 9 Mar 2009 21:41:39 -0400 Subject: A group of Nagios users are: In-Reply-To: References: Message-ID: <30A417B62E7EE448B3864ADC881CEFD607FACD70@missemsa01.bsg.ad.adp.com> -----Original Message----- From: Rahul Nabar [mailto:rpnabar at gmail.com] Sent: March 9, 2009 20:18 To: Martyn Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] A group of Nagios users are: >On Mon, Mar 9, 2009 at 6:15 PM, Martyn wrote: >> Just on a lighter note, what do we call a bunch of Nagios users; >> Nagiothions? >"Nagiosers" is my vote. :) "Nagiosians"? Or "Nagioshigans"? :) This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdondich at gmail.com Tue Mar 10 05:43:15 2009 From: tdondich at gmail.com (Taylor Dondich) Date: Mon, 9 Mar 2009 21:43:15 -0700 Subject: Any recommendations In-Reply-To: References: <49B59403.5020307@gmail.com> Message-ID: <3d2eb72a0903092143i7a6d0baan2061fae7aaa54fca@mail.gmail.com> Please please please. Best Nagios 3.x configuration tool with the most coverage of Nagios 3.x features. Lilac! www.lilacplatform.com Taylor On Mon, Mar 9, 2009 at 4:05 PM, Martyn wrote: > Yep I understand, which book to purchase is the question though. > > Building a Monitoring Infrastructure with Nagios > > http://www.amazon.com/Building-Monitoring-Infrastructure-Nagios-Josephsen/dp/0132236931/ref=pd_bxgy_b_img_b > > or > > Nagios 3 Enterprise Network Monitoring: Including Plug-Ins and Hardware > Devices > > http://www.amazon.com/Nagios-Enterprise-Network-Monitoring-Including/dp/1597492671/ref=pd_bbs_sr_2?ie=UTF8&s=books&qid=1222355174&sr=8-2 > > Am on the verge of purchasing? Nagios 3 ent. > > Thanks > ________________________________ > From: Andrew Davis [mailto:nccomp at gmail.com] > Sent: 09 March 2009 22:11 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Any recommendations > > Per the Nagios Exchange site, NagiosWeb only supports up to Nagios 2.x. It > also hasn't been updated since 2006. If you're going to do a new Nagios > install, you should be on 3.x. > > If you're going to try one, you're probably best off with NagMin, but > realistically, unless you're going to make changes in the web frontend, then > crawl your server for what's changed and diff it, you aren't likely to learn > it. I just migrated from BB to Nagios following Wolfgang Barth's "Nagios 2nd > Edition" and its been really helpful to understand the file structures and > command-line, especially if you want to extend Nagios with trending, etc. So > this is where I politely say "suck it up and read the manual... or at least > a good book about it". :) > > Of course, a few years of experience as a UNIX/Linux admin won't hurt > either... > > A. Davis > Email: nccomp at gmail.com > > "There is no limit to what a man can accomplish > if he doesn't care who gets the credit." - Ronald Reagan > > > Martyn wrote: > > Hi Group, anybody used or can recommend ant of the below, or any others, I > think if I can build a few via a GUI it will give me a better understanding. > > Nagmin > Nagat > Nagiosweb > > Thanks > > Martyn > > ________________________________ > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > > ________________________________ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Taylor Dondich Check out Lilac, a configuration tool for Nagios 3 at http://www.lilacplatform.com Check out my Shortcut with O'Reilly Press: Network Monitoring with Nagios: http://oreilly.com/catalog/9780596528195/index.html ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mammadshah at hotmail.com Tue Mar 10 06:34:06 2009 From: mammadshah at hotmail.com (Mohammad Ammad Shah) Date: Tue, 10 Mar 2009 05:34:06 +0000 Subject: Web server behind firewall, Message-ID: i wan to monitor a webserver, its behind the IPS. when i try to monitor using nagios check_http, nagios alerts me "host down". can any one help. this is my client Server, and i want to check apache/jboss and need to restart if service is down. ping is disabled on it. thanks. _________________________________________________________________ Windows Live?: Life without walls. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032009 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Ries at dtnet.de Tue Mar 10 07:29:00 2009 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Tue, 10 Mar 2009 07:29:00 +0100 Subject: Web server behind firewall, In-Reply-To: References: Message-ID: <1236666540.10967.3.camel@bofh.dtnet.de> Hi > i wan to monitor a webserver, its behind the IPS. when i try to > monitor using nagios > check_http, nagios alerts me "host down". Do I understand right that the check_http works without problems (prints OK) but nagios claims that the host is down? You need to change the check_host command for this host to something that gives you a clear knowledge about the host. Or you do not monitor the host itself and change the check_host command to some dummy. > can any one help. this is my client Server, and i want to check > apache/jboss and need to restart if service is down. ping is disabled > on it. You need any way to connect to the server. (preferably nrpe or ssh) Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From irvine.harris at gmail.com Tue Mar 10 08:33:55 2009 From: irvine.harris at gmail.com (Harry John) Date: Tue, 10 Mar 2009 11:33:55 +0400 Subject: monitoring website In-Reply-To: <49B578A3.4010704@newmediagateway.com> References: <49B575FA.9080002@newmediagateway.com> <49B578A3.4010704@newmediagateway.com> Message-ID: Hello friends, First of all thanks for ur immense support.. But im making some mistake,I get this error from nagios webpage Current Status: CRITICAL (for 0d 0h 42m 23s) Status Information: (Return code of 127 is out of bounds - plugin may be missing) My command.cfg is as follows # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$ } # 'check_http_path' define command { command_name check_http_path command_line check_http -H '$ARG1$' -u '$ARG2$' -w $ARG3$ -c $ARG4$ } i've the check_http plugin at /usr/local/nagios/libexec/check_http (with chown nagios.nagios) Should I change the commandline as it is just IP? Thanks, Harry On Tue, Mar 10, 2009 at 12:14 AM, Justin Pasher wrote: > Justin Pasher wrote: > >> Harry John wrote: >> >> >>> Hi friends, >>> am just wondering how to monitor a website as >>> http://172.168.1.1:82/xap/murl2?language=en >>> define service{ >>> use generic-service ; Inherit default values from a template >>> host_name remotehost >>> service_description HTTP >>> check_command check_http >>> } >>> How do I fit this link here? >>> >>> >> >> define service { >> use generic-service ; Inherit default values from a template >> host_name remotehost >> service_description HTTP >> check_command check_http_path!172.168.1.1:82 < >> http://172.168.1.1:82/xap/murl2?language=en>!/xap/murl2?language=en < >> http://172.168.1.1:82/xap/murl2?language=en>!25!50 >> } >> >> > > Agh.. stupid Thunderbird. It should look like this: > > define service { > use generic-service ; Inherit default values from a template > host_name remotehost > service_description HTTP > check_command check_http_path!172.168.1.1:82 > !/xap/murl2?language=en!25!50 > } > > > > -- > Justin Pasher > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From irvine.harris at gmail.com Tue Mar 10 08:40:57 2009 From: irvine.harris at gmail.com (Harry John) Date: Tue, 10 Mar 2009 11:40:57 +0400 Subject: monitoring website In-Reply-To: References: <49B575FA.9080002@newmediagateway.com> <49B578A3.4010704@newmediagateway.com> Message-ID: When I enter define command { command_name check_http_path command_line /usr/local/nagios/libexec/check_http -H '$ARG1$' -u '$ARG2$' -w $ARG3$ -c $ARG4$ } it gives error Name or service not known HTTP CRITICAL - Unable to open TCP socket thx On Tue, Mar 10, 2009 at 11:33 AM, Harry John wrote: > Hello friends, > First of all thanks for ur immense support.. > But im making some mistake,I get this error from nagios webpage > > Current Status: CRITICAL > (for 0d 0h 42m 23s) Status Information: (Return code of 127 is out of > bounds - plugin may be missing) > > My command.cfg is as follows > > # 'check_http' command definition > define command{ > command_name check_http > command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$ > } > # 'check_http_path' > define command { > command_name check_http_path > command_line check_http -H '$ARG1$' -u '$ARG2$' -w $ARG3$ -c $ARG4$ > } > > i've the check_http plugin at /usr/local/nagios/libexec/check_http (with > chown nagios.nagios) > > Should I change the commandline as it is just IP? > Thanks, > Harry > > > > > > On Tue, Mar 10, 2009 at 12:14 AM, Justin Pasher < > justinp at newmediagateway.com> wrote: > >> Justin Pasher wrote: >> >>> Harry John wrote: >>> >>> >>>> Hi friends, >>>> am just wondering how to monitor a website as >>>> http://172.168.1.1:82/xap/murl2?language=en >>>> define service{ >>>> use generic-service ; Inherit default values from a template >>>> host_name remotehost >>>> service_description HTTP >>>> check_command check_http >>>> } >>>> How do I fit this link here? >>>> >>>> >>> >>> define service { >>> use generic-service ; Inherit default values from a template >>> host_name remotehost >>> service_description HTTP >>> check_command check_http_path!172.168.1.1:82 < >>> http://172.168.1.1:82/xap/murl2?language=en>!/xap/murl2?language=en < >>> http://172.168.1.1:82/xap/murl2?language=en>!25!50 >>> } >>> >>> >> >> Agh.. stupid Thunderbird. It should look like this: >> >> define service { >> use generic-service ; Inherit default values from a template >> host_name remotehost >> service_description HTTP >> check_command check_http_path!172.168.1.1:82 >> !/xap/murl2?language=en!25!50 >> } >> >> >> >> -- >> Justin Pasher >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at opsera.com Tue Mar 10 09:52:27 2009 From: ton.voon at opsera.com (Ton Voon) Date: Tue, 10 Mar 2009 08:52:27 +0000 Subject: Any recommendations In-Reply-To: References: Message-ID: On 9 Mar 2009, at 21:45, Martyn wrote: > Hi Group, anybody used or can recommend ant of the below, or any > others, I think if I can build a few via a GUI it will give me a > better understanding. > > Nagmin > Nagat > Nagiosweb > > Thanks > > Martyn > You may also want to consider Opsview: http://opsview.org You add your host and service information via a mysql db and we generate your configuration for you with all the best practises: distributed monitoring, freshness checking, templating. Includes inline Ajax updates, performance graphing for free, Nagvis installed alongside, plus our Hostgroup Hierarchy views and Viewport views. Download the VM and check out the quick start guide: http://docs.opsview.org/doku.php?id=opsview3.0:quickstart Disclaimer: I work for Opsera :) Ton -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyleodonnell at gmail.com Tue Mar 10 12:58:08 2009 From: kyleodonnell at gmail.com (Kyle O'Donnell) Date: Tue, 10 Mar 2009 07:58:08 -0400 Subject: Lilac, a Nagios 3.x Configuration Tool, has released 1.0 Release Candidate 1. In-Reply-To: <315c8c6f0903100207i752def40t5b76c6b50df8b2f6@mail.gmail.com> References: <3d2eb72a0903082112k21f1f1dbya052880d500e7102@mail.gmail.com> <04F3233F47E2714CB7431AE913E57E770339ABDC@IAD-WPRD-XCHB02.corp.verio.net> <3d2eb72a0903090927u5036afbfqef43f77eb7533432@mail.gmail.com> <315c8c6f0903100207i752def40t5b76c6b50df8b2f6@mail.gmail.com> Message-ID: <2274b9c30903100458y7f2ee901y809537f276890790@mail.gmail.com> we are doing the same thing 1 active 1 stand-by masters 6 active 6 stand-by slaves slaves feed alerts to master some slaves act somewhat independently from the master, that is they manage notifications/downtime some are satellites and the master is used. our slaves are primarily used to provide presence in our remote data centres, but we also use them in our larger data centres where a single nagios instance cannot process the required number of service checks. On 3/10/09, mail at catsnest.co.uk wrote: > Hi, > > We use (or currently working towards) a pair of master servers > (Active/standby) and mutiple slave pairs. With the slaves doing checks in > diffrent locations / envirments and feeding the results up to the central > server. > > Ritchie. > > On Mon, Mar 9, 2009 at 4:27 PM, Taylor Dondich wrote: > >> That's on the map for 1.2. The first thing to determine is, what is >> the best way to handle distributed environments properly. Do we have >> a single master with multiple slave monitoring servers? How do most >> people do distributed monitoring? >> >> Taylor >> >> On Mon, Mar 9, 2009 at 7:46 AM, Jonathan Call wrote: >> > I don't see it mentioned anywhere so I thought I would ask, >> > >> > Does Lilac support distributed Nagios deployments? >> > >> > Jonathan >> > >> >> -----Original Message----- >> >> From: Taylor Dondich [mailto:tdondich at gmail.com] >> >> Sent: Sunday, March 08, 2009 10:12 PM >> >> To: nagios-user Mailinglist >> >> Subject: [Nagios-users] Lilac, a Nagios 3.x Configuration Tool,has >> >> released 1.0 Release Candidate 1. >> >> >> >> Lilac, the Nagios configuration tool with the MOST coverage of 3.x >> >> features, has released 1.0 release candidate 1. This version >> >> features: >> >> - Multiple Template Inheritance >> >> - Advanced Timeperiod Definitions >> >> - Enhanced Templates (Attach services, dependencies, escalations to >> >> host templates, something you CAN'T do with regular Nagios config >> >> files) >> >> - Robust Auto-Discovery system >> >> - Import existing Nagios 2.x and Nagios 3.x configurations >> >> - Import configurations from existing Fruity installations >> >> - Export to Nagios 3.x, perform pre-flight checks and restart Nagios >> > at >> >> will >> >> - Background Import/Export/Auto-Discovery processes (no need to wait >> >> at the browser for your exports/imports/discovery processes to take >> >> place) >> >> >> >> Take a look, join the community, and help build the most powerful >> >> configuration tool for Nagios out there! >> >> >> >> Downloads and Documentation is available at www.lilacplatform.com >> >> >> >> -- >> >> Taylor Dondich >> >> Check out Lilac, a configuration tool for Nagios 3 at >> >> http://www.lilacplatform.com >> >> >> >> Check out my Shortcut with O'Reilly Press: >> >> Network Monitoring with Nagios: >> >> http://oreilly.com/catalog/9780596528195/index.html >> >> >> >> >> > ------------------------------------------------------------------------ >> > -- >> >> ---- >> >> Open Source Business Conference (OSBC), March 24-25, 2009, San >> > Francisco, >> >> CA >> >> -OSBC tackles the biggest issue in open source: Open Sourcing the >> >> Enterprise >> >> -Strategies to boost innovation and cut costs with open source >> >> participation >> >> -Receive a $600 discount off the registration fee with the source >> > code: >> >> SFAD >> >> http://p.sf.net/sfu/XcvMzF8H >> >> _______________________________________________ >> >> Nagios-users mailing list >> >> Nagios-users at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> ::: Please include Nagios version, plugin version (-v) and OS when >> >> reporting any issue. >> >> ::: Messages without supporting info will risk being sent to /dev/null >> > >> > >> > This email message is intended for the use of the person to whom it has >> been sent, and may contain information that is confidential or legally >> protected. If you are not the intended recipient or have received this >> message in error, you are not authorized to copy, distribute, or otherwise >> use this message or its attachments. Please notify the sender immediately >> by >> return e-mail and permanently delete this message and any attachments. >> Verio, Inc. makes no warranty that this email is error or virus free. >> Thank >> you. >> > >> >> >> >> -- >> Taylor Dondich >> Check out Lilac, a configuration tool for Nagios 3 at >> http://www.lilacplatform.com >> >> Check out my Shortcut with O'Reilly Press: >> Network Monitoring with Nagios: >> http://oreilly.com/catalog/9780596528195/index.html >> >> >> ------------------------------------------------------------------------------ >> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, >> CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the >> Enterprise >> -Strategies to boost innovation and cut costs with open source >> participation >> -Receive a $600 discount off the registration fee with the source code: >> SFAD >> http://p.sf.net/sfu/XcvMzF8H >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > -- > -- > Fnord... > <-- http://23.me.uk --> <-- http://wiki.s23.org --> > <- - > Mojo Jojo: Excuse me sir, but can you direct me to the location of where I > can locate some eggs for I would like to purchase them so that I can take > them home with me and I can eat them today. > [pause] > Mojo Jojo: And maybe tomorrow.. -> > ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Mar 10 04:07:33 2009 From: marc at ena.com (Marc Powell) Date: Mon, 9 Mar 2009 22:07:33 -0500 Subject: A group of Nagios users are: In-Reply-To: References: Message-ID: <6E099ACA-995F-4CB2-9672-3A0ADF5FEBD8@ena.com> On Mar 9, 2009, at 6:15 PM, Martyn wrote: > Just on a lighter note, what do we call a bunch of Nagios users; > Nagiothions? > Nagii (nag-ee-eye)? -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Tue Mar 10 16:01:30 2009 From: nccomp at gmail.com (Andrew Davis) Date: Tue, 10 Mar 2009 11:01:30 -0400 Subject: Best options for monitoring Windows servers Message-ID: <49B680CA.3010201@gmail.com> I'm a UNIX and network guy, but since Nagios is my task, I also have to add the Windows servers to Nagios. The network tests are fine, but I'm curious which is the best solution for monitoring local items on a Windows server (2000, 2003, and 2008). Here's what I think the options are: Use check_nt with NSClient, NSClient++, OpMon Agent, or NC_Net Use check_nrpe with NSClient++, OpMon Agent, or NRPE_NT Use check_ncnet with NSClient, NSClient++, OpMon Agent, or NC_Ne Use NSCA-Daemon with NC_Net Note: I'm interested in screwing with WMI... NSClient appears to be old, but stable and well known. However I see it has good support for NT4 and 2000 and 2003 R1, but not 2003 R2 and I don't see anything about 2008 Server. NC_Net looks current and well developed. NSClient++ seems to have NSClient compatibility, but is more current and supports NT4 thru 2008. It looks like I already have check_nt as part of a default 3.x installation. NRPE_NT also seems to have been around for a bit and stable. NSClient++ seems to have its own, native NRPE support. What are your opinions of the best combination to A) get the best overall support and B) have the least impact/installation on a Windows server? I want something current and currently developed with 2008 support, but I also want stability and the least work possible. Presently I'm using NRPE for my local linux/UNIX servers, so I'm inclined to give NRPE a try, but I'd also like to avoid loading plugins on the Windows client if I can. I'm leaning towards NSClient++ with check_nt, but I'm not sure this is the best solutions. Thoughts, opinions, and ideas are requested... -- A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcus.fleige at de.rhenus.com Tue Mar 10 16:38:23 2009 From: marcus.fleige at de.rhenus.com (Marcus Fleige) Date: Tue, 10 Mar 2009 16:38:23 +0100 Subject: A group of Nagios users are: In-Reply-To: <302ce8b50903091906r52c8b86drdff5c8f1c60612d@mail.gmail.com> References: <302ce8b50903091906r52c8b86drdff5c8f1c60612d@mail.gmail.com> Message-ID: <49B6896F.9010908@de.rhenus.com> Jim Perrin wrote: > On Mon, Mar 9, 2009 at 8:51 PM, Paul Weaver wrote: >>> From: Martyn [mailto:martyn at chetnet.co.uk] >>> Subject: [Nagios-users] A group of Nagios users are: >>> Just on a lighter note, what do we call a bunch of Nagios users; >> Nagiothions? >> >> Relaxed :) > > > Relaxed? I'm not so sure about , > that. What makes you so relaxed? If > you're relaxed, > then it's possible is he DOING down there?> that your nagios install handler restarted it, good.> isn't notifying > properly. LOL! Sounds like an episode from my office! Thanks for making my day! :-) Cheers, Marcus ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcall at verio.net Tue Mar 10 16:58:40 2009 From: jcall at verio.net (Jonathan Call) Date: Tue, 10 Mar 2009 11:58:40 -0400 Subject: Lilac, a Nagios 3.x Configuration Tool, has released 1.0 Release Candidate 1. In-Reply-To: <3d2eb72a0903090927u5036afbfqef43f77eb7533432@mail.gmail.com> References: <3d2eb72a0903082112k21f1f1dbya052880d500e7102@mail.gmail.com> <04F3233F47E2714CB7431AE913E57E770339ABDC@IAD-WPRD-XCHB02.corp.verio.net> <3d2eb72a0903090927u5036afbfqef43f77eb7533432@mail.gmail.com> Message-ID: <04F3233F47E2714CB7431AE913E57E770339AD5A@IAD-WPRD-XCHB02.corp.verio.net> Our implementation is pretty much right out of the Nagios documentation. The only thing that might be 'special' is that one of our slave servers is actually running two instances of Nagios; each instance is considered a 'slave' to the master. > -----Original Message----- > From: Taylor Dondich [mailto:tdondich at gmail.com] > Sent: Monday, March 09, 2009 10:28 AM > To: Jonathan Call > Cc: nagios-user Mailinglist > Subject: Re: [Nagios-users] Lilac, a Nagios 3.x Configuration Tool,has > released 1.0 Release Candidate 1. > > That's on the map for 1.2. The first thing to determine is, what is > the best way to handle distributed environments properly. Do we have > a single master with multiple slave monitoring servers? How do most > people do distributed monitoring? > > Taylor > > On Mon, Mar 9, 2009 at 7:46 AM, Jonathan Call wrote: > > I don't see it mentioned anywhere so I thought I would ask, > > > > Does Lilac support distributed Nagios deployments? > > > > Jonathan > > > >> -----Original Message----- > >> From: Taylor Dondich [mailto:tdondich at gmail.com] > >> Sent: Sunday, March 08, 2009 10:12 PM > >> To: nagios-user Mailinglist > >> Subject: [Nagios-users] Lilac, a Nagios 3.x Configuration Tool,has > >> released 1.0 Release Candidate 1. > >> > >> Lilac, the Nagios configuration tool with the MOST coverage of 3.x > >> features, has released 1.0 release candidate 1. This version > >> features: > >> - Multiple Template Inheritance > >> - Advanced Timeperiod Definitions > >> - Enhanced Templates (Attach services, dependencies, escalations to > >> host templates, something you CAN'T do with regular Nagios config > >> files) > >> - Robust Auto-Discovery system > >> - Import existing Nagios 2.x and Nagios 3.x configurations > >> - Import configurations from existing Fruity installations > >> - Export to Nagios 3.x, perform pre-flight checks and restart Nagios > > at > >> will > >> - Background Import/Export/Auto-Discovery processes (no need to wait > >> at the browser for your exports/imports/discovery processes to take > >> place) > >> > >> Take a look, join the community, and help build the most powerful > >> configuration tool for Nagios out there! > >> > >> Downloads and Documentation is available at www.lilacplatform.com > >> > >> -- > >> Taylor Dondich > >> Check out Lilac, a configuration tool for Nagios 3 at > >> http://www.lilacplatform.com > >> > >> Check out my Shortcut with O'Reilly Press: > >> Network Monitoring with Nagios: > >> http://oreilly.com/catalog/9780596528195/index.html > >> > >> > > ------------------------------------------------------------------------ > > -- > >> ---- > >> Open Source Business Conference (OSBC), March 24-25, 2009, San > > Francisco, > >> CA > >> -OSBC tackles the biggest issue in open source: Open Sourcing the > >> Enterprise > >> -Strategies to boost innovation and cut costs with open source > >> participation > >> -Receive a $600 discount off the registration fee with the source > > code: > >> SFAD > >> http://p.sf.net/sfu/XcvMzF8H > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > >> reporting any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null > > > > > > This email message is intended for the use of the person to whom it has > been sent, and may contain information that is confidential or legally > protected. If you are not the intended recipient or have received this > message in error, you are not authorized to copy, distribute, or otherwise > use this message or its attachments. Please notify the sender immediately > by return e-mail and permanently delete this message and any attachments. > Verio, Inc. makes no warranty that this email is error or virus free. > Thank you. > > > > > > -- > Taylor Dondich > Check out Lilac, a configuration tool for Nagios 3 at > http://www.lilacplatform.com > > Check out my Shortcut with O'Reilly Press: > Network Monitoring with Nagios: > http://oreilly.com/catalog/9780596528195/index.html This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. Thank you. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp-intl.com Tue Mar 10 17:04:24 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Tue, 10 Mar 2009 16:04:24 +0000 Subject: Adding hosts to new installation In-Reply-To: <586806120903091034y611d4efek1a4efe17f2e04b24@mail.gmail.com> References: <586806120903090933l2ca5898ew7ef4561be0e19ba2@mail.gmail.com> Message-ID: <200903101604.24144.assaf.flatto@ssp-intl.com> There is a utility that is accompanying nagios called nmap2nagios http://nagioswiki.com/wiki/index.php/Autocreating_Nagios_Configuration_with_Nmap_and_Nmap2Nagios.pl http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1606.html;d=1 try that and it might help you . Assaf On Monday 09 March 2009 17:34:50 Victor Lee wrote: > Assaf > > Thanks, I did do that. I was able to add more hosts by editing the > switch.cfg file. It seems less than intuitive and certainly not a good way > to populate the network if there are many devices. I have 200+ switches and > even more servers. I was hoping there would be a more efficient manner > inwhich Nagios would be told what to monitor. > > Thanks > Victor > > On Mon, Mar 9, 2009 at 12:50 PM, Assaf Flatto wrote: > > Hello > > > > you might want to take a look here > > http://nagios.sourceforge.net/docs/3_0/config.html > > > > read the way nagios is configured and you'll understand how to add hosts > > and services. > > > > Assaf > > > > On Monday 09 March 2009 16:33:53 Victor Lee wrote: > > > I'm pretty new at this. I just installed Nagios 3.X on Ubuntu 8.10. I > > > > have > > > > > my first host (Cisco 6509) being polled. The quick start guide worked > > > > fine > > > > > and I followed the instructions on monitoring routers and switches. > > > > However > > > > > how do I get Nagios to monitor other switches? Do I just keep adding > > > > lines > > > > > to the switch.cfg template? > > > > -- > > Assaf Flatto > > SSP Ops Team > > Linux System Administrator > > 169 Euston Road, London, NW1 2AE > > > > > > > > > > > > IMPORTANT . this email and the information in it may be confidential, > > legally > > privileged and/or protected by law. It is intended solely for the use of > > the > > person to whom it is addressed. If you are not the intended recipient, > > please > > notify the sender immediately and do not disclose the contents to any > > other person, use it for any purpose, or store or copy the information in > > any medium. > > Please also delete all copies of this email and any attachments from your > > system. > > > > We cannot guarantee the security or confidentiality of email > > communications. We > > do not accept any liability for losses or damages that you may suffer as > > a result of your receipt of this email including but not limited to > > computer service or system failure, access delays or interruption, data > > non-delivery or > > mis-delivery, computer viruses or other harmful components. > > > > Copyright in this email and any attachments belong to Select Service > > Partner UK > > Limited. Should you communicate with anyone at Select Service Partner UK > > Limited by > > email, you consent to us monitoring and reading any such correspondence. > > > > Nothing in this email shall be taken or read as suggesting, proposing or > > relating to any agreement concerted practice or other practice that could > > infringe UK or EC competition legislation. > > > > Select Service Partner UK Limited is a company registered in England and > > Wales > > (company number 05687183) whose registered office is at 1 The Heights, > > Brooklands, Weybridge. Surrey. KT13 0NY > > > > > > > > > > ------------------------------------------------------------------------- > >----- Open Source Business Conference (OSBC), March 24-25, 2009, San > > Francisco, CA > > -OSBC tackles the biggest issue in open source: Open Sourcing the > > Enterprise > > -Strategies to boost innovation and cut costs with open source > > participation > > -Receive a $600 discount off the registration fee with the source code: > > SFAD > > http://p.sf.net/sfu/XcvMzF8H > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > > reporting any issue. > > > > ::: Messages without supporting info will risk being sent to /dev/null -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srianirudh at gmail.com Tue Mar 10 17:56:03 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Tue, 10 Mar 2009 12:56:03 -0400 Subject: Nagios-users Digest, Vol 34, Issue 13 In-Reply-To: References: Message-ID: <699b436a0903100956q23b58ae5ic86e4c983d325115@mail.gmail.com> But the parameter normal_check_interval is not even set in the services.cfg. In that case does it take the default value , and if so can you please tell me what the default value is . On Mon, Mar 9, 2009 at 7:05 PM, wrote: > Send Nagios-users mailing list submissions to > nagios-users at lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/nagios-users > or, via email, send a message with subject or body 'help' to > nagios-users-request at lists.sourceforge.net > > You can reach the person managing the list at > nagios-users-owner at lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Nagios-users digest..." > > > Today's Topics: > > 1. Strange thing about boot (Albert Shih) > 2. Re: Nagios, memory tests, and Linux hosts... (Justin Pasher) > 3. Re: Lilac, a Nagios 3.x Configuration Tool, has released 1.0 > Release Candidate 1. (Taylor Dondich) > 4. Adding hosts to new installation (Victor Lee) > 5. Re: Adding hosts to new installation (Assaf Flatto) > 6. check_ftp (shadih rahman) > 7. monitoring website (Harry John) > 8. Re: check_ftp (Marc Powell) > 9. New feature (Nick) > 10. Re: Nagios, memory tests, and Linux hosts... (Andrew Davis) > 11. make: Fatal error: Command failed for target `all' (Jai Ram) > 12. Re: check_ftp (Natxo Asenjo) > 13. Re: monitoring website (Justin Pasher) > 14. Re: Nagios, memory tests, and Linux hosts... (Justin Pasher) > 15. Re: New feature (Marc Powell) > 16. Re: monitoring website (Justin Pasher) > 17. Re: make: Fatal error: Command failed for target `all' > (Marc Powell) > 18. nagios check frequency (Anirudh Srinivasan) > 19. Any recommendations (Martyn) > 20. Re: nagios check frequency (Marc Powell) > 21. how to generate an availability report for a specific service > on a whole hostgroup. (Rahul Nabar) > 22. Re: Any recommendations (Andrew Davis) > 23. Re: logout for nagios web interface (Kevin Keane) > 24. Re: Any recommendations (Martyn) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 9 Mar 2009 16:50:58 +0100 > From: Albert Shih > Subject: [Nagios-users] Strange thing about boot > To: nagios-users at lists.sourceforge.net > Message-ID: <20090309155058.GF72351 at obspm.fr> > Content-Type: text/plain; charset=iso-8859-1 > > Hi all > > I've some problem with one nrpe-plugin write by...me. > > In this plugin I check with md5 the output of some command (in fact a check > of the status of my raid card). > > My plugin is launch by nrpe > > check_md5 -f command_with_path -checksum XXXXX > > if the > > if command_with_path |md5sum = XXXX > > return everything is OK > > else > return NO-OK > > > This plugin work fine until...I reboot the server. > > After each reboot the nagios server tell me the checksum is wrong, but if I > launch the plugin manually it's working. But if I launch it from > nagios-server I've got NOOK. > > But If I restart nrpe...everything working...until next reboot. > > Anyone have a idea ? > > Regards > > JAS > > NB: Nagios server : 3.0.6 run on FreeBSD 7.1 > nrpe-2.12 on FreeBSD 7.1 > > > -- > Albert SHIH > SIO batiment 15 > Observatoire de Paris Meudon > 5 Place Jules Janssen > 92195 Meudon Cedex > T?l?phone : 01 45 07 76 26 > Heure local/Local time: > Lun 9 mar 2009 16:44:41 CET > > > > ------------------------------ > > Message: 2 > Date: Mon, 09 Mar 2009 10:56:22 -0500 > From: Justin Pasher > Subject: Re: [Nagios-users] Nagios, memory tests, and Linux hosts... > To: nccomp at gmail.com > Cc: nagios-users at lists.sourceforge.net > Message-ID: <49B53C26.2030004 at newmediagateway.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Andrew Davis wrote: > > So along with disk and CPU tests, I want to test for memory usage. I > > pulled a perl memory script off Nagios Exchange and was quickly > > reminded of how linux handles memory... how it leaves whatever has > > been used previously as "reserved". Thus, a server with 4Gb of RAM may > > show that 3.95Gb is in use, but in reality, more like 512Mb is in use > > and the swap usage is under 10%, if used at all, confirming the > > "actual versus reserved" issue. So how are you guys testing for memory > > on Linux boxes that flag it as reserved when its not? Are there any > > scripts on Nagios Exchange for memory testing that are better than > others? > > I use check_memory.pl. It properly takes buffers and cache into > consideration (using the "free" command). > > http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1433.html;d=1 > > -- > Justin Pasher > > > > ------------------------------ > > Message: 3 > Date: Mon, 9 Mar 2009 09:27:52 -0700 > From: Taylor Dondich > Subject: Re: [Nagios-users] Lilac, a Nagios 3.x Configuration Tool, > has released 1.0 Release Candidate 1. > To: Jonathan Call > Cc: nagios-user Mailinglist > Message-ID: > <3d2eb72a0903090927u5036afbfqef43f77eb7533432 at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > That's on the map for 1.2. The first thing to determine is, what is > the best way to handle distributed environments properly. Do we have > a single master with multiple slave monitoring servers? How do most > people do distributed monitoring? > > Taylor > > On Mon, Mar 9, 2009 at 7:46 AM, Jonathan Call wrote: > > I don't see it mentioned anywhere so I thought I would ask, > > > > Does Lilac support distributed Nagios deployments? > > > > Jonathan > > > >> -----Original Message----- > >> From: Taylor Dondich [mailto:tdondich at gmail.com] > >> Sent: Sunday, March 08, 2009 10:12 PM > >> To: nagios-user Mailinglist > >> Subject: [Nagios-users] Lilac, a Nagios 3.x Configuration Tool,has > >> released 1.0 Release Candidate 1. > >> > >> Lilac, the Nagios configuration tool with the MOST coverage of 3.x > >> features, has released 1.0 release candidate 1. ?This version > >> features: > >> ?- Multiple Template Inheritance > >> ?- Advanced Timeperiod Definitions > >> ?- Enhanced Templates (Attach services, dependencies, escalations to > >> host templates, something you CAN'T do with regular Nagios config > >> files) > >> ?- Robust Auto-Discovery system > >> ?- Import existing Nagios 2.x and Nagios 3.x configurations > >> ?- Import configurations from existing Fruity installations > >> ?- Export to Nagios 3.x, perform pre-flight checks and restart Nagios > > at > >> will > >> ?- Background Import/Export/Auto-Discovery processes (no need to wait > >> at the browser for your exports/imports/discovery processes to take > >> place) > >> > >> Take a look, join the community, and help build the most powerful > >> configuration tool for Nagios out there! > >> > >> Downloads and Documentation is available at www.lilacplatform.com > >> > >> -- > >> Taylor Dondich > >> Check out Lilac, a configuration tool for Nagios 3 at > >> http://www.lilacplatform.com > >> > >> Check out my Shortcut with O'Reilly Press: > >> Network Monitoring with Nagios: > >> http://oreilly.com/catalog/9780596528195/index.html > >> > >> > > ------------------------------------------------------------------------ > > -- > >> ---- > >> Open Source Business Conference (OSBC), March 24-25, 2009, San > > Francisco, > >> CA > >> -OSBC tackles the biggest issue in open source: Open Sourcing the > >> Enterprise > >> -Strategies to boost innovation and cut costs with open source > >> participation > >> -Receive a $600 discount off the registration fee with the source > > code: > >> SFAD > >> http://p.sf.net/sfu/XcvMzF8H > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > >> reporting any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null > > > > > > This email message is intended for the use of the person to whom it has > been sent, and may contain information that is confidential or legally > protected. If you are not the intended recipient or have received this > message in error, you are not authorized to copy, distribute, or otherwise > use this message or its attachments. Please notify the sender immediately by > return e-mail and permanently delete this message and any attachments. > Verio, Inc. makes no warranty that this email is error or virus free. ?Thank > you. > > > > > > -- > Taylor Dondich > Check out Lilac, a configuration tool for Nagios 3 at > http://www.lilacplatform.com > > Check out my Shortcut with O'Reilly Press: > Network Monitoring with Nagios: > http://oreilly.com/catalog/9780596528195/index.html > > > > ------------------------------ > > Message: 4 > Date: Mon, 9 Mar 2009 12:33:53 -0400 > From: Victor Lee > Subject: [Nagios-users] Adding hosts to new installation > To: Nagios-users at lists.sourceforge.net > Message-ID: > <586806120903090933l2ca5898ew7ef4561be0e19ba2 at mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > I'm pretty new at this. I just installed Nagios 3.X on Ubuntu 8.10. I have > my first host (Cisco 6509) being polled. The quick start guide worked fine > and I followed the instructions on monitoring routers and switches. However > how do I get Nagios to monitor other switches? Do I just keep adding lines > to the switch.cfg template? > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 5 > Date: Mon, 9 Mar 2009 16:50:28 +0000 > From: Assaf Flatto > Subject: Re: [Nagios-users] Adding hosts to new installation > To: nagios-users at lists.sourceforge.net > Message-ID: <200903091650.29005.assaf.flatto at ssp-intl.com> > Content-Type: text/plain; charset="US-ASCII" > > > Hello > > you might want to take a look here > http://nagios.sourceforge.net/docs/3_0/config.html > > read the way nagios is configured and you'll understand how to add hosts > and services. > > Assaf > > On Monday 09 March 2009 16:33:53 Victor Lee wrote: > > I'm pretty new at this. I just installed Nagios 3.X on Ubuntu 8.10. I > have > > my first host (Cisco 6509) being polled. The quick start guide worked > fine > > and I followed the instructions on monitoring routers and switches. > However > > how do I get Nagios to monitor other switches? Do I just keep adding > lines > > to the switch.cfg template? > > > > -- > Assaf Flatto > SSP Ops Team > Linux System Administrator > 169 Euston Road, London, NW1 2AE > > > > > > IMPORTANT . this email and the information in it may be confidential, > legally > privileged and/or protected by law. It is intended solely for the use of > the > person to whom it is addressed. If you are not the intended recipient, > please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any > medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email > communications. We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery > or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service > Partner UK > Limited. Should you communicate with anyone at Select Service Partner UK > Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and > Wales > (company number 05687183) whose registered office is at 1 The Heights, > Brooklands, Weybridge. Surrey. KT13 0NY > > > > > > ------------------------------ > > Message: 6 > Date: Mon, 9 Mar 2009 13:31:40 -0400 > From: shadih rahman > Subject: [Nagios-users] check_ftp > To: "nagios-users at lists.sourceforge.net" > > Message-ID: > <6db4a4200903091031x6e7db12fjcee6690a43a31025 at mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Can someone please advise how to monitor ftpd service with username > password > and download a file. The check_ftp plugins seems to be lacking some of > these options. > > > -- > Cordially, > Shadhin Rahman > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 7 > Date: Mon, 9 Mar 2009 21:43:05 +0400 > From: Harry John > Subject: [Nagios-users] monitoring website > To: Nagios Users mailinglist > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > Hi friends, > > am just wondering how to monitor a website as > http://172.168.1.1:82/xap/murl2?language=en > > define service{ > use generic-service ; Inherit default values from a template > host_name remotehost > service_description HTTP > check_command check_http > } > How do I fit this link here? > > Thanks, > Harry > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 8 > Date: Mon, 9 Mar 2009 13:53:23 -0500 > From: Marc Powell > Subject: Re: [Nagios-users] check_ftp > To: nagios-users ML > Message-ID: > Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes > > > On Mar 9, 2009, at 12:31 PM, shadih rahman wrote: > > > Can someone please advise how to monitor ftpd service with username > > password and download a file. The check_ftp plugins seems to be > > lacking some of these options. > > This plugin seems to work as advertised: > http://www.nagiosexchange.org/cgi-bin/page.cgi?g=1837.html;d=1 > > -- > Marc > > > > > ------------------------------ > > Message: 9 > Date: Mon, 9 Mar 2009 20:08:26 +0100 > From: "Nick" > Subject: [Nagios-users] New feature > To: > Message-ID: > Content-Type: text/plain; charset="us-ascii" > > Hello > > > Where is the correct place to ask fo new features to be considered for > addition in future versions > > Many thanks > > Nick > > > > > ------------------------------ > > Message: 10 > Date: Mon, 09 Mar 2009 15:32:05 -0400 > From: Andrew Davis > Subject: Re: [Nagios-users] Nagios, memory tests, and Linux hosts... > To: nagios-users at lists.sourceforge.net > Message-ID: <49B56EB5.6030307 at gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Looks good, but no performance data, which I would like to be able to > trend memory usage and justify upgrades. Anyone familiar with a good > memory test that properly handles memory reservations AND also includes > performance trending data? > > A. Davis > Email: nccomp at gmail.com > > "There is no limit to what a man can accomplish > if he doesn't care who gets the credit." - Ronald Reagan > > > > Justin Pasher wrote: > > Andrew Davis wrote: > >> So along with disk and CPU tests, I want to test for memory usage. I > >> pulled a perl memory script off Nagios Exchange and was quickly > >> reminded of how linux handles memory... how it leaves whatever has > >> been used previously as "reserved". Thus, a server with 4Gb of RAM > >> may show that 3.95Gb is in use, but in reality, more like 512Mb is in > >> use and the swap usage is under 10%, if used at all, confirming the > >> "actual versus reserved" issue. So how are you guys testing for > >> memory on Linux boxes that flag it as reserved when its not? Are > >> there any scripts on Nagios Exchange for memory testing that are > >> better than others? > > > > I use check_memory.pl. It properly takes buffers and cache into > > consideration (using the "free" command). > > > > > http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1433.html;d=1 > > > > -- > > Justin Pasher > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 11 > Date: Mon, 9 Mar 2009 15:37:27 -0400 > From: Jai Ram > Subject: [Nagios-users] make: Fatal error: Command failed for target > `all' > To: nagios-users at lists.sourceforge.net > Message-ID: > <9cfff3f00903091237u7c35aad6qa7407f72aa878599 at mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Hello All, > > Can anyone explain me about the following error. Am trying to install > nagios > but am getting this error and unable to move forward. > > # make all > cd ./base && make > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c ../common/snprintf.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o > checks.o config.o commands.o events.o flapping.o logging.o macros-base.o > netutils.o notifications.o sehandlers.o skiplist.o utils.o retention-base.o > xretention-base.o comments-base.o xcomments-base.o objects-base.o > xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o > xperfdata-base.o downtime-base.o xdowntime-base.o ../common/snprintf.o > -lm -lpthread -ldl -lrt > gcc: ../common/snprintf.o: No such file or directory > *** Error code 1 > make: Fatal error: Command failed for target `nagios' > Current working directory /tmp/nagios-3.1.0/base > *** Error code 1 > make: Fatal error: Command failed for target `all' > > > Any help in this is highly appreciated. > > Thanks > Jai. > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 12 > Date: Mon, 9 Mar 2009 20:54:52 +0100 > From: Natxo Asenjo > Subject: Re: [Nagios-users] check_ftp > To: "nagios-users at lists.sourceforge.net" > > Message-ID: > <90f6e8270903091254t32a765cfpa928bed3d49ff7cb at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > hi, > > did you check the nagiosexchange? www.nagiosexchange.org. I just saw > the plugin you were looking for. > -- > Groeten, > J.Asenjo > > > > ------------------------------ > > Message: 13 > Date: Mon, 09 Mar 2009 15:03:06 -0500 > From: Justin Pasher > Subject: Re: [Nagios-users] monitoring website > To: Harry John > Cc: Nagios Users mailinglist > Message-ID: <49B575FA.9080002 at newmediagateway.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Harry John wrote: > > Hi friends, > > > > am just wondering how to monitor a website as > > http://172.168.1.1:82/xap/murl2?language=en > > > > define service{ > > use generic-service ; Inherit default values from a template > > host_name remotehost > > service_description HTTP > > check_command check_http > > } > > How do I fit this link here? > > You'll need to call the check_http script with the -u option. The > default "check_http" command doesn't do this, so you'll have to create a > new one. Since you're also querying a custom port, you'll need to pass > that info along too. Something like this is one way to do it: > > > define command { > command_name check_http_path > command_line /usr/lib/nagios/plugins/check_http -H '$ARG1$' -u > '$ARG2$' -w $ARG3$ -c $ARG4$ > } > > define service { > use generic-service ; Inherit default values from a template > host_name remotehost > service_description HTTP > check_command check_http_path!172.168.1.1:82 > !/xap/murl2?language=en > !25!50 > } > > > -- > Justin Pasher > > > > ------------------------------ > > Message: 14 > Date: Mon, 09 Mar 2009 15:04:58 -0500 > From: Justin Pasher > Subject: Re: [Nagios-users] Nagios, memory tests, and Linux hosts... > To: nccomp at gmail.com > Cc: nagios-users at lists.sourceforge.net > Message-ID: <49B5766A.3000400 at newmediagateway.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Andrew Davis wrote: > > Looks good, but no performance data, which I would like to be able to > > trend memory usage and justify upgrades. Anyone familiar with a good > > memory test that properly handles memory reservations AND also > > includes performance trending data? > > I personally only use Nagios for monitoring services, not trending or > graphs. For that I use Cacti and SNMP (http://www.cacti.net/). > > -- > Justin Pasher > > > > ------------------------------ > > Message: 15 > Date: Mon, 9 Mar 2009 15:10:53 -0500 > From: "Marc Powell" > Subject: Re: [Nagios-users] New feature > To: > Message-ID: > Content-Type: text/plain; charset="us-ascii" > > > > > -----Original Message----- > > From: Nick [mailto:np121 at hotmail.com] > > Sent: Monday, March 09, 2009 2:08 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] New feature > > > > Hello > > > > > > Where is the correct place to ask fo new features to be considered for > > addition in future versions > > nagios-devel > > -- > Marc > > > > ------------------------------ > > Message: 16 > Date: Mon, 09 Mar 2009 15:14:27 -0500 > From: Justin Pasher > Subject: Re: [Nagios-users] monitoring website > To: Harry John > Cc: Nagios Users mailinglist > Message-ID: <49B578A3.4010704 at newmediagateway.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Justin Pasher wrote: > > Harry John wrote: > > > >> Hi friends, > >> > >> am just wondering how to monitor a website as > >> http://172.168.1.1:82/xap/murl2?language=en > >> > >> define service{ > >> use generic-service ; Inherit default values from a template > >> host_name remotehost > >> service_description HTTP > >> check_command check_http > >> } > >> How do I fit this link here? > >> > > > > define service { > > use generic-service ; Inherit default values from a template > > host_name remotehost > > service_description HTTP > > check_command check_http_path!172.168.1.1:82 > > !/xap/murl2?language=en > > !25!50 > > } > > > > Agh.. stupid Thunderbird. It should look like this: > > define service { > use generic-service ; Inherit default values from a template > host_name remotehost > service_description HTTP > check_command check_http_path!172.168.1.1:82 > !/xap/murl2?language=en!25!50 > } > > > > -- > Justin Pasher > > > > ------------------------------ > > Message: 17 > Date: Mon, 9 Mar 2009 15:14:41 -0500 > From: "Marc Powell" > Subject: Re: [Nagios-users] make: Fatal error: Command failed for > target `all' > To: > Message-ID: > Content-Type: text/plain; charset="us-ascii" > > > > > -----Original Message----- > > From: Jai Ram [mailto:jaiho8 at gmail.com] > > Sent: Monday, March 09, 2009 2:37 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] make: Fatal error: Command failed for target > `all' > > > > Hello All, > > > > Can anyone explain me about the following error. Am trying to install > nagios > > but am getting this error and unable to move forward. > > > > # make all > > cd ./base && make > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c ../common/snprintf.c > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o > nebmods.o > > checks.o config.o commands.o events.o flapping.o logging.o > macros-base.o > > netutils.o notifications.o sehandlers.o skiplist.o utils.o > retention-base.o > > xretention-base.o comments-base.o xcomments-base.o objects-base.o > xobjects- > > base.o statusdata-base.o xstatusdata-base.o perfdata-base.o > xperfdata-base.o > > downtime-base.o xdowntime-base.o ../common/snprintf.o -lm > -lpthread -ldl > > -lrt > > gcc: ../common/snprintf.o: No such file or directory > > Are you using GNU make? You should be. > > http://archive.netbsd.se/?ml=nagios-devel&a=2007-08&t=5023627 > > Try googleing for the gcc: line for more. > > -- > Marc > > > > ------------------------------ > > Message: 18 > Date: Mon, 9 Mar 2009 17:22:52 -0400 > From: Anirudh Srinivasan > Subject: [Nagios-users] nagios check frequency > To: nagios-users at lists.sourceforge.net > Message-ID: > <699b436a0903091422jdebc79ave18c7ec37e809c33 at mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Which parameter determine the time between two service checks. i.e let me > give an example . > > For Disk usage check i see that the time between two checks is > Check Duration: 0.374 seconds > There are so many parameters that its confusing . If thats the case what is > the excat parameter to look at > Kindly help > > > -- > Anirudh Srinivasan > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 19 > Date: Mon, 9 Mar 2009 21:45:12 -0000 > From: "Martyn" > Subject: [Nagios-users] Any recommendations > To: > Message-ID: > > chetnet.co.uk> > > Content-Type: text/plain; charset="us-ascii" > > Hi Group, anybody used or can recommend ant of the below, or any others, I > think if I can build a few via a GUI it will give me a better > understanding. > > Nagmin > Nagat > Nagiosweb > > Thanks > > Martyn > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 20 > Date: Mon, 9 Mar 2009 16:49:08 -0500 > From: "Marc Powell" > Subject: Re: [Nagios-users] nagios check frequency > To: > Message-ID: > Content-Type: text/plain; charset="us-ascii" > > > > > -----Original Message----- > > From: Anirudh Srinivasan [mailto:srianirudh at gmail.com] > > Sent: Monday, March 09, 2009 4:23 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] nagios check frequency > > > > Which parameter determine the time between two service checks. i.e let > me give > > an example . > > > > For Disk usage check i see that the time between two checks is > > Check Duration: 0.374 seconds > > This is the time it took to actually run the last check, not the > duration between checks. > > > There are so many parameters that its confusing. > > You'll soon recognize the usual suspects. > > > If thats the case what is the excat parameter to look at > > normal_check_interval. > > - > Marc > > > > > ------------------------------ > > Message: 21 > Date: Mon, 9 Mar 2009 16:57:28 -0500 > From: Rahul Nabar > Subject: [Nagios-users] how to generate an availability report for a > specific service on a whole hostgroup. > To: nagios-users Mailinglist > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > I cannot figure out what is the best way to generate (if at all > possible) this kind of a report in Nagios: > > For a specific service ("ssh") list all the nodes in a hostgroup that > had a status other than "normal" in the last year (say). I can get a > trend for a service on a specific host. But how do I get this report > for an entire hostgroup+service combination? > > Any tips? > > -- > Rahul > > > > ------------------------------ > > Message: 22 > Date: Mon, 09 Mar 2009 18:11:15 -0400 > From: Andrew Davis > Subject: Re: [Nagios-users] Any recommendations > To: nagios-users at lists.sourceforge.net > Message-ID: <49B59403.5020307 at gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Per the Nagios Exchange site, NagiosWeb only supports up to Nagios 2.x. > It also hasn't been updated since 2006. If you're going to do a new > Nagios install, you should be on 3.x. > > If you're going to try one, you're probably best off with NagMin, but > realistically, unless you're going to make changes in the web frontend, > then crawl your server for what's changed and diff it, you aren't likely > to learn it. I just migrated from BB to Nagios following Wolfgang > Barth's "Nagios 2nd Edition" and its been really helpful to understand > the file structures and command-line, especially if you want to extend > Nagios with trending, etc. So this is where I politely say "suck it up > and read the manual... or at least a good book about it". :) > > Of course, a few years of experience as a UNIX/Linux admin won't hurt > either... > > A. Davis > Email: nccomp at gmail.com > > "There is no limit to what a man can accomplish > if he doesn't care who gets the credit." - Ronald Reagan > > > > Martyn wrote: > > > > Hi Group, anybody used or can recommend ant of the below, or any > > others, I think if I can build a few via a GUI it will give me a > > better understanding. > > > > Nagmin > > Nagat > > Nagiosweb > > > > Thanks > > > > Martyn > > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------------ > > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > > -Strategies to boost innovation and cut costs with open source > participation > > -Receive a $600 discount off the registration fee with the source code: > SFAD > > http://p.sf.net/sfu/XcvMzF8H > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 23 > Date: Mon, 9 Mar 2009 15:20:39 -0700 > From: Kevin Keane > Subject: Re: [Nagios-users] logout for nagios web interface > Cc: nagios-users ML > Message-ID: <49B59637.504 at kkeane.com> > Content-Type: text/plain; charset="US-ASCII"; format="flowed" > > No, unfortunately it is not that easy. The problem is really not a > Nagios problem, but an HTTP authentication problem. Nagios uses HTTP > authentication, and that means that the user name and password are sent > with every single request. So when you try to reset this variable, it > will get set right back to what it was the next time the user requests a > page. > > HTTP authentication did not envision ever logging out; that is one of > the reasons why most Web sites today use Web forms and session-based > logins instead. I think there are tricks around this problem with HTTP > Auth, though. > > shadih rahman wrote: > > All, > > Is it possible to create logout for nagios web interface. As far > > as I understand, it is just matter of resetting the $_REMOTE_USER > > apache variable. Can someone please provide some guidance on this. > > Thanks > > > > -- > > Cordially, > > Shadhin Rahman > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------------ > > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > > -Strategies to boost innovation and cut costs with open source > participation > > -Receive a $600 discount off the registration fee with the source code: > SFAD > > http://p.sf.net/sfu/XcvMzF8H > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > -- > Kevin Keane > Owner > The NetTech > Find the Uncommon: Expert Solutions for a Network You Never Have to Think > About > > Office: 866-642-7116 > http://www.4nettech.com > > This e-mail and attachments, if any, may contain confidential and/or > proprietary information. Please be advised that the unauthorized use or > disclosure of the information is strictly prohibited. The information herein > is intended only for use by the intended recipient(s) named above. If you > have received this transmission in error, please notify the sender > immediately and permanently delete the e-mail and any copies, printouts or > attachments thereof. > > > > > ------------------------------ > > Message: 24 > Date: Mon, 9 Mar 2009 23:05:06 -0000 > From: "Martyn" > Subject: Re: [Nagios-users] Any recommendations > To: , > Message-ID: > > chetnet.co.uk> > > Content-Type: text/plain; charset="us-ascii" > > Yep I understand, which book to purchase is the question though. > > Building a Monitoring Infrastructure with Nagios > > > http://www.amazon.com/Building-Monitoring-Infrastructure-Nagios-Josephsen/dp > /0132236931/ref=pd_bxgy_b_img_b > > or > > Nagios 3 Enterprise Network Monitoring: Including Plug-Ins and Hardware > Devices > > > http://www.amazon.com/Nagios-Enterprise-Network-Monitoring-Including/dp/1597 > 492671/ref=pd_bbs_sr_2?ie=UTF8 > < > http://www.amazon.com/Nagios-Enterprise-Network-Monitoring-Including/dp/159 > 7492671/ref=pd_bbs_sr_2?ie=UTF8&s=books&qid=1222355174&sr=8-2> > &s=books&qid=1222355174&sr=8-2 > > Am on the verge of purchasing Nagios 3 ent. > > Thanks > > _____ > > From: Andrew Davis [mailto:nccomp at gmail.com] > Sent: 09 March 2009 22:11 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Any recommendations > > > Per the Nagios Exchange site, NagiosWeb only supports up to Nagios 2.x. It > also hasn't been updated since 2006. If you're going to do a new Nagios > install, you should be on 3.x. > > If you're going to try one, you're probably best off with NagMin, but > realistically, unless you're going to make changes in the web frontend, > then > crawl your server for what's changed and diff it, you aren't likely to > learn > it. I just migrated from BB to Nagios following Wolfgang Barth's "Nagios > 2nd > Edition" and its been really helpful to understand the file structures and > command-line, especially if you want to extend Nagios with trending, etc. > So > this is where I politely say "suck it up and read the manual... or at least > a good book about it". :) > > Of course, a few years of experience as a UNIX/Linux admin won't hurt > either... > > A. Davis > > Email: nccomp at gmail.com > > > > "There is no limit to what a man can accomplish > > if he doesn't care who gets the credit." - Ronald Reagan > > > Martyn wrote: > > Hi Group, anybody used or can recommend ant of the below, or any others, I > think if I can build a few via a GUI it will give me a better > understanding. > > Nagmin > Nagat > Nagiosweb > > Thanks > > Martyn > > > > _____ > > > > ---------------------------------------------------------------------------- > -- > > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > > -Strategies to boost innovation and cut costs with open source > participation > > -Receive a $600 discount off the registration fee with the source code: > SFAD > > http://p.sf.net/sfu/XcvMzF8H > > > _____ > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > > ------------------------------------------------------------------------------ > > > ------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > End of Nagios-users Digest, Vol 34, Issue 13 > ******************************************** > -- Anirudh Srinivasan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Tue Mar 10 18:04:26 2009 From: nccomp at gmail.com (Andrew Davis) Date: Tue, 10 Mar 2009 13:04:26 -0400 Subject: Sub-groups of hostgroups Message-ID: <49B69D9A.2040505@gmail.com> Is it possible to do a sub-group of a hostgroup? For example, right now I have the following hostgroups: linux-servers unix-servers mac-servers network-devices I'm going to be adding "windows-servers" as a hostgroup, but within this group I want to further subgroup both for readability and notifications. For example, I'd like subgroups of: directory-servers exchange-servers file-servers as sub-groups of the parent "windows-servers" hostgroup. Is this possible? If so, anyone have a working config/example they can share? -- A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mariog at absi.be Tue Mar 10 18:09:01 2009 From: mariog at absi.be (mariog at absi.be) Date: Tue, 10 Mar 2009 18:09:01 +0100 Subject: nrpe sous Tikanga Message-ID: I compiled nagios (nagios-plugins-1.4.13)and nrpe (nrpe-2.8.1) on my new redhatLinux server: Red Hat Enterprise Linux Server release 5.3 (Tikanga) Nrpe is runnning under Xinetd, i reviewed all config file x times and the post i followed is complete. Here, i provide some outputs to show dat i made a good configuration: netstat -at | grep nrpe tcp 0 0 *:nrpe *:* LISTEN tcp 0 0 rhl5-vm:nrpe 192.168.2.18:40265 ESTABLISHED tcp 0 0 rhl5-vm:nrpe 192.168.2.18:40264 ESTABLISHED /usr/local/nagios/libexec/check_nrpe -H localhost NRPE v2.8.1 But on nagios server CGI all checks, except ssh et snmp are criticals with following message: Service Check Timed Out A tail -f /var/log/messages on the client , shows: Mar 10 12:04:44 rhl5-vm xinetd[9561]: START: nrpe pid=11086 from=192.168.2.18 Mar 10 12:04:44 rhl5-vm xinetd[9561]: START: nrpe pid=11087 from=192.168.2.18 Mar 10 12:05:44 rhl5-vm nrpe[11086]: Could not read request from client, bailing out... Mar 10 12:05:44 rhl5-vm xinetd[9561]: EXIT: nrpe status=0 pid=11086 duration=60(sec) Mar 10 12:05:44 rhl5-vm nrpe[11087]: Could not read request from client, bailing out... Mar 10 12:05:44 rhl5-vm xinetd[9561]: EXIT: nrpe status=0 pid=11087 duration=60(sec) If someone had already got such issue, any recommendations will be helpful. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Mar 10 18:20:46 2009 From: marc at ena.com (Marc Powell) Date: Tue, 10 Mar 2009 12:20:46 -0500 Subject: Sub-groups of hostgroups In-Reply-To: <49B69D9A.2040505@gmail.com> References: <49B69D9A.2040505@gmail.com> Message-ID: <19801BC4-28C4-45A6-B514-68CABE5575B3@ena.com> On Mar 10, 2009, at 12:04 PM, Andrew Davis wrote: > Is it possible to do a sub-group of a hostgroup? For example, right > now I have the following hostgroups: > > linux-servers > unix-servers > mac-servers > network-devices > > I'm going to be adding "windows-servers" as a hostgroup, but within > this group I want to further subgroup both for readability and > notifications. For example, I'd like subgroups of: > > directory-servers > exchange-servers > file-servers > > as sub-groups of the parent "windows-servers" hostgroup. > > Is this possible? If so, anyone have a working config/example they > can share? http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#hostgroup "hostgroup_members: This optional directive can be used to include hosts from other "sub" host groups in this host group. Specify a comma- delimited list of short names of other host groups whose members should be included in this group." Hosts can also be members of multiple hostgroups by specifying them on the members line of the hostgroup definitions or comma separated in the hostgroups parameter of the host definition. -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-users at cs-ol.de Tue Mar 10 19:20:38 2009 From: nagios-users at cs-ol.de (=?ISO-8859-1?Q?Udo_M=FCller?=) Date: Tue, 10 Mar 2009 19:20:38 +0100 Subject: Problem after upgrade to 3.x: Recipient $ Message-ID: <49B6AF76.8070503@cs-ol.de> Hi all, I recently upgraded my nagios 2.x to 3.x. Nagios' preflight-check runs fine. For service notification i use this event handler: /usr/bin/printf "%b" "***** Nagios ***** Notification Type: $NOTIFICATIONTYPE$ Service: $SERVICEDESC$ Host: $HOSTALIAS$ Address: $HOSTADDRESS$ State: $SERVICESTATE$ Date/Time: $LONGDATETIME$ Additional Info: $SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ If nagios runs a "service event handler" the only recipient is '$' nagios.log: SERVICE ALERT: oldmz-main-01;Jira Webservice;CRITICAL;SOFT;1;CRITICAL - Socket timeout after 10 seconds [1236690758] SERVICE EVENT HANDLER: oldmz-main-01;Jira Webservice;(null);(null);(null);notify-by-email corresponding mail.log entry: 369EEA4246: uid=117 from= 369EEA4246: message-id=<20090310131338.369EEA4246 at domain> 369EEA4246: from=, size=635, nrcpt=1 (queue active) 369EEA4246: to=, orig_to=<$>, relay=mail.domain[192.168.xx.xx]:25, delay=0.1, delays=0.03/0/0.01/0.06, dsn=2.6.0, status=sent (250 2.6.0 <20090310131338.369EEA4246 at domain> Queued mail for delivery) 369EEA4246: removed But the service entry has a valid contactgroup system.admins in which are 4 persons with valid email addresses. I can provide my configuration files if you need them. Why does nagios send to '$'? Regards Udo ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Tue Mar 10 19:06:57 2009 From: subscription at kkeane.com (Kevin Keane) Date: Tue, 10 Mar 2009 11:06:57 -0700 Subject: free Page table entries In-Reply-To: References: Message-ID: <49B6AC41.7090803@kkeane.com> It's a Windows performance monitor counter. Basically, it is used to figure out how well your memory management is working. To actually monitor it, you would probably use NSClient++ (you can also access it differently, but NSClient++ is the most common approach). Martyn wrote: > > I have been asked to see if Nagios can monitor free PTEs, I'm going to > hit Goole to find out what they are but thought I would ask the group > who know everything first > > Cheers > > Martyn > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cbeattie at geninfo.com Tue Mar 10 20:18:44 2009 From: cbeattie at geninfo.com (Chris Beattie) Date: Tue, 10 Mar 2009 15:18:44 -0400 Subject: Sub-groups of hostgroups In-Reply-To: <49B69D9A.2040505@gmail.com> References: <49B69D9A.2040505@gmail.com> Message-ID: <49B6BD14.7030802@geninfo.com> Andrew Davis wrote: > Is it possible to do a sub-group of a hostgroup? As far as I know, hostgroups are all at the same level, but hosts can be members of more than one hostgroup. I set my host definitions up like this: define host { use prod_windows_server host_name servername alias serveralias address w.x.y.z hostgroups +FTP Servers,Web Servers } My prod_windows_server host template sets a hostgroup of windows_servers. In the host definition here, the + adds the additional host groups to the host. Without the +, the host definition's hostgroup setting would replace windows_servers. Then, in my services.cfg, I assign services to hostgroups: define service { use standard_service name Web_Service hostgroup_name Web Servers service_description Service: Web check_command check_nt_service!W3SVC } You don't have to assign services to a hostgroup, but it's convenient for me to do so. -- Chris Beattie Nothing in this message is intended to make or accept and offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately . Thank you. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Tue Mar 10 20:29:13 2009 From: martyn at chetnet.co.uk (Martyn) Date: Tue, 10 Mar 2009 19:29:13 -0000 Subject: free Page table entries In-Reply-To: <49B6AC41.7090803@kkeane.com> References: <49B6AC41.7090803@kkeane.com> Message-ID: Thanks for the reply, do you know of which one I would monitor, this is all pretty new to me. Thanks Martyn -----Original Message----- From: Kevin Keane [mailto:subscription at kkeane.com] Sent: 10 March 2009 18:07 Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] free Page table entries It's a Windows performance monitor counter. Basically, it is used to figure out how well your memory management is working. To actually monitor it, you would probably use NSClient++ (you can also access it differently, but NSClient++ is the most common approach). Martyn wrote: > > I have been asked to see if Nagios can monitor free PTEs, I'm going to > hit Goole to find out what they are but thought I would ask the group > who know everything first > > Cheers > > Martyn > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ---------------------------------------------------------------------------- -- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Tue Mar 10 20:48:38 2009 From: martyn at chetnet.co.uk (Martyn) Date: Tue, 10 Mar 2009 19:48:38 -0000 Subject: Any recommendations In-Reply-To: <3d2eb72a0903092143i7a6d0baan2061fae7aaa54fca@mail.gmail.com> References: <3d2eb72a0903092143i7a6d0baan2061fae7aaa54fca@mail.gmail.com> Message-ID: Your first warning that appears is: "You are running an unstable version of Lilac, Unstable versions may not be feature complete and not production, use it at you own risk" For a complete novice like myself it proves to much of a risk to install, the last thing I want to do is find myself 3 months backwards. Martyn -----Original Message----- From: Taylor Dondich [mailto:tdondich at gmail.com] Sent: 10 March 2009 04:43 To: Martyn Cc: nccomp at gmail.com; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Any recommendations Please please please. Best Nagios 3.x configuration tool with the most coverage of Nagios 3.x features. Lilac! www.lilacplatform.com Taylor On Mon, Mar 9, 2009 at 4:05 PM, Martyn wrote: > Yep I understand, which book to purchase is the question though. > > Building a Monitoring Infrastructure with Nagios > > http://www.amazon.com/Building-Monitoring-Infrastructure-Nagios-Joseph > sen/dp/0132236931/ref=pd_bxgy_b_img_b > > or > > Nagios 3 Enterprise Network Monitoring: Including Plug-Ins and > Hardware Devices > > http://www.amazon.com/Nagios-Enterprise-Network-Monitoring-Including/d > p/1597492671/ref=pd_bbs_sr_2?ie=UTF8&s=books&qid=1222355174&sr=8-2 > > Am on the verge of purchasing? Nagios 3 ent. > > Thanks > ________________________________ > From: Andrew Davis [mailto:nccomp at gmail.com] > Sent: 09 March 2009 22:11 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Any recommendations > > Per the Nagios Exchange site, NagiosWeb only supports up to Nagios > 2.x. It also hasn't been updated since 2006. If you're going to do a > new Nagios install, you should be on 3.x. > > If you're going to try one, you're probably best off with NagMin, but > realistically, unless you're going to make changes in the web > frontend, then crawl your server for what's changed and diff it, you > aren't likely to learn it. I just migrated from BB to Nagios following > Wolfgang Barth's "Nagios 2nd Edition" and its been really helpful to > understand the file structures and command-line, especially if you > want to extend Nagios with trending, etc. So this is where I politely > say "suck it up and read the manual... or at least a good book about > it". :) > > Of course, a few years of experience as a UNIX/Linux admin won't hurt > either... > > A. Davis > Email: nccomp at gmail.com > > "There is no limit to what a man can accomplish > if he doesn't care who gets the credit." - Ronald Reagan > > > Martyn wrote: > > Hi Group, anybody used or can recommend ant of the below, or any > others, I think if I can build a few via a GUI it will give me a better understanding. > > Nagmin > Nagat > Nagiosweb > > Thanks > > Martyn > > ________________________________ > ---------------------------------------------------------------------- > -------- Open Source Business Conference (OSBC), March 24-25, 2009, > San Francisco, CA -OSBC tackles the biggest issue in open source: Open > Sourcing the Enterprise -Strategies to boost innovation and cut costs > with open source participation -Receive a $600 discount off the > registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > > ________________________________ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ---------------------------------------------------------------------- > -------- > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Taylor Dondich Check out Lilac, a configuration tool for Nagios 3 at http://www.lilacplatform.com Check out my Shortcut with O'Reilly Press: Network Monitoring with Nagios: http://oreilly.com/catalog/9780596528195/index.html ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From np121 at hotmail.com Tue Mar 10 21:00:56 2009 From: np121 at hotmail.com (Nick) Date: Tue, 10 Mar 2009 21:00:56 +0100 Subject: combining nagios servers Message-ID: Hello I have several nagios servers on different sites all with 2 ethernet cards 1 public and 1 private IP address. They are used to monitor services and hosts on the internal subnet I want to keep it so the local sites can see their own nagios servers web interface. Is there anyway I can combine the output of all the nagios servers to my office on my nagios server. I have a separate screen that displays the "Service Detail" web page and I look at the top of it. "Host and service status totals" if everything is green I know there is no problems throughout the whole system. Would be nice if I could see all the nagios servers outputs on my 1 screen Any ideas are welcome Many thanks Nick ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mirde at oppy.com Tue Mar 10 20:50:56 2009 From: mirde at oppy.com (Mirza Dedic) Date: Tue, 10 Mar 2009 12:50:56 -0700 Subject: Nagios Service Check Delay In-Reply-To: References: <49B6AC41.7090803@kkeane.com> Message-ID: Hello, I have Nagios monitoring about 200 services on our network, this includes various services, processes and network devices. With this, we also have NSClient++ monitoring our Windows boxes. Currently, when a service is reported DOWN, Nagios schedules the next service check to be 10minutes after. Is there a way to make this less? I am looking for something close to 2minutes. Here is an example of my config.. The Service generic template is: define service{ name generic-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 contact_groups admins notification_options w,u,c,r notification_interval 120 notification_period 24x7 register 0 } The service config: define service{ use generic-service contact_groups custom_notifygrp_1 host_name van-report service_description Optimo Report Service check_command van-report_optimo } The check command: (NSClient++ running on the host being checked) define command{ command_name van-report_optimo command_line $USER1$/check_nt -H THEHOST -s PASSWD -p PORT -v SERVICESTATE -l "OptimoReportService" } Based on the config above, shouldn't Nagios schedule the next service check within 2 minutes? What controls this option? Thanks. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Tue Mar 10 21:34:56 2009 From: nccomp at gmail.com (Andrew Davis) Date: Tue, 10 Mar 2009 16:34:56 -0400 Subject: Monitoring Windows hosts... Message-ID: <49B6CEF0.80908@gmail.com> I'm a UNIX and network guy, but since Nagios is my task, I also have to add the Windows servers to Nagios. The network tests are fine, but I'm curious which is the best solution for monitoring local items on a Windows server (2000, 2003, and 2008). Here's what I think the options are: Use check_nt with NSClient, NSClient++, OpMon Agent, or NC_Net Use check_nrpe with NSClient++, OpMon Agent, or NRPE_NT Use check_ncnet with NSClient, NSClient++, OpMon Agent, or NC_Ne Use NSCA-Daemon with NC_Net Note: I'm interested in screwing with WMI... NSClient appears to be old, but stable and well known. However I see it has good support for NT4 and 2000 and 2003 R1, but not 2003 R2 and I don't see anything about 2008 Server. NC_Net looks current and well developed. NSClient++ seems to have NSClient compatibility, but is more current and supports NT4 thru 2008. It looks like I already have check_nt as part of a default 3.x installation. NRPE_NT also seems to have been around for a bit and stable. NSClient++ seems to have its own, native NRPE support. What are your opinions of the best combination to A) get the best overall support and B) have the least impact/installation on a Windows server? I want something current and currently developed with 2008 support, but I also want stability and the least work possible. Presently I'm using NRPE for my local linux/UNIX servers, so I'm inclined to give NRPE a try, but I'd also like to avoid loading plugins on the Windows client if I can. I'm leaning towards NSClient++ with check_nt, but I'm not sure this is the best solutions. Thoughts, opinions, and ideas are requested... -- A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Tue Mar 10 21:34:22 2009 From: nccomp at gmail.com (Andrew Davis) Date: Tue, 10 Mar 2009 16:34:22 -0400 Subject: Mobile phone/non-WAP interface Message-ID: <49B6CECE.2080503@gmail.com> I see there's a WAP version built-in to Nagios, but what about phones that don't do WAP (ie: the iPhone)? Is there a simplied interface for viewing from a mobile device? I found "inagios" on Google, but the code, documentation, and such looks sketchy. I'm looking for something a bit more solid. Ideas? -- A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chrflores at gmail.com Tue Mar 10 21:57:41 2009 From: chrflores at gmail.com (Christopher Flores) Date: Wed, 11 Mar 2009 04:57:41 +0800 Subject: dell powervault in nagios Message-ID: Hi All, I'm trying to setup Nagios to monitor our Dell Powervault 132T using SNMP. I've tried using snmptrapd and snmptt to translate MIBS, but can't get it to work in Nagios. Has anyone tried this before? or maybe someone can show me the right way to do it. Thanks in advance, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agargiulo at users.sourceforge.net Tue Mar 10 22:12:32 2009 From: agargiulo at users.sourceforge.net (agargiulo at users.sourceforge.net) Date: Tue, 10 Mar 2009 22:12:32 +0100 Subject: Introducing NConf: An enterprise Nagios configurator Message-ID: <1236719551PHP-mail@stars.access.ch> NConf is a new open-source PHP based web-tool for configuring the Nagios monitoring software. It differs from similar tools by offering enterprise-class features like service templates, dependencies and to configure a large-scale, distributed Nagios server topology. http://nconf.sourceforge.net Main NConf freatures: * effortlessly configure a distributed Nagios topology * define host templates for your hosts * define dependencies between hosts * user-friendly web-GUI * choose from multiple authentication modes * easily expandable and customizable data schema * customizable appearance * runs on Linux / Apache / PHP / MySQL ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agargiulo at users.sourceforge.net Tue Mar 10 22:23:19 2009 From: agargiulo at users.sourceforge.net (agargiulo at users.sourceforge.net) Date: Tue, 10 Mar 2009 22:23:19 +0100 Subject: Introducing NConf: An enterprise Nagios configurator Message-ID: <1236720199PHP-mail@stars.access.ch> NConf is a new open-source PHP based web-tool for configuring the Nagios monitoring software. It differs from similar tools by offering enterprise-class features like service templates, dependencies and to configure a large-scale, distributed Nagios server topology. http://nconf.sourceforge.net Main NConf freatures: * effortlessly configure a distributed Nagios topology * define host templates for your hosts * define dependencies between hosts * user-friendly web-GUI * choose from multiple authentication modes * easily expandable and customizable data schema * customizable appearance * runs on Linux / Apache / PHP / MySQL ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Mar 10 22:49:22 2009 From: marc at ena.com (Marc Powell) Date: Tue, 10 Mar 2009 16:49:22 -0500 Subject: Problem after upgrade to 3.x: Recipient $ In-Reply-To: <49B6AF76.8070503@cs-ol.de> References: <49B6AF76.8070503@cs-ol.de> Message-ID: On Mar 10, 2009, at 1:20 PM, Udo M?ller wrote: > Hi all, > > I recently upgraded my nagios 2.x to 3.x. Nagios' preflight-check > runs fine. Is this an implication that this worked under 2.x? > For service notification i use this event handler: > > /usr/bin/printf "%b" "***** Nagios ***** Notification Type: > $NOTIFICATIONTYPE$ Service: $SERVICEDESC$ Host: $HOSTALIAS$ Address: > $HOSTADDRESS$ State: $SERVICESTATE$ Date/Time: $LONGDATETIME$ > Additional > Info: $SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ > Service > Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ > Why does nagios send to '$'? Event handlers are not meant to be used for notifications. The $CONTACTEMAIL$ macro isn't valid for them. If this was working under 2.x (I have doubt it was since the macro wasn't supposed to be valid then either), it shouldn't have been and would have been a bug. http://nagios.sourceforge.net/docs/3_0/macrolist.html -- Marc ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Mar 10 22:46:49 2009 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 10 Mar 2009 14:46:49 -0700 Subject: Mobile phone/non-WAP interface In-Reply-To: <49B6CECE.2080503@gmail.com> References: <49B6CECE.2080503@gmail.com> Message-ID: <20090310214649.GZ30298@bakgwai.americas.hpqcorp.net> On Tue, 10 Mar 2009, Andrew Davis wrote: > I see there's a WAP version built-in to Nagios, but what about phones that don't do WAP (ie: the iPhone)? Is there a simplied interface for viewing from a mobile device? I found "inagios" on Google, but the code, documentation, and such looks sketchy. I'm looking for something a bit more solid. Ideas? The WAP interface provided by nagios works fine on iPhones, as does the full standard web interface. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Mar 10 22:54:57 2009 From: marc at ena.com (Marc Powell) Date: Tue, 10 Mar 2009 16:54:57 -0500 Subject: combining nagios servers In-Reply-To: References: Message-ID: <2CEE93FB-3EB3-4676-8626-5B21204C8852@ena.com> On Mar 10, 2009, at 3:00 PM, Nick wrote: > Is there anyway I can combine the output of all the nagios servers > to my > office on my nagios server. http://nagios.sourceforge.net/docs/3_0/distributed.html -- Marc ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srianirudh at gmail.com Tue Mar 10 23:02:12 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Tue, 10 Mar 2009 18:02:12 -0400 Subject: cancel or disable scheduled downtime Message-ID: <699b436a0903101502l275bcf70i8483bbe8459d0363@mail.gmail.com> I have selected from the right pane in the webinterface " schedule downtime for this host" But now how do i disable it , or cancel it. Any help would be highly appreciated Thanks -- Anirudh Srinivasan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue Mar 10 23:07:19 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 10 Mar 2009 22:07:19 +0000 Subject: Monitoring Windows hosts... In-Reply-To: <49B6CEF0.80908@gmail.com> References: <49B6CEF0.80908@gmail.com> Message-ID: <765d77c80903101507q4b46918cybe185995dfe9dc7@mail.gmail.com> 2009/3/10 Andrew Davis : > What are your opinions of the best combination to A) get the best overall > support Be prepared to learn, contribute and if necessary pay. > and B) have the least impact/installation on a Windows server? SNMP (probably not compatible with A though). > I want something current and currently developed with 2008 support, but I also > want stability and the least work possible. Presently I'm using NRPE for my > local linux/UNIX servers, so I'm inclined to give NRPE a try, but I'd also > like to avoid loading plugins on the Windows client if I can. Good luck! I believe > I'm leaning towards NSClient++ with check_nt, but I'm not sure this is the > best solutions. There are worse options, but I suggest you read http://trac.nakednuns.org/nscp/wiki/doc/About where the author, Michael Medin says, amongst other things, "As for checking with NSClient++, I would recommend NRPE as it is a lot more flexible than check_nt." > Thoughts, opinions, and ideas are requested... There isn't any substitute for trying some of these solutions for yourself and finding out what the pros & cons are. Personally, I use NSClient++ with mostly nrpe checks but also some check_nt checks. On occasion I also use the nsca functionality with NSClient++ to do passive checks. I've also used a standalone send_nsca (sorry can't remember which) to return results from backup scripts and suchlike to Nagios. If you decide to try nc_net, make sure you download and compile their alternative check_nt which has much better support for performance data and a few other neat features not available in the default check_nt plugin. See http://www.shatterit.com/nc_net/ Cheers, Jim ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Tue Mar 10 22:32:46 2009 From: subscription at kkeane.com (Kevin Keane) Date: Tue, 10 Mar 2009 14:32:46 -0700 Subject: free Page table entries In-Reply-To: References: Message-ID: <49B6DC7E.9040105@kkeane.com> To see all available performance monitors, simply open the Performance Monitor application (perfmon.exe) and click on the + icon. In this case, the performance monitor you'd want is under Memory and is called Free System Page Table Entries. It is one of the more commonly monitored counters, so you can probably google for it. If you include NSClient++ in your search, you'll get a lot of Nagios-specific information about it. My TNTMonitoring agent also monitors it, BTW. You could download it and simply take a look at the configuration file to see how to call it (btw, the plugin I'm using to connect to NSClient++ is another GPL project of mine - basically just a port to Windows of the standard NSClient++ plugin). Martyn wrote: > Thanks for the reply, do you know of which one I would monitor, this is all > pretty new to me. > > Thanks > > Martyn > > -----Original Message----- > From: Kevin Keane [mailto:subscription at kkeane.com] > Sent: 10 March 2009 18:07 > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] free Page table entries > > It's a Windows performance monitor counter. Basically, it is used to figure > out how well your memory management is working. > > To actually monitor it, you would probably use NSClient++ (you can also > access it differently, but NSClient++ is the most common approach). > > Martyn wrote: > >> I have been asked to see if Nagios can monitor free PTEs, I'm going to >> hit Goole to find out what they are but thought I would ask the group >> who know everything first >> >> Cheers >> >> Martyn >> -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jaiho8 at gmail.com Tue Mar 10 23:37:56 2009 From: jaiho8 at gmail.com (Jai Ram) Date: Tue, 10 Mar 2009 18:37:56 -0400 Subject: Error in installing nagios Message-ID: <9cfff3f00903101537i62f76c71jb5a6f2a4008c8926@mail.gmail.com> Hello, Am having the below error when I am trying to run make all. Any help in this would be greatly appreciated. root at esx2:/var/tmp/nagios !379 # make all cd ./base && make gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o macros-base.o netutils.o notifications.o sehandlers.o skiplist.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o ../base/snprintf.o -lm -lpthread -ldl -lrt Undefined first referenced symbol in file recv netutils.o send netutils.o socket netutils.o getsockopt netutils.o connect netutils.o getaddrinfo netutils.o freeaddrinfo netutils.o ld: fatal: Symbol referencing errors. No output written to nagios collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `nagios' Current working directory /var/tmp/nagios/base *** Error code 1 make: Fatal error: Command failed for target `all' Thanks Jai. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel at danielemmanuelfeinsmith.com Wed Mar 11 00:43:39 2009 From: daniel at danielemmanuelfeinsmith.com (D. Emmanuel Feinsmith) Date: Tue, 10 Mar 2009 16:43:39 -0700 Subject: Mobile phone/non-WAP interface In-Reply-To: <20090310214649.GZ30298@bakgwai.americas.hpqcorp.net> References: <49B6CECE.2080503@gmail.com> <20090310214649.GZ30298@bakgwai.americas.hpqcorp.net> Message-ID: Hi Patrick, I have submitted a native iPhone Nagios App to the iPhone App Store. They say it takes between 30 and 60 days to get on the store. It's written in Objective-C and gives very good user responsiveness, even with large installations. Way better than using Safari on the iPhone or WAP on other phones. Here are some screen shots of the beta version: http://www.shastasystems.com/nagiostouch.html It works on any Nagios instance, no modifications are necessary to the server itself. I'll send a message to this list when it is up on the store. Best Regards, Daniel. On Mar 10, 2009, at 2:46 PM, Patrick Morris wrote: > On Tue, 10 Mar 2009, Andrew Davis wrote: > >> I see there's a WAP version built-in to Nagios, but what about >> phones that don't do WAP (ie: the iPhone)? Is there a simplied >> interface for viewing from a mobile device? I found "inagios" on >> Google, but the code, documentation, and such looks sketchy. I'm >> looking for something a bit more solid. Ideas? > > The WAP interface provided by nagios works fine on iPhones, as does > the > full standard web interface. > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) > are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly > and > easily build your RIAs with Flex Builder, the Eclipse(TM)based > development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-users at cs-ol.de Wed Mar 11 01:38:57 2009 From: nagios-users at cs-ol.de (=?ISO-8859-1?Q?Udo_M=FCller?=) Date: Wed, 11 Mar 2009 01:38:57 +0100 Subject: Problem after upgrade to 3.x: Recipient $ In-Reply-To: References: <49B6AF76.8070503@cs-ol.de> Message-ID: <49B70821.3000108@cs-ol.de> Marc Powell wrote: > On Mar 10, 2009, at 1:20 PM, Udo M?ller wrote: > >> Hi all, >> >> I recently upgraded my nagios 2.x to 3.x. Nagios' preflight-check >> runs fine. > > Is this an implication that this worked under 2.x? Correct. >> For service notification i use this event handler: >> >> /usr/bin/printf "%b" "***** Nagios ***** Notification Type: >> $NOTIFICATIONTYPE$ Service: $SERVICEDESC$ Host: $HOSTALIAS$ Address: >> $HOSTADDRESS$ State: $SERVICESTATE$ Date/Time: $LONGDATETIME$ >> Additional >> Info: $SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ >> Service >> Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ > > >> Why does nagios send to '$'? > > Event handlers are not meant to be used for notifications. The > $CONTACTEMAIL$ macro isn't valid for them. If this was working under > 2.x (I have doubt it was since the macro wasn't supposed to be valid > then either), it shouldn't have been and would have been a bug. > > http://nagios.sourceforge.net/docs/3_0/macrolist.html I already read this and asked myself why nagios invokes that event handler. My configuration is e.g: define service { flap_detection_enabled 0 check_freshness 0 check_period 24x7 freshness_threshold 0 passive_checks_enabled 1 notification_period 24x7 retain_status_information 0 high_flap_threshold 0 service_description Jira Webservice parallelize_check 1 notification_options w,u,c,r normal_check_interval 1 host_name oldmz-main-01 obsess_over_service 0 retry_check_interval 1 event_handler_enabled 1 notifications_enabled 1 event_handler notify-by-email active_checks_enabled 1 process_perf_data 1 is_volatile 0 max_check_attempts 5 retain_nonstatus_information 0 check_command check_https_url!https://domain/jira/secure/Dashboard.jspa low_flap_threshold 0 notification_interval 60 contact_groups tomcat.admins } The problem is that i have the event_handler_enabled? And the event_handler "notify_by_email" is used for notifications _and_ the event_handler? With 2.x i only got a notification when the service isnt available for 5 minutes. With 3.x the event_handler is executed every minute the service isnt available. So will it help if i disable the "event_handler_enabled"? Regards Udo ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Mar 11 01:48:38 2009 From: marc at ena.com (Marc Powell) Date: Tue, 10 Mar 2009 19:48:38 -0500 Subject: cancel or disable scheduled downtime In-Reply-To: <699b436a0903101502l275bcf70i8483bbe8459d0363@mail.gmail.com> References: <699b436a0903101502l275bcf70i8483bbe8459d0363@mail.gmail.com> Message-ID: On Mar 10, 2009, at 5:02 PM, Anirudh Srinivasan wrote: > I have selected from the right pane in the webinterface " schedule > downtime for this host" > > But now how do i disable it , or cancel it. Any help would be highly > appreciated You can use the 'Downtime' link from the main menu on the left. -- Marc ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Wed Mar 11 01:59:08 2009 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 10 Mar 2009 20:59:08 -0400 Subject: Monitoring Windows hosts... In-Reply-To: <49B6CEF0.80908@gmail.com> References: <49B6CEF0.80908@gmail.com> Message-ID: There are a Lot of options Naturally I prefer NC_NEt since I made it but it is not Ideal for all situations, It uses the Dot Net Framework. and Allows easy access to WMI, Event Logs, and Custom scripts and executables. (use check_nc_net to access the help on the individual commads in nc_net) I would recomend you test all the agents. and see what one you like the best, each on had advantages and disadvantages. Then decide what you need to fetch from the windows servers and if you need to Push or Pull the data from that server. if you need to Push from Windows to Nagios, then use NSCA or NSCA through NC_NEt. If you need/want to pull from Nagios initiating the commands Start with CHeck_nt and try any of the Windows clients. (if availible try them all check_nt syntex is the same for each.) once installed you will see what additional commands are availible either through the documentaiton or the help IF windows client you like the best is missing a particular command or means of retrieving the data you want then use NRPE to augment it. this will allow for custom scripts and executables to retrive data or perform work. For most active checks check_nrpe and check_nt can be used. since NC_NEt has a lot of additional commands built into it it has its own version of check_nt called check_nc_net check_nc_net contians the NC_NEt command documention through the --help=COMMANDNAME Argument After testing them, Post back some of your experience it may help others choose what one is best for them. Tony (Author of NC_Net) On Tue, Mar 10, 2009 at 4:34 PM, Andrew Davis wrote: > I'm a UNIX and network guy, but since Nagios is my task, I also have to add > the Windows servers to Nagios. The network tests are fine, but I'm curious > which is the best solution for monitoring local items on a Windows server > (2000, 2003, and 2008). > > Here's what I think the options are: > > Use check_nt with NSClient, NSClient++, OpMon Agent, or NC_Net > Use check_nrpe with NSClient++, OpMon Agent, or NRPE_NT > Use check_ncnet with NSClient, NSClient++, OpMon Agent, or NC_Ne > Use NSCA-Daemon with NC_Net > > Note: I'm interested in screwing with WMI... > > NSClient appears to be old, but stable and well known. However I see it has > good support for NT4 and 2000 and 2003 R1, but not 2003 R2 and I don't see > anything about 2008 Server. > > NC_Net looks current and well developed. > > NSClient++ seems to have NSClient compatibility, but is more current and > supports NT4 thru 2008. > > It looks like I already have check_nt as part of a default 3.x > installation. > > NRPE_NT also seems to have been around for a bit and stable. > > NSClient++ seems to have its own, native NRPE support. > > What are your opinions of the best combination to A) get the best overall > support and B) have the least impact/installation on a Windows server? I > want something current and currently developed with 2008 support, but I also > want stability and the least work possible. Presently I'm using NRPE for my > local linux/UNIX servers, so I'm inclined to give NRPE a try, but I'd also > like to avoid loading plugins on the Windows client if I can. > > I'm leaning towards NSClient++ with check_nt, but I'm not sure this is the > best solutions. > > Thoughts, opinions, and ideas are requested... > > -- > > > A. Davis > Email: nccomp at gmail.com > > "There is no limit to what a man can accomplish > if he doesn't care who gets the credit." - Ronald Reagan > > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Mar 11 02:03:31 2009 From: marc at ena.com (Marc Powell) Date: Tue, 10 Mar 2009 20:03:31 -0500 Subject: Problem after upgrade to 3.x: Recipient $ In-Reply-To: <49B70821.3000108@cs-ol.de> References: <49B6AF76.8070503@cs-ol.de> <49B70821.3000108@cs-ol.de> Message-ID: <8F3EAAD0-774B-433E-A476-2522918566DB@ena.com> On Mar 10, 2009, at 7:38 PM, Udo M?ller wrote: > I already read this and asked myself why nagios invokes that event > handler. > > My configuration is e.g: > > define service { > flap_detection_enabled 0 > check_freshness 0 > check_period 24x7 > freshness_threshold 0 > passive_checks_enabled 1 > notification_period 24x7 > retain_status_information 0 > high_flap_threshold 0 > service_description Jira Webservice > parallelize_check 1 > notification_options w,u,c,r > normal_check_interval 1 > host_name oldmz-main-01 > obsess_over_service 0 > retry_check_interval 1 > event_handler_enabled 1 > notifications_enabled 1 > event_handler notify-by-email > active_checks_enabled 1 > process_perf_data 1 > is_volatile 0 > max_check_attempts 5 > retain_nonstatus_information 0 > check_command > check_https_url!https://domain/jira/secure/Dashboard.jspa > low_flap_threshold 0 > notification_interval 60 > contact_groups tomcat.admins > } > > > The problem is that i have the event_handler_enabled? Yes, and notify-by-email specified as the event_handler. > And the > event_handler "notify_by_email" is used for notifications _and_ the > event_handler? notify_by_email isn't an eventhandler but you've appropriated it as one above. Event handlers are used to perform special actions like trying to restart a service before a notification is needed. The notification command that gets run is determined from the contact{} definition, and is not directly associated with a service. The contact almost certainly has notify_by_email specified as their service_notification_command (it's real purpose). > With 2.x i only got a notification when the service isnt available > for 5 > minutes. With 3.x the event_handler is executed every minute the > service > isnt available. Yup. Event handlers are run for every retry_check_interval (1 minute in your case). That's one reason they're not meant to be used for notifications. > So will it help if i disable the "event_handler_enabled"? Absolutely. Someone seems to have been changed this in your config during the upgrade. None of this behavior has changed between (many) versions. hth, -- Marc ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t_oyunbat at yahoo.com Wed Mar 11 02:09:47 2009 From: t_oyunbat at yahoo.com (tsedendorj oyunbat) Date: Tue, 10 Mar 2009 18:09:47 -0700 (PDT) Subject: How to receive notification alert by sms to mobile phone using Nagios In-Reply-To: <49B680CA.3010201@gmail.com> References: <49B680CA.3010201@gmail.com> Message-ID: <615299.13763.qm@web37104.mail.mud.yahoo.com> I'm new one in Nagios system. I work in mobile cellular operator company. And I need to know is there any chance to get notification alert via sms to my mobile phone when BSC or HLR equipments go down or stop working? Is there any configuration on Nagios? And how to connect Nagios server to sms center. Best regards, Oyunbat.Ts -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgagne at iweb.com Wed Mar 11 02:16:57 2009 From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=) Date: Tue, 10 Mar 2009 21:16:57 -0400 Subject: Mobile phone/non-WAP interface In-Reply-To: References: <49B6CECE.2080503@gmail.com> <20090310214649.GZ30298@bakgwai.americas.hpqcorp.net> Message-ID: <49B71109.3010600@iweb.com> Hi, This sure sounds promising. How are status retrieved? Is it done by parsing the HTML output? Mathieu D. Emmanuel Feinsmith wrote: > Hi Patrick, > > I have submitted a native iPhone Nagios App to the iPhone App Store. > They say it takes between 30 and 60 days to get on the store. It's > written in Objective-C and gives very good user responsiveness, even > with large installations. Way better than using Safari on the iPhone > or WAP on other phones. > > Here are some screen shots of the beta version: > > http://www.shastasystems.com/nagiostouch.html > > It works on any Nagios instance, no modifications are necessary to the > server itself. > > I'll send a message to this list when it is up on the store. > > Best Regards, > Daniel. > > On Mar 10, 2009, at 2:46 PM, Patrick Morris wrote: > >> On Tue, 10 Mar 2009, Andrew Davis wrote: >> >>> I see there's a WAP version built-in to Nagios, but what about >>> phones that don't do WAP (ie: the iPhone)? Is there a simplied >>> interface for viewing from a mobile device? I found "inagios" on >>> Google, but the code, documentation, and such looks sketchy. I'm >>> looking for something a bit more solid. Ideas? >> The WAP interface provided by nagios works fine on iPhones, as does >> the >> full standard web interface. >> >> ------------------------------------------------------------------------------ >> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) >> are >> powering Web 2.0 with engaging, cross-platform capabilities. Quickly >> and >> easily build your RIAs with Flex Builder, the Eclipse(TM)based >> development >> software that enables intelligent coding and step-through debugging. >> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-users at cs-ol.de Wed Mar 11 02:34:59 2009 From: nagios-users at cs-ol.de (=?ISO-8859-1?Q?Udo_M=FCller?=) Date: Wed, 11 Mar 2009 02:34:59 +0100 Subject: Problem after upgrade to 3.x: Recipient $ In-Reply-To: <8F3EAAD0-774B-433E-A476-2522918566DB@ena.com> References: <49B6AF76.8070503@cs-ol.de> <49B70821.3000108@cs-ol.de> <8F3EAAD0-774B-433E-A476-2522918566DB@ena.com> Message-ID: <49B71543.309@cs-ol.de> Marc Powell wrote: >> So will it help if i disable the "event_handler_enabled"? > > Absolutely. Someone seems to have been changed this in your config > during the upgrade. None of this behavior has changed between (many) > versions. Great. Works. TY for your help and the deeper look into nagios :) Udo ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel at danielemmanuelfeinsmith.com Wed Mar 11 02:50:08 2009 From: daniel at danielemmanuelfeinsmith.com (D. Emmanuel Feinsmith) Date: Tue, 10 Mar 2009 18:50:08 -0700 Subject: Mobile phone/non-WAP interface In-Reply-To: <49B71109.3010600@iweb.com> References: <49B6CECE.2080503@gmail.com> <20090310214649.GZ30298@bakgwai.americas.hpqcorp.net> <49B71109.3010600@iweb.com> Message-ID: <8D594D7D-4580-4CB1-A2EE-A832D59DDFC1@danielemmanuelfeinsmith.com> Yes, my iPhone Nagios App parses the output of status.cgi. For the iPhone it's a particularly tricky problem due to the small amount of memory available to applications. It's a pretty sophisticated little multi-threaded application that does alot of incremental concurrent loading and various memory management tricks to keep the footprint as small as possible and keep the user interface snappy even when on an Edge iPhone. Daniel. On Mar 10, 2009, at 6:16 PM, Mathieu Gagn? wrote: > Hi, > > This sure sounds promising. How are status retrieved? > Is it done by parsing the HTML output? > > Mathieu > > D. Emmanuel Feinsmith wrote: >> Hi Patrick, >> I have submitted a native iPhone Nagios App to the iPhone App >> Store. They say it takes between 30 and 60 days to get on the >> store. It's written in Objective-C and gives very good user >> responsiveness, even with large installations. Way better than >> using Safari on the iPhone or WAP on other phones. >> Here are some screen shots of the beta version: >> http://www.shastasystems.com/nagiostouch.html >> It works on any Nagios instance, no modifications are necessary to >> the server itself. >> I'll send a message to this list when it is up on the store. >> Best Regards, >> Daniel. >> On Mar 10, 2009, at 2:46 PM, Patrick Morris wrote: >>> On Tue, 10 Mar 2009, Andrew Davis wrote: >>> >>>> I see there's a WAP version built-in to Nagios, but what about >>>> phones that don't do WAP (ie: the iPhone)? Is there a simplied >>>> interface for viewing from a mobile device? I found "inagios" on >>>> Google, but the code, documentation, and such looks sketchy. I'm >>>> looking for something a bit more solid. Ideas? >>> The WAP interface provided by nagios works fine on iPhones, as >>> does the >>> full standard web interface. >>> >>> ------------------------------------------------------------------------------ >>> Apps built with the Adobe(R) Flex(R) framework and Flex >>> Builder(TM) are >>> powering Web 2.0 with engaging, cross-platform capabilities. >>> Quickly and >>> easily build your RIAs with Flex Builder, the Eclipse(TM)based >>> development >>> software that enables intelligent coding and step-through debugging. >>> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS >>> when reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/ >>> null >> ------------------------------------------------------------------------------ >> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) >> are >> powering Web 2.0 with engaging, cross-platform capabilities. >> Quickly and >> easily build your RIAs with Flex Builder, the Eclipse(TM)based >> development >> software that enables intelligent coding and step-through debugging. >> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null > ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Mar 11 09:46:15 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 11 Mar 2009 08:46:15 +0000 Subject: How to receive notification alert by sms to mobile phone using Nagios In-Reply-To: <615299.13763.qm@web37104.mail.mud.yahoo.com> References: <49B680CA.3010201@gmail.com> <615299.13763.qm@web37104.mail.mud.yahoo.com> Message-ID: <765d77c80903110146v2b92151dv261e22ddcade065@mail.gmail.com> 2009/3/11 tsedendorj oyunbat : > I'm new one in Nagios system. > I work in mobile cellular operator company. And I need to know is there any > chance to get notification alert via sms to my mobile phone when BSC or HLR > equipments go down or stop working? > Is there any configuration on Nagios? And how to connect Nagios server to > sms center. Currently I use an external email-sms service similar to http://www.intellisms.co.uk so I can send emails from Nagios in the usual way and have them converted to SMS. It's extremely easy to set up, but has the disadvantage that if the email system goes down, we don't know about it! Alternatively, you could connect a mobile 'phone to your Nagios server and send SMS using gnokii http://www.gnokii.org/ or similar, or your mobile operator might well have an http interface you could use or can recommend other options. In Nagios, you specify the notification methods in command definitions which you can write yourself so it's extremely flexible. See http://nagios.sourceforge.net/docs/3_0/notifications.html under the heading "Notification Methods". hth, Jim ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Wed Mar 11 10:44:15 2009 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Wed, 11 Mar 2009 10:44:15 +0100 Subject: dell powervault in nagios In-Reply-To: (Christopher Flores's message of "Wed\, 11 Mar 2009 04\:57\:41 +0800") References: Message-ID: <15t1vt4bdhs.fsf@tux.uio.no> Christopher Flores writes: > I'm trying to setup Nagios to monitor our Dell Powervault 132T using > SNMP. > > I've tried using snmptrapd and snmptt to translate MIBS, but can't get > it to work in Nagios. > > Has anyone tried this before? or maybe someone can show me the right > way to do it. I'm not familiar with the PV 132T. Does it run OpenManage Server Administrator (OMSA)? If so, there is a wealth of Dell plugins on Nagios Exchange that you can try. I would recommend any of these two: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=2658.html;d=1 http://www.nagiosexchange.org/cgi-bin/page.cgi?g=1437.html;d=1 They both use SNMP to query the OMSA software on the server. Cheers, -- Trond ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Wed Mar 11 11:30:26 2009 From: m.borsani at it.net (Marco Borsani) Date: Wed, 11 Mar 2009 11:30:26 +0100 Subject: Acknowledge problem Message-ID: <15462.9356031821$1236769363@news.gmane.org> Hi all. Last night we acknowledge a warning status over a check_nt service about a disk space controll (using nsclient++). After approximately an hour we received another warning notification ?!?! Normally the acknowledgment procedure works fine. Any idea ? Regards Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp-intl.com Wed Mar 11 13:18:25 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Wed, 11 Mar 2009 12:18:25 +0000 Subject: nsclient++ and network counters Message-ID: <200903111218.25911.assaf.flatto@ssp-intl.com> Hello List i must admit - my understanding of Windows is limited , now i need to find a way to monitor network usage on a windows machine , i tried the snmp route and got to the understanding ( from googling the subject ) that the way MS is implementing SNMP is the reason why i can not get what i want ,so now i am trying to do the same with the COUNTER option on the check_nt . i have the following check ; check_nt -H x.x.x.x -p 1248 -v COUNTER -l "\\Local Area Connection\\% ","Network Useage is %.2f" the output is : Network Useage is 0.00 | 'Network Useage is %.2f'=0.000000%;0.000000;0.000000; but i know that the answer is wrong as i am watching the network meter on the windows machine itself and see it at 25% . I suspect that my query is wrong - i assume the label , does anyone know what i should be using to get the correct query ? Thanks -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From uwe.bartels at gmail.com Wed Mar 11 13:48:44 2009 From: uwe.bartels at gmail.com (Uwe Bartels) Date: Wed, 11 Mar 2009 13:48:44 +0100 Subject: lot's of orphaned host + service checks Message-ID: <8ea917510903110548p16f03dd8kb49120db9673f023@mail.gmail.com> Hi, in my installation updates of host + services checks are mostly about 20 - 60 minutes old although I configured that checking takes place every 5 minutes (default). in the nagios.log i find many orphaned host + service checks. so i switched debug on. i followed a host check which completed successfully. the check result was moved and processed. i couldn't find anything futher to that host check. but when displaying the result in the web gui i saw that there was still the old result which was already 20 minutes old. What can i do? Where can i check something? Attached is the performance view of the installlation and it shows that there are not that many checks within 5 minutes wheter hosts or services. There is no cpu load or i/o load on the machine: top - 12:47:34 up 84 days, 22:43, 1 user, load average: 0.08, 0.06, 0.01 Uwe -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Extended Information.pdf Type: application/pdf Size: 78860 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael at medin.name Wed Mar 11 13:51:51 2009 From: michael at medin.name (Michael Medin) Date: Wed, 11 Mar 2009 11:51:51 -0100 (GMT+1) Subject: Monitoring Windows hosts... In-Reply-To: <49B6CEF0.80908@gmail.com> References: <49B6CEF0.80908@gmail.com> Message-ID: <41115.148.87.1.167.1236775911.squirrel@ssl.nakednuns.org> Hello, DISCLAIMER! I am (BTW) the author of NSClient++ so I am pretty biased... I did a presenation on windows monitoring at netways nagios conference last year where I presented my views on the various options avalible for windows monitoring (slides can be found (in .pptx) http://nsclient.org/nscp/wiki/conferences/nnk-2008 ) and my conclusion was the following (see below). There is also (if you want) some more details on the various options in the powerpoint slides (and if you want I can email you if you cant read the ppt) this is just the ending summary. Conclusion: I would use either: * NSClient++ * NC_NET I would not use (unless I have a specific reason): * SNMP - Complex to use * NSClient - Old and outdated * NRPE_NT - Hard for some (simple) checks * OpMonAgent - I don?t see the benefit * "Agentless" WMI - Limited functionality // Michael Medin > I'm a UNIX and network guy, but since Nagios is my task, I also have to > add the Windows servers to Nagios. The network tests are fine, but I'm > curious which is the best solution for monitoring local items on a > Windows server (2000, 2003, and 2008). > > Here's what I think the options are: > > Use check_nt with NSClient, NSClient++, OpMon Agent, or NC_Net > Use check_nrpe with NSClient++, OpMon Agent, or NRPE_NT > Use check_ncnet with NSClient, NSClient++, OpMon Agent, or NC_Ne > Use NSCA-Daemon with NC_Net > > Note: I'm interested in screwing with WMI... > > NSClient appears to be old, but stable and well known. However I see it > has good support for NT4 and 2000 and 2003 R1, but not 2003 R2 and I > don't see anything about 2008 Server. > > NC_Net looks current and well developed. > > NSClient++ seems to have NSClient compatibility, but is more current and > supports NT4 thru 2008. > > It looks like I already have check_nt as part of a default 3.x > installation. > > NRPE_NT also seems to have been around for a bit and stable. > > NSClient++ seems to have its own, native NRPE support. > > What are your opinions of the best combination to A) get the best > overall support and B) have the least impact/installation on a Windows > server? I want something current and currently developed with 2008 > support, but I also want stability and the least work possible. > Presently I'm using NRPE for my local linux/UNIX servers, so I'm > inclined to give NRPE a try, but I'd also like to avoid loading plugins > on the Windows client if I can. > > I'm leaning towards NSClient++ with check_nt, but I'm not sure this is > the best solutions. > > Thoughts, opinions, and ideas are requested... > > -- > > > A. Davis > Email: nccomp at gmail.com > > "There is no limit to what a man can accomplish > if he doesn't care who gets the credit." - Ronald Reagan > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. > http://p.sf.net/sfu/www-adobe-com_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Mar 11 14:08:55 2009 From: marc at ena.com (Marc Powell) Date: Wed, 11 Mar 2009 08:08:55 -0500 Subject: lot's of orphaned host + service checks In-Reply-To: <8ea917510903110548p16f03dd8kb49120db9673f023@mail.gmail.com> References: <8ea917510903110548p16f03dd8kb49120db9673f023@mail.gmail.com> Message-ID: <94DADF2D-B66B-45DC-82EA-DF9F54EFBF84@ena.com> On Mar 11, 2009, at 7:48 AM, Uwe Bartels wrote: > Hi, > > in my installation updates of host + services checks are mostly > about 20 - 60 minutes old although I configured that checking takes > place every 5 minutes (default). > in the nagios.log i find many orphaned host + service checks. > so i switched debug on. i followed a host check which completed > successfully. the check result was moved and processed. i couldn't > find anything futher to that host check. but when displaying the > result in the web gui i saw that there was still the old result > which was already 20 minutes old. > > What can i do? > Where can i check something? check these values in nagios.cfg. Information on what they are for is available in the file and docs - max_concurrent_checks max_service_check_spread max_host_check_spread aggregate_status_updates status_update_interval -- Marc ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Mar 11 14:21:05 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 11 Mar 2009 13:21:05 +0000 Subject: Acknowledge problem In-Reply-To: <2115713600705459718@unknownmsgid> References: <2115713600705459718@unknownmsgid> Message-ID: <765d77c80903110621ref43f26k519a6cf564138788@mail.gmail.com> 2009/3/11 Marco Borsani : > Hi all. > > > > Last night we acknowledge a warning status over a check_nt service about a > disk space controll (using nsclient++). > > After approximately an hour we received another warning notification ?!?! > > > > Normally the acknowledgment procedure works fine? > > > > Any idea ? I guess some disk space was cleared and then it filled again? Check the Alert History for that service to get a better feel for what happened. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Mar 11 14:32:16 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 11 Mar 2009 13:32:16 +0000 Subject: nsclient++ and network counters In-Reply-To: <200903111218.25911.assaf.flatto@ssp-intl.com> References: <200903111218.25911.assaf.flatto@ssp-intl.com> Message-ID: <765d77c80903110632p72ebea83p1a2b7f395aa8e7fc@mail.gmail.com> 2009/3/11 Assaf Flatto : > > Hello List > > i must admit - my understanding of Windows is limited , now i need to find a way to monitor network > usage on a windows machine , i tried the snmp route and got to the understanding ( from googling > the subject ) that the way MS is implementing SNMP is the reason why i can not get what i want ,so > now i am trying to do the same with the COUNTER option on the check_nt ?. > > i have the following check ; > check_nt -H x.x.x.x -p 1248 -v COUNTER -l "\\Local Area Connection\\% ","Network Useage is %.2f" > the output is : > Network Useage is 0.00 | 'Network Useage is %.2f'=0.000000%;0.000000;0.000000; > > but i know that the answer is wrong as i am watching the network meter on the windows machine itself > and see it at 25% . > > I suspect that my query is wrong ?- i assume the label , does anyone know what i should be using to > get the correct query ? > > Thanks You need to find the name of the performance counter on your Windows server. I'm pretty sure there isn't one called "\Local Area Connection\%". On your Windows system go in to Administrative Tools / Performance and add the counter you want to look at. Once you can see it in the performance tool, right-click on it and click "Properties" to see the full name of the counter which you want to monitor. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cbeattie at geninfo.com Wed Mar 11 14:30:39 2009 From: cbeattie at geninfo.com (Chris Beattie) Date: Wed, 11 Mar 2009 09:30:39 -0400 Subject: Problem after upgrade to 3.x: Recipient $ In-Reply-To: <8F3EAAD0-774B-433E-A476-2522918566DB@ena.com> References: <49B6AF76.8070503@cs-ol.de> <49B70821.3000108@cs-ol.de> <8F3EAAD0-774B-433E-A476-2522918566DB@ena.com> Message-ID: <49B7BCFF.3020107@geninfo.com> Marc Powell wrote: > On Mar 10, 2009, at 7:38 PM, Udo M?ller wrote: >> >> The problem is that i have the event_handler_enabled? > > Yes, and notify-by-email specified as the event_handler. I had the same misconfiguration under 2.x, and when I went to 3.x I ended up making a cron job delete the nagios users's dead.letter file. Thanks from me, too, for the explanation: I don't need that cron job anymore! -- Chris Beattie Nothing in this message is intended to make or accept and offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately. Thank you. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Wed Mar 11 15:11:58 2009 From: m.borsani at it.net (Marco Borsani) Date: Wed, 11 Mar 2009 15:11:58 +0100 Subject: R: Acknowledge problem In-Reply-To: <765d77c80903110621ref43f26k519a6cf564138788@mail.gmail.com> References: <2115713600705459718@unknownmsgid> <765d77c80903110621ref43f26k519a6cf564138788@mail.gmail.com> Message-ID: <8399.47339050031$1236781786@news.gmane.org> I did it. In the period : - 1st warning notification - acknowledge notification - 2nd warning notification Nothing happened regarding the service status, no changes (always warning). I see that Nagios was reloaded few minutes before the 2nd warning notification ... normally a reload does not "delete" the acknowledge operation ?!?!? Regards Marco -----Messaggio originale----- Da: averyjim at gmail.com [mailto:averyjim at gmail.com] Per conto di Jim Avery Inviato: mercoled? 11 marzo 2009 14.21 A: Marco Borsani Cc: nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] Acknowledge problem I guess some disk space was cleared and then it filled again? Check the Alert History for that service to get a better feel for what happened. 2009/3/11 Marco Borsani : > Hi all. > > > > Last night we acknowledge a warning status over a check_nt service about a > disk space controll (using nsclient++). > > After approximately an hour we received another warning notification ?!?! > > > > Normally the acknowledgment procedure works fine > > > > Any idea ? ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From curtislamasters at gmail.com Wed Mar 11 15:11:50 2009 From: curtislamasters at gmail.com (Curtis LaMasters) Date: Wed, 11 Mar 2009 09:11:50 -0500 Subject: dell powervault in nagios In-Reply-To: <15t1vt4bdhs.fsf@tux.uio.no> References: <15t1vt4bdhs.fsf@tux.uio.no> Message-ID: <6b13ab0f0903110711m2f9cef2bx2dba5ee5173bc4a1@mail.gmail.com> It's just a tape drive (library) with a minimal firmware. No OpenManage... It's been a while since I worked with one and cannot remember if it has SNMP capabilities. I would use a MIB Browser and try to dig through it's information. Curtis LaMasters http://www.curtis-lamasters.com http://www.builtnetworks.com On Wed, Mar 11, 2009 at 4:44 AM, Trond Hasle Amundsen wrote: > Christopher Flores writes: > >> I'm trying to setup Nagios to monitor our Dell Powervault 132T using >> SNMP. >> >> I've tried using snmptrapd and snmptt to translate MIBS, but can't get >> it to work in Nagios. >> >> Has anyone tried this before? or maybe someone can show me the right >> way to do it. > > I'm not familiar with the PV 132T. Does it run OpenManage Server > Administrator (OMSA)? If so, there is a wealth of Dell plugins on Nagios > Exchange that you can try. I would recommend any of these two: > > ?http://www.nagiosexchange.org/cgi-bin/page.cgi?g=2658.html;d=1 > ?http://www.nagiosexchange.org/cgi-bin/page.cgi?g=1437.html;d=1 > > They both use SNMP to query the OMSA software on the server. > > Cheers, > -- > Trond > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sp at tdchosting.dk Wed Mar 11 15:27:18 2009 From: sp at tdchosting.dk (Steffen Poulsen) Date: Wed, 11 Mar 2009 15:27:18 +0100 Subject: NDO - where is the historical scheduleddowntime data stored? Message-ID: <995380CA30455549A6B8C57CE5A47AE512794EEB01@TDCHEXBE01.int.tdch.dk> Hi all, We are currently trying to extract data for a SLA report from our NDO-installation. So far we are well on our way, not at least with the help of netMySLA :) But we are left with one question right now - where is the historical scheduleddowntime data available? When listing events for a particular day in our report, it would be very helpful to extract as much information as to how the particular event was covered (i.e. the scheduled downtime comment always carries ID an id into our ticket tracking system, which could be used to extract further information, and so on). Any hints? Best regards, Steffen --- Steffen Poulsen Unix System Administrator TDC Hosting mob: +45 29256668 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Mar 11 15:49:42 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 11 Mar 2009 14:49:42 +0000 Subject: R: Acknowledge problem In-Reply-To: <-8247325493680816263@unknownmsgid> References: <2115713600705459718@unknownmsgid> <765d77c80903110621ref43f26k519a6cf564138788@mail.gmail.com> <-8247325493680816263@unknownmsgid> Message-ID: <765d77c80903110749q379e391fw79624a9272f802a1@mail.gmail.com> 2009/3/11 Marco Borsani : > I did it. > > In the period : > - 1st warning notification > - acknowledge notification > - 2nd warning notification > > Nothing happened regarding the service status, no changes (always warning). > > I see that Nagios was reloaded few minutes before the 2nd warning > notification ... normally a reload does not "delete" the acknowledge > operation ?!?!? When I was using Nagios 2.7 I noticed that sometimes Nagios wouldn't reapply the Acknowedge after a daemon restart until a few seconds after starting up, so sometimes I would get these additional alerts just like you describe. I haven't seen the same issue since upgrading to Nagios 3. I'm not certain whether that's because it's fixed now or just that my new config just works better than the old one. Which version of Nagios are you using? Cheers, Jim ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Wed Mar 11 16:30:04 2009 From: nccomp at gmail.com (Andrew Davis) Date: Wed, 11 Mar 2009 11:30:04 -0400 Subject: Mobile phone/non-WAP interface In-Reply-To: <8D594D7D-4580-4CB1-A2EE-A832D59DDFC1@danielemmanuelfeinsmith.com> References: <49B6CECE.2080503@gmail.com> <20090310214649.GZ30298@bakgwai.americas.hpqcorp.net> <49B71109.3010600@iweb.com> <8D594D7D-4580-4CB1-A2EE-A832D59DDFC1@danielemmanuelfeinsmith.com> Message-ID: <49B7D8FC.6080204@gmail.com> I'm definitely looking forward to it... :) A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan D. Emmanuel Feinsmith wrote: > Yes, my iPhone Nagios App parses the output of status.cgi. For the > iPhone it's a particularly tricky problem due to the small amount of > memory available to applications. It's a pretty sophisticated little > multi-threaded application that does alot of incremental concurrent > loading and various memory management tricks to keep the footprint as > small as possible and keep the user interface snappy even when on an > Edge iPhone. > > Daniel. > > On Mar 10, 2009, at 6:16 PM, Mathieu Gagn? wrote: > > >> Hi, >> >> This sure sounds promising. How are status retrieved? >> Is it done by parsing the HTML output? >> >> Mathieu >> >> D. Emmanuel Feinsmith wrote: >> >>> Hi Patrick, >>> I have submitted a native iPhone Nagios App to the iPhone App >>> Store. They say it takes between 30 and 60 days to get on the >>> store. It's written in Objective-C and gives very good user >>> responsiveness, even with large installations. Way better than >>> using Safari on the iPhone or WAP on other phones. >>> Here are some screen shots of the beta version: >>> http://www.shastasystems.com/nagiostouch.html >>> It works on any Nagios instance, no modifications are necessary to >>> the server itself. >>> I'll send a message to this list when it is up on the store. >>> Best Regards, >>> Daniel. >>> On Mar 10, 2009, at 2:46 PM, Patrick Morris wrote: >>> >>>> On Tue, 10 Mar 2009, Andrew Davis wrote: >>>> >>>> >>>>> I see there's a WAP version built-in to Nagios, but what about >>>>> phones that don't do WAP (ie: the iPhone)? Is there a simplied >>>>> interface for viewing from a mobile device? I found "inagios" on >>>>> Google, but the code, documentation, and such looks sketchy. I'm >>>>> looking for something a bit more solid. Ideas? >>>>> >>>> The WAP interface provided by nagios works fine on iPhones, as >>>> does the >>>> full standard web interface. >>>> >>>> ------------------------------------------------------------------------------ >>>> Apps built with the Adobe(R) Flex(R) framework and Flex >>>> Builder(TM) are >>>> powering Web 2.0 with engaging, cross-platform capabilities. >>>> Quickly and >>>> easily build your RIAs with Flex Builder, the Eclipse(TM)based >>>> development >>>> software that enables intelligent coding and step-through debugging. >>>> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS >>>> when reporting any issue. >>>> ::: Messages without supporting info will risk being sent to /dev/ >>>> null >>>> >>> ------------------------------------------------------------------------------ >>> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) >>> are >>> powering Web 2.0 with engaging, cross-platform capabilities. >>> Quickly and >>> easily build your RIAs with Flex Builder, the Eclipse(TM)based >>> development >>> software that enables intelligent coding and step-through debugging. >>> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. ::: Messages without supporting info will risk >>> being sent to /dev/null >>> > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Wed Mar 11 16:34:43 2009 From: nccomp at gmail.com (Andrew Davis) Date: Wed, 11 Mar 2009 11:34:43 -0400 Subject: How to receive notification alert by sms to mobile phone using Nagios In-Reply-To: <765d77c80903110146v2b92151dv261e22ddcade065@mail.gmail.com> References: <49B680CA.3010201@gmail.com> <615299.13763.qm@web37104.mail.mud.yahoo.com> <765d77c80903110146v2b92151dv261e22ddcade065@mail.gmail.com> Message-ID: <49B7DA13.5000705@gmail.com> In "Nagios 2nd Edition" from Wolfgang Barth, he covers this in section 12.4.2. He covers "smsclient", "yasp", and "smssend", but he points out what Jim pointed out... most are email to SMS conversion tools so if email is done, you're still not notified. "smsclient" and a modem resolve this. I have it installed and working fine. Our normal notifications go via email, but if a network device or email server is down, then notifications go via SMS. A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Jim Avery wrote: > 2009/3/11 tsedendorj oyunbat : > >> I'm new one in Nagios system. >> I work in mobile cellular operator company. And I need to know is there any >> chance to get notification alert via sms to my mobile phone when BSC or HLR >> equipments go down or stop working? >> Is there any configuration on Nagios? And how to connect Nagios server to >> sms center. >> > > Currently I use an external email-sms service similar to > http://www.intellisms.co.uk so I can send emails from Nagios in the > usual way and have them converted to SMS. It's extremely easy to set > up, but has the disadvantage that if the email system goes down, we > don't know about it! > > Alternatively, you could connect a mobile 'phone to your Nagios server > and send SMS using gnokii http://www.gnokii.org/ or similar, or your > mobile operator might well have an http interface you could use or can > recommend other options. > > In Nagios, you specify the notification methods in command definitions > which you can write yourself so it's extremely flexible. See > http://nagios.sourceforge.net/docs/3_0/notifications.html under the > heading "Notification Methods". > > hth, > > Jim > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From durendel at gmail.com Wed Mar 11 16:37:00 2009 From: durendel at gmail.com (Victor Lee) Date: Wed, 11 Mar 2009 11:37:00 -0400 Subject: Layer 2 connectivity awareness? Message-ID: <586806120903110837m3fc40fc5ia6580ac03a14e05b@mail.gmail.com> In the course of my learning (just starting out) how to work with Nagios I have found that it isn't aware of layer 2 connections. In other words, if I have 2 switches with a trunk between them Nagios doesn't seem to provide me a way to either note that manually on the map nor does it seem to be aware of that type of connectivity. The same applies to servers, there doesn't seem to be a way to identify which switch a server is connected to. Now I admit this might be due to my limited knowledge of the product so I ask the members here. Am I correct in this assessment? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel at danielemmanuelfeinsmith.com Wed Mar 11 16:50:12 2009 From: daniel at danielemmanuelfeinsmith.com (D. Emmanuel Feinsmith) Date: Wed, 11 Mar 2009 08:50:12 -0700 Subject: Mobile phone/non-WAP interface In-Reply-To: <49B7D8FC.6080204@gmail.com> References: <49B6CECE.2080503@gmail.com> <20090310214649.GZ30298@bakgwai.americas.hpqcorp.net> <49B71109.3010600@iweb.com> <8D594D7D-4580-4CB1-A2EE-A832D59DDFC1@danielemmanuelfeinsmith.com> <49B7D8FC.6080204@gmail.com> Message-ID: <578EE1A2-4757-411A-A5B7-01FE87AC7903@danielemmanuelfeinsmith.com> If you or anyone else on the list has any feedback as to what they'd love in an iPhone app, let me know and I'll see if I can work it into a follow-on revision. Best, Daniel. On Mar 11, 2009, at 8:30 AM, Andrew Davis wrote: > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Kurt.Fritsch at housing.wisc.edu Wed Mar 11 16:53:01 2009 From: Kurt.Fritsch at housing.wisc.edu (Fritsch, Kurt) Date: Wed, 11 Mar 2009 10:53:01 -0500 Subject: Return code of 127 is out of bounds - plugin may be missing error Message-ID: <7619979E76CBC04AB84FE454A060F04A018665D22373@MAILSTORE.housing.wisc.edu> I inherited a Nagios system and I am by no means an expert in its configuration, so I apologize in advance. What I have been seeing for the last few days is that some of the services I'm monitoring are returning the following error for every host: (Return code of 127 is out of bounds - plugin may be missing) Some services are performing checks just fine, but others (most importantly check_ping) give the above error. I've tried googling this and gotten some ideas about file permissions and making sure the Nagios.cfg file points to the directory where the plugins are located, but I can't seem to get this fixed. This all started when I was using the Fruity interface to make some host changes and upload them to Nagios, I'm not sure if something got corrupted. The Nagios service starts up without any errors. Any ideas? Thanks, Kurt Fritsch ResNet Manager Division of University Housing Information Technology Department University of Wisconsin-Madison 608-265-3846 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steve.Onotsky at broadridge.com Wed Mar 11 16:55:28 2009 From: Steve.Onotsky at broadridge.com (Onotsky, Steve x55328) Date: Wed, 11 Mar 2009 11:55:28 -0400 Subject: How to receive notification alert by sms to mobile phone using Nagios In-Reply-To: <49B7DA13.5000705@gmail.com> References: <49B680CA.3010201@gmail.com> <615299.13763.qm@web37104.mail.mud.yahoo.com><765d77c80903110146v2b92151dv261e22ddcade065@mail.gmail.com> <49B7DA13.5000705@gmail.com> Message-ID: <30A417B62E7EE448B3864ADC881CEFD607FAD017@missemsa01.bsg.ad.adp.com> I've been messing around with this, off and on (as time permits). How did you set up your config to go to SMS only if email fails? Thanks Steve Onotsky Server Support Technologist Broadridge Investor Communication Solutions, Canada 5970 Chedworth Way Mississauga ON L5R 4G5 Tel: (905) 507-5328 Fax: (905) 507-5312 Inet: steve.onotsky at broadridge.com Quis custodiet ipsos custodes? - Juvenal, Satires, VI, 347 ________________________________ From: Andrew Davis [mailto:nccomp at gmail.com] Sent: March 11, 2009 11:35 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] How to receive notification alert by sms to mobile phone using Nagios In "Nagios 2nd Edition" from Wolfgang Barth, he covers this in section 12.4.2. He covers "smsclient", "yasp", and "smssend", but he points out what Jim pointed out... most are email to SMS conversion tools so if email is done, you're still not notified. "smsclient" and a modem resolve this. I have it installed and working fine. Our normal notifications go via email, but if a network device or email server is down, then notifications go via SMS. A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Jim Avery wrote: 2009/3/11 tsedendorj oyunbat : I'm new one in Nagios system. I work in mobile cellular operator company. And I need to know is there any chance to get notification alert via sms to my mobile phone when BSC or HLR equipments go down or stop working? Is there any configuration on Nagios? And how to connect Nagios server to sms center. Currently I use an external email-sms service similar to http://www.intellisms.co.uk so I can send emails from Nagios in the usual way and have them converted to SMS. It's extremely easy to set up, but has the disadvantage that if the email system goes down, we don't know about it! Alternatively, you could connect a mobile 'phone to your Nagios server and send SMS using gnokii http://www.gnokii.org/ or similar, or your mobile operator might well have an http interface you could use or can recommend other options. In Nagios, you specify the notification methods in command definitions which you can write yourself so it's extremely flexible. See http://nagios.sourceforge.net/docs/3_0/notifications.html under the heading "Notification Methods". hth, Jim ------------------------------------------------------------------------ ------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mjtice at gmail.com Wed Mar 11 16:55:59 2009 From: mjtice at gmail.com (Matthew Tice) Date: Wed, 11 Mar 2009 09:55:59 -0600 Subject: Send only one email notification Message-ID: Hello, is it possible to have Nagios send one email notification out with all the contacts in the to:/cc: fields? OR is it possible to use a macro to supply a list of ALL applicable contacts in the body of the email (maybe something like $CONTACTGROUPMEMBERS$)? Any help is appreciated, Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Wed Mar 11 17:21:03 2009 From: martyn at chetnet.co.uk (Martyn) Date: Wed, 11 Mar 2009 16:21:03 -0000 Subject: How to receive notification alert by sms tomobile phone using Nagios In-Reply-To: <30A417B62E7EE448B3864ADC881CEFD607FAD017@missemsa01.bsg.ad.adp.com> References: <30A417B62E7EE448B3864ADC881CEFD607FAD017@missemsa01.bsg.ad.adp.com> Message-ID: Beat me too it with the same question Martyn _____ From: Onotsky, Steve x55328 [mailto:Steve.Onotsky at broadridge.com] Sent: 11 March 2009 15:55 To: nccomp at gmail.com; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] How to receive notification alert by sms tomobile phone using Nagios I've been messing around with this, off and on (as time permits). How did you set up your config to go to SMS only if email fails? Thanks Steve Onotsky Server Support Technologist Broadridge Investor Communication Solutions, Canada 5970 Chedworth Way Mississauga ON L5R 4G5 Tel: (905) 507-5328 Fax: (905) 507-5312 Inet: steve.onotsky at broadridge.com Quis custodiet ipsos custodes? - Juvenal, Satires, VI, 347 _____ From: Andrew Davis [mailto:nccomp at gmail.com] Sent: March 11, 2009 11:35 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] How to receive notification alert by sms to mobile phone using Nagios In "Nagios 2nd Edition" from Wolfgang Barth, he covers this in section 12.4.2. He covers "smsclient", "yasp", and "smssend", but he points out what Jim pointed out... most are email to SMS conversion tools so if email is done, you're still not notified. "smsclient" and a modem resolve this. I have it installed and working fine. Our normal notifications go via email, but if a network device or email server is down, then notifications go via SMS. A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Jim Avery wrote: 2009/3/11 tsedendorj oyunbat : I'm new one in Nagios system. I work in mobile cellular operator company. And I need to know is there any chance to get notification alert via sms to my mobile phone when BSC or HLR equipments go down or stop working? Is there any configuration on Nagios? And how to connect Nagios server to sms center. Currently I use an external email-sms service similar to http://www.intellisms.co.uk so I can send emails from Nagios in the usual way and have them converted to SMS. It's extremely easy to set up, but has the disadvantage that if the email system goes down, we don't know about it! Alternatively, you could connect a mobile 'phone to your Nagios server and send SMS using gnokii http://www.gnokii.org/ or similar, or your mobile operator might well have an http interface you could use or can recommend other options. In Nagios, you specify the notification methods in command definitions which you can write yourself so it's extremely flexible. See http://nagios.sourceforge.net/docs/3_0/notifications.html under the heading "Notification Methods". hth, Jim ---------------------------------------------------------------------------- -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rkovar at gmail.com Wed Mar 11 17:23:39 2009 From: Rkovar at gmail.com (Rkovar at gmail.com) Date: Wed, 11 Mar 2009 16:23:39 +0000 Subject: showing critical problems and host downs Message-ID: <000e0cd47c7e560e820464da4aaa@google.com> Folks, I am almost done with creating a NOC using Nagios as it's primary event issue engine. however, one of the last things I have on my task list I have not been able to figure out! I want to be able to show my unacknowledged critical problems AND unacknowledged downed hosts. I have come up with the below, which sows me unacknowledged critical issues from unacknowledged hosts, but I also want to see (on the same screen) unacknolwedged hosts that are down. Has anyone come up with the right combo of numbers? Or come up with a different way to show this? Thanks ahead of time. ../../cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3&serviceprops=8&hostprops=32 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Wed Mar 11 17:39:24 2009 From: nccomp at gmail.com (Andrew Davis) Date: Wed, 11 Mar 2009 12:39:24 -0400 Subject: How to receive notification alert by sms tomobile phone using Nagios In-Reply-To: References: Message-ID: <49B7E93C.3040306@gmail.com> A combination of the "parents", hostgroups, and escalation. I'll post my configs later, but once you have confirmed that SMS is setup and working (make sure that for every email alert, you also get an SMS alert), then you define your network topology and put them into hostgroups. In my case, I have a hostgroup of "network-core" which includes my core routers, firewalls, Exchange server, Exchange storage, and the switch connecting the Exchange system with the firewall. I then have a contactgroup of the SMS addresses of three key people (myself included). If any of those device fail, Nagios sends notification via SMS. If anything else fails, it goes via emails. The kewl thing is I'll often sleep through emails, but if I get an SMS, I know something serious failed and I force myself to get up... Additionally, I tend to define a sanity check: a ping to yahoo and http to MSN and non-caching dns query of Google. If all sanity checks fail and are not resolved within 4 hours, then through escalations, an SMS is sent to the manager of the support team at our ISP as we likely have a bandwidth down issue. If sanity checks AND a core network device fail, my ISP doesn't get notified as we know its us... A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Martyn wrote: > Beat me too it with the same question > > Martyn > ------------------------------------------------------------------------ > *From:* Onotsky, Steve x55328 [mailto:Steve.Onotsky at broadridge.com] > *Sent:* 11 March 2009 15:55 > *To:* nccomp at gmail.com; nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] How to receive notification alert by sms > tomobile phone using Nagios > > I've been messing around with this, off and on (as time permits). How > did you set up your config to go to SMS only if email fails? > > > > Thanks > > > > > > Steve Onotsky > > Server Support Technologist > > Broadridge > > Investor Communication Solutions, Canada > > 5970 Chedworth Way > > Mississauga ON L5R 4G5 > > Tel: (905) 507-5328 > > Fax: (905) 507-5312 > > Inet: steve.onotsky at broadridge.com > > > > //Quis custodiet ipsos custodes?// > > - Juvenal, //Satires//, VI, 347 > > > > ------------------------------------------------------------------------ > > *From:* Andrew Davis [mailto:nccomp at gmail.com] > *Sent:* March 11, 2009 11:35 > *To:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] How to receive notification alert by sms > to mobile phone using Nagios > > > > In "Nagios 2nd Edition" from Wolfgang Barth, he covers this in section > 12.4.2. He covers "smsclient", "yasp", and "smssend", but he points > out what Jim pointed out... most are email to SMS conversion tools so > if email is done, you're still not notified. "smsclient" and a modem > resolve this. I have it installed and working fine. Our normal > notifications go via email, but if a network device or email server is > down, then notifications go via SMS. > > > A. Davis > Email: nccomp at gmail.com > > "There is no limit to what a man can accomplish > if he doesn't care who gets the credit." - Ronald Reagan > > > > Jim Avery wrote: > > 2009/3/11 tsedendorj oyunbat : > >> I'm new one in Nagios system. >> I work in mobile cellular operator company. And I need to know is there any >> chance to get notification alert via sms to my mobile phone when BSC or HLR >> equipments go down or stop working? >> Is there any configuration on Nagios? And how to connect Nagios server to >> sms center. >> > > Currently I use an external email-sms service similar to > http://www.intellisms.co.uk so I can send emails from Nagios in the > usual way and have them converted to SMS. It's extremely easy to set > up, but has the disadvantage that if the email system goes down, we > don't know about it! > > Alternatively, you could connect a mobile 'phone to your Nagios server > and send SMS using gnokii http://www.gnokii.org/ or similar, or your > mobile operator might well have an http interface you could use or can > recommend other options. > > In Nagios, you specify the notification methods in command definitions > which you can write yourself so it's extremely flexible. See > http://nagios.sourceforge.net/docs/3_0/notifications.html under the > heading "Notification Methods". > > hth, > > Jim > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > This message and any attachments are intended only for the use of the addressee and > may contain information that is privileged and confidential. If the reader of the > message is not the intended recipient or an authorized representative of the > intended recipient, you are hereby notified that any dissemination of this > communication is strictly prohibited. If you have received this communication in > error, please notify us immediately by e-mail and delete the message and any > attachments from your system. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lee at dropio.com Wed Mar 11 17:39:49 2009 From: lee at dropio.com (Lee Azzarello) Date: Wed, 11 Mar 2009 12:39:49 -0400 Subject: Layer 2 connectivity awareness? In-Reply-To: <586806120903110837m3fc40fc5ia6580ac03a14e05b@mail.gmail.com> References: <586806120903110837m3fc40fc5ia6580ac03a14e05b@mail.gmail.com> Message-ID: <16b031c0903110939r4cfdf4f8l4f8c95d2a7b7481d@mail.gmail.com> If your switch can do SNMP you can monitor the switchport the trunk is connected to. -lee On Wed, Mar 11, 2009 at 11:37 AM, Victor Lee wrote: > In the course of my learning (just starting out) how to work with Nagios I > have found that it isn't aware of layer 2 connections. In other words, if I > have 2 switches with a trunk between them Nagios doesn't seem to provide me > a way to either note that manually on the map nor does it seem to be aware > of that type of connectivity. The same applies to servers, there doesn't > seem to be a way to identify which switch a server is connected to. Now I > admit this might be due to my limited knowledge of the product so I ask the > members here. Am I correct in this assessment? > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steve.Onotsky at broadridge.com Wed Mar 11 17:54:16 2009 From: Steve.Onotsky at broadridge.com (Onotsky, Steve x55328) Date: Wed, 11 Mar 2009 12:54:16 -0400 Subject: How to receive notification alert by sms tomobile phone using Nagios In-Reply-To: <49B7E93C.3040306@gmail.com> References: <49B7E93C.3040306@gmail.com> Message-ID: <30A417B62E7EE448B3864ADC881CEFD607FAD03A@missemsa01.bsg.ad.adp.com> Interesting approach, I'll have to keep that in mind. Thanks! Steve Onotsky Server Support Technologist Broadridge Investor Communication Solutions, Canada 5970 Chedworth Way Mississauga ON L5R 4G5 Tel: (905) 507-5328 Fax: (905) 507-5312 Inet: steve.onotsky at broadridge.com Quis custodiet ipsos custodes? - Juvenal, Satires, VI, 347 ________________________________ From: Andrew Davis [mailto:nccomp at gmail.com] Sent: March 11, 2009 12:39 To: Martyn Cc: Onotsky, Steve x55328; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] How to receive notification alert by sms tomobile phone using Nagios A combination of the "parents", hostgroups, and escalation. I'll post my configs later, but once you have confirmed that SMS is setup and working (make sure that for every email alert, you also get an SMS alert), then you define your network topology and put them into hostgroups. In my case, I have a hostgroup of "network-core" which includes my core routers, firewalls, Exchange server, Exchange storage, and the switch connecting the Exchange system with the firewall. I then have a contactgroup of the SMS addresses of three key people (myself included). If any of those device fail, Nagios sends notification via SMS. If anything else fails, it goes via emails. The kewl thing is I'll often sleep through emails, but if I get an SMS, I know something serious failed and I force myself to get up... Additionally, I tend to define a sanity check: a ping to yahoo and http to MSN and non-caching dns query of Google. If all sanity checks fail and are not resolved within 4 hours, then through escalations, an SMS is sent to the manager of the support team at our ISP as we likely have a bandwidth down issue. If sanity checks AND a core network device fail, my ISP doesn't get notified as we know its us... A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Martyn wrote: Beat me too it with the same question Martyn ________________________________ From: Onotsky, Steve x55328 [mailto:Steve.Onotsky at broadridge.com] Sent: 11 March 2009 15:55 To: nccomp at gmail.com; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] How to receive notification alert by sms tomobile phone using Nagios I've been messing around with this, off and on (as time permits). How did you set up your config to go to SMS only if email fails? Thanks Steve Onotsky Server Support Technologist Broadridge Investor Communication Solutions, Canada 5970 Chedworth Way Mississauga ON L5R 4G5 Tel: (905) 507-5328 Fax: (905) 507-5312 Inet: steve.onotsky at broadridge.com Quis custodiet ipsos custodes? - Juvenal, Satires, VI, 347 ________________________________ From: Andrew Davis [mailto:nccomp at gmail.com] Sent: March 11, 2009 11:35 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] How to receive notification alert by sms to mobile phone using Nagios In "Nagios 2nd Edition" from Wolfgang Barth, he covers this in section 12.4.2. He covers "smsclient", "yasp", and "smssend", but he points out what Jim pointed out... most are email to SMS conversion tools so if email is done, you're still not notified. "smsclient" and a modem resolve this. I have it installed and working fine. Our normal notifications go via email, but if a network device or email server is down, then notifications go via SMS. A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Jim Avery wrote: 2009/3/11 tsedendorj oyunbat : I'm new one in Nagios system. I work in mobile cellular operator company. And I need to know is there any chance to get notification alert via sms to my mobile phone when BSC or HLR equipments go down or stop working? Is there any configuration on Nagios? And how to connect Nagios server to sms center. Currently I use an external email-sms service similar to http://www.intellisms.co.uk so I can send emails from Nagios in the usual way and have them converted to SMS. It's extremely easy to set up, but has the disadvantage that if the email system goes down, we don't know about it! Alternatively, you could connect a mobile 'phone to your Nagios server and send SMS using gnokii http://www.gnokii.org/ or similar, or your mobile operator might well have an http interface you could use or can recommend other options. In Nagios, you specify the notification methods in command definitions which you can write yourself so it's extremely flexible. See http://nagios.sourceforge.net/docs/3_0/notifications.html under the heading "Notification Methods". hth, Jim ------------------------------------------------------------------------ ------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marco.tirado at gmail.com Wed Mar 11 18:10:55 2009 From: marco.tirado at gmail.com (Marco Tirado) Date: Wed, 11 Mar 2009 18:10:55 +0100 Subject: snmptt and nagios, access to nagios.cmd file Message-ID: Hello Users: I am having touble integrating nagios with snmptt, it seems that the snmptt daemon can not write passive check results to the /usr/local/nagios/var/rw/nagios.cmd file. I get the following error: "cannot create /usr/local/nagios/var/rw/nagios.cmd: Permission denied" The wierd thing is that I have added the "snmptt" user to the "nagcmd" group. I can actually run the EXEC command from the console and manually send the check results by running: /usr/local/nagios/libexec/eventhandlers/submit_check_result "myhost" "snmp_traps" 1 "My text message" as the snmptt user. But when the snmptt tries to run it when a trap is received I get the above error. Any suggestions or recommendations are deeply appreciated //Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marco.tirado at gmail.com Wed Mar 11 18:23:05 2009 From: marco.tirado at gmail.com (Marco Tirado) Date: Wed, 11 Mar 2009 18:23:05 +0100 Subject: snmptt and nagios, access to nagios.cmd file In-Reply-To: References: Message-ID: My snmptt.conf file for the trap I am testing looks like: EVENT ospfOriginateLsa .1.3.6.1.2.1.14.16.2.0.12 "Status Events" Normal FORMAT $D. $Fn VARIABLE VALUES: $-* EXEC /usr/local/nagios/libexec/eventhandlers/submit_check_result "myhost" "snmp_traps" 1 "My text message" >> /tmp/OutputTest 2>&1 SDESC ... EDESC And my nagios configuration is correct as I can see the passive check results in my nagios console if I run the above EXEC command from the command line as user snmptt. //Marco On Wed, Mar 11, 2009 at 6:10 PM, Marco Tirado wrote: > Hello Users: > > I am having touble integrating nagios with snmptt, it seems that the snmptt > daemon can not write passive check results to the > /usr/local/nagios/var/rw/nagios.cmd file. I get the following error: > > "cannot create /usr/local/nagios/var/rw/nagios.cmd: Permission denied" > > The wierd thing is that I have added the "snmptt" user to the "nagcmd" > group. I can actually run the EXEC command from the console and manually > send the check results by running: > > /usr/local/nagios/libexec/eventhandlers/submit_check_result "myhost" > "snmp_traps" 1 "My text message" > > as the snmptt user. But when the snmptt tries to run it when a trap is > received I get the above error. > > Any suggestions or recommendations are deeply appreciated > > //Marco > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rijilv at riji.lv Wed Mar 11 18:07:09 2009 From: rijilv at riji.lv (RijilV) Date: Wed, 11 Mar 2009 10:07:09 -0700 Subject: Layer 2 connectivity awareness? In-Reply-To: <586806120903110837m3fc40fc5ia6580ac03a14e05b@mail.gmail.com> References: <586806120903110837m3fc40fc5ia6580ac03a14e05b@mail.gmail.com> Message-ID: <5068c6420903111007l19f5fd51v88a7d0e2a85a1373@mail.gmail.com> 2009/3/11 Victor Lee > In the course of my learning (just starting out) how to work with Nagios I > have found that it isn't aware of layer 2 connections. In other words, if I > have 2 switches with a trunk between them Nagios doesn't seem to provide me > a way to either note that manually on the map nor does it seem to be aware > of that type of connectivity. The same applies to servers, there doesn't > seem to be a way to identify which switch a server is connected to. Now I > admit this might be due to my limited knowledge of the product so I ask the > members here. Am I correct in this assessment? > > This isn't really what nagios does.. You might want to looks at something like opsview if you want a picture of your network like that. Also, fwiw, I think what you're really asking for is a layer 1 map if you want to know what host is plugged into what port - layer2 would be like what host is on a particular broadcast domain. I think most people give up on the nagios map pretty quickly, or at the most setup a few partent/child hosts and leave it at that. .r' -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david at blue-labs.org Wed Mar 11 19:07:20 2009 From: david at blue-labs.org (David Ford) Date: Wed, 11 Mar 2009 14:07:20 -0400 Subject: nagios-users list and Razor2 tagging Message-ID: <49B7FDD8.7020000@blue-labs.org> Somebody please fix their procmail rules, you're sending nagios-users email signatures to Razor2 as spam. X-Razor2-Warning: SPAM X-Razor2-Sig: 1.0 e4: uFKK6tHzMIx_07U5qvqm0YEWA30A, ep4: 7542-10 1.1 e4: fR-puWwnQxXoUaOd6iTNm8rbJvYA, ep4: 7542-10 1.2 e4: HHJkOE8_FYHqGUDD4cWpWO_fB8MA, ep4: 7542-10 1.2 e8: 2z1OXlWFXe8A 1.3 e4: y1cOh5Qs3lNbsbJ4FwaOXyGXwK8A, ep4: 7542-10 1.3 e8: FP58Ms26dGkA -david -- Linux: freedom to build is good Please top-post and trim when replying to my messages. I most often read mail on a small device. VERY NOT-IMPORTANT NOT-LEGAL NOTICES: Recalling a message does in no way delete it from my computer. Rather, it brings attention to your original email and recalling it causes me to search for a reason to find embarrassment. Please don't send message recall messages. It's silly and obnoxious and wastes even more bandwidth and patience. Regardless of what legal message you append to your email message, I am not obligated or constrained in any way shape or form. If I feel like printing it outand taping it up at the local gym, or mass mailing it to 15,000 people, I will. I feel especially inclined to do so the longer your "legal" advisory is. Such notices are unenforceable and do not protect you or your company from things you say, or things others do with the email. "Millions of innocent men, women and children, since the introduction of Christianity, have been burnt, tortured, fined, imprisoned; yet we have not advancedone inch towards uniformity. What has been the effect of coercion? To make half the world fools, and the other half hypocrites." --Thomas Jefferson This message is confidential to the Internet at large, unless otherwise indicated or apparent from its nature. It may not be reproduced on Mars unless it has previously been printed on Uranus. This message is directed to the intended recipient only (usually everyone, but sometimes nobody and once in a blue moon, just somebody), who may be readily determined by the sender of this message and its contents. This email message (including any attachments) is not for the sole use of the intended recipient(s) and may or may not contain confidential, proprietary and privileged information. It may include sarcastic holier than tho content. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient: (a) any dissemination or copying of this message is strictly prohibited unless you feel otherwise; and (b) immediately notify the sender by return message (but only if the sun has gone black) and destroy any copies of this message in any form (electronic, paper or carved in stone) that you have. Please destroy by smashing your computer with a 21lb sledge hammer approximately 17 times to ensure destruction of your system. Any unauthorized review, use, disclosure or distribution is most assuredly not prohibited and you will not IMMEDIATELY be PROSECUTED to the fullest ... or emptiest ... extent of the law. If you are not the intended recipient, please immediately notify some random person of your age, sex, and location and your undying desire to fornicate with them by email and destroy all copies of the original message if you sent it to an underage person. Oh, and definitely don't tell me about it. The delivery of this message and its information is neither intended to be nor constitutes a disclosure or waiver of any trade secrets, intellectual property, attorney work product, or attorney-client communications. If you happen to be a corporation that uses lawyer-think-speak-asinine-thoughts well then please sit your ass back down and we will promptly ignore the hell out of you and your disclaimers. Wait, no we won't. We have this urgent primal need to publicly make fun of you, and then we'll repost your message in blazing full frontal nudity across the internet. The authority of the individual sending this message to legally bind any entity is neither apparent nor implied, and must be independently verified - uh ... duh? Isn't that obvious? Of course not. Only people with intelligence recognize such simple facts. Thank you for standing in the back yard and whining your ass off holding up tiny little posters forbidding mosquitoes from biting you. Does a whole hell of a lot of good. Right? Yeah, you keep up with the delusions. Keeping up with the Jones is good after all. Holy hell Batman sleeps with Robin -- This disclaimer is short! ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lee at dropio.com Wed Mar 11 19:52:50 2009 From: lee at dropio.com (Lee Azzarello) Date: Wed, 11 Mar 2009 14:52:50 -0400 Subject: Layer 2 connectivity awareness? In-Reply-To: <5068c6420903111007l19f5fd51v88a7d0e2a85a1373@mail.gmail.com> References: <586806120903110837m3fc40fc5ia6580ac03a14e05b@mail.gmail.com> <5068c6420903111007l19f5fd51v88a7d0e2a85a1373@mail.gmail.com> Message-ID: <16b031c0903111152p7b6cac6cqc2eb3f887ca251fa@mail.gmail.com> On Wed, Mar 11, 2009 at 1:07 PM, RijilV wrote: > 2009/3/11 Victor Lee >> >> In the course of my learning (just starting out) how to work with Nagios I >> have found that it isn't aware of layer 2 connections. In other words, if I >> have 2 switches with a trunk between them Nagios doesn't seem to provide me >> a way to either note that manually on the map nor does it seem to be aware >> of that type of connectivity. The same applies to servers, there doesn't >> seem to be a way to identify which switch a server is connected to. Now I >> admit this might be due to my limited knowledge of the product so I ask the >> members here. Am I correct in this assessment? >> > > > > I think most people give up on the nagios map pretty quickly, or at the most > setup a few partent/child hosts and leave it at that. Agreed. Parent-child relationships are useful to get a bigger picture of points of failure, for example if a web proxy has 5 app servers behind it, 6 hosts will go down if that proxy fails. -lee ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Mar 11 20:04:51 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 11 Mar 2009 19:04:51 +0000 Subject: showing critical problems and host downs In-Reply-To: <000e0cd47c7e560e820464da4aaa@google.com> References: <000e0cd47c7e560e820464da4aaa@google.com> Message-ID: <765d77c80903111204p4222560fqfd0ba67aeec23a2d@mail.gmail.com> 2009/3/11 : > Folks, > I am almost done with creating a NOC using Nagios as it's primary event > issue engine. however, one of the last things I have on my task list I have > not been able to figure out! I want to be able to show my unacknowledged > critical problems AND unacknowledged downed hosts. I have come up with the > below, which sows me unacknowledged critical issues from unacknowledged > hosts, but I also want to see (on the same screen) unacknolwedged hosts that > are down. Has anyone come up with the right combo of numbers? Or come up > with a different way to show this? Thanks ahead of time. > > ../../cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3&serviceprops=8&hostprops=32 I couldn't find a way around that one myself either. I simply make sure that every host has at least one active-check (not passive) service. The simplest is to make sure you ping (as a service check) everything which wouldn't otherwise have an active service check configured. I tried putting two screens on one page using frames and having one above the other, but that was less than satisfactory - if the top frame had lots of alerts on it, the bottom frame would get shoved below the visible screen. There are myriad alternative front-ends for Nagios. Maybe one of those will do what you want it to? Good luck, Jim ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Wed Mar 11 20:04:09 2009 From: nccomp at gmail.com (Andrew Davis) Date: Wed, 11 Mar 2009 15:04:09 -0400 Subject: NSClient++ and .Net Message-ID: <49B80B29.2060908@gmail.com> If I recall, Windows 2000 Server didn't include .Net, but you could install it. Windows 2003 Server included .Net 1.x, but you could additionally add .Net 2.x. Now it seems that Server 2008 includes .Net 2.x by default and you can install .Net 3.x, though MS finall got smart and just did one big rollup package so you don't have to have .Net 1.x and 2.x both installed, etc. So my question is this: right now we're mostly Server 2003, but migrating to Server 2008. NSClient++ 4.x requires .Net 2.x, but will it work with .Net 3.x on Server 2008? Anyone know? Anyone tried? Thanks, -- A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Mar 11 20:12:10 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 11 Mar 2009 19:12:10 +0000 Subject: snmptt and nagios, access to nagios.cmd file In-Reply-To: References: Message-ID: <765d77c80903111212p44dc63o64823c28c5b77a6d@mail.gmail.com> 2009/3/11 Marco Tirado : > > > My snmptt.conf file for the trap I am testing looks like: > > EVENT ospfOriginateLsa .1.3.6.1.2.1.14.16.2.0.12 "Status Events" Normal > FORMAT $D. $Fn VARIABLE VALUES: $-* > EXEC /usr/local/nagios/libexec/eventhandlers/submit_check_result "myhost" > "snmp_traps" 1 "My text message" >> /tmp/OutputTest 2>&1 > SDESC > ... > EDESC > > And my nagios configuration is correct as I can see the passive check > results in my nagios console if I run the above EXEC command from the > command line as user snmptt. > > //Marco I'm sorry if this question sounds stupid, but what are the permissions and ownership on /usr/local/nagios/var/rw and /usr/local/nagios/var/rw/nagios.cmd ? ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael at medin.name Wed Mar 11 21:11:08 2009 From: michael at medin.name (Michael Medin) Date: Wed, 11 Mar 2009 21:11:08 +0100 Subject: NSClient++ and .Net In-Reply-To: <49B80B29.2060908@gmail.com> References: <49B80B29.2060908@gmail.com> Message-ID: <49B81ADC.2040009@medin.name> Hello, I am guessing you are a bit confused. NSClient++ does not use .net (nor require it) perhaps you are thinking of NC_Net? (also NSClient++ version are along the lines of 0.3.6 or some such, I dont want to bloat the version numbers so I tend to increase them sparingly :) // Michael Medin Andrew Davis skrev: > If I recall, Windows 2000 Server didn't include .Net, but you could > install it. > Windows 2003 Server included .Net 1.x, but you could additionally add > .Net 2.x. > Now it seems that Server 2008 includes .Net 2.x by default and you can > install .Net 3.x, though MS finall got smart and just did one big > rollup package so you don't have to have .Net 1.x and 2.x both > installed, etc. > > So my question is this: right now we're mostly Server 2003, but > migrating to Server 2008. NSClient++ 4.x requires .Net 2.x, but will > it work with .Net 3.x on Server 2008? Anyone know? Anyone tried? > > Thanks, > -- > > > A. Davis > Email: nccomp at gmail.com > > "There is no limit to what a man can accomplish > if he doesn't care who gets the credit." - Ronald Reagan > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Wed Mar 11 23:31:10 2009 From: nccomp at gmail.com (Andrew Davis) Date: Wed, 11 Mar 2009 18:31:10 -0400 Subject: NSClient++ and .Net In-Reply-To: <49B81ADC.2040009@medin.name> References: <49B80B29.2060908@gmail.com> <49B81ADC.2040009@medin.name> Message-ID: <49B83BAE.9090108@gmail.com> You are correct. With BB it was much easier... there was just one client. With Nagios I got lost in the cloud of clients and transports. My apologies... :) A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Michael Medin wrote: > Hello, > > I am guessing you are a bit confused. > NSClient++ does not use .net (nor require it) perhaps you are thinking > of NC_Net? > (also NSClient++ version are along the lines of 0.3.6 or some such, I > dont want to bloat the version numbers so I tend to increase them > sparingly :) > > // Michael Medin > > Andrew Davis skrev: >> If I recall, Windows 2000 Server didn't include .Net, but you could >> install it. >> Windows 2003 Server included .Net 1.x, but you could additionally add >> .Net 2.x. >> Now it seems that Server 2008 includes .Net 2.x by default and you >> can install .Net 3.x, though MS finall got smart and just did one big >> rollup package so you don't have to have .Net 1.x and 2.x both >> installed, etc. >> >> So my question is this: right now we're mostly Server 2003, but >> migrating to Server 2008. NSClient++ 4.x requires .Net 2.x, but will >> it work with .Net 3.x on Server 2008? Anyone know? Anyone tried? >> >> Thanks, >> -- >> >> >> A. Davis >> Email: nccomp at gmail.com >> >> "There is no limit to what a man can accomplish >> if he doesn't care who gets the credit." - Ronald Reagan >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------------ >> >> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are >> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and >> easily build your RIAs with Flex Builder, the Eclipse(TM)based >> development >> software that enables intelligent coding and step-through debugging. >> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Thu Mar 12 01:22:06 2009 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 11 Mar 2009 20:22:06 -0400 Subject: NSClient++ and .Net In-Reply-To: <49B83BAE.9090108@gmail.com> References: <49B80B29.2060908@gmail.com> <49B81ADC.2040009@medin.name> <49B83BAE.9090108@gmail.com> Message-ID: NC_Net is the client that uses Dot Net framework. Yes the Current version of 4.x of NC_NEt should work without issues on Server 2008 The next Build will be using Dot Net 3.5 NC_Net v5.x but I still am in the middle of building the new Setup project for it. If anyones wants to test it Email me directly Tony (Author of NC_Net) On Wed, Mar 11, 2009 at 6:31 PM, Andrew Davis wrote: > You are correct. With BB it was much easier... there was just one client. > With Nagios I got lost in the cloud of clients and transports. My > apologies... :) > > A. Davis > Email: nccomp at gmail.com > > "There is no limit to what a man can accomplish > if he doesn't care who gets the credit." - Ronald Reagan > > > > Michael Medin wrote: > > Hello, > > I am guessing you are a bit confused. > NSClient++ does not use .net (nor require it) perhaps you are thinking of > NC_Net? > (also NSClient++ version are along the lines of 0.3.6 or some such, I dont > want to bloat the version numbers so I tend to increase them sparingly :) > > // Michael Medin > > Andrew Davis skrev: > > If I recall, Windows 2000 Server didn't include .Net, but you could install > it. > Windows 2003 Server included .Net 1.x, but you could additionally add .Net > 2.x. > Now it seems that Server 2008 includes .Net 2.x by default and you can > install .Net 3.x, though MS finall got smart and just did one big rollup > package so you don't have to have .Net 1.x and 2.x both installed, etc. > > So my question is this: right now we're mostly Server 2003, but migrating > to Server 2008. NSClient++ 4.x requires .Net 2.x, but will it work with .Net > 3.x on Server 2008? Anyone know? Anyone tried? > > Thanks, > -- > > > A. Davis > Email: nccomp at gmail.com > > "There is no limit to what a man can accomplish > if he doesn't care who gets the credit." - Ronald Reagan > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null > > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t_oyunbat at yahoo.com Thu Mar 12 02:34:04 2009 From: t_oyunbat at yahoo.com (tsedendorj oyunbat) Date: Wed, 11 Mar 2009 18:34:04 -0700 (PDT) Subject: How to receive notification alert by sms tomobile phone using Nagios In-Reply-To: <49B7E93C.3040306@gmail.com> References: <49B7E93C.3040306@gmail.com> Message-ID: <918499.97527.qm@web37107.mail.mud.yahoo.com> Thanks a lot guys. I'll try that. BR, Oyunbat --- On Wed, 3/11/09, Andrew Davis wrote: From: Andrew Davis Subject: Re: [Nagios-users] How to receive notification alert by sms tomobile phone using Nagios To: "Martyn" Cc: "'Onotsky, Steve x55328'" , nagios-users at lists.sourceforge.net Date: Wednesday, March 11, 2009, 9:39 AM A combination of the "parents", hostgroups, and escalation. I'll post my configs later, but once you have confirmed that SMS is setup and working (make sure that for every email alert, you also get an SMS alert), then you define your network topology and put them into hostgroups. In my case, I have a hostgroup of "network-core" which includes my core routers, firewalls, Exchange server, Exchange storage, and the switch connecting the Exchange system with the firewall. I then have a contactgroup of the SMS addresses of three key people (myself included). If any of those device fail, Nagios sends notification via SMS. If anything else fails, it goes via emails. The kewl thing is I'll often sleep through emails, but if I get an SMS, I know something serious failed and I force myself to get up... Additionally, I tend to define a sanity check: a ping to yahoo and http to MSN and non-caching dns query of Google. If all sanity checks fail and are not resolved within 4 hours, then through escalations, an SMS is sent to the manager of the support team at our ISP as we likely have a bandwidth down issue. If sanity checks AND a core network device fail, my ISP doesn't get notified as we know its us... A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Martyn wrote: _filtered #yiv283844187 { font-family:Tahoma;} _filtered #yiv283844187 {margin:72.0pt 90.0pt 72.0pt 90.0pt;} #yiv283844187 P.MsoNormal { FONT-SIZE:12pt;MARGIN:0cm 0cm 0pt;COLOR:#000099;FONT-FAMILY:"Times New Roman";} #yiv283844187 LI.MsoNormal { FONT-SIZE:12pt;MARGIN:0cm 0cm 0pt;COLOR:#000099;FONT-FAMILY:"Times New Roman";} #yiv283844187 DIV.MsoNormal { FONT-SIZE:12pt;MARGIN:0cm 0cm 0pt;COLOR:#000099;FONT-FAMILY:"Times New Roman";} #yiv283844187 A:link { COLOR:blue;TEXT-DECORATION:underline;} #yiv283844187 SPAN.MsoHyperlink { COLOR:blue;TEXT-DECORATION:underline;} #yiv283844187 A:visited { COLOR:blue;TEXT-DECORATION:underline;} #yiv283844187 SPAN.MsoHyperlinkFollowed { COLOR:blue;TEXT-DECORATION:underline;} #yiv283844187 PRE { FONT-SIZE:10pt;MARGIN:0cm 0cm 0pt;COLOR:#000099;FONT-FAMILY:"Courier New";} #yiv283844187 SPAN.EmailStyle18 { COLOR:navy;FONT-FAMILY:Arial;} #yiv283844187 DIV.Section1 { } Beat me too it with the same question ? Martyn From: Onotsky, Steve x55328 [mailto:Steve.Onotsky at broadridge.com] Sent: 11 March 2009 15:55 To: nccomp at gmail.com; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] How to receive notification alert by sms tomobile phone using Nagios I?ve been messing around with this, off and on (as time permits).? How did you set up your config to go to SMS only if email fails? ? Thanks ? ? Steve Onotsky Server Support Technologist Broadridge Investor Communication Solutions, Canada 5970 Chedworth Way Mississauga? ON ? L5R 4G5 Tel: (905) 507-5328 Fax: (905) 507-5312 Inet: steve.onotsky at broadridge.com ? Quis custodiet ipsos custodes? - Juvenal, Satires, VI, 347 ? From: Andrew Davis [mailto:nccomp at gmail.com] Sent: March 11, 2009 11:35 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] How to receive notification alert by sms to mobile phone using Nagios ? In "Nagios 2nd Edition" from Wolfgang Barth, he covers this in section 12.4.2. He covers "smsclient", "yasp", and "smssend", but he points out what Jim pointed out... most are email to SMS conversion tools so if email is done, you're still not notified. "smsclient" and a modem resolve this. I have it installed and working fine. Our normal notifications go via email, but if a network device or email server is down, then notifications go via SMS. ? ? A. Davis ? Email:???? nccomp at gmail.com ? ? "There is no limit to what a man can accomplish ?? if he doesn't care who gets the credit." - Ronald Reagan Jim Avery wrote: 2009/3/11 tsedendorj oyunbat : ? I'm new one in Nagios system. I work in mobile cellular operator company. And I need to know is there any chance to get notification alert via sms to my mobile phone when BSC or HLR equipments go down or stop working? Is there any configuration on Nagios? And how to connect Nagios server to sms center. ??? ? Currently I use an external email-sms service similar to http://www.intellisms.co.uk so I can send emails from Nagios in the usual way and have them converted to SMS.? It's extremely easy to set up, but has the disadvantage that if the email system goes down, we don't know about it! ? Alternatively, you could connect a mobile 'phone to your Nagios server and send SMS using gnokii http://www.gnokii.org/ or similar, or your mobile operator might well have an http interface you could use or can recommend other options. ? In Nagios, you specify the notification methods in command definitions which you can write yourself so it's extremely flexible.? See http://nagios.sourceforge.net/docs/3_0/notifications.html under the heading "Notification Methods". ? hth, ? Jim ? ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ? This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Thu Mar 12 07:22:00 2009 From: subscription at kkeane.com (Kevin Keane) Date: Wed, 11 Mar 2009 23:22:00 -0700 Subject: NSClient++ and .Net In-Reply-To: <49B80B29.2060908@gmail.com> References: <49B80B29.2060908@gmail.com> Message-ID: <49B8AA08.7010508@kkeane.com> Actually, .Net 1.1, 2.0 SP2, 3.0 SP2 and 3.5 SP1 (and, coming soon, 4.x) should be installed on pretty much all well-maintained Windows XP and Windows 2003 systems. These versions coexist nicely. Microsoft has been pushing them out as part of their update packages, so the only reason they might not be installed is that either an administrator specifically excluded them from installing due to some incompatibility (which is rare; I haven't heard of any problems), or hasn't been diligent about doing Windows updating in the first place. On all the servers I manage, I use WSUS and have these updates pushed out automatically. Or if you prefer, run Windows Update, and you will get all of these versions of .Net. That said, for Nagios purposes, I am not very fond of using .Net. The reason is that it has a huge footprint - and that means, more memory, slower loading times, and a host of other issues. Of the plugins I use in TNTMonitoring, those that do use .Net are well over 1 MB *each*. Those that don't use it are a few dozen KB each. Obviously, I'm looking to replace those big plugins at some point. It might be less severe for an agent that runs continuously than for a plugin that is started once. Andrew Davis wrote: > If I recall, Windows 2000 Server didn't include .Net, but you could > install it. > Windows 2003 Server included .Net 1.x, but you could additionally add > .Net 2.x. > Now it seems that Server 2008 includes .Net 2.x by default and you can > install .Net 3.x, though MS finall got smart and just did one big > rollup package so you don't have to have .Net 1.x and 2.x both > installed, etc. > > So my question is this: right now we're mostly Server 2003, but > migrating to Server 2008. NSClient++ 4.x requires .Net 2.x, but will > it work with .Net 3.x on Server 2008? Anyone know? Anyone tried? > > Thanks, -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Thu Mar 12 08:14:50 2009 From: subscription at kkeane.com (Kevin Keane) Date: Thu, 12 Mar 2009 00:14:50 -0700 Subject: Return code of 127 is out of bounds - plugin may be missing error In-Reply-To: <7619979E76CBC04AB84FE454A060F04A018665D22373@MAILSTORE.housing.wisc.edu> References: <7619979E76CBC04AB84FE454A060F04A018665D22373@MAILSTORE.housing.wisc.edu> Message-ID: <49B8B66A.3070108@kkeane.com> Return code 127 means that Nagios wasn't able to start the plugin executable - as you already found out from your googling, it usually means that either the plugin is missing altogether, is in a different directory from where Nagios expects it, or that it is not executable for the nagios user. Note that it could also be permissions on one of the directories on the path to the plugin. In most distributions I have seen, plugins are either in /usr/lib/nagios/plugins, or in /usr/lib64/nagios/plugins. Maybe Fruity somehow changed the directory from lib64 to lib or vice versa? You say that some checks are working and some aren't. Find one of the plugins that works, and one that doesn't, and compare the permissions and file locations. And finally, if you have turned on one of the hardening mechanisms (such as SELinux or AppArmor), a plugin may not be executable even with the right permissions. Since you say it happened when you used Fruity, my first guess is that it somehow changed the directory where Nagios looks for plugins. Fritsch, Kurt wrote: > > I inherited a Nagios system and I am by no means an expert in its > configuration, so I apologize in advance. > > What I have been seeing for the last few days is that some of the > services I?m monitoring are returning the following error for every host: > > (Return code of 127 is out of bounds - plugin may be missing) > > Some services are performing checks just fine, but others (most > importantly check_ping) give the above error. I?ve tried googling this > and gotten some ideas about file permissions and making sure the > Nagios.cfg file points to the directory where the plugins are located, > but I can?t seem to get this fixed. > > This all started when I was using the Fruity interface to make some > host changes and upload them to Nagios, I?m not sure if something got > corrupted. The Nagios service starts up without any errors. > > Any ideas? > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marco.tirado at gmail.com Thu Mar 12 08:20:46 2009 From: marco.tirado at gmail.com (Marco Tirado) Date: Thu, 12 Mar 2009 08:20:46 +0100 Subject: snmptt and nagios, access to nagios.cmd file In-Reply-To: <765d77c80903111212p44dc63o64823c28c5b77a6d@mail.gmail.com> References: <765d77c80903111212p44dc63o64823c28c5b77a6d@mail.gmail.com> Message-ID: They look like this: For nagios.cmd prw-rw---- 1 nagios nagcmd 0 2009-03-11 18:53 nagios.cmd for the rw catalog: drwxrwsr-x 2 nagios nagcmd 4096 2009-03-11 18:14 rw Please let me know if something looks obviously wrong. //Marco On Wed, Mar 11, 2009 at 8:12 PM, Jim Avery wrote: > 2009/3/11 Marco Tirado : > > > > > > My snmptt.conf file for the trap I am testing looks like: > > > > EVENT ospfOriginateLsa .1.3.6.1.2.1.14.16.2.0.12 "Status Events" Normal > > FORMAT $D. $Fn VARIABLE VALUES: $-* > > EXEC /usr/local/nagios/libexec/eventhandlers/submit_check_result "myhost" > > "snmp_traps" 1 "My text message" >> /tmp/OutputTest 2>&1 > > SDESC > > ... > > EDESC > > > > And my nagios configuration is correct as I can see the passive check > > results in my nagios console if I run the above EXEC command from the > > command line as user snmptt. > > > > //Marco > > I'm sorry if this question sounds stupid, but what are the permissions > and ownership on /usr/local/nagios/var/rw and > /usr/local/nagios/var/rw/nagios.cmd ? > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From max.asterisk at gmail.com Thu Mar 12 11:12:56 2009 From: max.asterisk at gmail.com (Max Alex) Date: Thu, 12 Mar 2009 15:42:56 +0530 Subject: Need a daily report plugin Message-ID: Hi All, I have installed and configured nagios on my linux server, It is working fine, I need a daily base report of the system, I need a report for the all services which is running in nagios per day by email. Can anybody suggest the plugin for that or configuration for it? Thanks in advance! Thanks, Max Alex Voip Developer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Thu Mar 12 11:28:19 2009 From: martyn at chetnet.co.uk (Martyn) Date: Thu, 12 Mar 2009 10:28:19 -0000 Subject: WMI's Message-ID: Why does Nagios need the NSClient to access Windows boxes when other systems like PRTG use windows logon conditionals, think Cacti is the same also. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mangoo at wpkg.org Thu Mar 12 11:30:16 2009 From: mangoo at wpkg.org (Tomasz Chmielewski) Date: Thu, 12 Mar 2009 11:30:16 +0100 Subject: alternative Status Map? In-Reply-To: <49B0EFCE.1050809@wpkg.org> References: <49AFF610.6070207@wpkg.org> <49B0EFCE.1050809@wpkg.org> Message-ID: <49B8E438.4020308@wpkg.org> Tomasz Chmielewski schrieb: > Paul Weaver schrieb: > >>> 2. All nagios users can see the whole network structure for all hosts. >>> >>> Even if a given web user is not authorised to view certain >>> hosts, he/she will see them anyway on the status map (without >>> icons/descriptions). >>> It can be even viewed as a security flaw. >> Personally I'm not a fan of maps, very few cases I think they're useful, (...) > So, maybe the simplest solution would be to entirely disable status map > for these users? > > Any obvious way to do it (other then removing statusmap.cgi file?) I made it unavalable for remote users with the following redirect placed in nagios' cgi-dir directory (.htaccess file): RewriteEngine On RewriteCond %{REMOTE_ADDR} !^10\.1\.2\. RewriteRule ^statusmap.cgi$ /cgi-bin/nagios3/tac.cgi [R=permanent,L] -- Tomasz Chmielewski http://wpkg.org ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mangoo at wpkg.org Thu Mar 12 11:44:06 2009 From: mangoo at wpkg.org (Tomasz Chmielewski) Date: Thu, 12 Mar 2009 11:44:06 +0100 Subject: WMI's In-Reply-To: References: Message-ID: <49B8E776.7000300@wpkg.org> Martyn schrieb: > Why does Nagios need the NSClient to access Windows boxes when other > systems like PRTG use windows logon conditionals, think Cacti is the > same also. You can make your very own "checks" using whatever credentials you like (and access any data you like). In other words, you don't have to use generic checks shipped with nagios. -- Tomasz Chmielewski http://wpkg.org ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Thu Mar 12 12:22:25 2009 From: martyn at chetnet.co.uk (Martyn) Date: Thu, 12 Mar 2009 11:22:25 -0000 Subject: WMI's In-Reply-To: <49B8E776.7000300@wpkg.org> References: <49B8E776.7000300@wpkg.org> Message-ID: Tomasz thanks for the reply, do you have a example of such commands or could point be to a place that does Thanks Martyn -----Original Message----- From: Tomasz Chmielewski [mailto:mangoo at wpkg.org] Sent: 12 March 2009 10:44 To: Martyn Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] WMI's Martyn schrieb: > Why does Nagios need the NSClient to access Windows boxes when other > systems like PRTG use windows logon conditionals, think Cacti is the > same also. You can make your very own "checks" using whatever credentials you like (and access any data you like). In other words, you don't have to use generic checks shipped with nagios. -- Tomasz Chmielewski http://wpkg.org ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Thu Mar 12 13:01:32 2009 From: martyn at chetnet.co.uk (Martyn) Date: Thu, 12 Mar 2009 12:01:32 -0000 Subject: WMI's In-Reply-To: References: Message-ID: How do I add the windows credentials. check_nt -H 192.168.1.1 -p 1248 -v INSTANCES -l Process If I run the above it will give me a refused connection, where in the above line would I add the username and password of the Windows box I want to connect to? Thanks Martyn -----Original Message----- From: Martyn [mailto:martyn at chetnet.co.uk] Sent: 12 March 2009 11:22 To: 'Tomasz Chmielewski' Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] WMI's Tomasz thanks for the reply, do you have a example of such commands or could point be to a place that does Thanks Martyn -----Original Message----- From: Tomasz Chmielewski [mailto:mangoo at wpkg.org] Sent: 12 March 2009 10:44 To: Martyn Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] WMI's Martyn schrieb: > Why does Nagios need the NSClient to access Windows boxes when other > systems like PRTG use windows logon conditionals, think Cacti is the > same also. You can make your very own "checks" using whatever credentials you like (and access any data you like). In other words, you don't have to use generic checks shipped with nagios. -- Tomasz Chmielewski http://wpkg.org ---------------------------------------------------------------------------- -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Mar 12 13:26:30 2009 From: ae at op5.se (Andreas Ericsson) Date: Thu, 12 Mar 2009 13:26:30 +0100 Subject: WMI's In-Reply-To: References: Message-ID: <49B8FF76.7090002@op5.se> Martyn wrote: > How do I add the windows credentials. > > check_nt -H 192.168.1.1 -p 1248 -v INSTANCES -l Process > > If I run the above it will give me a refused connection, where in the above > line would I add the username and password of the Windows box I want to > connect to? > You're holding a hammer and want someone to explain to you how to use it as a car. It can't be done with check_nt, but there are other programs out there that can ask questions over WMI, and you already know of some of them. Google should hold plenty of other resources if installing nsclient, NCNet or nsclient++ is not an option for you, although some programming may be necessary on your part. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Thu Mar 12 13:49:47 2009 From: martyn at chetnet.co.uk (Martyn) Date: Thu, 12 Mar 2009 12:49:47 -0000 Subject: WMI's In-Reply-To: <49B8FF76.7090002@op5.se> References: <49B8FF76.7090002@op5.se> Message-ID: Thanks for the reply made me laugh did this line. "You're holding a hammer and want someone to explain to you how to use it as a car" am going to use that myself one day. However I did get a reply saying "You can make your very own "checks" using whatever credentials you like (and access any data you like). In other words, you don't have to use generic checks shipped with nagios" This kind of implied that it can be done with Nagios. Apologies if I misunderstood it Martyn -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: 12 March 2009 12:27 To: Martyn Cc: 'Tomasz Chmielewski'; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] WMI's Martyn wrote: > How do I add the windows credentials. > > check_nt -H 192.168.1.1 -p 1248 -v INSTANCES -l Process > > If I run the above it will give me a refused connection, where in the > above line would I add the username and password of the Windows box I > want to connect to? > You're holding a hammer and want someone to explain to you how to use it as a car. It can't be done with check_nt, but there are other programs out there that can ask questions over WMI, and you already know of some of them. Google should hold plenty of other resources if installing nsclient, NCNet or nsclient++ is not an option for you, although some programming may be necessary on your part. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From werner.flamme at ufz.de Thu Mar 12 14:05:35 2009 From: werner.flamme at ufz.de (Werner Flamme) Date: Thu, 12 Mar 2009 14:05:35 +0100 Subject: WMI's In-Reply-To: References: Message-ID: <49B9089F.7010908@ufz.de> Martyn [12.03.2009 13:01]: > How do I add the windows credentials. > > check_nt -H 192.168.1.1 -p 1248 -v INSTANCES -l Process > > If I run the above it will give me a refused connection, where in the above > line would I add the username and password of the Windows box I want to > connect to? > Maybe the output of "check_nt -h" helps you? In the notes below I read "The NSClient service should be running on the server to get any information (http://nsclient.ready2run.nl)", and the password can be given by the -s param of the command line. ---snip--- check_nt v1991 (nagios-plugins 1.4.13) Copyright (c) 2000 Yves Rubin (rubiyz at yahoo.com) Copyright (c) 2000-2007 Nagios Plugin Development Team This plugin collects data from the NSClient service running on a Windows NT/2000/XP/2003 server. Usage:check_nt -H host -v variable [-p port] [-w warning] [-c critical][-l params] [-d SHOWALL] [-t timeout] Options: -h, --help Print detailed help screen -V, --version Print version information Project-Id-Version: nagiosplug Report-Msgid-Bugs-To: nagiosplug-devel at lists.sourceforge.net POT-Creation-Date: 2008-09-25 09:35+0100 PO-Revision-Date: 2004-12-23 17:46+0100 Last-Translator: <> Language-Team: English MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n > 1);X-Generator: KBabel 1.3.1 Options: -H, --hostname=HOST Name of the host to check -p, --port=INTEGER Optional port number (default: 1248) -s Password needed for the request -w, --warning=INTEGER Threshold which will result in a warning status -c, --critical=INTEGER Threshold which will result in a critical status -t, --timeout=INTEGER Seconds before connection attempt times out (default: 10) -h, --help Print this help screen -V, --version Print version information -v, --variable=STRING Variable to check Valid variables are: CLIENTVERSION = Get the NSClient version If -l is specified, will return warning if versions differ. CPULOAD = Average CPU load on last x minutes. Request a -l parameter with the following syntax: -l ,,. should be less than 24*60. Thresholds are percentage and up to 10 requests can be done in one shot. ie: -l 60,90,95,120,90,95 UPTIME = Get the uptime of the machine. No specific parameters. No warning or critical threshold USEDDISKSPACE = Size and percentage of disk use. Request a -l parameter containing the drive letter only. Warning and critical thresholds can be specified with -w and -c. MEMUSE = Memory use. Warning and critical thresholds can be specified with -w and -c. SERVICESTATE = Check the state of one or several services. Request a -l parameters with the following syntax: -l ,,,... You can specify -d SHOWALL in case you want to see working services in the returned string. PROCSTATE = Check if one or several process are running. Same syntax as SERVICESTATE. COUNTER = Check any performance counter of Windows NT/2000. Request a -l parameters with the following syntax: -l "\\\\counter"," The parameter is optional and is given to a printf output command which requires a float parameter. If does not include "%%", it is used as a label. Some examples: "Paging file usage is %%.2f %%%%" "%%.f %%%% paging file used." INSTANCES = Check any performance counter object of Windows NT/2000. Syntax: check_nt -H -p -v INSTANCES -l is a Windows Perfmon Counter object (eg. Process), if it is two words, it should be enclosed in quotes The returned results will be a comma-separated list of instances on the selected computer for that object. The purpose of this is to be run from command line to determine what instances are available for monitoring without having to log onto the Windows server to run Perfmon directly. It can also be used in scripts that automatically create Nagios service configuration files. Some examples: check_nt -H 192.168.1.1 -p 1248 -v INSTANCES -l Process Notes: - The NSClient service should be running on the server to get any information (http://nsclient.ready2run.nl). - Critical thresholds should be lower than warning thresholds - Default port 1248 is sometimes in use by other services. The error output when this happens contains "Cannot map xxxxx to protocol number". One fix for this is to change the port to something else on check_nt and on the client service it's connecting to. Send email to nagios-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to nagiosplug-devel at lists.sourceforge.net ---pins--- HTH Werner ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu Mar 12 14:05:42 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 12 Mar 2009 13:05:42 +0000 Subject: snmptt and nagios, access to nagios.cmd file In-Reply-To: References: <765d77c80903111212p44dc63o64823c28c5b77a6d@mail.gmail.com> Message-ID: <765d77c80903120605k625d5ef0weef40481d1d7c563@mail.gmail.com> 2009/3/12 Marco Tirado : > They look like this: > > For nagios.cmd > > prw-rw---- 1 nagios nagcmd??? 0 2009-03-11 18:53 nagios.cmd > > > for the rw catalog: > > drwxrwsr-x? 2 nagios nagcmd?? 4096 2009-03-11 18:14 rw > > Please let me know if something looks obviously wrong. No, those look absolutely fine; same as mine anyway. I now use NagTrap with Nagios 3, but I still have a similar setup to yours running on my old Nagios 2.7 server. Let me see ... There, I have the user snmptt added to the "nagiocmd" group, and at the end of my submit_check_result script, I have: sg nagiocmd -c "echo '$cmdline' >> $CommandFile" It's been a while since I set this up, so my memory is a bit hazy but I think I remember now battling with this one for a while when I set it up too. I think the important thing which got it working was putting the "sg nagiocmd -c" (or in your case it would be "sg nagcmd -c ") in front of the command which actually writes to the command file. hth, Jim ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu Mar 12 14:11:12 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 12 Mar 2009 13:11:12 +0000 Subject: snmptt and nagios, access to nagios.cmd file In-Reply-To: References: <765d77c80903111212p44dc63o64823c28c5b77a6d@mail.gmail.com> Message-ID: <765d77c80903120611y4d15c18by41bf8826859dc023@mail.gmail.com> p.s. I'd be interested to know what instructions you followed to get your method working? I moved to using NagTrap because I found that maintaining the submit_check_result script was rather time-consuming, but if things have moved on a bit since I last set mine up I'd be interested to see if it's any easier to maintain now. I quite like NagTrap, but if you follow the standard install for it, there's a lot of polling the database which is very cpu intensive compared with writing direct to the command file as you do. Also, the alerts aren't so meaningful with NagTrap as they are in your setup. Cheers, Jim ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From borkmann at cbs.mpg.de Thu Mar 12 14:23:36 2009 From: borkmann at cbs.mpg.de (borkmann at cbs.mpg.de) Date: Thu, 12 Mar 2009 14:23:36 +0100 Subject: NagiosGrapher: no graph in diagramm shown Message-ID: <49B90CD8.3070501@cbs.mpg.de> dear nagios-list, i've got nagios3 and nagiosgrapher installed on debian/lenny. while nagios is working perfectly the grapher plugin won't work. grapher-log said that everything seems to be okay ... 2009-03-12 12:44:55 PIPE: localhost Current Load OK - load average: 0.00, 0.00, 0.00 load1=0.000;5.000;10.000;0; load5=0.000;4.000;6.000;0; load15=0.000;3.000;4.000;0; 1236858275 2009-03-12 12:44:55 VALUES: [localhost][Current Load]: 1min=0.00 5min=0.00 15min=0.00 2009-03-12 12:44:55 RRD: rrdtool update /var/lib/nagiosgrapher/rrd/localhost/be0dcf79990574e9c88ba5325be4dcc6.rrd --template=1min:5min:15min 1236858275:0.00:0.00:0.00 ... but the rrdtool dump is other opinion. no data is written to the database... all is NaN thus empty graphs are shown for each service. can you see the problem? thx daniel ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Thu Mar 12 14:21:56 2009 From: nccomp at gmail.com (Andrew Davis) Date: Thu, 12 Mar 2009 09:21:56 -0400 Subject: Mobile phone/non-WAP interface In-Reply-To: References: <49B6CECE.2080503@gmail.com> <20090310214649.GZ30298@bakgwai.americas.hpqcorp.net> Message-ID: <49B90C74.3090407@gmail.com> My only desire is that it be able to login into SSL protected sites and handle any character in the password. Being able to cache the passwords would be a nice touch too. A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan D. Emmanuel Feinsmith wrote: > Hi Patrick, > > I have submitted a native iPhone Nagios App to the iPhone App Store. > They say it takes between 30 and 60 days to get on the store. It's > written in Objective-C and gives very good user responsiveness, even > with large installations. Way better than using Safari on the iPhone > or WAP on other phones. > > Here are some screen shots of the beta version: > > http://www.shastasystems.com/nagiostouch.html > > It works on any Nagios instance, no modifications are necessary to the > server itself. > > I'll send a message to this list when it is up on the store. > > Best Regards, > Daniel. > > On Mar 10, 2009, at 2:46 PM, Patrick Morris wrote: > >> On Tue, 10 Mar 2009, Andrew Davis wrote: >> >>> I see there's a WAP version built-in to Nagios, but what about >>> phones that don't do WAP (ie: the iPhone)? Is there a simplied >>> interface for viewing from a mobile device? I found "inagios" on >>> Google, but the code, documentation, and such looks sketchy. I'm >>> looking for something a bit more solid. Ideas? >> >> The WAP interface provided by nagios works fine on iPhones, as does the >> full standard web interface. >> >> ------------------------------------------------------------------------------ >> >> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are >> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and >> easily build your RIAs with Flex Builder, the Eclipse(TM)based >> development >> software that enables intelligent coding and step-through debugging. >> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu Mar 12 14:24:28 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 12 Mar 2009 13:24:28 +0000 Subject: Need a daily report plugin In-Reply-To: References: Message-ID: <765d77c80903120624g50f8cf62vcd793095edf1f228@mail.gmail.com> 2009/3/12 Max Alex : > Hi All, > I have installed and configured nagios on my linux server, > It is working fine, > I need a daily base report of the system, > I need a report for the all services which is running in nagios per day by > email. > Can anybody suggest the plugin for that or configuration for it? > Thanks in advance! You could try: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2154.html;d=1 I'm not sure if it works with Nagios 3 - it might need a little re-working. I've used it successfully in the past with Nagios 2. Cheers, Jim ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dario.bestetti at opservices.com.br Thu Mar 12 15:17:04 2009 From: dario.bestetti at opservices.com.br (Dario B. Bestetti (OpServices)) Date: Thu, 12 Mar 2009 11:17:04 -0300 (BRT) Subject: NSClient++ and .Net In-Reply-To: <49B8AA08.7010508@kkeane.com> References: <49B8AA08.7010508@kkeane.com> Message-ID: <29639869.514911236867424871.JavaMail.root@mail.opservices.com.br> ----- "Kevin Keane" escreveu: > Actually, .Net 1.1, 2.0 SP2, 3.0 SP2 and 3.5 SP1 (and, coming soon, > 4.x) > should be installed on pretty much all well-maintained Windows XP and > > Windows 2003 systems. These versions coexist nicely. > > Microsoft has been pushing them out as part of their update packages, > so > the only reason they might not be installed is that either an > administrator specifically excluded them from installing due to some > incompatibility (which is rare; I haven't heard of any problems), or > hasn't been diligent about doing Windows updating in the first place. > On > all the servers I manage, I use WSUS and have these updates pushed out > > automatically. Or if you prefer, run Windows Update, and you will get > > all of these versions of .Net. > > That said, for Nagios purposes, I am not very fond of using .Net. The > > reason is that it has a huge footprint - and that means, more memory, > > slower loading times, and a host of other issues. Of the plugins I use > > in TNTMonitoring, those that do use .Net are well over 1 MB *each*. > Those that don't use it are a few dozen KB each. Obviously, I'm > looking > to replace those big plugins at some point. > > It might be less severe for an agent that runs continuously than for a > > plugin that is started once. > > Andrew Davis wrote: > > If I recall, Windows 2000 Server didn't include .Net, but you could > > > install it. > > Windows 2003 Server included .Net 1.x, but you could additionally > add > > .Net 2.x. > > Now it seems that Server 2008 includes .Net 2.x by default and you > can > > install .Net 3.x, though MS finall got smart and just did one big > > rollup package so you don't have to have .Net 1.x and 2.x both > > installed, etc. > > > > So my question is this: right now we're mostly Server 2003, but > > migrating to Server 2008. NSClient++ 4.x requires .Net 2.x, but will > > > it work with .Net 3.x on Server 2008? Anyone know? Anyone tried? > > > > Thanks, > > -- > Kevin Keane > Owner > The NetTech > Find the Uncommon: Expert Solutions for a Network You Never Have to > Think About > > Office: 866-642-7116 > http://www.4nettech.com > > This e-mail and attachments, if any, may contain confidential and/or > proprietary information. Please be advised that the unauthorized use > or disclosure of the information is strictly prohibited. The > information herein is intended only for use by the intended > recipient(s) named above. If you have received this transmission in > error, please notify the sender immediately and permanently delete the > e-mail and any copies, printouts or attachments thereof. > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) > are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly > and > easily build your RIAs with Flex Builder, the Eclipse(TM)based > development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Well, this explained why we developed (or enhanced) OpMonAgent: to do not depend on .NET. www.opmon.org ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marco.tirado at gmail.com Thu Mar 12 15:40:57 2009 From: marco.tirado at gmail.com (Marco Tirado) Date: Thu, 12 Mar 2009 15:40:57 +0100 Subject: snmptt and nagios, access to nagios.cmd file In-Reply-To: <765d77c80903120611y4d15c18by41bf8826859dc023@mail.gmail.com> References: <765d77c80903111212p44dc63o64823c28c5b77a6d@mail.gmail.com> <765d77c80903120611y4d15c18by41bf8826859dc023@mail.gmail.com> Message-ID: Hello Jim: Thank you very much for the help, after changing the last line in the submit_check_result script from the default of: `$echocmd $cmdline >> $CommandFile` to: sg nagiocmd -c "echo '$cmdline' >> $CommandFile" everything works fine. As for my setup, I run nagios 3 and Nagtrap. However I send the notifications as passive checks directly from snmptt's EXEC statement. I some special logic in my script to select the right alarm level and then send it to nagios with submit_check_result. I link to nagtrap using the action_url in all my snmptrap services. I catch all the traps in Nagtrap, however only some of them generate alarms. Whenever an alarm is generated by the selected traps, you can always check the rest of received traps in nagtrap. Regards Marco On Thu, Mar 12, 2009 at 2:11 PM, Jim Avery wrote: > p.s. I'd be interested to know what instructions you followed to get > your method working? I moved to using NagTrap because I found that > maintaining the submit_check_result script was rather time-consuming, > but if things have moved on a bit since I last set mine up I'd be > interested to see if it's any easier to maintain now. > > I quite like NagTrap, but if you follow the standard install for it, > there's a lot of polling the database which is very cpu intensive > compared with writing direct to the command file as you do. Also, the > alerts aren't so meaningful with NagTrap as they are in your setup. > > Cheers, > > Jim > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel at danielemmanuelfeinsmith.com Thu Mar 12 15:46:49 2009 From: daniel at danielemmanuelfeinsmith.com (D. Emmanuel Feinsmith) Date: Thu, 12 Mar 2009 07:46:49 -0700 Subject: Mobile phone/non-WAP interface In-Reply-To: <49B90C74.3090407@gmail.com> References: <49B6CECE.2080503@gmail.com> <20090310214649.GZ30298@bakgwai.americas.hpqcorp.net> <49B90C74.3090407@gmail.com> Message-ID: <121D7AD4-E37F-40F8-91A7-7539AB9660E8@danielemmanuelfeinsmith.com> Sounds good. I am current caching the passwords. You set it in the preferences, and it holds on to it. Any character is fine. SSL support is for the next minor release, which is being worked on. Thanks! Daniel. On Mar 12, 2009, at 6:21 AM, Andrew Davis wrote: > My only desire is that it be able to login into SSL protected sites > and handle any character in the password. Being able to cache the > passwords would be a nice touch too. > A. Davis > Email: nccomp at gmail.com > > "There is no limit to what a man can accomplish > if he doesn't care who gets the credit." - Ronald Reagan > > > D. Emmanuel Feinsmith wrote: >> >> Hi Patrick, >> >> I have submitted a native iPhone Nagios App to the iPhone App >> Store. They say it takes between 30 and 60 days to get on the >> store. It's written in Objective-C and gives very good user >> responsiveness, even with large installations. Way better than >> using Safari on the iPhone or WAP on other phones. >> >> Here are some screen shots of the beta version: >> >> http://www.shastasystems.com/nagiostouch.html >> >> It works on any Nagios instance, no modifications are necessary to >> the server itself. >> >> I'll send a message to this list when it is up on the store. >> >> Best Regards, >> Daniel. >> >> On Mar 10, 2009, at 2:46 PM, Patrick Morris wrote: >> >>> On Tue, 10 Mar 2009, Andrew Davis wrote: >>> >>>> I see there's a WAP version built-in to Nagios, but what about >>>> phones that don't do WAP (ie: the iPhone)? Is there a simplied >>>> interface for viewing from a mobile device? I found "inagios" on >>>> Google, but the code, documentation, and such looks sketchy. I'm >>>> looking for something a bit more solid. Ideas? >>> >>> The WAP interface provided by nagios works fine on iPhones, as >>> does the >>> full standard web interface. >>> >>> ------------------------------------------------------------------------------ >>> Apps built with the Adobe(R) Flex(R) framework and Flex >>> Builder(TM) are >>> powering Web 2.0 with engaging, cross-platform capabilities. >>> Quickly and >>> easily build your RIAs with Flex Builder, the Eclipse(TM)based >>> development >>> software that enables intelligent coding and step-through debugging. >>> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/ >>> null >> > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) > are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly > and > easily build your RIAs with Flex Builder, the Eclipse(TM)based > development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frisvolj at lafayette.edu Thu Mar 12 16:29:23 2009 From: frisvolj at lafayette.edu (Jason Frisvold) Date: Thu, 12 Mar 2009 11:29:23 -0400 Subject: Periodic Overrides Message-ID: <49B92A53.9060905@lafayette.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, For any given service, what is the accepted method for overriding test values for a specific time period? For example, we have servers that are backed up at a given time each night. During the backup period, load is driven up on the server, exceeding the current threshold. This, in turn, results in alerts being sent out about the server. However, since we know about this in advance, and it's a scheduled service, we'd like to override the load value during the backup period. So if we normally trigger on a load of 2, we'd like to instead trigger on a load of 4 during backups. I know I can create two services with two timeperiods that will handle this, but is there a better way? Thanks, - -- - --------------------------- Jason Frisvold Network Engineer frisvolj at lafayette.edu - --------------------------- "What I cannot create, I do not understand" - Richard Feynman -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFJuSpTO80o6DJ8UvkRAv62AJ9A2u/YI4t1U7yOpQf1L8AwY3XRlwCeLeLf lnlEMDDTAFhb9pOeVwezMZE= =Zwom -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu Mar 12 16:57:09 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 12 Mar 2009 15:57:09 +0000 Subject: snmptt and nagios, access to nagios.cmd file In-Reply-To: References: <765d77c80903111212p44dc63o64823c28c5b77a6d@mail.gmail.com> <765d77c80903120611y4d15c18by41bf8826859dc023@mail.gmail.com> Message-ID: <765d77c80903120857n162f5b6o5bc2a3c88ad1531f@mail.gmail.com> 2009/3/12 Marco Tirado : > Hello Jim: > > Thank you very much for the help, after changing the last line in the > submit_check_result script from the default of: > > `$echocmd $cmdline >> $CommandFile` > > to: > > sg nagiocmd -c "echo '$cmdline' >> $CommandFile" > > everything works fine. > > As for my setup, I run nagios 3 and Nagtrap. However I send the > notifications as passive checks directly from snmptt's EXEC statement. I > some special logic in my script to select the right alarm level and then > send it to nagios with submit_check_result. I link to nagtrap using the > action_url in all my snmptrap services. > > I catch all the traps in Nagtrap, however only some of them generate alarms. > Whenever an alarm is generated by the selected traps, you can always check > the rest of received traps in nagtrap. > > Regards > > Marco Thanks Marco, I think I'm going to have to 'bite the bullet' and do something similar myself soon. Cheers, Jim ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp-intl.com Thu Mar 12 16:57:35 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Thu, 12 Mar 2009 15:57:35 +0000 Subject: Periodic Overrides In-Reply-To: <49B92A53.9060905@lafayette.edu> References: <49B92A53.9060905@lafayette.edu> Message-ID: <200903121557.36021.assaf.flatto@ssp-intl.com> On Thursday 12 March 2009 15:29:23 Jason Frisvold wrote: > Hi all, > > For any given service, what is the accepted method for overriding test > values for a specific time period? For example, we have servers that > are backed up at a given time each night. During the backup period, > load is driven up on the server, exceeding the current threshold. This, > in turn, results in alerts being sent out about the server. > > However, since we know about this in advance, and it's a scheduled > service, we'd like to override the load value during the backup period. > So if we normally trigger on a load of 2, we'd like to instead trigger > on a load of 4 during backups. > > I know I can create two services with two timeperiods that will handle > this, but is there a better way? > > Thanks, you can execute the test for load in a timeperiod that excludes the backup times and hence not get the alert , but will work for the rest of the day - for example : # 'skipbackup' timeperiod definition define timeperiod{ timeperiod_name skipbackup monday 00:00-20:00,21:00-24:00 } Assaf -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frisvolj at lafayette.edu Thu Mar 12 17:23:52 2009 From: frisvolj at lafayette.edu (Jason Frisvold) Date: Thu, 12 Mar 2009 12:23:52 -0400 Subject: Periodic Overrides In-Reply-To: <200903121557.36021.assaf.flatto@ssp-intl.com> References: <49B92A53.9060905@lafayette.edu> <200903121557.36021.assaf.flatto@ssp-intl.com> Message-ID: <49B93718.9090402@lafayette.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Assaf Flatto wrote: > you can execute the test for load in a timeperiod that excludes the backup times and hence not get > the alert , but will work for the rest of the day - for example : Understood, but that removes load monitoring all together for that time period. These servers are important enough that we don't want to stop monitoring load, just adjust the values for a short period of time. > Assaf - -- - --------------------------- Jason Frisvold Network Engineer frisvolj at lafayette.edu - --------------------------- "What I cannot create, I do not understand" - Richard Feynman -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFJuTcYO80o6DJ8UvkRAknmAJ0WuKWUEMtVSsUDD8aNgwPntcNAIwCeNBjm KTDtR8N3kWnM6lVFoL6tWaE= =WJEI -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 12 17:42:19 2009 From: marc at ena.com (Marc Powell) Date: Thu, 12 Mar 2009 11:42:19 -0500 Subject: Periodic Overrides In-Reply-To: <49B93718.9090402@lafayette.edu> References: <49B92A53.9060905@lafayette.edu> <200903121557.36021.assaf.flatto@ssp-intl.com> <49B93718.9090402@lafayette.edu> Message-ID: On Mar 12, 2009, at 11:23 AM, Jason Frisvold wrote: > Understood, but that removes load monitoring all together for that > time > period. These servers are important enough that we don't want to stop > monitoring load, just adjust the values for a short period of time. You could create a new check_command with the higher acceptable load. At the start of your backup process, send the CHANGE_SVC_CHECK_COMMAND external command to nagios with the higher threshold check_command. At the end of the backup process, send the same external command but specify the lower threshold check_command. http://www.nagios.org/developerinfo/externalcommands/commandlist.php -- Marc ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p1 at fhri.org Thu Mar 12 19:12:04 2009 From: p1 at fhri.org (p1 at fhri.org) Date: Thu, 12 Mar 2009 11:12:04 -0700 Subject: No data was received from host! Message-ID: <4F9C3ACB9A61D74ABF0D161858A10B2FD2A8E7@exch1.ea.corp.com> Every now and then, I get these on a host or two, for ALL checks, so I'm flooded with alerts. The condition clears itself up after just a few minutes, but it's just annoying to get these alerts. Anyone else seeing this? Any suggestions how to handle? Thanks, Peter -- ea926p -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 12 19:41:02 2009 From: marc at ena.com (Marc Powell) Date: Thu, 12 Mar 2009 13:41:02 -0500 Subject: No data was received from host! In-Reply-To: <4F9C3ACB9A61D74ABF0D161858A10B2FD2A8E7@exch1.ea.corp.com> References: <4F9C3ACB9A61D74ABF0D161858A10B2FD2A8E7@exch1.ea.corp.com> Message-ID: <1A4E0140-78B8-4E00-B23B-63BE21AE08B0@ena.com> On Mar 12, 2009, at 1:12 PM, wrote: > Every now and then, I get these on a host or two, for ALL checks, so > I'm flooded with alerts. The condition clears itself up after just > a few minutes, but it's just annoying to get these alerts. Anyone > else seeing this? Any suggestions how to handle? Nagios is alerting you to a general problem. Without knowing specifics about what you're checking and how, generally speaking the host was unreachable, down (if this is a check_snmp check), too busy to respond or otherwise non-responsive. You should investigate as the problem is almost certainly real. Maybe you have a network connectivity issue or problem on those hosts. -- Marc ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From echatham at broadvox.net Thu Mar 12 20:14:29 2009 From: echatham at broadvox.net (Eric Chatham) Date: Thu, 12 Mar 2009 15:14:29 -0400 Subject: Having difficulty installing Nagiosgraph Message-ID: <4ABA3E162F60624A949503A7F960245EB0E2E29370@CLEHBEXMS01.broadvox.local> Hello all, I'm having a hard making the graphs work. I'm running CentOS 5.1 (RHEL 5.1). I'm successfully running Nagios version 3.0.6 on this system. I'm having problems with getting Nagiosgraph to work. One, here is the output of my webpage: http://server.net/nagiosgraph/cgi/show.cgi?host=reach_media&service=PING Nagiosgraph has detected an error in the configuration file: /etc/nagios/nagiosgraph/nagiosgraph.conf. /usr/local/nagios/nagiosgraph/rrd is empty Next, here is my /var/log/nagiosgraph.log: Thu Mar 12 13:59:11 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr: UPTIME output: OK - System uptime is 4 days, 10:59:15.53. perfdata: Thu Mar 12 13:59:28 2009 show.cgi critical - /usr/local/nagios/nagiosgraph/rrd is empty Thu Mar 12 13:59:41 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr: PING output: PING OK - Packet loss = 0%, RTA = 67.71 ms perfdata: Thu Mar 12 13:59:51 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr: PING output: PING OK - Packet loss = 0%, RTA = 0.08 ms perfdata: When I try to run insert.pl manually, I get this error: perl /usr/lib/nagios/insert.pl readline() on closed filehandle FH at /etc/nagios/nagiosgraph/ngshared.pm line 989. I have RRD installed; I also use Smokeping on this server. Please assist. Eric Chatham ________________________________ CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From echatham at broadvox.net Thu Mar 12 20:44:52 2009 From: echatham at broadvox.net (Eric Chatham) Date: Thu, 12 Mar 2009 15:44:52 -0400 Subject: Having difficulty installing Nagiosgraph In-Reply-To: <4ABA3E162F60624A949503A7F960245EB0E2E29370@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB0E2E29370@CLEHBEXMS01.broadvox.local> Message-ID: <4ABA3E162F60624A949503A7F960245EB0E2E293A7@CLEHBEXMS01.broadvox.local> I should also mention that after I typed up my message, I saw CentOS platform notes in the INSTALL file. I completed those steps. Now, when I try to access the serviceextinfo link, I get red "X"s where the graphs should be. Hmmm. It has the server listed as "____" on the webpage also. Here is my Nagios log file: Thu Mar 12 14:37:16 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr: PING output: PING CRITICAL - Packet loss = 100% perfdata: Thu Mar 12 14:37:16 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr: UPTIME output: OK - System uptime is 4 days, 11:29:57.23. perfdata: Thu Mar 12 14:37:16 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr: Root Partition output: DISK OK - free space: / 26330 MB (87% inode=98%): perfdata: /=3890MB;25492;28678;0;31865 Eric Chatham From: Eric Chatham [mailto:echatham at broadvox.net] Sent: Thursday, March 12, 2009 15:14 To: Nagios Users Mailinglist Subject: [Nagios-users] Having difficulty installing Nagiosgraph Hello all, I'm having a hard making the graphs work. I'm running CentOS 5.1 (RHEL 5.1). I'm successfully running Nagios version 3.0.6 on this system. I'm having problems with getting Nagiosgraph to work. One, here is the output of my webpage: http://server.net/nagiosgraph/cgi/show.cgi?host=reach_media&service=PING Nagiosgraph has detected an error in the configuration file: /etc/nagios/nagiosgraph/nagiosgraph.conf. /usr/local/nagios/nagiosgraph/rrd is empty Next, here is my /var/log/nagiosgraph.log: Thu Mar 12 13:59:11 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr: UPTIME output: OK - System uptime is 4 days, 10:59:15.53. perfdata: Thu Mar 12 13:59:28 2009 show.cgi critical - /usr/local/nagios/nagiosgraph/rrd is empty Thu Mar 12 13:59:41 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr: PING output: PING OK - Packet loss = 0%, RTA = 67.71 ms perfdata: Thu Mar 12 13:59:51 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr: PING output: PING OK - Packet loss = 0%, RTA = 0.08 ms perfdata: When I try to run insert.pl manually, I get this error: perl /usr/lib/nagios/insert.pl readline() on closed filehandle FH at /etc/nagios/nagiosgraph/ngshared.pm line 989. I have RRD installed; I also use Smokeping on this server. Please assist. Eric Chatham ________________________________ CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. ________________________________ CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From echatham at broadvox.net Thu Mar 12 21:40:23 2009 From: echatham at broadvox.net (Eric Chatham) Date: Thu, 12 Mar 2009 16:40:23 -0400 Subject: Having difficulty installing Nagiosgraph In-Reply-To: <4ABA3E162F60624A949503A7F960245EB0E2E293A7@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB0E2E29370@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB0E2E293A7@CLEHBEXMS01.broadvox.local> Message-ID: <4ABA3E162F60624A949503A7F960245EB0E2E29409@CLEHBEXMS01.broadvox.local> I figured it out; I don't know though how I did it. Maybe it was just waiting for the next service check interval for it to refresh. The webpage has a drop-down with a list of hosts and services being monitored. And, the graphs display nicely. Eric Chatham From: Eric Chatham Sent: Thursday, March 12, 2009 15:45 To: Eric Chatham; Nagios Users Mailinglist Subject: RE: Having difficulty installing Nagiosgraph I should also mention that after I typed up my message, I saw CentOS platform notes in the INSTALL file. I completed those steps. Now, when I try to access the serviceextinfo link, I get red "X"s where the graphs should be. Hmmm. It has the server listed as "____" on the webpage also. Here is my Nagios log file: Thu Mar 12 14:37:16 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr: PING output: PING CRITICAL - Packet loss = 100% perfdata: Thu Mar 12 14:37:16 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr: UPTIME output: OK - System uptime is 4 days, 11:29:57.23. perfdata: Thu Mar 12 14:37:16 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr: Root Partition output: DISK OK - free space: / 26330 MB (87% inode=98%): perfdata: /=3890MB;25492;28678;0;31865 Eric Chatham From: Eric Chatham [mailto:echatham at broadvox.net] Sent: Thursday, March 12, 2009 15:14 To: Nagios Users Mailinglist Subject: [Nagios-users] Having difficulty installing Nagiosgraph Hello all, I'm having a hard making the graphs work. I'm running CentOS 5.1 (RHEL 5.1). I'm successfully running Nagios version 3.0.6 on this system. I'm having problems with getting Nagiosgraph to work. One, here is the output of my webpage: http://server.net/nagiosgraph/cgi/show.cgi?host=reach_media&service=PING Nagiosgraph has detected an error in the configuration file: /etc/nagios/nagiosgraph/nagiosgraph.conf. /usr/local/nagios/nagiosgraph/rrd is empty Next, here is my /var/log/nagiosgraph.log: Thu Mar 12 13:59:11 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr: UPTIME output: OK - System uptime is 4 days, 10:59:15.53. perfdata: Thu Mar 12 13:59:28 2009 show.cgi critical - /usr/local/nagios/nagiosgraph/rrd is empty Thu Mar 12 13:59:41 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr: PING output: PING OK - Packet loss = 0%, RTA = 67.71 ms perfdata: Thu Mar 12 13:59:51 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr: PING output: PING OK - Packet loss = 0%, RTA = 0.08 ms perfdata: When I try to run insert.pl manually, I get this error: perl /usr/lib/nagios/insert.pl readline() on closed filehandle FH at /etc/nagios/nagiosgraph/ngshared.pm line 989. I have RRD installed; I also use Smokeping on this server. Please assist. Eric Chatham ________________________________ CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. ________________________________ CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From echatham at broadvox.net Thu Mar 12 22:08:57 2009 From: echatham at broadvox.net (Eric Chatham) Date: Thu, 12 Mar 2009 17:08:57 -0400 Subject: Having difficulty installing Nagiosgraph In-Reply-To: <4ABA3E162F60624A949503A7F960245EB0E2E29409@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB0E2E29370@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB0E2E293A7@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB0E2E29409@CLEHBEXMS01.broadvox.local> Message-ID: <4ABA3E162F60624A949503A7F960245EB0E2E2943C@CLEHBEXMS01.broadvox.local> Ok, I take that back. :/ :/ All the graphs show that it polled for a short time. Now, there is no line on any of the graphs past a certain point. Eric Chatham From: Eric Chatham Sent: Thursday, March 12, 2009 16:40 To: Eric Chatham; Nagios Users Mailinglist Subject: RE: Having difficulty installing Nagiosgraph I figured it out; I don't know though how I did it. Maybe it was just waiting for the next service check interval for it to refresh. The webpage has a drop-down with a list of hosts and services being monitored. And, the graphs display nicely. Eric Chatham From: Eric Chatham Sent: Thursday, March 12, 2009 15:45 To: Eric Chatham; Nagios Users Mailinglist Subject: RE: Having difficulty installing Nagiosgraph I should also mention that after I typed up my message, I saw CentOS platform notes in the INSTALL file. I completed those steps. Now, when I try to access the serviceextinfo link, I get red "X"s where the graphs should be. Hmmm. It has the server listed as "____" on the webpage also. Here is my Nagios log file: Thu Mar 12 14:37:16 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr: PING output: PING CRITICAL - Packet loss = 100% perfdata: Thu Mar 12 14:37:16 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr: UPTIME output: OK - System uptime is 4 days, 11:29:57.23. perfdata: Thu Mar 12 14:37:16 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr: Root Partition output: DISK OK - free space: / 26330 MB (87% inode=98%): perfdata: /=3890MB;25492;28678;0;31865 Eric Chatham From: Eric Chatham [mailto:echatham at broadvox.net] Sent: Thursday, March 12, 2009 15:14 To: Nagios Users Mailinglist Subject: [Nagios-users] Having difficulty installing Nagiosgraph Hello all, I'm having a hard making the graphs work. I'm running CentOS 5.1 (RHEL 5.1). I'm successfully running Nagios version 3.0.6 on this system. I'm having problems with getting Nagiosgraph to work. One, here is the output of my webpage: http://server.net/nagiosgraph/cgi/show.cgi?host=reach_media&service=PING Nagiosgraph has detected an error in the configuration file: /etc/nagios/nagiosgraph/nagiosgraph.conf. /usr/local/nagios/nagiosgraph/rrd is empty Next, here is my /var/log/nagiosgraph.log: Thu Mar 12 13:59:11 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr: UPTIME output: OK - System uptime is 4 days, 10:59:15.53. perfdata: Thu Mar 12 13:59:28 2009 show.cgi critical - /usr/local/nagios/nagiosgraph/rrd is empty Thu Mar 12 13:59:41 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr: PING output: PING OK - Packet loss = 0%, RTA = 67.71 ms perfdata: Thu Mar 12 13:59:51 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr: PING output: PING OK - Packet loss = 0%, RTA = 0.08 ms perfdata: When I try to run insert.pl manually, I get this error: perl /usr/lib/nagios/insert.pl readline() on closed filehandle FH at /etc/nagios/nagiosgraph/ngshared.pm line 989. I have RRD installed; I also use Smokeping on this server. Please assist. Eric Chatham ________________________________ CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. ________________________________ CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Thu Mar 12 22:20:51 2009 From: nccomp at gmail.com (Andrew Davis) Date: Thu, 12 Mar 2009 17:20:51 -0400 Subject: Error collecting CPU/Load with NSClient++ In-Reply-To: <49B97B86.5070407@gmail.com> References: <49B97B86.5070407@gmail.com> Message-ID: <49B97CB3.2020807@gmail.com> BTW: running it from the Nagios server shows: nagios at nephilim libexec]$ ./check_nt -H 10.100.150.101 -p 12489 -v CPULOAD -l 5,85,95,15,80,95 CPU Load 2% (5 min average) 1% (15 min average) | '5 min avg Load'=2%;85;95;0;100 '15 min avg Load'=1%;80;95;0;100 So the daemon is (obviously or I wouldn't have other graphs) and it can manually poll it. The other system I mentioned is configured identically and is successfully graphing CPU trends... A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Andrew Davis wrote: > I added two Windows hosts today and on one system am getting trending > graphs for disks, memory, and CPU. However on the other, I'm only > getting graphs for disk and memory... nothing for CPU. Looking at the > local log on the client shows: > >