From jaimie at onebutterfly.com Thu Nov 1 02:19:39 2007 From: jaimie at onebutterfly.com (Jaimie Livingston) Date: Thu, 1 Nov 2007 02:19:39 +0100 (CET) Subject: statuwrl.cgi not working for IE In-Reply-To: References: Message-ID: <20071101011939.8F460580017@desire.netways.de> Hi Siwei The most likely cause is that the VML extension assignment in Windows. Make sure that the VML file extension is registered to the application that is going to be used to view the VML files. Up until XP, this was done from the Windows Explorer Folder Options > File Types. - Jaimie Livingston (jaimielives) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=6016 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jaimie at onebutterfly.com Thu Nov 1 02:24:10 2007 From: jaimie at onebutterfly.com (Jaimie Livingston) Date: Thu, 1 Nov 2007 02:24:10 +0100 (CET) Subject: no newlines in notification emails ? In-Reply-To: References: Message-ID: <20071101012410.5A7D1580017@desire.netways.de> I had the same problem when I was testing 3.0b4 on CentOS. I thought it was just me at the time... - Jaimie Livingston (jaimielives) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=5985 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jaimie at onebutterfly.com Thu Nov 1 02:28:00 2007 From: jaimie at onebutterfly.com (Jaimie Livingston) Date: Thu, 1 Nov 2007 02:28:00 +0100 (CET) Subject: Error: Could not read object configuration data! In-Reply-To: References: Message-ID: <20071101012800.ED477580017@desire.netways.de> Not to be silly, but have to checked your available disk space on the volume that your nagios logs are stored? If you're running low on log space, many odd things can happen. - Jaimie Livingston (jaimielives) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=5964 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Thu Nov 1 03:19:43 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 31 Oct 2007 22:19:43 -0400 Subject: Nagios monitoring windows machines In-Reply-To: References: Message-ID: Hi Christy Asside from monitoring, A quick review of the Event log sometimes reveals a lot about particular issues, just look for the time of the startup events then manually read through events that occured just prior to that, Also you can always try using NC_NEt, for an easy to use WIndows plugin. it uses the check_nt.c plugin to monitor services and other standard things It also has its own replacement of check_nt called check_nc_net to handle more checks, like WMI queries, Event Log queries, and more. THe install process is a msi installer just double click and start the service, and the configuration files are documented internally. Tony (author of NC_Net) On 10/31/07, Christy New wrote: > > NSC.ini file for monitoring windows machines. > > Should I just remove all the ( ; ) or the (#) too, and can some one break > this part of the process down in laymens terms. If I remove these, am I > suppose to reboot these systems, in order for this to take affect. Also > what exactly will this one INI file do......I just want to be really > careful, because the two window machines I want to set nagios to monitor, > are what we run monitoring utilities on for the network on. We are > experianceing down time of these devices and I want to monitor why they > keep getting shutdown. If I restart these machines, we may loose some > documentation's. Not say we will, but if there are any mistakes, we can > loose vital information. > > Please Advise. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 bob.debolt at starblanket.ca Thu Nov 1 03:53:43 2007 From: bob.debolt at starblanket.ca (Bob DeBolt) Date: Wed, 31 Oct 2007 20:53:43 -0600 Subject: Return code of 127 is out of bounds - plugin may be missing Message-ID: <47293FB7.2010808@starblanket.ca> Nagios Server install RPMs CentOS 4.5 nagios-devel-2.9-1.el4.rf nagios-plugins-1.4.9-1.el4.rf nagios-2.9-1.el4.rf nagios-nsca-2.6-1.el4.rf Other Monitored Servers CentOS 5 nagios-nrpe-2.5.2-1.el5.rf nagios-plugins-1.4.9-1.el5.rf nagios-2.9-1.el5.rf nagios-plugins-nrpe-2.5.2-1.el5.rf I have not seen this error occur previously Because this is a new set of servers I reinstalled the entire servers from scratch just to make sure I didn't have something corrupted. The base set of services all run fine from the Nagios server command line as the default user Nagios. They all return correct values. Using TCPDump, no traffic is passed from the Nagios server to any of the monitored units during the normal nagios cycling. Am I missing permissions somewhere?? Pre flight checks are perfect restarted Nagios and NRPE Ideas please? Bob D -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Nov 1 04:18:48 2007 From: marc at ena.com (Marc Powell) Date: Wed, 31 Oct 2007 22:18:48 -0500 Subject: Return code of 127 is out of bounds - plugin may bemissing In-Reply-To: <47293FB7.2010808@starblanket.ca> References: <47293FB7.2010808@starblanket.ca> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Bob DeBolt > Sent: Wednesday, October 31, 2007 9:54 PM > To: nagios-users > Subject: [Nagios-users] Return code of 127 is out of bounds - plugin may > bemissing > Ideas please? FAQ: http://www.nagios.org/faqs/viewfaq.php?faq_id=17&expand=false&showdesc=f alse The plugins referenced in your command{} definitions do not exist in the location you've specified. If you're using a macro such as $USER1$ in place of the path, make sure it's properly defined in resource.cfg and that file in included as resource file in nagios.cfg. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 bespalov at sovintel.ru Thu Nov 1 08:20:31 2007 From: bespalov at sovintel.ru (Alexander Bespalov) Date: Thu, 1 Nov 2007 10:20:31 +0300 Subject: Nagios Huge Installation (15000 hosts) - Problem In-Reply-To: <20071031153615.3B1E3580017@desire.netways.de> References: <20071031153615.3B1E3580017@desire.netways.de> Message-ID: <02dd01c81c57$afaf68a0$651e6a0a@sovintel.net> Hi, We are trying to use Nagios to monitor (just ping) very large network (15000 hosts). We have 20 Nagios processes which perform active checks (average 650 hosts per process with 15 minutes check interval) and 1 Nagios process which accepts passive checks (all the processes currently running on a single server HP DL580, 4 dual core CPU, 8GB RAM). All the processes configured with use_large_installation_tweaks option. All the processes have 3.0b5 version. There are no problems with active processes, all the checks are in time. But the central process have the problems: 1. External command bufer constantly grows up (current limit is 131072). 2. There are a lot of files in checkresults directory (every file probably have larger size then previous). 3. Host status updates are out of time. I think the the main problem is in the check_result_reaper_frequency=10 and max_check_result_reaper_time=60 parameters in the central process. Could you please recommend me proper values for this parameters? Thank you! -- Alexander Bespalov Golden Telecom, Moscow, Russia ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 radhiilu at yahoo.com Thu Nov 1 10:34:49 2007 From: radhiilu at yahoo.com (Sekhar) Date: Thu, 1 Nov 2007 02:34:49 -0700 (PDT) Subject: Monitoring nslookup and http response Message-ID: <767535.94166.qm@web90513.mail.mud.yahoo.com> Hi Guys, I want to monitor nslookup response and http response for one URL using nagios.How do we do this?.Is there any plugins for this. Thanks for your help Best Regards __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 ampranti at gmail.com Thu Nov 1 10:52:51 2007 From: ampranti at gmail.com (Brandino Andreas) Date: Thu, 1 Nov 2007 11:52:51 +0200 Subject: Sms messages Message-ID: <148121386.20071101115251@gmail.com> Hi all I have a debian box with an attached wavecom gsm modem. I am trying to send messages using GSM-SMS-0.162 ( http://search.cpan.org/~johanvdb/GSM-SMS-0.162/ ) The wavecom modem is attached correctly to the pc, and i can connect to it using minicom. Pin code is disabled. >From command line i can send messages sucessfully. However, when messages are sent from nagios , the messages remain in /var/spool/gsmsms directory and are not sent. Also i can try sucessfully to send messages as nagios user from command line. NMS:/var/spool/gsmsms# ll total 12 drwxrwxrwx 2 nagios nagios 4096 2007-11-01 11:35 . drwxr-xr-x 11 root root 4096 2007-11-01 10:41 .. -rw-rw-r-- 1 nagios nagios 206 2007-11-01 11:35 3069xxxxxxxx_668411939097280B166BC960B01B2816D3CD6A3AD90D04 NMS:/var/spool/gsmsms# I have tried to reinstall & reconfigure the perl module with no difference. This happened after i changed the sim to the wavecom modem. Any idea what happens? Thanks in advance <> --- - - - --- <> Brandino Andreas ampranti at gmail.com <> --- - - - --- <> ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 gurdeep_chd2000 at yahoo.com Thu Nov 1 11:04:41 2007 From: gurdeep_chd2000 at yahoo.com (gurdeep johal) Date: Thu, 1 Nov 2007 03:04:41 -0700 (PDT) Subject: How to implement Nagios Message-ID: <717312.48888.qm@web53008.mail.re2.yahoo.com> Hi All, I am new to nagios. Installtion of nagios is done and it is working with apache. Can anyboddy help me to configure it. its documentation is too hard. plz explain in easy way Gurdeep Singh __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 sander at pictura-dp.nl Thu Nov 1 11:18:13 2007 From: sander at pictura-dp.nl (Sander Klein) Date: Thu, 01 Nov 2007 11:18:13 +0100 Subject: SMS Message-ID: <4729A7E5.9060608@pictura-dp.nl> Hi, I want my nagios setup to send me an sms whenever there's something wrong. Since we also monitor or internet connectivity I can't use an internet sms gateway. What is the recommended hardware to set this up? Regards, Sander Klein Pictura Database Publishing ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 ismail at habari.co.tz Thu Nov 1 11:28:13 2007 From: ismail at habari.co.tz (Ismail M. Settenda) Date: Thu, 1 Nov 2007 13:28:13 +0300 Subject: SMS In-Reply-To: <4729A7E5.9060608@pictura-dp.nl> References: <4729A7E5.9060608@pictura-dp.nl> Message-ID: <3c1cf0fd0711010328n45aa71bah52cd6845c2aad877@mail.gmail.com> Connect to a local mobile phone company and use the GSM modem. http://www.nagiosbook.org/html/ch11s04.html. -- Ismail On 11/1/07, Sander Klein wrote: > > Hi, > > I want my nagios setup to send me an sms whenever there's something wrong. > > Since we also monitor or internet connectivity I can't use an internet > sms gateway. What is the recommended hardware to set this up? > > Regards, > > Sander Klein > Pictura Database Publishing > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hpsekhon at googlemail.com Thu Nov 1 11:38:22 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 01 Nov 2007 10:38:22 +0000 Subject: Monitoring nslookup and http response In-Reply-To: <767535.94166.qm@web90513.mail.mud.yahoo.com> References: <767535.94166.qm@web90513.mail.mud.yahoo.com> Message-ID: <4729AC9E.2090603@googlemail.com> Please read the docs and try the basics before posting. In the standard nagios-plugins distribution (which contains many checks that you should look at first) you can use the following 2 plugins: check_dns check_http use the --help switch for both to figure them out. -h Hari Sekhon Sekhar wrote: > Hi Guys, > > I want to monitor nslookup response and http response for one URL > using nagios.How do we do this?.Is there any plugins for this. > > Thanks for your help > > Best Regards > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hpsekhon at googlemail.com Thu Nov 1 11:45:24 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 01 Nov 2007 10:45:24 +0000 Subject: How to implement Nagios In-Reply-To: <717312.48888.qm@web53008.mail.re2.yahoo.com> References: <717312.48888.qm@web53008.mail.re2.yahoo.com> Message-ID: <4729AE44.9030802@googlemail.com> Sorry but this is not valid. You must try first. Reread all of the docs at least twice before posting. You will understand if you read them through a couple of times, it's not that hard. Just add definitions to run checkcommands with the plugins like check_http, check_dns etc etc... You will likely not get any help here until you try for yourself, we're not here to do your job for you, only help when you are stuck on a specific issue. -h Hari Sekhon gurdeep johal wrote: > Hi All, > > I am new to nagios. Installtion of nagios is done and it is working > with apache. > Can anyboddy help me to configure it. its documentation is too hard. > plz explain in easy way > > > Gurdeep Singh > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 radhiilu at yahoo.com Thu Nov 1 13:42:43 2007 From: radhiilu at yahoo.com (Sekhar) Date: Thu, 1 Nov 2007 05:42:43 -0700 (PDT) Subject: Monitoring nslookup and http response In-Reply-To: <4729AC9E.2090603@googlemail.com> References: <4729AC9E.2090603@googlemail.com> Message-ID: <484599.63182.qm@web90513.mail.mud.yahoo.com> thanks for your reply but i want to monito in remote machne using snmp not nrpe Hari Sekhon wrote: Please read the docs and try the basics before posting. In the standard nagios-plugins distribution (which contains many checks that you should look at first) you can use the following 2 plugins: check_dns check_http use the --help switch for both to figure them out. -h Hari Sekhon Sekhar wrote: > Hi Guys, > > I want to monitor nslookup response and http response for one URL > using nagios.How do we do this?.Is there any plugins for this. > > Thanks for your help > > Best Regards > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Nov 1 13:47:38 2007 From: marc at ena.com (Marc Powell) Date: Thu, 1 Nov 2007 07:47:38 -0500 Subject: How to implement Nagios In-Reply-To: <717312.48888.qm@web53008.mail.re2.yahoo.com> References: <717312.48888.qm@web53008.mail.re2.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of gurdeep johal > Sent: Thursday, November 01, 2007 5:05 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How to implement Nagios > > Hi All, > > I am new to nagios. Installtion of nagios is done and it is working with > apache. > Can anyboddy help me to configure it. its documentation is too hard. plz > explain in easy way As has been noted, you _will_ need to familiarize yourself with the documentation. A lot of time was put into it so that you can help yourself and not ask others to do work for you. We will commonly reference the documentation in answer to questions. That being said, Google (why doesn't everyone use this?) links to many nagios tutorials that 'water-down' the documentation -- http://www.google.com/search?hl=en&q=nagios+tutorials&btnG=Search -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Nov 1 13:53:26 2007 From: ae at op5.se (Andreas Ericsson) Date: Thu, 01 Nov 2007 13:53:26 +0100 Subject: Monitoring nslookup and http response In-Reply-To: <484599.63182.qm@web90513.mail.mud.yahoo.com> References: <484599.63182.qm@web90513.mail.mud.yahoo.com> Message-ID: <4729CC46.9020107@op5.se> Sekhar wrote: > thanks for your reply but i want to monito in remote machne using snmp not nrpe > You want to monitor http and response times via snmp? That's just plain weird... On a side-note, please refrain from top-posting. It makes it difficult to follow the discussion. > Hari Sekhon wrote: Please read the docs and try the basics before posting. > > In the standard nagios-plugins distribution (which contains many checks > that you should look at first) you can use the following 2 plugins: > > check_dns > check_http > > use the --help switch for both to figure them out. > > -h > > Hari Sekhon > > > > Sekhar wrote: >> Hi Guys, >> >> I want to monitor nslookup response and http response for one URL >> using nagios.How do we do this?.Is there any plugins for this. >> -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Nov 1 13:55:15 2007 From: marc at ena.com (Marc Powell) Date: Thu, 1 Nov 2007 07:55:15 -0500 Subject: Monitoring nslookup and http response In-Reply-To: <484599.63182.qm@web90513.mail.mud.yahoo.com> References: <484599.63182.qm@web90513.mail.mud.yahoo.com> Message-ID: "I want to learn to drive a truck" "Ok, here are the keys to the truck" "Thanks, but I really want to drive the truck with motorcycle, not a car". > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sekhar > Sent: Thursday, November 01, 2007 7:43 AM > To: Hari Sekhon > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring nslookup and http response > > thanks for your reply but i want to monito in remote machne using snmp not > nrpe And the conversation goes something like... "I want to learn to drive a truck" "Ok, here are the keys to the truck." "Thanks, but I really want to drive the truck with a motorcycle, not a car". "what?" -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hpsekhon at googlemail.com Thu Nov 1 13:58:00 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 01 Nov 2007 12:58:00 +0000 Subject: Monitoring nslookup and http response In-Reply-To: <484599.63182.qm@web90513.mail.mud.yahoo.com> References: <484599.63182.qm@web90513.mail.mud.yahoo.com> Message-ID: <4729CD58.7030305@googlemail.com> Sekhar wrote: > thanks for your reply but i want to monito in remote machne using snmp > not nrpe*//* But your original message didn't state that. You asked the wrong question. To use snmp, refer to std snmp documentation on running external commands with oids and then call the oid. It's not as easy as nrpe and nsca which is why I recommend those instead. Do you have a specific reason for not wanting to use nrpe? -h ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 svalding at kent.edu Thu Nov 1 15:17:38 2007 From: svalding at kent.edu (svalding at kent.edu) Date: Thu, 01 Nov 2007 10:17:38 -0400 Subject: My hosts are all down Message-ID: I posted a message to this list about a week ago about hosts just going down. All of them. Services too. Well, I downgraded from 3.0b1 to 2.10 stable to see if going that route would help. I got it all set up again 2 days ago, and it's been going fine until now. Not sure exactly what is going on, but something is definitely wrong here. The daemon is running, and I can actively ping everything from outside of nagios. Nagios user can ping stuff too. Permissions are correct on the folders, I just read that documentation over again to double check. I'm just using the standard check-host-alive command to ping the hosts. Only one has a service defined to it, check disk usage through snmp. Any advice on this would be wonderful. Nagios is a great asset to our company, just a great "pain in the asset" if you will, as of late. Stephen -------------- next part -------------- A non-text attachment was scrubbed... Name: svalding.vcf Type: text/x-vcard Size: 131 bytes Desc: Card for URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Nov 1 15:36:34 2007 From: marc at ena.com (Marc Powell) Date: Thu, 1 Nov 2007 09:36:34 -0500 Subject: My hosts are all down In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of svalding at kent.edu > Sent: Thursday, November 01, 2007 9:18 AM > To: Nagios List > Subject: [Nagios-users] My hosts are all down > > I posted a message to this list about a week ago about hosts just going > down. All of them. Services too. What exactly is the status information being reported? Please post an example host, service and associated command{} and template definitions for examination. > Well, I downgraded from 3.0b1 to 2.10 stable to see if going that route > I'm just using the standard check-host-alive command to ping the hosts. > Only one has a service defined to it, check disk usage through snmp. With nagios-2.x, every host must have at least one service defined for it or it will never be checked. Define a simple ping service check if that's all you care about. You should not be performing regularly scheduled host checks with nagios-2.x as it wasn't designed for it and performance will be miserable (host checks are sequential and stop all other nagios processing). 2.x is very different than 3.x in this regard. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 patrickm at garlic.com Thu Nov 1 16:28:02 2007 From: patrickm at garlic.com (Patrick M.) Date: Thu, 01 Nov 2007 08:28:02 -0700 Subject: How to monitor temp on Cisco 7200's? In-Reply-To: <04F3233F47E2714CB7431AE913E57E7702511626@IAD-WPRD-XCHB02.corp.verio.net> References: <4728AB78.80402@garlic.com> <04F3233F47E2714CB7431AE913E57E7702511626@IAD-WPRD-XCHB02.corp.verio.net> Message-ID: <4729F082.7090901@garlic.com> Hi Jonathan, Thanks for the valuable information! Patrick Jonathan Call wrote: > Hello Patrick > > The Cisco 3560 and 3550 are very different from the Cisco 7200. You > cannot get an actual temperature value from them, just a temperature > state. > > You'll need to use this SNMP Table: > ciscoEnvMonTemperatureState .1.3.6.1.4.1.9.9.13.1.3.1.6 > Possible states are: > 1:normal 2:warning 3:critical 4:shutdown 5:notPresent 6:notFunctioning > > The 3560 and 3550 only have one thermal sensor so it's > 1.3.6.1.4.1.9.9.13.1.3.1.6.1 > > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Patrick M. >> Sent: Wednesday, October 31, 2007 10:21 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] How to monitor temp on Cisco 7200's? >> >> Hi all, >> >> I was wondering if anyone had any recommendations on what plugins to >> > use > >> to check temperature for a Cisco 7200 router. If possible I'd like to >> monitor temp on our other devices like our 3560 Catalyst switches as >> well as our 3550's. >> >> I tried looking on NagiosExchange but the plugins I found didn't >> > monitor > >> temp for these devices. Has anyone else had any luck? >> >> Thanks in advance. >> >> Patrick >> >> > > > 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. > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Christy.New at cancer.org Thu Nov 1 16:44:40 2007 From: Christy.New at cancer.org (Christy.New at cancer.org) Date: Thu, 1 Nov 2007 11:44:40 -0400 Subject: NSC.INI FILE Message-ID: There is an option to Optionally require a password for clients by changing the 'password' option in the [Settings] section Please see below for example of the file: [Settings] ;# OBFUSCATED PASSWORD ; This is the same as the password option but here you can store the password in an obfuscated manner. ; *NOTICE* obfuscation is *NOT* the same as encryption, someone with access to this file can still figure out the ; password. Its just a bit harder to do it at first glance. ;obfuscated_password=Jw0KAUUdXlAAUwASDAAB ; ;# PASSWORD ; This is the password (-s) that is required to access NSClient remotely. If you leave this blank everyone will be able to access the daemon remotly. ;password=secret-password ; ;# ALLOWED HOST ADDRESSES ; This is a comma-delimited list of IP address of hosts that are allowed to talk to the all daemons. ; If leave this blank anyone can access the deamon remotly (NSClient still requires a valid password). ; The syntax is host or ip/mask so 192.168.0.0/24 will allow anyone on that subnet access ;allowed_hosts=127.0.0.1/32 ; ;# USE THIS FILE ; Use the INI file as opposed to the registry if this is 0 and the use_reg in the registry is set to 1 ; the registry will be used instead. use_file=1 Exactly what should I do here? Just change the portion that says (password=WHATEVER I WANT IT TO BE HERE)? Very Respectfully, Christy M. New 1(404)327-6490 American Cancer Society Corporate IT-NHO NOC Network Infrastructure Engineer ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Christy.New at cancer.org Thu Nov 1 17:00:19 2007 From: Christy.New at cancer.org (Christy.New at cancer.org) Date: Thu, 1 Nov 2007 12:00:19 -0400 Subject: NSC.INI file Message-ID: Where is the system tray. Nagios says that if I installed the Widows Agent for Nagios on the windows machine properly that I will:see a new icon appear in the system tray. It will be a yellow circle with a black M inside it. Is the systems tray the box in the bottom right hand of your computer screen? And once I have edited the NSC.INI file should I restart the windows box for it to start monitoring it? Below are the steps I am working on and I will highlight the ones I am confused about: Installing the Windows Agent Before you can begin monitoring private services and attributes of Windows machines, you?ll need to install an agent on those machines. I recommend using the NSClient++ addon, which can be found at http://sourceforge.net/projects/nscplus. These instructions will take you through a basic installation of the NSClient++ addon, as well as the configuration of Nagios for monitoring the Windows machine. 18 1. Download the latest stable version of the NSClient++ addon from http://sourceforge.net/projects/nscplus 2. Unzip the NSClient++ files into a new C:\NSClient++ directory 3. Open a command prompt and change to the C:\NSClient++ directory 4. Register the NSClient++ system service with the following command: nsclient++ /install 5. Install the NSClient++ systray with the following command (?SysTray? is case-sensitive): nsclient++ SysTray 6. Open the services manager and make sure the NSClientpp service is allowed to interact with the desktop (see the ?Log On? tab of the services manager). If it isn?t already allowed to interact with the desktop, check the box to allow it to. 7. Edit the NSC.INI file (located in the C:\NSClient++ directory) and make the following changes: Uncomment all the modules listed in the [modules] section, except for CheckWMI.dll and RemoteConfiguration.dll Optionally require a password for clients by changing the ?password? option in the [Settings] section. Uncomment the ?allowed_hosts? option in the [Settings] section. Add the IP address of the Nagios server to this line, or leave it blank to allow all hosts to connect. Make sure the ?port? option in the [NSClient] section is uncommented and set to ?12489? (the default port). 8. Start the NSClient++ service with the following command: 19 nsclient++ /start 9. If installed properly, a new icon should appear in your system tray. It will be a yellow circle with a black ?M? inside. 10. Success! The Windows server can now be added to the Nagios monitoring configuration... Very Respectfully, Christy M. New 1(404)327-6490 American Cancer Society Corporate IT-NHO NOC Network Infrastructure Engineer ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 stephen.wing at steria.co.uk Thu Nov 1 09:34:44 2007 From: stephen.wing at steria.co.uk (stephen wing) Date: Thu, 1 Nov 2007 08:34:44 -0000 Subject: check_cpu and check_mem for unix Message-ID: <005301c81c62$0de17030$9aefd589@uk.sterianet> Hi Can anyone tell me is there a check_cpu and check_mem that will work on unix servers, I need them to work on AIX. I am currently running the nagios 2.9 server on a Linux machine and am monitoring AIX clients. Regards Stephen --------------------------------------- Stephen Wing Steria Limited Senior Technical Consultant Telephone 02890393605 Mobile 07966823605 ***************************************************************** This email originates from Steria Limited, registered office: Three Cherry Trees Lane, Hemel Hempstead, Hertfordshire HP2 7AH; Registered in England and Wales, number 2706218; www.steria.co.uk. This email and any attachments may contain confidential information and may be subject to copyright or other intellectual property rights. It is only for the use of the addressee(s). You are prohibited from copying, forwarding, disclosing, saving or otherwise using it in any way if you are not the addressee(s) or responsible for delivery. If you receive this email by mistake, please advise the sender and cancel it immediately. Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures. Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or edited. ================================================ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Christy.New at cancer.org Thu Nov 1 18:01:08 2007 From: Christy.New at cancer.org (Christy.New at cancer.org) Date: Thu, 1 Nov 2007 13:01:08 -0400 Subject: Can someone tell me what I am doing wrong.... Message-ID: I have something in the INI file incorrect, will you please have a looksee and let me know what is incorrect: [modules] # NSCLIENT++ MODULES # A list with DLLs to load at startup. You will need to enable some of these for NSClient++ to work. ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! * * * N O T I C E ! ! ! - Y O U H A V E T O E D I T T H I S * * * ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! FileLogger.dll CheckSystem.dll CheckDisk.dll NSClientListener.dll NRPEListener.dll SysTray.dll CheckEventLog.dll CheckHelpers.dll ; CheckWMI IS AN EXTREM EARLY IDEA SO DONT USE FOR PRODUCTION ENVIROMNEMTS! ;CheckWMI.dll ; ; RemoteConfiguration IS AN EXTREM EARLY IDEA SO DONT USE FOR PRODUCTION ENVIROMNEMTS! ;RemoteConfiguration.dll [Settings] ;# OBFUSCATED PASSWORD ; This is the same as the password option but here you can store the password in an obfuscated manner. ; *NOTICE* obfuscation is *NOT* the same as encryption, someone with access to this file can still figure out the ; password. Its just a bit harder to do it at first glance. ;obfuscated_password=Jw0KAUUdXlAAUwASDAAB ; ;# PASSWORD ; This is the password (-s) that is required to access NSClient remotely. If you leave this blank everyone will be able to access the daemon remotly. ;password=secret-password ; # ALLOWED HOST ADDRESSES This is a comma-delimited list of IP address of hosts that are allowed to talk to the all daemons. If leave this blank anyone can access the deamon remotly (NSClient still requires a valid password). The syntax is host or ip/mask so 192.168.0.0/24 will allow anyone on that subnet access allowed_hosts=10.0.0.0/8 ;# USE THIS FILE ; Use the INI file as opposed to the registry if this is 0 and the use_reg in the registry is set to 1 ; the registry will be used instead. use_file=1 [log] ;# LOG DEBUG ; Set to 1 if you want debug message printed in the log file (debug messages are always printed to stdout when run with -test) ;debug=1 ; ;# LOG FILE ; The file to print log statements to ;file=NSC.log ; ;# LOG DATE MASK ; The format to for the date/time part of the log entry written to file. ;date_mask=%Y-%m-%d %H:%M:%S [NSClient] ;# ALLOWED HOST ADDRESSES ; This is a comma-delimited list of IP address of hosts that are allowed to talk to NSClient deamon. ; If you leave this blank the global version will be used instead. ;allowed_hosts= ; # NSCLIENT PORT NUMBER This is the port the NSClientListener.dll will listen to. port=12489 ; ;# BIND TO ADDRESS ; Allows you to bind server to a specific local address. This has to be a dotted ip adress ;not a hostname. ; Leaving this blank will bind to all avalible IP adresses. ;bind_to_address= [Check System] ;# CPU BUFFER SIZE ; Can be anything ranging from 1s (for 1 second) to 10w for 10 weeks. Notice that a larger buffer will waste memory ; so don't use a larger buffer then you need (ie. the longest check you do +1). ;CPUBufferSize=1h ; ;# CHECK RESOLUTION ; The resolution to check values (currently only CPU). ; The value is entered in 1/10:th of a second and the default is 10 (which means ones every second) ;CheckResolution=10 [NRPE] ;# NRPE PORT NUMBER ; This is the port the NRPEListener.dll will listen to. ;port=5666 ; ;# COMMAND TIMEOUT ; This specifies the maximum number of seconds that the NRPE daemon will allow plug-ins to finish executing before killing them off. ;command_timeout=60 ; ;# COMMAND ARGUMENT PROCESSING ; This option determines whether or not the NRPE daemon will allow clients to specify arguments to commands that are executed. ;allow_arguments=0 ; ;# COMMAND ALLOW NASTY META CHARS ; This option determines whether or not the NRPE daemon will allow clients to specify nasty (as in |`&><'"\[]{}) characters in arguments. ;allow_nasty_meta_chars=0 ; ;# USE SSL SOCKET ; This option controls if SSL should be used on the socket. ;use_ssl=1 ; ;# BIND TO ADDRESS ; Allows you to bind server to a specific local address. This has to be a dotted ip adress not a hostname. ; Leaving this blank will bind to all avalible IP adresses. ; bind_to_address= ; # ALLOWED HOST ADDRESSES ; This is a comma-delimited list of IP address of hosts that are allowed to talk to NRPE ;deamon. ; If you leave this blank the global version will be used instead. ;allowed_hosts=10.0.0.0 ; ;# SCRIPT DIRECTORY ; All files in this directory will become check commands. ; *WARNING* This is undoubtedly dangerous so use with care! ;script_dir=scripts\ [NRPE Handlers] ;# COMMAND DEFINITIONS ;# Command definitions that this daemon will run. ;# Can be either NRPE syntax: ;command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 ;# Or simplified syntax: ;test=c:\test.bat foo $ARG1$ bar ;check_disk1=/usr/local/nagios/libexec/check_disk -w 5 -c 10 ;# Or even loopback (inject) syntax (to run internal commands) ;# This is a way to run "NSClient" commands and other internal module commands such as check eventlog etc. ;check_cpu=inject checkCPU warn=80 crit=90 5 10 15 ;check_eventlog=inject CheckEventLog Application warn.require.eventType=error warn.require.eventType=warning critical.require.eventType=error critical.exclude.eventType=info truncate=1024 descriptions ;check_disk_c=inject CheckFileSize ShowAll MaxWarn=1024M MaxCrit=4096M File:WIN=c:\ATI\*.* ;# But be careful: ; dont_check=inject dont_check This will "loop forever" so be careful with the inject command... ;# Check some escapings... ; check_escape=inject CheckFileSize ShowAll MaxWarn=1024M MaxCrit=4096M "File: foo \" WIN=c:\\WINDOWS\\*.*" ;# Some real world samples ;nrpe_cpu=inject checkCPU warn=80 crit=90 5 10 15 ;nrpe_ok=scripts\ok.bat Very Respectfully, Christy M. New 1(404)327-6490 American Cancer Society Corporate IT-NHO NOC Network Infrastructure Engineer ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 phanoko at gmail.com Thu Nov 1 18:17:48 2007 From: phanoko at gmail.com (matt wells) Date: Thu, 1 Nov 2007 10:17:48 -0700 Subject: SMS In-Reply-To: <4729A7E5.9060608@pictura-dp.nl> References: <4729A7E5.9060608@pictura-dp.nl> Message-ID: Here's a list of some email addresses from the carriers. You can just email these and it will sms you. No need for a modem. *Provider* *What's my SMS Email address?* Former AT&T Wireless 10DigitPhoneNumber at mmode.com Example: 9055556543 at mmode.com Cingular 10DigitPhoneNumber at mobile.mycingular.com Metrocall 10DigitPhoneNumber at page.metrocall.com Nextel 10DigitPhoneNumber at messaging.nextel.com Sprint PCS 10DigitPhoneNumber at messaging.sprintpcs.com T-Mobile 10DigitPhoneNumber at tmomail.net Verizon 10DigitPhoneNumber at vtext.com ALLTEL 10DigitPhoneNumber at message.alltel.com On 11/1/07, Ismail M. Settenda wrote: > > Connect to a local mobile phone company and use the GSM modem. > > http://www.nagiosbook.org/html/ch11s04.html. > > -- > Ismail > > On 11/1/07, Sander Klein wrote: > > > > Hi, > > > > I want my nagios setup to send me an sms whenever there's something > > wrong. > > > > Since we also monitor or internet connectivity I can't use an internet > > sms gateway. What is the recommended hardware to set this up? > > > > Regards, > > > > Sander Klein > > Pictura Database Publishing > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 bob.debolt at starblanket.ca Thu Nov 1 18:53:26 2007 From: bob.debolt at starblanket.ca (Bob DeBolt) Date: Thu, 01 Nov 2007 11:53:26 -0600 Subject: [SOLVED} Re: Return code of 127 is out of bounds - plugin may be missing In-Reply-To: References: Message-ID: <472A1296.9040803@starblanket.ca> Marc Powell wrote: > The plugins referenced in your command{} definitions do not exist in the > location you've specified. Close enough The command definition for the check_nrpe had $USER$ instead of $USER1$ Grrrrrrrr !!! Time to upgrade my reading glasses. Thanks for your reply Marc -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Christy.New at cancer.org Thu Nov 1 18:57:45 2007 From: Christy.New at cancer.org (Christy.New at cancer.org) Date: Thu, 1 Nov 2007 13:57:45 -0400 Subject: I am getting this response when I start the nagios on my linux machine... Message-ID: Total Warning: 0 Tatal Errors:0 Things look okay - No serious problems were detected during the pre-flight. So then I type: etc/init.d/nagios start and it says starting nagios: no directory, logging in with home=/done. Does this mean that it is started? Very Respectfully, Christy M. New 1(404)327-6490 American Cancer Society Corporate IT-NHO NOC Network Infrastructure Engineer ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 kyle.odonnell at gmail.com Thu Nov 1 19:07:22 2007 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Thu, 1 Nov 2007 14:07:22 -0400 Subject: I am getting this response when I start the nagios on my linux machine... In-Reply-To: References: Message-ID: <2274b9c30711011107p141b7dddpd2a05d15d931709b@mail.gmail.com> do a ps and check if the nagios daemon is running. it sounds like the nagios user doesn't have a home directory, which shouldn't affect nagios The answers to many of your questions can be found in documentation. --kyle On 11/1/07, Christy.New at cancer.org wrote: > > Total Warning: 0 > Tatal Errors:0 > > Things look okay - No serious problems were detected during the pre-flight. > So then I type: > etc/init.d/nagios start > and it says > starting nagios: no directory, logging in with home=/done. > > Does this mean that it is started? > > > > Very Respectfully, > Christy M. New > 1(404)327-6490 > American Cancer Society > Corporate IT-NHO NOC > Network Infrastructure Engineer > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Christy.New at cancer.org Thu Nov 1 19:09:59 2007 From: Christy.New at cancer.org (Christy.New at cancer.org) Date: Thu, 1 Nov 2007 14:09:59 -0400 Subject: I am getting this response when I start the nagios on my linux machine... In-Reply-To: <2274b9c30711011107p141b7dddpd2a05d15d931709b@mail.gmail.com> References: <2274b9c30711011107p141b7dddpd2a05d15d931709b@mail.gmail.com> Message-ID: when you say ps, just type it in at the command prompt? Very Respectfully, Christy M. New 1(404)327-6490 American Cancer Society Corporate IT-NHO NOC Network Infrastructure Engineer kyle.odonnell at gma il.com Sent by: To nagios-users-boun Christy.New at cancer.org ces at lists.sourcef cc orge.net nagios-users at lists.sourceforge.net Subject Re: [Nagios-users] I am getting 11/01/2007 02:08 this response when I start the PM nagios on my linux machine... do a ps and check if the nagios daemon is running. it sounds like the nagios user doesn't have a home directory, which shouldn't affect nagios The answers to many of your questions can be found in documentation. --kyle On 11/1/07, Christy.New at cancer.org wrote: > > Total Warning: 0 > Tatal Errors:0 > > Things look okay - No serious problems were detected during the pre-flight. > So then I type: > etc/init.d/nagios start > and it says > starting nagios: no directory, logging in with home=/done. > > Does this mean that it is started? > > > > Very Respectfully, > Christy M. New > 1(404)327-6490 > American Cancer Society > Corporate IT-NHO NOC > Network Infrastructure Engineer > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hpsekhon at googlemail.com Thu Nov 1 19:10:10 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 01 Nov 2007 18:10:10 +0000 Subject: check_cpu and check_mem for unix In-Reply-To: <005301c81c62$0de17030$9aefd589@uk.sterianet> References: <005301c81c62$0de17030$9aefd589@uk.sterianet> Message-ID: <472A1682.9020209@googlemail.com> Dunno about check_cpu but you can download my check_ram plugin from Nagios Exchange http://www.nagiosexchange.org/Linux.55.0.html?&tx_netnagext_pi1[p_view]=909. Written in python and will work on any platform with it installed, but targeted mainly at Linux. Not been tested on anything other than Linux though, your mileage may vary. There is one in the standard plugins contrib directory that you can try too. I'd suggest you check Nagios Exchange for the cpu one too... This search turns up a few http://www.nagiosexchange.org/Search_Projects.43.0.html?tx_netnagext_pi1%5Bphrase%5D=cpu&tx_netnagext_pi1%5Bsubmit%5D=search&tx_netnagext_pi1%5Bsearch%5D=1 -h Hari Sekhon stephen wing wrote: > > Hi > > Can anyone tell me is there a check_cpu and check_mem that > will work on unix servers, I need them to work on AIX. I am currently > running the nagios 2.9 server on a Linux machine and am monitoring AIX > clients. > > > > Regards > > Stephen > > > > --------------------------------------- > > Stephen Wing > > Steria Limited > > Senior Technical Consultant > > Telephone 02890393605 > > Mobile 07966823605 > > > > > ***************************************************************** > This email originates from Steria Limited, registered office: Three > Cherry Trees Lane, Hemel Hempstead, Hertfordshire HP2 7AH; Registered > in England and Wales, number 2706218; www.steria.co.uk. > > This email and any attachments may contain confidential information > and may be subject to copyright or other intellectual property rights. > It is only for the use of the addressee(s). You are prohibited from > copying, forwarding, disclosing, saving or otherwise using it in any > way if you are not the addressee(s) or responsible for delivery. > If you receive this email by mistake, please advise the sender and > cancel it immediately. > Steria may monitor the content of emails within its network to ensure > compliance with its policies and procedures. > Any email is susceptible to alteration and its integrity cannot be > assured. Steria shall not be liable if the message is altered, > modified, falsified, or edited. > ================================================ > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 phanoko at gmail.com Thu Nov 1 19:20:35 2007 From: phanoko at gmail.com (matt wells) Date: Thu, 1 Nov 2007 11:20:35 -0700 Subject: SMS In-Reply-To: References: Message-ID: Not if you configure your postfix on the Nagios server to relay direct to the ISP SMTP Server. /etc/postfix/main.cf add relayhost = smtp.exampleisp.com http://www.amailsender.com/support/smtpserver/ has a good list of SMTP servers On 11/1/07, Valdinger, Stephen (DOV, MSX) wrote: > > This is all well and good until it's your email server that is having the > problem?. > > > > *From:* matt wells [mailto:phanoko at gmail.com] > *Sent:* Thursday, November 01, 2007 1:18 PM > *To:* sander at pictura-dp.nl > *Cc:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] SMS > > > > Here's a list of some email addresses from the carriers. You can just > email these and it will sms you. No need for a modem. > > *Provider* > > *What's my SMS Email address?* > > Former AT&T Wireless > > 10DigitPhoneNumber at mmode.com > Example: 9055556543 at mmode.com > > Cingular > > 10DigitPhoneNumber at mobile.mycingular.com > > Metrocall > > 10DigitPhoneNumber at page.metrocall.com > > Nextel > > 10DigitPhoneNumber at messaging.nextel.com > > Sprint PCS > > 10DigitPhoneNumber at messaging.sprintpcs.com > > T-Mobile > > 10DigitPhoneNumber at tmomail.net > > Verizon > > 10DigitPhoneNumber at vtext.com > > ALLTEL > > 10DigitPhoneNumber at message.alltel.com > > > > On 11/1/07, *Ismail M. Settenda* wrote: > > Connect to a local mobile phone company and use the GSM modem. > > http://www.nagiosbook.org/html/ch11s04.html . > > -- > Ismail > > > > On 11/1/07, *Sander Klein* wrote: > > Hi, > > I want my nagios setup to send me an sms whenever there's something wrong. > > Since we also monitor or internet connectivity I can't use an internet > sms gateway. What is the recommended hardware to set this up? > > Regards, > > Sander Klein > Pictura Database Publishing > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 akennedy at cyberlinkint.com Thu Nov 1 19:28:26 2007 From: akennedy at cyberlinkint.com (Adam Kennedy) Date: Thu, 01 Nov 2007 14:28:26 -0400 Subject: SMS In-Reply-To: References: Message-ID: <472A1ACA.1000304@cyberlinkint.com> I just added a line to my AT&T account with unlimited SMS. Then throw a Samba75 USB GSM modem on the machine and load sms-tools. It's been running great for us for about 3 months now. matt wells wrote: > Not if you configure your postfix on the Nagios server to relay direct > to the ISP SMTP Server. > > /etc/postfix/main.cf > add > relayhost = smtp.exampleisp.com > > http://www.amailsender.com/support/smtpserver/ > has a good list of SMTP servers > > On 11/1/07, *Valdinger, Stephen (DOV, MSX)* < svalding at doverchem.com > > wrote: > > This is all well and good until it's your email server that is > having the problem?. > > > > *From:* matt wells [mailto:phanoko at gmail.com > ] > *Sent:* Thursday, November 01, 2007 1:18 PM > *To:* sander at pictura-dp.nl > *Cc:* nagios-users at lists.sourceforge.net > > *Subject:* Re: [Nagios-users] SMS > > > > Here's a list of some email addresses from the carriers. You can > just email these and it will sms you. No need for a modem. > > *Provider* > > > > *What's my SMS Email address?* > > Former AT&T Wireless > > > > 10DigitPhoneNumber at mmode.com > Example: 9055556543 at mmode.com > > Cingular > > > > 10DigitPhoneNumber at mobile.mycingular.com > > > Metrocall > > > > 10DigitPhoneNumber at page.metrocall.com > > > Nextel > > > > 10DigitPhoneNumber at messaging.nextel.com > > > Sprint PCS > > > > 10DigitPhoneNumber at messaging.sprintpcs.com > > > T-Mobile > > > > 10DigitPhoneNumber at tmomail.net > > Verizon > > > > 10DigitPhoneNumber at vtext.com > > ALLTEL > > > > 10DigitPhoneNumber at message.alltel.com > > > > > On 11/1/07, *Ismail M. Settenda* > wrote: > > Connect to a local mobile phone company and use the GSM modem. > > http://www.nagiosbook.org/html/ch11s04.html > . > > -- > Ismail > > > > On 11/1/07, *Sander Klein* > wrote: > > Hi, > > I want my nagios setup to send me an sms whenever there's something > wrong. > > Since we also monitor or internet connectivity I can't use an internet > sms gateway. What is the recommended hardware to set this up? > > Regards, > > Sander Klein > Pictura Database Publishing > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 -- Adam Kennedy Sr. Network Administrator Cyberlink International Phone: 888-293-3693 x4352 Fax: 574-855-5761 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 bob.debolt at starblanket.ca Thu Nov 1 19:31:41 2007 From: bob.debolt at starblanket.ca (Bob DeBolt) Date: Thu, 01 Nov 2007 12:31:41 -0600 Subject: I am getting this response when I start the nagios on my linux machine... In-Reply-To: References: Message-ID: <472A1B8D.8010505@starblanket.ca> Christy.New at cancer.org wrote: > when you say ps, just type it in at the command prompt? ps ax | grep nagios will tell you what you need to know Bob -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Christy.New at cancer.org Thu Nov 1 20:24:30 2007 From: Christy.New at cancer.org (Christy.New at cancer.org) Date: Thu, 1 Nov 2007 15:24:30 -0400 Subject: How do I correct these issues? Message-ID: one of my servers are stating the following as Status Critical and Status Information as Connection refused.: C:\Drive space CPU Load Explorer Memory Usage NSClient++ Version Uptime W3SVC Very Respectfully, Christy M. New 1(404)327-6490 American Cancer Society Corporate IT-NHO NOC Network Infrastructure Engineer ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Nov 1 20:56:33 2007 From: marc at ena.com (Marc Powell) Date: Thu, 1 Nov 2007 14:56:33 -0500 Subject: How do I correct these issues? In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Christy.New at cancer.org > Sent: Thursday, November 01, 2007 2:25 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How do I correct these issues? > > > one of my servers are stating the following as Status Critical and Status > Information as Connection refused.: Connection refused means a daemon/service isn't running. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 bob.debolt at starblanket.ca Thu Nov 1 21:00:07 2007 From: bob.debolt at starblanket.ca (Bob DeBolt) Date: Thu, 01 Nov 2007 14:00:07 -0600 Subject: I am getting this response when I start the nagios on my linux machine... In-Reply-To: References: Message-ID: <472A3047.9040002@starblanket.ca> Christy.New at cancer.org wrote: > 3706 ? Ssl 0:00 /usr/local/nagios/bin/nagios -d > /usr/local/nagios/etc/nagios.cfg 6664 pts/0 R+ 0:00 grep nagios > What exactly is this telling me? That is telling you that nagios is indeed running > Also when I reboot and nagios tells me this about the system: > (Embedded image moved to file: pic05204.jpg)What do these critical mean and > connection refused. Please include your OS, how you installed nagios, i.e. RPM or source etc. along with versions of nagios and plugins. The more info you provide the quicker you will find a resolution. Bob -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 bob.debolt at starblanket.ca Thu Nov 1 21:03:25 2007 From: bob.debolt at starblanket.ca (Bob DeBolt) Date: Thu, 01 Nov 2007 14:03:25 -0600 Subject: How do I correct these issues? In-Reply-To: References: Message-ID: <472A310D.2000702@starblanket.ca> Christy.New at cancer.org wrote: > one of my servers are stating the following as Status Critical and Status > Information as Connection refused.: Either you have a required service not functioning or a firewall is blocking the attempted connection. Bob -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Christy.New at cancer.org Thu Nov 1 20:59:06 2007 From: Christy.New at cancer.org (Christy.New at cancer.org) Date: Thu, 1 Nov 2007 15:59:06 -0400 Subject: How do I correct these issues? In-Reply-To: References: Message-ID: How to I start it? Very Respectfully, Christy M. New 1(404)327-6490 American Cancer Society Corporate IT-NHO NOC Network Infrastructure Engineer "Marc Powell" Sent by: To nagios-users-boun orge.net cc Subject 11/01/2007 03:57 Re: [Nagios-users] How do I correct PM these issues? > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Christy.New at cancer.org > Sent: Thursday, November 01, 2007 2:25 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How do I correct these issues? > > > one of my servers are stating the following as Status Critical and Status > Information as Connection refused.: Connection refused means a daemon/service isn't running. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Christy.New at cancer.org Thu Nov 1 21:09:57 2007 From: Christy.New at cancer.org (Christy.New at cancer.org) Date: Thu, 1 Nov 2007 16:09:57 -0400 Subject: How do I correct these issues? In-Reply-To: <472A310D.2000702@starblanket.ca> References: <472A310D.2000702@starblanket.ca> Message-ID: So what ports would I look for on the firewall, to be blocked? Very Respectfully, Christy M. New 1(404)327-6490 American Cancer Society Corporate IT-NHO NOC Network Infrastructure Engineer Bob DeBolt To Sent by: nagios-users nagios-users-boun orge.net cc Subject 11/01/2007 04:03 Re: [Nagios-users] How do I correct PM these issues? Please respond to bob.debolt at starbl anket.ca Christy.New at cancer.org wrote: > one of my servers are stating the following as Status Critical and Status > Information as Connection refused.: Either you have a required service not functioning or a firewall is blocking the attempted connection. Bob (See attached file: signature.asc) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/octet-stream Size: 196 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 maxwellb at oclc.org Thu Nov 1 21:20:02 2007 From: maxwellb at oclc.org (Maxwell,Brady) Date: Thu, 1 Nov 2007 16:20:02 -0400 Subject: Monitoring website contect and response times Message-ID: <11DE62FF9C5102478FBCC536AC273518049711E6@OAEXCH5SERVER.oa.oclc.org> Does anyone know of a plug in that will allow me to log onto a web site and perform a search and return a status based on the results? I have googled and experimented with testgen4web and so on and some python converter attached to the zenoss project but am not getting the results I want. :( What I would like to be able to do is use testgen4web (or something simular) to build xmls for each test and then have a check_website that uses that xml file to run a test and return a nagios result and some performance metrics about response and load times. The reason I want to use something automagically like testgen4web is I do not want to manage it I want the devs to be able to recreate their own "test script" as part of the qa process when they make changes to the site. I need to do this for 200+ pages. Anyone know of something already created that does this sort of thing? Thanks Brady ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 mboeckman at servicemagic.com Thu Nov 1 21:25:49 2007 From: mboeckman at servicemagic.com (Boeckman, Matthew) Date: Thu, 1 Nov 2007 14:25:49 -0600 Subject: Monitoring website contect and response times Message-ID: <67CC1D2D52F85747ADE6BC83A4A7A76402C22515@Apollo.servicemagic.com> I've used jmeter extensively with nagios for this kind of testing. Create a base test plan, then using a shell script wrapper pass in the arguments to jmeter that are important (url, hostname, etc). Works very nicely. http://jakarta.apache.org/jmeter/ -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Maxwell,Brady Sent: Thursday, November 01, 2007 2:20 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring website contect and response times Does anyone know of a plug in that will allow me to log onto a web site and perform a search and return a status based on the results? I have googled and experimented with testgen4web and so on and some python converter attached to the zenoss project but am not getting the results I want. :( What I would like to be able to do is use testgen4web (or something simular) to build xmls for each test and then have a check_website that uses that xml file to run a test and return a nagios result and some performance metrics about response and load times. The reason I want to use something automagically like testgen4web is I do not want to manage it I want the devs to be able to recreate their own "test script" as part of the qa process when they make changes to the site. I need to do this for 200+ pages. Anyone know of something already created that does this sort of thing? Thanks Brady ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 teng at dataway.com Thu Nov 1 21:37:38 2007 From: teng at dataway.com (Tedman Eng) Date: Thu, 1 Nov 2007 13:37:38 -0700 Subject: Monitoring website contect and response times In-Reply-To: <11DE62FF9C5102478FBCC536AC273518049711E6@OAEXCH5SERVER.oa.oclc.org> References: <11DE62FF9C5102478FBCC536AC273518049711E6@OAEXCH5SERVER.oa.oclc.org> Message-ID: I've had success with Web Inject. There's even a Nagios plugin. http://www.webinject.org/ > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Maxwell,Brady > Sent: Thursday, November 01, 2007 1:20 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitoring website contect and response times > > Does anyone know of a plug in that will allow me to log onto > a web site > and perform a search and return a status based on the results? > > I have googled and experimented with testgen4web and so on and some > python converter attached to the zenoss project but am not getting the > results I want. :( > > What I would like to be able to do is use testgen4web (or something > simular) to build xmls for each test and then have a > check_website that > uses that xml file to run a test and return a nagios result and some > performance metrics about response and load times. > > The reason I want to use something automagically like testgen4web is I > do not want to manage it I want the devs to be able to recreate their > own "test script" as part of the qa process when they make changes to > the site. > > I need to do this for 200+ pages. > > Anyone know of something already created that does this sort of thing? > > Thanks > Brady > > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and > a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 richardsolid at gmail.com Thu Nov 1 23:39:15 2007 From: richardsolid at gmail.com (Jake Solid) Date: Thu, 1 Nov 2007 18:39:15 -0400 Subject: Libwrap refused connection to nrpe Message-ID: I get the following messages on my nagios client when I run the check_nrpe command from the nagios server. Nagios Client Log Messages: 17:50:45 vhost6 xinetd[16884]: START: nrpe pid=16889 from=128.121.34.19 Nov 1 17:50:45 vhost6 xinetd[16889]: warning: cannot open /etc/hosts.allow: Permission denied Nov 1 21:50:45 vhost6 xinetd[16889]: warning: cannot open /etc/hosts.deny: Permission denied Nov 1 21:50:45 vhost6 xinetd[16889]: libwrap refused connection to nrpe (libwrap=nrpe) from 128.121.34.19 Nov 1 21:50:45 vhost6 xinetd[16889]: FAIL: nrpe libwrap from=128.121.34.19 Nov 1 17:50:45 vhost6 xinetd[16884]: EXIT: nrpe status=0 pid=16889 duration=0(sec) This is the output of my netstat on the same Nagios client: netstat -at | grep nrpe tcp 0 0 *:nrpe *:* LISTEN These are the permission for the hosts files: -rw-r--r-- 1 root root 161 Jan 12 2000 /etc/hosts.allow -rw-r--r-- 1 root root 347 Jan 12 2000 /etc/hosts.deny Any inputs? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 reed at reedmedia.net Fri Nov 2 00:08:02 2007 From: reed at reedmedia.net (Jeremy C. Reed) Date: Thu, 1 Nov 2007 18:08:02 -0500 (CDT) Subject: Libwrap refused connection to nrpe In-Reply-To: References: Message-ID: On Thu, 1 Nov 2007, Jake Solid wrote: > 17:50:45 vhost6 xinetd[16889]: warning: cannot open /etc/hosts.allow: > Permission denied Nov 1 > > 21:50:45 vhost6 xinetd[16889]: warning: cannot open /etc/hosts.deny: > Permission denied Nov 1 > These are the permission for the hosts files: > > -rw-r--r-- 1 root root 161 Jan 12 2000 /etc/hosts.allow > -rw-r--r-- 1 root root 347 Jan 12 2000 /etc/hosts.deny Just a guess ... is this some type of a virtual user that has per vhost hosts.allow and hosts.deny files (running a chrooted xinetd)? Maybe you have another .../etc/hosts.allow to look at? Jeremy C. Reed ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Roger at NagiosWiki.com Fri Nov 2 01:06:07 2007 From: Roger at NagiosWiki.com (Roger) Date: Thu, 1 Nov 2007 17:06:07 -0700 Subject: problems defining contact_groups in "define hostgroup" section Message-ID: <2b7af7c40711011706y38e0edcfib5ff9b1b9f3983c5@mail.gmail.com> On CentOS / Nagios 2x, I'm using nmap + nmap2nagios to autogenerate the cfg files, but am having problems with the contact_groups definition that's defined by default. e.g. define hostgroup { hostgroup_name linux alias Linux Servers #admins groups in localhost.cfg, not admin group #contact_groups admin contact_groups admins members server1.mydomain.com, server2.mydomain.com } The only way that I can seem to get this config file to work is to not define "contact_groups" here, but rather in the section where I define the host. If I don't do that, I get this error: Error: Host 'myserver.mydomain.com' has no default contact group(s) defined! ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 alexus at gmail.com Fri Nov 2 04:04:29 2007 From: alexus at gmail.com (alexus) Date: Thu, 1 Nov 2007 23:04:29 -0400 Subject: nrpe timesout! In-Reply-To: <47270242.5090705@googlemail.com> References: <6ae50c2d0710292006l3fe843f3s3b1551192ea9a8d5@mail.gmail.com> <47270242.5090705@googlemail.com> Message-ID: <6ae50c2d0711012004k332f3c9cta6291af8d5a8283c@mail.gmail.com> i assume instead of check_http -a 10.10.10.34 you mean whatever is in nrpe.cfg for check_http command, so i'm showing you whats in there and i'm trying to execute that command and it works fine, but not through nrpe... # grep check_http ~nagios/etc/nrpe.cfg command[check_http]=/usr/local/nagios/libexec/check_http -I $ARG1$ -e 200 # /usr/local/nagios/libexec/check_http -I 10.10.10.34 -e 200 HTTP OK HTTP/1.1 200 OK - 299 bytes in 0.002 seconds |time=0.002095s;;;0.000000 size=299B;;;0 # On 10/30/07, Hari Sekhon wrote: > alexus wrote: > > does it make sense for anyone? > > > > d# ~nagios/libexec/check_nrpe -H 10.10.10.34 > > NRPE v2.6 > > d# ~nagios/libexec/check_nrpe -H 10.10.10.34 -c check_http -a 10.10.10.34 > > CHECK_NRPE: Socket timeout after 10 seconds. > > d# > > > > > > > This does not make sense to me. Why are you using nrpe against a machine > and then testing the web server on the same local machine? > > If you have a good reason and insist on doing this, then try logging in > the the machine 10.10.10.34 and running the check_http -a 10.10.10.34 > command manually to see if the plugin is returning properly. Nrpe could > timeout waiting for the plugin. Alternatively you can also try to > increase the check_nrpe timeout to 30 secs with -t 30. > > -h > > Hari Sekhon > > > > -- http://alexus.org/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Fri Nov 2 06:19:13 2007 From: marc at ena.com (Marc Powell) Date: Fri, 2 Nov 2007 00:19:13 -0500 Subject: problems defining contact_groups in "definehostgroup" section In-Reply-To: <2b7af7c40711011706y38e0edcfib5ff9b1b9f3983c5@mail.gmail.com> References: <2b7af7c40711011706y38e0edcfib5ff9b1b9f3983c5@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Roger > Sent: Thursday, November 01, 2007 7:06 PM > To: Nagios Users mailinglist > Subject: [Nagios-users] problems defining contact_groups in > "definehostgroup" section > > On CentOS / Nagios 2x, I'm using nmap + nmap2nagios to autogenerate > the cfg files, but am having problems with the contact_groups > definition that's defined by default. > > The only way that I can seem to get this config file to work is to not > define "contact_groups" here, but rather in the section where I define > the host. If I don't do that, I get this error: It's generating config files that are compatible with 1.x, not 2.x. There were several config changes made between the versions such as this change to where contact_groups are associated to hosts. It seems that nmap2nagios hasn't been updated since April 2003 (at least from the sourceforge page). -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hpsekhon at googlemail.com Fri Nov 2 10:31:53 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 02 Nov 2007 09:31:53 +0000 Subject: nrpe timesout! In-Reply-To: <6ae50c2d0711012004k332f3c9cta6291af8d5a8283c@mail.gmail.com> References: <6ae50c2d0710292006l3fe843f3s3b1551192ea9a8d5@mail.gmail.com> <47270242.5090705@googlemail.com> <6ae50c2d0711012004k332f3c9cta6291af8d5a8283c@mail.gmail.com> Message-ID: <472AEE89.3020203@googlemail.com> alexus wrote: > i assume instead of check_http -a 10.10.10.34 you mean whatever is in > nrpe.cfg for check_http command, so i'm showing you whats in there and > i'm trying to execute that command and it works fine, but not through > nrpe... > > # grep check_http ~nagios/etc/nrpe.cfg > command[check_http]=/usr/local/nagios/libexec/check_http -I $ARG1$ -e 200 > # /usr/local/nagios/libexec/check_http -I 10.10.10.34 -e 200 > HTTP OK HTTP/1.1 200 OK - 299 bytes in 0.002 seconds > |time=0.002095s;;;0.000000 size=299B;;;0 > # 2 things: 1. Are you running this as root? The # at the beginning of the line suggests so. Try running it as the user account that nrpe runs as. 2. You are passing args through nrpe, this is not good practice. It also will not work unless you have dont_blame_nrpe=1 in your nrpe.cfg on the remote host against which you are executing the nrpe call. I would recommend not passing args but instead defining more check_commands with the args already in them, this is more secure as it is more tightly controlled. -h ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jriggin at gmail.com Fri Nov 2 16:37:04 2007 From: jriggin at gmail.com (Jerad Riggin) Date: Fri, 2 Nov 2007 10:37:04 -0500 Subject: Service checks Message-ID: <66955c170711020837w29f1ba7se47e4bd9bb1f993b@mail.gmail.com> I have a functioning nagios setup but I have a quick question. I am going through and adding website string checks so we can keep track of availability on one of our webservers. So in services.cfg I have define service{ name generic-service ; Generic service name active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (Don't disable) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - NOT A REAL SERVICE, JUST A TEMPLATE! } define service{ use generic-service name basic-service is_volatile 0 check_period 24x7 max_check_attempts 5 normal_check_interval 3 retry_check_interval 1 notification_interval 15 notification_period 24x7 register 0 } I then have as just one example: define service{ use basic-service name check-site4 notification_options w,u,c,r check_command check_http!site.com!20!"Home" register 0 } My question is, you notice that I have the name as check-site4, and then later on in the services.cfg I call up that checksite-4. Is this the correct way? Do I need to define a service for each host and then later on call it by name to execute the service check? Is this a bad way of going about it? Thanks, Jerad -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hpsekhon at googlemail.com Fri Nov 2 16:44:03 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 02 Nov 2007 15:44:03 +0000 Subject: Service checks In-Reply-To: <66955c170711020837w29f1ba7se47e4bd9bb1f993b@mail.gmail.com> References: <66955c170711020837w29f1ba7se47e4bd9bb1f993b@mail.gmail.com> Message-ID: <472B45C3.7090208@googlemail.com> You need to reread the docs, this is the most basic of questions. http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service Hint: You are missing a service_description in the last block for one. You should not have name in that last block either, you need host_name. Read docs pls. -h Hari Sekhon Jerad Riggin wrote: > I have a functioning nagios setup but I have a quick question. I am > going through and adding website string checks so we can keep track of > availability on one of our webservers. > > So in services.cfg I have > > define service{ > name generic-service ; Generic > service name > active_checks_enabled 1 ; Active > service checks are enabled > passive_checks_enabled 1 ; Passive > service checks are enabled/accepted > parallelize_check 1 ; Active > service checks should be parallelized (Don't disable) > obsess_over_service 1 ; We should > obsess over this service (if necessary) > check_freshness 0 ; Default is > to NOT check service 'freshness' > notifications_enabled 1 ; Service > notifications are enabled > event_handler_enabled 1 ; Service > event handler is enabled > flap_detection_enabled 1 ; Flap > detection is enabled > process_perf_data 1 ; Process > performance data > retain_status_information 1 ; Retain > status information across program restarts > retain_nonstatus_information 1 ; Retain > non-status information across program restarts > register 0 ; DONT > REGISTER THIS DEFINITION - NOT A REAL SERVICE, JUST A TEMPLATE! > } > > define service{ > use generic-service > name basic-service > is_volatile 0 > check_period 24x7 > max_check_attempts 5 > normal_check_interval 3 > retry_check_interval 1 > notification_interval 15 > notification_period 24x7 > register 0 > } > > I then have as just one example: > > define service{ > use basic-service > name check-site4 > notification_options w,u,c,r > check_command check_http!site.com!20!"Home" > register 0 > } > > > My question is, you notice that I have the name as check-site4, and > then later on in the services.cfg I call up that checksite-4. Is this > the correct way? Do I need to define a service for each host and then > later on call it by name to execute the service check? Is this a bad > way of going about it? > > Thanks, > > Jerad > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jriggin at gmail.com Fri Nov 2 16:47:31 2007 From: jriggin at gmail.com (Jerad Riggin) Date: Fri, 2 Nov 2007 10:47:31 -0500 Subject: Service checks In-Reply-To: <472B45C3.7090208@googlemail.com> References: <66955c170711020837w29f1ba7se47e4bd9bb1f993b@mail.gmail.com> <472B45C3.7090208@googlemail.com> Message-ID: <66955c170711020847r27e10f89jc31b99422658ed6@mail.gmail.com> I've read the help docs, like I said I have a working installation checking about 15 servers. I have a PING service that pings a host group. I can't do that with this because I'm checking a different string on each site, so i'm guessing it has to be separated out. Does this make sense? On 11/2/07, Hari Sekhon wrote: > > You need to reread the docs, this is the most basic of questions. > > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service > > Hint: You are missing a service_description in the last block for one. > You should not have name in that last block either, you need host_name. > > Read docs pls. > > -h > > Hari Sekhon > > > > Jerad Riggin wrote: > > I have a functioning nagios setup but I have a quick question. I am > > going through and adding website string checks so we can keep track of > > availability on one of our webservers. > > > > So in services.cfg I have > > > > define service{ > > name generic-service ; Generic > > service name > > active_checks_enabled 1 ; Active > > service checks are enabled > > passive_checks_enabled 1 ; Passive > > service checks are enabled/accepted > > parallelize_check 1 ; Active > > service checks should be parallelized (Don't disable) > > obsess_over_service 1 ; We should > > obsess over this service (if necessary) > > check_freshness 0 ; Default is > > to NOT check service 'freshness' > > notifications_enabled 1 ; Service > > notifications are enabled > > event_handler_enabled 1 ; Service > > event handler is enabled > > flap_detection_enabled 1 ; Flap > > detection is enabled > > process_perf_data 1 ; Process > > performance data > > retain_status_information 1 ; Retain > > status information across program restarts > > retain_nonstatus_information 1 ; Retain > > non-status information across program restarts > > register 0 ; DONT > > REGISTER THIS DEFINITION - NOT A REAL SERVICE, JUST A TEMPLATE! > > } > > > > define service{ > > use generic-service > > name basic-service > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 5 > > normal_check_interval 3 > > retry_check_interval 1 > > notification_interval 15 > > notification_period 24x7 > > register 0 > > } > > > > I then have as just one example: > > > > define service{ > > use basic-service > > name check-site4 > > notification_options w,u,c,r > > check_command check_http!site.com!20!"Home" > > register 0 > > } > > > > > > My question is, you notice that I have the name as check-site4, and > > then later on in the services.cfg I call up that checksite-4. Is this > > the correct way? Do I need to define a service for each host and then > > later on call it by name to execute the service check? Is this a bad > > way of going about it? > > > > Thanks, > > > > Jerad > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hpsekhon at googlemail.com Fri Nov 2 16:52:00 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 02 Nov 2007 15:52:00 +0000 Subject: Service checks In-Reply-To: <66955c170711020847r27e10f89jc31b99422658ed6@mail.gmail.com> References: <66955c170711020837w29f1ba7se47e4bd9bb1f993b@mail.gmail.com> <472B45C3.7090208@googlemail.com> <66955c170711020847r27e10f89jc31b99422658ed6@mail.gmail.com> Message-ID: <472B47A0.7030203@googlemail.com> yes you have to use a separate one for each site, how else would you be able to use a separate check? Unless you expect the word "Home" on each site and that is your string check. Another option is using Macros but I suspect this may not do what you want... -h Hari Sekhon Jerad Riggin wrote: > I've read the help docs, like I said I have a working installation > checking about 15 servers. I have a PING service that pings a host > group. I can't do that with this because I'm checking a different > string on each site, so i'm guessing it has to be separated out. Does > this make sense? > > On 11/2/07, *Hari Sekhon* > wrote: > > You need to reread the docs, this is the most basic of questions. > > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service > > Hint: You are missing a service_description in the last block for one. > You should not have name in that last block either, you need > host_name. > > Read docs pls. > > -h > > Hari Sekhon > > > > Jerad Riggin wrote: > > I have a functioning nagios setup but I have a quick question. I am > > going through and adding website string checks so we can keep > track of > > availability on one of our webservers. > > > > So in services.cfg I have > > > > define service{ > > name generic-service ; Generic > > service name > > active_checks_enabled 1 ; Active > > service checks are enabled > > passive_checks_enabled 1 ; Passive > > service checks are enabled/accepted > > parallelize_check 1 ; Active > > service checks should be parallelized (Don't disable) > > obsess_over_service 1 ; We should > > obsess over this service (if necessary) > > check_freshness 0 ; > Default is > > to NOT check service 'freshness' > > notifications_enabled 1 ; Service > > notifications are enabled > > event_handler_enabled 1 ; Service > > event handler is enabled > > flap_detection_enabled 1 ; Flap > > detection is enabled > > process_perf_data 1 ; Process > > performance data > > retain_status_information 1 ; Retain > > status information across program restarts > > retain_nonstatus_information 1 ; Retain > > non-status information across program restarts > > register 0 ; DONT > > REGISTER THIS DEFINITION - NOT A REAL SERVICE, JUST A TEMPLATE! > > } > > > > define service{ > > use generic-service > > name basic-service > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 5 > > normal_check_interval 3 > > retry_check_interval 1 > > notification_interval 15 > > notification_period 24x7 > > register 0 > > } > > > > I then have as just one example: > > > > define service{ > > use basic-service > > name check-site4 > > notification_options w,u,c,r > > check_command > check_http!site.com!20!"Home" > > register 0 > > } > > > > > > My question is, you notice that I have the name as check-site4, and > > then later on in the services.cfg I call up that > checksite-4. Is this > > the correct way? Do I need to define a service for each host > and then > > later on call it by name to execute the service check? Is this > a bad > > way of going about it? > > > > Thanks, > > > > Jerad > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a > browser. > > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jriggin at gmail.com Fri Nov 2 16:53:39 2007 From: jriggin at gmail.com (Jerad Riggin) Date: Fri, 2 Nov 2007 10:53:39 -0500 Subject: Service checks In-Reply-To: <472B47A0.7030203@googlemail.com> References: <66955c170711020837w29f1ba7se47e4bd9bb1f993b@mail.gmail.com> <472B45C3.7090208@googlemail.com> <66955c170711020847r27e10f89jc31b99422658ed6@mail.gmail.com> <472B47A0.7030203@googlemail.com> Message-ID: <66955c170711020853kddca9c3me9c87b6db74652f1@mail.gmail.com> In that case, is there a way to specify more than one possible string, so that for example if it can't find "Home", but it can find "Checkout", it considers the host up? On 11/2/07, Hari Sekhon wrote: > > yes you have to use a separate one for each site, how else would you be > able to use a separate check? Unless you expect the word "Home" on each > site and that is your string check. Another option is using Macros but I > suspect this may not do what you want... > > -h > > Hari Sekhon > > > > Jerad Riggin wrote: > > I've read the help docs, like I said I have a working installation > > checking about 15 servers. I have a PING service that pings a host > > group. I can't do that with this because I'm checking a different > > string on each site, so i'm guessing it has to be separated out. Does > > this make sense? > > > > On 11/2/07, *Hari Sekhon* > > wrote: > > > > You need to reread the docs, this is the most basic of questions. > > > > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service > > > > Hint: You are missing a service_description in the last block for > one. > > You should not have name in that last block either, you need > > host_name. > > > > Read docs pls. > > > > -h > > > > Hari Sekhon > > > > > > > > Jerad Riggin wrote: > > > I have a functioning nagios setup but I have a quick question. I > am > > > going through and adding website string checks so we can keep > > track of > > > availability on one of our webservers. > > > > > > So in services.cfg I have > > > > > > define service{ > > > name generic-service ; Generic > > > service name > > > active_checks_enabled 1 ; Active > > > service checks are enabled > > > passive_checks_enabled 1 ; Passive > > > service checks are enabled/accepted > > > parallelize_check 1 ; Active > > > service checks should be parallelized (Don't disable) > > > obsess_over_service 1 ; We > should > > > obsess over this service (if necessary) > > > check_freshness 0 ; > > Default is > > > to NOT check service 'freshness' > > > notifications_enabled 1 ; Service > > > notifications are enabled > > > event_handler_enabled 1 ; Service > > > event handler is enabled > > > flap_detection_enabled 1 ; Flap > > > detection is enabled > > > process_perf_data 1 ; Process > > > performance data > > > retain_status_information 1 ; Retain > > > status information across program restarts > > > retain_nonstatus_information 1 ; Retain > > > non-status information across program restarts > > > register 0 ; DONT > > > REGISTER THIS DEFINITION - NOT A REAL SERVICE, JUST A TEMPLATE! > > > } > > > > > > define service{ > > > use generic-service > > > name basic-service > > > is_volatile 0 > > > check_period 24x7 > > > max_check_attempts 5 > > > normal_check_interval 3 > > > retry_check_interval 1 > > > notification_interval 15 > > > notification_period 24x7 > > > register 0 > > > } > > > > > > I then have as just one example: > > > > > > define service{ > > > use basic-service > > > name check-site4 > > > notification_options w,u,c,r > > > check_command > > check_http!site.com!20!"Home" > > > register 0 > > > } > > > > > > > > > My question is, you notice that I have the name as check-site4, > and > > > then later on in the services.cfg I call up that > > checksite-4. Is this > > > the correct way? Do I need to define a service for each host > > and then > > > later on call it by name to execute the service check? Is this > > a bad > > > way of going about it? > > > > > > Thanks, > > > > > > Jerad > > > > > > ------------------------------------------------------------------------ > > > > > > > > > ------------------------------------------------------------------------- > > > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a > > browser. > > > Download your FREE copy of Splunk now >> http://get.splunk.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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hpsekhon at googlemail.com Fri Nov 2 16:53:47 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 02 Nov 2007 15:53:47 +0000 Subject: Service checks In-Reply-To: <66955c170711020847r27e10f89jc31b99422658ed6@mail.gmail.com> References: <66955c170711020837w29f1ba7se47e4bd9bb1f993b@mail.gmail.com> <472B45C3.7090208@googlemail.com> <66955c170711020847r27e10f89jc31b99422658ed6@mail.gmail.com> Message-ID: <472B480B.8020108@googlemail.com> also, you are making it more trouble than it needs to be, instead of trying to do register 0 and making the last block a template block, just put the host name in there and the service description as I hinted and that is all you need, you will then have the first 2 blocks plus one for each service on each host with different string checks... -h Hari Sekhon Jerad Riggin wrote: > I've read the help docs, like I said I have a working installation > checking about 15 servers. I have a PING service that pings a host > group. I can't do that with this because I'm checking a different > string on each site, so i'm guessing it has to be separated out. Does > this make sense? > > On 11/2/07, *Hari Sekhon* > wrote: > > You need to reread the docs, this is the most basic of questions. > > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service > > Hint: You are missing a service_description in the last block for one. > You should not have name in that last block either, you need > host_name. > > Read docs pls. > > -h > > Hari Sekhon > > > > Jerad Riggin wrote: > > I have a functioning nagios setup but I have a quick question. I am > > going through and adding website string checks so we can keep > track of > > availability on one of our webservers. > > > > So in services.cfg I have > > > > define service{ > > name generic-service ; Generic > > service name > > active_checks_enabled 1 ; Active > > service checks are enabled > > passive_checks_enabled 1 ; Passive > > service checks are enabled/accepted > > parallelize_check 1 ; Active > > service checks should be parallelized (Don't disable) > > obsess_over_service 1 ; We should > > obsess over this service (if necessary) > > check_freshness 0 ; > Default is > > to NOT check service 'freshness' > > notifications_enabled 1 ; Service > > notifications are enabled > > event_handler_enabled 1 ; Service > > event handler is enabled > > flap_detection_enabled 1 ; Flap > > detection is enabled > > process_perf_data 1 ; Process > > performance data > > retain_status_information 1 ; Retain > > status information across program restarts > > retain_nonstatus_information 1 ; Retain > > non-status information across program restarts > > register 0 ; DONT > > REGISTER THIS DEFINITION - NOT A REAL SERVICE, JUST A TEMPLATE! > > } > > > > define service{ > > use generic-service > > name basic-service > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 5 > > normal_check_interval 3 > > retry_check_interval 1 > > notification_interval 15 > > notification_period 24x7 > > register 0 > > } > > > > I then have as just one example: > > > > define service{ > > use basic-service > > name check-site4 > > notification_options w,u,c,r > > check_command > check_http!site.com!20!"Home" > > register 0 > > } > > > > > > My question is, you notice that I have the name as check-site4, and > > then later on in the services.cfg I call up that > checksite-4. Is this > > the correct way? Do I need to define a service for each host > and then > > later on call it by name to execute the service check? Is this > a bad > > way of going about it? > > > > Thanks, > > > > Jerad > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a > browser. > > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 luis.cerezo at pgs.com Fri Nov 2 16:59:56 2007 From: luis.cerezo at pgs.com (Luis Cerezo) Date: Fri, 02 Nov 2007 10:59:56 -0500 Subject: nrpe issue with solaris 9? Message-ID: <1194019196.13573.153.camel@changito.houston.pgs.com> Hi folks, I am seeing an odd issue with nrpe check on solaris 9. from the solaris host: (nrpe 2.0) bash-2.05# grep check_fs /etc/nagios/nrpe.cfg command[check_fs]=/usr/lib/nagios/plugins/check_fs_space -w 85% -c 95% bash-2.05# /usr/lib/nagios/plugins/check_fs_space -w 85% -c 95% WARNING: /users is at 85%. bash-2.05# >From the nagios host: [root at linmgr ~]# /usr/lib/nagios/plugins/check_nrpe -H sanman -c check_fs File system utilization is OK Has anyone seen this? -- Luis E. Cerezo PGS Global Shared Services - IT *********** This email and any files contained therein is confidential and may contain privileged information. If you are not the named addressee(s) or you have otherwise received this in error, you should not distribute or copy this e-mail or use any of its content for any purpose. Please notify the sender immediately by e-mail if you have received this e-mail in error and delete it from your system ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hpsekhon at googlemail.com Fri Nov 2 17:01:19 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 02 Nov 2007 16:01:19 +0000 Subject: Service checks In-Reply-To: <66955c170711020853kddca9c3me9c87b6db74652f1@mail.gmail.com> References: <66955c170711020837w29f1ba7se47e4bd9bb1f993b@mail.gmail.com> <472B45C3.7090208@googlemail.com> <66955c170711020847r27e10f89jc31b99422658ed6@mail.gmail.com> <472B47A0.7030203@googlemail.com> <66955c170711020853kddca9c3me9c87b6db74652f1@mail.gmail.com> Message-ID: <472B49CF.2030408@googlemail.com> I've just tried this, using the standard check_http plugin you are using. It appears not. As soon as one string is not found it goes critical. You could always write a custom plugin to test your websites, or much more easily a shell wrapper plugin to call the first, if it fails, call the second, and only if that fails go critical... not perfect though, a better/custom plugin would serve you better. -h Hari Sekhon Jerad Riggin wrote: > In that case, is there a way to specify more than one possible string, > so that for example if it can't find "Home", but it can find > "Checkout", it considers the host up? > > On 11/2/07, *Hari Sekhon* > wrote: > > yes you have to use a separate one for each site, how else would > you be > able to use a separate check? Unless you expect the word "Home" on > each > site and that is your string check. Another option is using Macros > but I > suspect this may not do what you want... > > -h > > Hari Sekhon > > > > Jerad Riggin wrote: > > I've read the help docs, like I said I have a working installation > > checking about 15 servers. I have a PING service that pings a host > > group. I can't do that with this because I'm checking a different > > string on each site, so i'm guessing it has to be separated > out. Does > > this make sense? > > > > On 11/2/07, *Hari Sekhon* < hpsekhon at googlemail.com > > > >> wrote: > > > > You need to reread the docs, this is the most basic of > questions. > > > > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service > > > > Hint: You are missing a service_description in the last > block for one. > > You should not have name in that last block either, you need > > host_name. > > > > Read docs pls. > > > > -h > > > > Hari Sekhon > > > > > > > > Jerad Riggin wrote: > > > I have a functioning nagios setup but I have a quick > question. I am > > > going through and adding website string checks so we can keep > > track of > > > availability on one of our webservers. > > > > > > So in services.cfg I have > > > > > > define service{ > > > name generic-service ; > Generic > > > service name > > > active_checks_enabled 1 ; > Active > > > service checks are enabled > > > passive_checks_enabled 1 ; > Passive > > > service checks are enabled/accepted > > > parallelize_check 1 ; > Active > > > service checks should be parallelized (Don't disable) > > > obsess_over_service 1 ; > We should > > > obsess over this service (if necessary) > > > check_freshness 0 ; > > Default is > > > to NOT check service 'freshness' > > > notifications_enabled 1 ; > Service > > > notifications are enabled > > > event_handler_enabled 1 ; > Service > > > event handler is enabled > > > flap_detection_enabled 1 ; > Flap > > > detection is enabled > > > process_perf_data 1 ; > Process > > > performance data > > > retain_status_information 1 ; > Retain > > > status information across program restarts > > > retain_nonstatus_information 1 ; > Retain > > > non-status information across program restarts > > > register 0 ; > DONT > > > REGISTER THIS DEFINITION - NOT A REAL SERVICE, JUST A > TEMPLATE! > > > } > > > > > > define service{ > > > use generic-service > > > name basic-service > > > is_volatile 0 > > > check_period 24x7 > > > max_check_attempts 5 > > > normal_check_interval 3 > > > retry_check_interval 1 > > > notification_interval 15 > > > notification_period 24x7 > > > register 0 > > > } > > > > > > I then have as just one example: > > > > > > define service{ > > > use basic-service > > > name check-site4 > > > notification_options w,u,c,r > > > check_command > > check_http!site.com!20!"Home" > > > register 0 > > > } > > > > > > > > > My question is, you notice that I have the name as > check-site4, and > > > then later on in the services.cfg I call up that > > checksite-4. Is this > > > the correct way? Do I need to define a service for each host > > and then > > > later on call it by name to execute the service check? Is > this > > a bad > > > way of going about it? > > > > > > Thanks, > > > > > > Jerad > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > ------------------------------------------------------------------------- > > > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a > > browser. > > > Download your FREE copy of Splunk now >> > http://get.splunk.com/ > > > > > > ------------------------------------------------------------------------ > > > > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > < https://lists.sourceforge.net/lists/listinfo/nagios-users> > > > ::: 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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hpsekhon at googlemail.com Fri Nov 2 17:04:32 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 02 Nov 2007 16:04:32 +0000 Subject: Service checks In-Reply-To: <66955c170711020858k76c5e6f7odcd074fa2226b56c@mail.gmail.com> References: <66955c170711020837w29f1ba7se47e4bd9bb1f993b@mail.gmail.com> <472B45C3.7090208@googlemail.com> <66955c170711020847r27e10f89jc31b99422658ed6@mail.gmail.com> <472B480B.8020108@googlemail.com> <66955c170711020858k76c5e6f7odcd074fa2226b56c@mail.gmail.com> Message-ID: <472B4A90.3040501@googlemail.com> If you had read the docs like I said, I can't see how you could miss the fact that you have a service definition without a host_name or hostgroup_name! Where is this service check going to run against if you haven't told it which host you want to test? I even gave you the anchored link to the exact place where it shows you the definitions that are needed for that block... -h Hari Sekhon Jerad Riggin wrote: > Ok, so for example > > define service{ > use basic-service > notification_options w,u,c,r > check_command check_http!site.com!20!"Home" > Service description CheckString > } > > Sorry if this seems like a newbie question. I'm just trying to > backtrack and optimize the config before I get too far down the road. > > > On 11/2/07, *Hari Sekhon* > wrote: > > also, you are making it more trouble than it needs to be, instead of > trying to do register 0 and making the last block a template > block, just > put the host name in there and the service description as I hinted and > that is all you need, you will then have the first 2 blocks plus > one for > each service on each host with different string checks... > > -h > > Hari Sekhon > > > > Jerad Riggin wrote: > > I've read the help docs, like I said I have a working installation > > checking about 15 servers. I have a PING service that pings a host > > group. I can't do that with this because I'm checking a different > > string on each site, so i'm guessing it has to be separated > out. Does > > this make sense? > > > > On 11/2/07, *Hari Sekhon* > > >> wrote: > > > > You need to reread the docs, this is the most basic of > questions. > > > > > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service > > > > > Hint: You are missing a service_description in the last > block for one. > > You should not have name in that last block either, you need > > host_name. > > > > Read docs pls. > > > > -h > > > > Hari Sekhon > > > > > > > > Jerad Riggin wrote: > > > I have a functioning nagios setup but I have a quick > question. I am > > > going through and adding website string checks so we can keep > > track of > > > availability on one of our webservers. > > > > > > So in services.cfg I have > > > > > > define service{ > > > name generic-service ; > Generic > > > service name > > > active_checks_enabled 1 ; > Active > > > service checks are enabled > > > passive_checks_enabled 1 ; > Passive > > > service checks are enabled/accepted > > > parallelize_check 1 ; > Active > > > service checks should be parallelized (Don't disable) > > > obsess_over_service 1 ; > We should > > > obsess over this service (if necessary) > > > check_freshness 0 ; > > Default is > > > to NOT check service 'freshness' > > > notifications_enabled 1 ; > Service > > > notifications are enabled > > > event_handler_enabled 1 ; > Service > > > event handler is enabled > > > flap_detection_enabled 1 ; > Flap > > > detection is enabled > > > process_perf_data 1 ; > Process > > > performance data > > > retain_status_information 1 ; > Retain > > > status information across program restarts > > > retain_nonstatus_information 1 ; > Retain > > > non-status information across program restarts > > > register 0 ; > DONT > > > REGISTER THIS DEFINITION - NOT A REAL SERVICE, JUST A > TEMPLATE! > > > } > > > > > > define service{ > > > use generic-service > > > name basic-service > > > is_volatile 0 > > > check_period 24x7 > > > max_check_attempts 5 > > > normal_check_interval 3 > > > retry_check_interval 1 > > > notification_interval 15 > > > notification_period 24x7 > > > register 0 > > > } > > > > > > I then have as just one example: > > > > > > define service{ > > > use basic-service > > > name check-site4 > > > notification_options w,u,c,r > > > check_command > > check_http!site.com!20!"Home" > > > register 0 > > > } > > > > > > > > > My question is, you notice that I have the name as > check-site4, and > > > then later on in the services.cfg I call up that > > checksite-4. Is this > > > the correct way? Do I need to define a service for each host > > and then > > > later on call it by name to execute the service check? Is > this > > a bad > > > way of going about it? > > > > > > Thanks, > > > > > > Jerad > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > ------------------------------------------------------------------------- > > > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a > > browser. > > > Download your FREE copy of Splunk now >> > http://get.splunk.com/ > > > > > > ------------------------------------------------------------------------ > > > > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > < https://lists.sourceforge.net/lists/listinfo/nagios-users> > > > ::: 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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jriggin at gmail.com Fri Nov 2 17:12:11 2007 From: jriggin at gmail.com (Jerad Riggin) Date: Fri, 2 Nov 2007 11:12:11 -0500 Subject: Service checks In-Reply-To: <472B4A90.3040501@googlemail.com> References: <66955c170711020837w29f1ba7se47e4bd9bb1f993b@mail.gmail.com> <472B45C3.7090208@googlemail.com> <66955c170711020847r27e10f89jc31b99422658ed6@mail.gmail.com> <472B480B.8020108@googlemail.com> <66955c170711020858k76c5e6f7odcd074fa2226b56c@mail.gmail.com> <472B4A90.3040501@googlemail.com> Message-ID: <66955c170711020912k57eaa22cke57aac0202e07451@mail.gmail.com> I think we're losing something in translation of me trying to tell you what i'm doing. Here is what i've been doing. define service{ use basic-service name check-site4 notification_options w,u,c,r check_command check_http!site.com!20!"Home" register 0 } and then later on in the config file define service{ use check-site4 service_description HTTP contact_groups mis host_name site.com } On 11/2/07, Hari Sekhon wrote: > > If you had read the docs like I said, I can't see how you could miss the > fact that you have a service definition without a host_name or > hostgroup_name! > > Where is this service check going to run against if you haven't told it > which host you want to test? > > I even gave you the anchored link to the exact place where it shows you > the definitions that are needed for that block... > > -h > > Hari Sekhon > > > > Jerad Riggin wrote: > > Ok, so for example > > > > define service{ > > use basic-service > > notification_options w,u,c,r > > check_command check_http!site.com!20!"Home" > > Service description CheckString > > } > > > > Sorry if this seems like a newbie question. I'm just trying to > > backtrack and optimize the config before I get too far down the road. > > > > > > On 11/2/07, *Hari Sekhon* > > wrote: > > > > also, you are making it more trouble than it needs to be, instead of > > trying to do register 0 and making the last block a template > > block, just > > put the host name in there and the service description as I hinted > and > > that is all you need, you will then have the first 2 blocks plus > > one for > > each service on each host with different string checks... > > > > -h > > > > Hari Sekhon > > > > > > > > Jerad Riggin wrote: > > > I've read the help docs, like I said I have a working installation > > > checking about 15 servers. I have a PING service that pings a > host > > > group. I can't do that with this because I'm checking a different > > > string on each site, so i'm guessing it has to be separated > > out. Does > > > this make sense? > > > > > > On 11/2/07, *Hari Sekhon* > > > > > >> wrote: > > > > > > You need to reread the docs, this is the most basic of > > questions. > > > > > > > > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service > > > > > > > > Hint: You are missing a service_description in the last > > block for one. > > > You should not have name in that last block either, you need > > > host_name. > > > > > > Read docs pls. > > > > > > -h > > > > > > Hari Sekhon > > > > > > > > > > > > Jerad Riggin wrote: > > > > I have a functioning nagios setup but I have a quick > > question. I am > > > > going through and adding website string checks so we can > keep > > > track of > > > > availability on one of our webservers. > > > > > > > > So in services.cfg I have > > > > > > > > define service{ > > > > name generic-service ; > > Generic > > > > service name > > > > active_checks_enabled 1 ; > > Active > > > > service checks are enabled > > > > passive_checks_enabled 1 ; > > Passive > > > > service checks are enabled/accepted > > > > parallelize_check 1 ; > > Active > > > > service checks should be parallelized (Don't disable) > > > > obsess_over_service 1 ; > > We should > > > > obsess over this service (if necessary) > > > > check_freshness 0 ; > > > Default is > > > > to NOT check service 'freshness' > > > > notifications_enabled 1 ; > > Service > > > > notifications are enabled > > > > event_handler_enabled 1 ; > > Service > > > > event handler is enabled > > > > flap_detection_enabled 1 ; > > Flap > > > > detection is enabled > > > > process_perf_data 1 ; > > Process > > > > performance data > > > > retain_status_information 1 ; > > Retain > > > > status information across program restarts > > > > retain_nonstatus_information 1 ; > > Retain > > > > non-status information across program restarts > > > > register 0 ; > > DONT > > > > REGISTER THIS DEFINITION - NOT A REAL SERVICE, JUST A > > TEMPLATE! > > > > } > > > > > > > > define service{ > > > > use generic-service > > > > name basic-service > > > > is_volatile 0 > > > > check_period 24x7 > > > > max_check_attempts 5 > > > > normal_check_interval 3 > > > > retry_check_interval 1 > > > > notification_interval 15 > > > > notification_period 24x7 > > > > register 0 > > > > } > > > > > > > > I then have as just one example: > > > > > > > > define service{ > > > > use basic-service > > > > name check-site4 > > > > notification_options w,u,c,r > > > > check_command > > > check_http!site.com!20!"Home" > > > > register 0 > > > > } > > > > > > > > > > > > My question is, you notice that I have the name as > > check-site4, and > > > > then later on in the services.cfg I call up that > > > checksite-4. Is this > > > > the correct way? Do I need to define a service for each > host > > > and then > > > > later on call it by name to execute the service check? Is > > this > > > a bad > > > > way of going about it? > > > > > > > > Thanks, > > > > > > > > Jerad > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > > > This SF.net email is sponsored by: Splunk Inc. > > > > Still grepping through log files to find problems? Stop. > > > > Now Search log events and configuration files using AJAX and > a > > > browser. > > > > Download your FREE copy of Splunk now >> > > http://get.splunk.com/ > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > < https://lists.sourceforge.net/lists/listinfo/nagios-users> > > > > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hpsekhon at googlemail.com Fri Nov 2 17:16:50 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 02 Nov 2007 16:16:50 +0000 Subject: Service checks In-Reply-To: <66955c170711020912k57eaa22cke57aac0202e07451@mail.gmail.com> References: <66955c170711020837w29f1ba7se47e4bd9bb1f993b@mail.gmail.com> <472B45C3.7090208@googlemail.com> <66955c170711020847r27e10f89jc31b99422658ed6@mail.gmail.com> <472B480B.8020108@googlemail.com> <66955c170711020858k76c5e6f7odcd074fa2226b56c@mail.gmail.com> <472B4A90.3040501@googlemail.com> <66955c170711020912k57eaa22cke57aac0202e07451@mail.gmail.com> Message-ID: <472B4D72.70201@googlemail.com> Yes I know what you've been doing, double or triple templating, and what I am saying is that you do not need to template for every service. Only template the common bits and put the unique bits in the service definition block with the hostname. You will need less blocks and have less redundancy in your configuration. Templates are only supposed to save you typing in the same lines again multiple times, not to become your religion for every check. You are writing more than you need for such basic stuff. -h Hari Sekhon Jerad Riggin wrote: > I think we're losing something in translation of me trying to tell you > what i'm doing. Here is what i've been doing. > > define service{ > use basic-service > name check-site4 > notification_options w,u,c,r > check_command check_http!site.com!20!"Home" > register 0 > } > > and then later on in the config file > > > define service{ > use check-site4 > service_description HTTP > contact_groups mis > host_name site.com > } > > > On 11/2/07, *Hari Sekhon* > wrote: > > If you had read the docs like I said, I can't see how you could > miss the > fact that you have a service definition without a host_name or > hostgroup_name! > > Where is this service check going to run against if you haven't > told it > which host you want to test? > > I even gave you the anchored link to the exact place where it > shows you > the definitions that are needed for that block... > > -h > > Hari Sekhon > > > > Jerad Riggin wrote: > > Ok, so for example > > > > define service{ > > use basic-service > > notification_options w,u,c,r > > check_command check_http!site.com!20!"Home" > > Service description CheckString > > } > > > > Sorry if this seems like a newbie question. I'm just trying to > > backtrack and optimize the config before I get too far down the > road. > > > > > > On 11/2/07, *Hari Sekhon* > > >> wrote: > > > > also, you are making it more trouble than it needs to be, > instead of > > trying to do register 0 and making the last block a template > > block, just > > put the host name in there and the service description as I > hinted and > > that is all you need, you will then have the first 2 blocks plus > > one for > > each service on each host with different string checks... > > > > -h > > > > Hari Sekhon > > > > > > > > Jerad Riggin wrote: > > > I've read the help docs, like I said I have a working > installation > > > checking about 15 servers. I have a PING service that > pings a host > > > group. I can't do that with this because I'm checking a > different > > > string on each site, so i'm guessing it has to be separated > > out. Does > > > this make sense? > > > > > > On 11/2/07, *Hari Sekhon* > > > > > > > > >>> wrote: > > > > > > You need to reread the docs, this is the most basic of > > questions. > > > > > > > > > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service > > > > > > > > > > Hint: You are missing a service_description in the last > > block for one. > > > You should not have name in that last block either, > you need > > > host_name. > > > > > > Read docs pls. > > > > > > -h > > > > > > Hari Sekhon > > > > > > > > > > > > Jerad Riggin wrote: > > > > I have a functioning nagios setup but I have a quick > > question. I am > > > > going through and adding website string checks so we > can keep > > > track of > > > > availability on one of our webservers. > > > > > > > > So in services.cfg I have > > > > > > > > define service{ > > > > > name generic-service ; > > Generic > > > > service name > > > > active_checks_enabled > 1 ; > > Active > > > > service checks are enabled > > > > > passive_checks_enabled 1 ; > > Passive > > > > service checks are enabled/accepted > > > > parallelize_check > 1 ; > > Active > > > > service checks should be parallelized (Don't disable) > > > > obsess_over_service > 1 ; > > We should > > > > obsess over this service (if necessary) > > > > check_freshness > 0 ; > > > Default is > > > > to NOT check service 'freshness' > > > > notifications_enabled > 1 ; > > Service > > > > notifications are enabled > > > > event_handler_enabled > 1 ; > > Service > > > > event handler is enabled > > > > > flap_detection_enabled 1 ; > > Flap > > > > detection is enabled > > > > process_perf_data > 1 ; > > Process > > > > performance data > > > > retain_status_information > 1 ; > > Retain > > > > status information across program restarts > > > > > retain_nonstatus_information 1 ; > > Retain > > > > non-status information across program restarts > > > > > register 0 ; > > DONT > > > > REGISTER THIS DEFINITION - NOT A REAL SERVICE, JUST A > > TEMPLATE! > > > > } > > > > > > > > define service{ > > > > use generic-service > > > > name basic-service > > > > is_volatile 0 > > > > check_period 24x7 > > > > max_check_attempts 5 > > > > normal_check_interval 3 > > > > retry_check_interval 1 > > > > notification_interval 15 > > > > notification_period 24x7 > > > > register 0 > > > > } > > > > > > > > I then have as just one example: > > > > > > > > define service{ > > > > use basic-service > > > > name check-site4 > > > > notification_options w,u,c,r > > > > check_command > > > check_http!site.com!20!"Home" > > > > register 0 > > > > } > > > > > > > > > > > > My question is, you notice that I have the name as > > check-site4, and > > > > then later on in the services.cfg I call up that > > > checksite-4. Is this > > > > the correct way? Do I need to define a service for > each host > > > and then > > > > later on call it by name to execute the service > check? Is > > this > > > a bad > > > > way of going about it? > > > > > > > > Thanks, > > > > > > > > Jerad > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > > > This SF.net email is sponsored by: Splunk Inc. > > > > Still grepping through log files to find > problems? Stop. > > > > Now Search log events and configuration files using > AJAX and a > > > browser. > > > > Download your FREE copy of Splunk now >> > > http://get.splunk.com/ > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > > > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > < > https://lists.sourceforge.net/lists/listinfo/nagios-users> > > > > ::: 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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jriggin at gmail.com Fri Nov 2 17:39:12 2007 From: jriggin at gmail.com (Jerad Riggin) Date: Fri, 2 Nov 2007 11:39:12 -0500 Subject: Service checks In-Reply-To: <472B49CF.2030408@googlemail.com> References: <66955c170711020837w29f1ba7se47e4bd9bb1f993b@mail.gmail.com> <472B45C3.7090208@googlemail.com> <66955c170711020847r27e10f89jc31b99422658ed6@mail.gmail.com> <472B47A0.7030203@googlemail.com> <66955c170711020853kddca9c3me9c87b6db74652f1@mail.gmail.com> <472B49CF.2030408@googlemail.com> Message-ID: <66955c170711020939i3138cb03g23e6701eb999ac15@mail.gmail.com> I wish I could, but I'm not a programmer and have limited experience with Linux. I usually just manage Windows servers. Thanks for your help though. I condensed the string check into one instead of double/triple templating. Thanks. On 11/2/07, Hari Sekhon wrote: > > I've just tried this, using the standard check_http plugin you are > using. It appears not. > > As soon as one string is not found it goes critical. > > You could always write a custom plugin to test your websites, or much > more easily a shell wrapper plugin to call the first, if it fails, call > the second, and only if that fails go critical... not perfect though, a > better/custom plugin would serve you better. > > -h > > Hari Sekhon > > > > Jerad Riggin wrote: > > In that case, is there a way to specify more than one possible string, > > so that for example if it can't find "Home", but it can find > > "Checkout", it considers the host up? > > > > On 11/2/07, *Hari Sekhon* > > wrote: > > > > yes you have to use a separate one for each site, how else would > > you be > > able to use a separate check? Unless you expect the word "Home" on > > each > > site and that is your string check. Another option is using Macros > > but I > > suspect this may not do what you want... > > > > -h > > > > Hari Sekhon > > > > > > > > Jerad Riggin wrote: > > > I've read the help docs, like I said I have a working installation > > > checking about 15 servers. I have a PING service that pings a > host > > > group. I can't do that with this because I'm checking a different > > > string on each site, so i'm guessing it has to be separated > > out. Does > > > this make sense? > > > > > > On 11/2/07, *Hari Sekhon* < hpsekhon at googlemail.com > > > > > > >> wrote: > > > > > > You need to reread the docs, this is the most basic of > > questions. > > > > > > > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service > > > > > > Hint: You are missing a service_description in the last > > block for one. > > > You should not have name in that last block either, you need > > > host_name. > > > > > > Read docs pls. > > > > > > -h > > > > > > Hari Sekhon > > > > > > > > > > > > Jerad Riggin wrote: > > > > I have a functioning nagios setup but I have a quick > > question. I am > > > > going through and adding website string checks so we can > keep > > > track of > > > > availability on one of our webservers. > > > > > > > > So in services.cfg I have > > > > > > > > define service{ > > > > name generic-service ; > > Generic > > > > service name > > > > active_checks_enabled 1 ; > > Active > > > > service checks are enabled > > > > passive_checks_enabled 1 ; > > Passive > > > > service checks are enabled/accepted > > > > parallelize_check 1 ; > > Active > > > > service checks should be parallelized (Don't disable) > > > > obsess_over_service 1 ; > > We should > > > > obsess over this service (if necessary) > > > > check_freshness 0 ; > > > Default is > > > > to NOT check service 'freshness' > > > > notifications_enabled 1 ; > > Service > > > > notifications are enabled > > > > event_handler_enabled 1 ; > > Service > > > > event handler is enabled > > > > flap_detection_enabled 1 ; > > Flap > > > > detection is enabled > > > > process_perf_data 1 ; > > Process > > > > performance data > > > > retain_status_information 1 ; > > Retain > > > > status information across program restarts > > > > retain_nonstatus_information 1 ; > > Retain > > > > non-status information across program restarts > > > > register 0 ; > > DONT > > > > REGISTER THIS DEFINITION - NOT A REAL SERVICE, JUST A > > TEMPLATE! > > > > } > > > > > > > > define service{ > > > > use generic-service > > > > name basic-service > > > > is_volatile 0 > > > > check_period 24x7 > > > > max_check_attempts 5 > > > > normal_check_interval 3 > > > > retry_check_interval 1 > > > > notification_interval 15 > > > > notification_period 24x7 > > > > register 0 > > > > } > > > > > > > > I then have as just one example: > > > > > > > > define service{ > > > > use basic-service > > > > name check-site4 > > > > notification_options w,u,c,r > > > > check_command > > > check_http!site.com!20!"Home" > > > > register 0 > > > > } > > > > > > > > > > > > My question is, you notice that I have the name as > > check-site4, and > > > > then later on in the services.cfg I call up that > > > checksite-4. Is this > > > > the correct way? Do I need to define a service for each > host > > > and then > > > > later on call it by name to execute the service check? Is > > this > > > a bad > > > > way of going about it? > > > > > > > > Thanks, > > > > > > > > Jerad > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > > > This SF.net email is sponsored by: Splunk Inc. > > > > Still grepping through log files to find problems? Stop. > > > > Now Search log events and configuration files using AJAX and > a > > > browser. > > > > Download your FREE copy of Splunk now >> > > http://get.splunk.com/ > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > < https://lists.sourceforge.net/lists/listinfo/nagios-users> > > > > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 ae at op5.se Fri Nov 2 17:50:27 2007 From: ae at op5.se (Andreas Ericsson) Date: Fri, 02 Nov 2007 17:50:27 +0100 Subject: nrpe issue with solaris 9? In-Reply-To: <1194019196.13573.153.camel@changito.houston.pgs.com> References: <1194019196.13573.153.camel@changito.houston.pgs.com> Message-ID: <472B5553.2070108@op5.se> Luis Cerezo wrote: > Hi folks, > > I am seeing an odd issue with nrpe check on solaris 9. > > from the solaris host: (nrpe 2.0) > > bash-2.05# grep check_fs /etc/nagios/nrpe.cfg > command[check_fs]=/usr/lib/nagios/plugins/check_fs_space -w 85% -c 95% > bash-2.05# /usr/lib/nagios/plugins/check_fs_space -w 85% -c 95% > WARNING: /users is at 85%. > bash-2.05# > >>From the nagios host: > > [root at linmgr ~]# /usr/lib/nagios/plugins/check_nrpe -H sanman -c > check_fs > File system utilization is OK > > > Has anyone seen this? About a billion times. You're running the check on the nrpe side as root, but nrpe runs it as someone else, and the plugin is crap so it prints "ok" when it fails to get the proper numbers. I'm guessing you wrote the plugin check_fs_space yourself, and only tested it as root, right? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 maxwellb at oclc.org Fri Nov 2 17:51:21 2007 From: maxwellb at oclc.org (Maxwell,Brady) Date: Fri, 2 Nov 2007 12:51:21 -0400 Subject: nrpe timesout! In-Reply-To: <472AEE89.3020203@googlemail.com> References: <6ae50c2d0710292006l3fe843f3s3b1551192ea9a8d5@mail.gmail.com> <47270242.5090705@googlemail.com><6ae50c2d0711012004k332f3c9cta6291af8d5a8283c@mail.gmail.com> <472AEE89.3020203@googlemail.com> Message-ID: <11DE62FF9C5102478FBCC536AC273518049714B3@OAEXCH5SERVER.oa.oclc.org> You also need to make sure the nrpe binaries were compilied with the option to except arguments. ./configure --enable-command-args -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon Sent: Friday, November 02, 2007 5:32 AM To: alexus Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nrpe timesout! alexus wrote: > i assume instead of check_http -a 10.10.10.34 you mean whatever is in > nrpe.cfg for check_http command, so i'm showing you whats in there and > i'm trying to execute that command and it works fine, but not through > nrpe... > > # grep check_http ~nagios/etc/nrpe.cfg > command[check_http]=/usr/local/nagios/libexec/check_http -I $ARG1$ -e > 200 # /usr/local/nagios/libexec/check_http -I 10.10.10.34 -e 200 HTTP > OK HTTP/1.1 200 OK - 299 bytes in 0.002 seconds > |time=0.002095s;;;0.000000 size=299B;;;0 > # 2 things: 1. Are you running this as root? The # at the beginning of the line suggests so. Try running it as the user account that nrpe runs as. 2. You are passing args through nrpe, this is not good practice. It also will not work unless you have dont_blame_nrpe=1 in your nrpe.cfg on the remote host against which you are executing the nrpe call. I would recommend not passing args but instead defining more check_commands with the args already in them, this is more secure as it is more tightly controlled. -h ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jeff.shumard at defenseweb.com Fri Nov 2 18:11:15 2007 From: jeff.shumard at defenseweb.com (Jeff Shumard - DefenseWeb Technologies) Date: Fri, 2 Nov 2007 10:11:15 -0700 Subject: Distributed monitoring with nrpe_nt and freshness Message-ID: We have our monitoring configured and everything is working great checking all our windows servers through a single windows server running nrpe_nt. The problem we are having is when one of our Linux Nagios servers goes down and doesn't send any results to the master Nagios server. When this happens and our 5 minute freshness hits it's threshold. We start running active checks because we didn't receive any passive updates from the server that went down. This sends a bunch of checks to the windows server to run tests and we start getting unknown status reports back to the master server with the result of "No output available from command". Does anyone know if there is a max connection on nrpe_nt or something else that maybe causing this? Thank you, Jeff ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hpsekhon at googlemail.com Fri Nov 2 18:14:19 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 02 Nov 2007 17:14:19 +0000 Subject: nrpe issue with solaris 9? In-Reply-To: <472B5553.2070108@op5.se> References: <1194019196.13573.153.camel@changito.houston.pgs.com> <472B5553.2070108@op5.se> Message-ID: <472B5AEB.8090502@googlemail.com> Andreas Ericsson wrote: > About a billion times. You're running the check on the nrpe side as root, > but nrpe runs it as someone else, and the plugin is crap so it prints > "ok" when it fails to get the proper numbers. I'm guessing you wrote the > plugin check_fs_space yourself, and only tested it as root, right? > I think this is a very generic problem among plugins, even those in the standard distribution's contrib dir, especially those written in perl, which is a real shame, cos I try to persuade people at work that people who know perl are usually really great, but they insist that python makes people write better code. I see plugins here and there of 150 lines of code, with practically no error checking, when really it should be at least twice that... they look like they were written in a real rush. I think we should all try to make our plugins more rock solid... they should be black box near perfect. I've made mistakes like everyone else who has written plugins, that's what revision numbers are for... ;-), but we should try to do better. I've just had to upgrade my plugins cos the check_ntp plugin had not quite the right output and sent it to stderr so I got No Output in Nagios. I've made this mistake myself before so I know that usually you would do this for ordinary programs, but Nagios doesn't catch the stderr. On this note, perhaps Nagios should catch both stdout and stderr and let program write to stderr as is more std in the programming world? -h ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 luis.cerezo at pgs.com Fri Nov 2 18:58:25 2007 From: luis.cerezo at pgs.com (Luis Cerezo) Date: Fri, 02 Nov 2007 12:58:25 -0500 Subject: nrpe issue with solaris 9? In-Reply-To: <472B5553.2070108@op5.se> References: <1194019196.13573.153.camel@changito.houston.pgs.com> <472B5553.2070108@op5.se> Message-ID: <1194026305.13573.155.camel@changito.houston.pgs.com> HI Andreas, We came to the same conclusion, except for who wrote the plugin. I think I got it nagios exchange. header info: # # Author: Todd Barbera # Date: 10/26/05 # Purpose: Report back to nagios file system usage What have you done to get around it? -luis On Fri, 2007-11-02 at 17:50 +0100, Andreas Ericsson wrote: > Luis Cerezo wrote: > > Hi folks, > > > > I am seeing an odd issue with nrpe check on solaris 9. > > > > from the solaris host: (nrpe 2.0) > > > > bash-2.05# grep check_fs /etc/nagios/nrpe.cfg > > command[check_fs]=/usr/lib/nagios/plugins/check_fs_space -w 85% -c 95% > > bash-2.05# /usr/lib/nagios/plugins/check_fs_space -w 85% -c 95% > > WARNING: /users is at 85%. > > bash-2.05# > > > >>From the nagios host: > > > > [root at linmgr ~]# /usr/lib/nagios/plugins/check_nrpe -H sanman -c > > check_fs > > File system utilization is OK > > > > > > Has anyone seen this? > > > About a billion times. You're running the check on the nrpe side as root, > but nrpe runs it as someone else, and the plugin is crap so it prints > "ok" when it fails to get the proper numbers. I'm guessing you wrote the > plugin check_fs_space yourself, and only tested it as root, right? > -- Luis E. Cerezo PGS Global Shared Services - IT 281.509.8397 *********** This email and any files contained therein is confidential and may contain privileged information. If you are not the named addressee(s) or you have otherwise received this in error, you should not distribute or copy this e-mail or use any of its content for any purpose. Please notify the sender immediately by e-mail if you have received this e-mail in error and delete it from your system ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 trevor_obba at yahoo.co.uk Fri Nov 2 19:08:39 2007 From: trevor_obba at yahoo.co.uk (trevor obba) Date: Fri, 2 Nov 2007 18:08:39 +0000 (GMT) Subject: monitor EMC with nagios Message-ID: <834037.97993.qm@web23301.mail.ird.yahoo.com> I have an EMC CLARiiON AX150 I would like to monitor it with nagios.. How do I monitor my EMC?s disk usage, fan, power supply, battery, temperature and uptime using Nagios? what nagios plugin do i use to monitor the above? ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Fri Nov 2 19:32:53 2007 From: ae at op5.se (Andreas Ericsson) Date: Fri, 02 Nov 2007 19:32:53 +0100 Subject: nrpe issue with solaris 9? In-Reply-To: <1194026305.13573.155.camel@changito.houston.pgs.com> References: <1194019196.13573.153.camel@changito.houston.pgs.com> <472B5553.2070108@op5.se> <1194026305.13573.155.camel@changito.houston.pgs.com> Message-ID: <472B6D55.4030109@op5.se> Luis Cerezo wrote: > HI Andreas, > > We came to the same conclusion, except for who wrote the plugin. I think > I got it nagios exchange. > > > header info: > # > # Author: Todd Barbera > # Date: 10/26/05 > # Purpose: Report back to nagios file system usage > > What have you done to get around it? > Nothing at all. Unless you can modify the plugin or use the ones from the official plugin project, I think you're stuck. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Jeff.Chapin at t8design.com Fri Nov 2 19:43:16 2007 From: Jeff.Chapin at t8design.com (Jeff Chapin) Date: Fri, 2 Nov 2007 13:43:16 -0500 Subject: monitor EMC with nagios In-Reply-To: <834037.97993.qm@web23301.mail.ird.yahoo.com> References: <834037.97993.qm@web23301.mail.ird.yahoo.com> Message-ID: <9A53DDE1FE082F4D952FDF20AC87E21F388F9B@exchange2.t8design.com> I'm in the same boat, and would love some assistance as well. JEFF CHAPIN SYSTEM ADMINISTRATOR T8DESIGN.COM | P 319.266.7574 - x267 | 877.T8IDEAS | F 888.290.4675 This e-mail, including attachments, is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential, and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, and then please delete it. Thank you. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of trevor obba Sent: Friday, November 02, 2007 1:09 PM To: nagiosplug; nagios-user Subject: [Nagios-users] monitor EMC with nagios I have an EMC CLARiiON AX150 I would like to monitor it with nagios.. How do I monitor my EMC?s disk usage, fan, power supply, battery, temperature and uptime using Nagios? what nagios plugin do i use to monitor the above? ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Jeff.Chapin at t8design.com Fri Nov 2 19:49:03 2007 From: Jeff.Chapin at t8design.com (Jeff Chapin) Date: Fri, 2 Nov 2007 13:49:03 -0500 Subject: Service checks In-Reply-To: <472B49CF.2030408@googlemail.com> References: <66955c170711020837w29f1ba7se47e4bd9bb1f993b@mail.gmail.com> <472B45C3.7090208@googlemail.com> <66955c170711020847r27e10f89jc31b99422658ed6@mail.gmail.com> <472B47A0.7030203@googlemail.com><66955c170711020853kddca9c3me9c87b6db74652f1@mail.gmail.com> <472B49CF.2030408@googlemail.com> Message-ID: <9A53DDE1FE082F4D952FDF20AC87E21F388F9E@exchange2.t8design.com> I was under the impression that check_http has a regex option, meaning you can pass it a regex that ought to be able to handle this. Jeff JEFF CHAPIN SYSTEM ADMINISTRATOR T8DESIGN.COM | P 319.266.7574 - x267 | 877.T8IDEAS | F 888.290.4675 This e-mail, including attachments, is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential, and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, and then please delete it. Thank you. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon Sent: Friday, November 02, 2007 11:01 AM To: Jerad Riggin Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Service checks I've just tried this, using the standard check_http plugin you are using. It appears not. As soon as one string is not found it goes critical. You could always write a custom plugin to test your websites, or much more easily a shell wrapper plugin to call the first, if it fails, call the second, and only if that fails go critical... not perfect though, a better/custom plugin would serve you better. -h Hari Sekhon Jerad Riggin wrote: > In that case, is there a way to specify more than one possible string, > so that for example if it can't find "Home", but it can find > "Checkout", it considers the host up? > > On 11/2/07, *Hari Sekhon* > wrote: > > yes you have to use a separate one for each site, how else would > you be > able to use a separate check? Unless you expect the word "Home" on > each > site and that is your string check. Another option is using Macros > but I > suspect this may not do what you want... > > -h > > Hari Sekhon > > > > Jerad Riggin wrote: > > I've read the help docs, like I said I have a working installation > > checking about 15 servers. I have a PING service that pings a host > > group. I can't do that with this because I'm checking a different > > string on each site, so i'm guessing it has to be separated > out. Does > > this make sense? > > > > On 11/2/07, *Hari Sekhon* < hpsekhon at googlemail.com > > > >> wrote: > > > > You need to reread the docs, this is the most basic of > questions. > > > > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service > > > > Hint: You are missing a service_description in the last > block for one. > > You should not have name in that last block either, you need > > host_name. > > > > Read docs pls. > > > > -h > > > > Hari Sekhon > > > > > > > > Jerad Riggin wrote: > > > I have a functioning nagios setup but I have a quick > question. I am > > > going through and adding website string checks so we can keep > > track of > > > availability on one of our webservers. > > > > > > So in services.cfg I have > > > > > > define service{ > > > name generic-service ; > Generic > > > service name > > > active_checks_enabled 1 ; > Active > > > service checks are enabled > > > passive_checks_enabled 1 ; > Passive > > > service checks are enabled/accepted > > > parallelize_check 1 ; > Active > > > service checks should be parallelized (Don't disable) > > > obsess_over_service 1 ; > We should > > > obsess over this service (if necessary) > > > check_freshness 0 ; > > Default is > > > to NOT check service 'freshness' > > > notifications_enabled 1 ; > Service > > > notifications are enabled > > > event_handler_enabled 1 ; > Service > > > event handler is enabled > > > flap_detection_enabled 1 ; > Flap > > > detection is enabled > > > process_perf_data 1 ; > Process > > > performance data > > > retain_status_information 1 ; > Retain > > > status information across program restarts > > > retain_nonstatus_information 1 ; > Retain > > > non-status information across program restarts > > > register 0 ; > DONT > > > REGISTER THIS DEFINITION - NOT A REAL SERVICE, JUST A > TEMPLATE! > > > } > > > > > > define service{ > > > use generic-service > > > name basic-service > > > is_volatile 0 > > > check_period 24x7 > > > max_check_attempts 5 > > > normal_check_interval 3 > > > retry_check_interval 1 > > > notification_interval 15 > > > notification_period 24x7 > > > register 0 > > > } > > > > > > I then have as just one example: > > > > > > define service{ > > > use basic-service > > > name check-site4 > > > notification_options w,u,c,r > > > check_command > > check_http!site.com!20!"Home" > > > register 0 > > > } > > > > > > > > > My question is, you notice that I have the name as > check-site4, and > > > then later on in the services.cfg I call up that > > checksite-4. Is this > > > the correct way? Do I need to define a service for each host > > and then > > > later on call it by name to execute the service check? Is > this > > a bad > > > way of going about it? > > > > > > Thanks, > > > > > > Jerad > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > ------------------------------------------------------------------------ - > > > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a > > browser. > > > Download your FREE copy of Splunk now >> > http://get.splunk.com/ > > > > > > ------------------------------------------------------------------------ > > > > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > < https://lists.sourceforge.net/lists/listinfo/nagios-users> > > > ::: 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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 mlozier at spindletopoil.com Fri Nov 2 19:56:40 2007 From: mlozier at spindletopoil.com (Matt Lozier) Date: Fri, 2 Nov 2007 13:56:40 -0500 Subject: NSClient++ install: "Too big to fit in memory" In-Reply-To: References: Message-ID: In case any of you should run into this issue in the future, I discovered what was causing this problem: When I pulled the files from off of our storage server, they must have gotten corrupted in the process. I re-transferred the NSClient to the client machine I want to manage, and re-ran the C:\> nsclient++ /install command - all is well now. Thank you, --- Matt Lozier Network Administrator 972.644.2581, ext. 248 972.661.2701 fax The information contained in this message or any attached document is confidential and intended only for the individual(s) or entity to which it is addressed. The information should be considered privileged and confidential. If you are not the intended recipient, you are hereby notified that any unauthorized use of the information contained in or transmitted with the communication, or dissemination, distribution, or copying of this communication is strictly prohibited by law. If you have received this communication in error, please inform the sender by immediately returning this communication to the sender and then deleting the original message and any copy of it in your possession. _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Matt Lozier Sent: Monday, October 29, 2007 12:24 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSClient++ install: "Too big to fit in memory" Hello, Has anyone ever run into this problem before when trying to install the NSClient as a service? At the command prompt I run: C:\> nsclient++ /install and the program reports "Too big to fit in memory" and finishes out. The service isn't installed - just closes out. Any input is appreciated! Thanks, --- Matt Lozier Network Administrator 972.644.2581, ext. 248 972.661.2701 fax The information contained in this message or any attached document is confidential and intended only for the individual(s) or entity to which it is addressed. The information should be considered privileged and confidential. If you are not the intended recipient, you are hereby notified that any unauthorized use of the information contained in or transmitted with the communication, or dissemination, distribution, or copying of this communication is strictly prohibited by law. If you have received this communication in error, please inform the sender by immediately returning this communication to the sender and then deleting the original message and any copy of it in your possession. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 3595 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 3595 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jriggin at gmail.com Fri Nov 2 19:58:39 2007 From: jriggin at gmail.com (Jerad Riggin) Date: Fri, 2 Nov 2007 13:58:39 -0500 Subject: Downtime scheduling Message-ID: <66955c170711021158r15fb35f1k3503ccfd33c8afb1@mail.gmail.com> What is the best way to allow for a 1-4AM outage on a few hosts? A cron job that will schedule it every night, or through time periods? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 llow at telesphere.com Fri Nov 2 20:03:27 2007 From: llow at telesphere.com (Larry Low) Date: Fri, 2 Nov 2007 12:03:27 -0700 Subject: Downtime scheduling In-Reply-To: <66955c170711021158r15fb35f1k3503ccfd33c8afb1@mail.gmail.com> References: <66955c170711021158r15fb35f1k3503ccfd33c8afb1@mail.gmail.com> Message-ID: <008601c81d83$0cd276e0$267764a0$@com> Timeperiods is the best idea. You can either use the notification_period or check_period depending on your end needs. ---- Larry Low 4150 N Drinkwater Blvd., 5th Floor Scottsdale, AZ 85251 Office: 480.385.7045 E-mail: llow at telesphere.com' Telesphere Networks, Inc From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jerad Riggin Sent: Friday, November 02, 2007 11:59 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Downtime scheduling What is the best way to allow for a 1-4AM outage on a few hosts? A cron job that will schedule it every night, or through time periods? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jriggin at gmail.com Fri Nov 2 20:05:28 2007 From: jriggin at gmail.com (Jerad Riggin) Date: Fri, 2 Nov 2007 14:05:28 -0500 Subject: Downtime scheduling In-Reply-To: <008601c81d83$0cd276e0$267764a0$@com> References: <66955c170711021158r15fb35f1k3503ccfd33c8afb1@mail.gmail.com> <008601c81d83$0cd276e0$267764a0$@com> Message-ID: <66955c170711021205i2ed15986q19b4911f5d0a9d74@mail.gmail.com> Thanks for the reply. Here is what I did.. define timeperiod{ timeperiod_name maintenance alias Maintenance period sunday 04:00-01:00 monday 04:00-01:00 tuesday 04:00-01:00 wednesday 04:00-01:00 thursday 04:00-01:00 friday 04:00-01:00 saturday 04:00-01:00 } And on the host check template I put maintenance in as the notification/check schedule. Will this work? On 11/2/07, Larry Low wrote: > > Timeperiods is the best idea. You can either use the notification_period > or check_period depending on your end needs. > > > > ---- > > Larry Low > > 4150 N Drinkwater Blvd., 5th Floor > > Scottsdale, AZ 85251 > > Office: 480.385.7045 > > E-mail: llow at telesphere.com' > > > > Telesphere Networks, Inc > > > > *From:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *Jerad Riggin > *Sent:* Friday, November 02, 2007 11:59 AM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Downtime scheduling > > > > What is the best way to allow for a 1-4AM outage on a few hosts? A cron > job that will schedule it every night, or through time periods? > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 nagios at cohen123.com Fri Nov 2 20:10:50 2007 From: nagios at cohen123.com (Tal Cohen) Date: Fri, 2 Nov 2007 15:10:50 -0400 Subject: Downtime scheduling In-Reply-To: <66955c170711021205i2ed15986q19b4911f5d0a9d74@mail.gmail.com> References: <66955c170711021158r15fb35f1k3503ccfd33c8afb1@mail.gmail.com><008601c81d83$0cd276e0$267764a0$@com> <66955c170711021205i2ed15986q19b4911f5d0a9d74@mail.gmail.com> Message-ID: <012f01c81d84$159935b0$5a01a8c0@D3233XB1> I don't know that Nagios will treat that right. I think you need to specify a time between 00:00 and 23:59. I would try 00:00-00:59,04:00-23:59 instead of 04:00-01:00 Tal _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jerad Riggin Sent: Friday, November 02, 2007 3:05 PM To: Larry Low Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Downtime scheduling Thanks for the reply. Here is what I did.. define timeperiod{ timeperiod_name maintenance alias Maintenance period sunday 04:00-01:00 monday 04:00-01:00 tuesday 04:00-01:00 wednesday 04:00-01:00 thursday 04:00-01:00 friday 04:00-01:00 saturday 04:00-01:00 } And on the host check template I put maintenance in as the notification/check schedule. Will this work? On 11/2/07, Larry Low wrote: Timeperiods is the best idea. You can either use the notification_period or check_period depending on your end needs. ---- Larry Low 4150 N Drinkwater Blvd., 5th Floor Scottsdale, AZ 85251 Office: 480.385.7045 E-mail: llow at telesphere.com' Telesphere Networks, Inc From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jerad Riggin Sent: Friday, November 02, 2007 11:59 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Downtime scheduling What is the best way to allow for a 1-4AM outage on a few hosts? A cron job that will schedule it every night, or through time periods? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 llow at telesphere.com Fri Nov 2 20:12:03 2007 From: llow at telesphere.com (Larry Low) Date: Fri, 2 Nov 2007 12:12:03 -0700 Subject: Downtime scheduling In-Reply-To: <66955c170711021205i2ed15986q19b4911f5d0a9d74@mail.gmail.com> References: <66955c170711021158r15fb35f1k3503ccfd33c8afb1@mail.gmail.com> <008601c81d83$0cd276e0$267764a0$@com> <66955c170711021205i2ed15986q19b4911f5d0a9d74@mail.gmail.com> Message-ID: <009e01c81d84$40833b90$c189b2b0$@com> You probably have to rewrite 04:00-01:00 to 00:00-01:00,04:00-24:00. ---- Larry Low 4150 N Drinkwater Blvd., 5th Floor Scottsdale, AZ 85251 Office: 480.385.7045 E-mail: llow at telesphere.com' Telesphere Networks, Inc From: Jerad Riggin [mailto:jriggin at gmail.com] Sent: Friday, November 02, 2007 12:05 PM To: Larry Low Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Downtime scheduling Thanks for the reply. Here is what I did.. define timeperiod{ timeperiod_name maintenance alias Maintenance period sunday 04:00-01:00 monday 04:00-01:00 tuesday 04:00-01:00 wednesday 04:00-01:00 thursday 04:00-01:00 friday 04:00-01:00 saturday 04:00-01:00 } And on the host check template I put maintenance in as the notification/check schedule. Will this work? On 11/2/07, Larry Low wrote: Timeperiods is the best idea. You can either use the notification_period or check_period depending on your end needs. ---- Larry Low 4150 N Drinkwater Blvd., 5th Floor Scottsdale, AZ 85251 Office: 480.385.7045 E-mail: llow at telesphere.com' Telesphere Networks, Inc From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jerad Riggin Sent: Friday, November 02, 2007 11:59 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Downtime scheduling What is the best way to allow for a 1-4AM outage on a few hosts? A cron job that will schedule it every night, or through time periods? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 smcavoy at ca.afilias.info Fri Nov 2 20:14:07 2007 From: smcavoy at ca.afilias.info (Sean McAvoy) Date: Fri, 2 Nov 2007 15:14:07 -0400 Subject: State changes and notifications Message-ID: If a service enters a non-OK state (OK -> Warning), is then acknowledged, and then enters a Critical state should not a notification be sent? I have a situation where this happens even with notification_options set to w,u,c,r for the template used by the service. Any insight is greatly appreciated. _sean ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Fri Nov 2 20:03:46 2007 From: ae at op5.se (Andreas Ericsson) Date: Fri, 02 Nov 2007 20:03:46 +0100 Subject: monitor EMC with nagios In-Reply-To: <834037.97993.qm@web23301.mail.ird.yahoo.com> References: <834037.97993.qm@web23301.mail.ird.yahoo.com> Message-ID: <472B7492.7090100@op5.se> trevor obba wrote: > > I have an EMC > CLARiiON AX150 I would like to monitor it with nagios.. > > > How do I monitor > my EMC?s disk usage, fan, power supply, battery, temperature and uptime using > Nagios? > > > what nagios plugin do i use to monitor the above? > Google's hit #5 when searching for +nagios +emc looks promising. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Fri Nov 2 20:09:31 2007 From: ae at op5.se (Andreas Ericsson) Date: Fri, 02 Nov 2007 20:09:31 +0100 Subject: Downtime scheduling In-Reply-To: <66955c170711021205i2ed15986q19b4911f5d0a9d74@mail.gmail.com> References: <66955c170711021158r15fb35f1k3503ccfd33c8afb1@mail.gmail.com> <008601c81d83$0cd276e0$267764a0$@com> <66955c170711021205i2ed15986q19b4911f5d0a9d74@mail.gmail.com> Message-ID: <472B75EB.1030702@op5.se> Jerad Riggin wrote: > Thanks for the reply. Here is what I did.. > > > define timeperiod{ > timeperiod_name maintenance > alias Maintenance period > sunday 04:00-01:00 > monday 04:00-01:00 > tuesday 04:00-01:00 > wednesday 04:00-01:00 > thursday 04:00-01:00 > friday 04:00-01:00 > saturday 04:00-01:00 > } > > And on the host check template I put maintenance in as the > notification/check schedule. Will this work? > Nopes. The start-hour must be less than the end-hour, or you'd overflow into the next day. Here's how to write it so you get what you want: 00:00-01:00,04:00-24:00 -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Tom.Kustner at RetirementPartner.com Fri Nov 2 21:45:55 2007 From: Tom.Kustner at RetirementPartner.com (Kustner, Tom) Date: Fri, 2 Nov 2007 14:45:55 -0600 Subject: Monitoring ARCserve services Message-ID: <3DF5F6C356295B45B46242F57F4185E009579C47@ITS-EXMBX2.its.corp.gwl.com> [Note that I am a Nagios end-user, not the administrator. Someone at HQ runs the box.] We currently use Nagios 1.2. We have a Windows Server 2003 server running the latest ARCserve (11.5 SP3). We have basic monitoring of the box via Nagios but are looking for a way to monitor the ARCserve-specific services, including: [Running] CA BrightStor Database Engine [Running] CA BrightStor Discovery Service [Running] CA BrightStor Job Engine [Running] CA BrightStor Message Engine [Running] CA BrightStor Service Controller [Running] CA BrightStor Tape Engine [Running] CA BrightStor Domain Server This is not about an ARCserve trap for detecting failed jobs. Rather, we just want to be alerted when these specific services go down or up. Any suggestions? What could I pass on to our Nagios admin? Tom Kustner MCSE, CNE Systems Administrator Inside: 68728 Outside: 414-906-8728 Mobile: 414-559-0889 The information contained in this message and any accompanying attachments may contain privileged, private and/or confidential information protected by state and federal law. Penalties may be assessed for unauthorized use and/or disclosure. This message and any attachments are intended for the designated recipient only. If you have received this information in error, please notify the sender immediately and return or destroy the information. This e-mail transmission and any attachments are believed to have been sent free of any virus or other defect that might affect any computer system into which it is received and opened. It is, however, the recipient's responsibility to ensure that the e-mail transmission and any attachments are virus free, and the sender accepts no responsibility for any damage that may in any way arise from their use. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Fri Nov 2 22:47:02 2007 From: marc at ena.com (Marc Powell) Date: Fri, 2 Nov 2007 16:47:02 -0500 Subject: Monitoring ARCserve services In-Reply-To: <3DF5F6C356295B45B46242F57F4185E009579C47@ITS-EXMBX2.its.corp.gwl.com> References: <3DF5F6C356295B45B46242F57F4185E009579C47@ITS-EXMBX2.its.corp.gwl.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Kustner, Tom > Sent: Friday, November 02, 2007 3:46 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitoring ARCserve services > > [Note that I am a Nagios end-user, not the administrator. Someone at HQ > runs the box.] > > We currently use Nagios 1.2. We have a Windows Server 2003 server running > the latest ARCserve (11.5 SP3). We have basic monitoring of the box via > Nagios but are looking for a way to monitor the ARCserve-specific > services, including: > > This is not about an ARCserve trap for detecting failed jobs. Rather, we > just want to be alerted when these specific services go down or up. Any > suggestions? What could I pass on to our Nagios admin? The standard Windows monitoring addons (nsclient, nsclient++, others) have the ability to check the running state of specific services. Your request doesn't seem special in that regard. If you're monitoring anything local about a windows machine now (disk, memory, cpu, etc), chances are you're already using something that supports it. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Roger at NagiosWiki.com Fri Nov 2 23:19:53 2007 From: Roger at NagiosWiki.com (Roger) Date: Fri, 2 Nov 2007 15:19:53 -0700 Subject: problems defining contact_groups in "definehostgroup" section In-Reply-To: References: <2b7af7c40711011706y38e0edcfib5ff9b1b9f3983c5@mail.gmail.com> Message-ID: <2b7af7c40711021519w1f00a73bi75a4866e182eb02@mail.gmail.com> > It's generating config files that are compatible with 1.x, not 2.x. > There were several config changes made between the versions such as this > change to where contact_groups are associated to hosts. It seems that > nmap2nagios hasn't been updated since April 2003 (at least from the > sourceforge page). Thanks, that helped a lot. For those interested, I made a wiki entry on some of these quirks and how to fix them. http://nagioswiki.com/wiki/index.php/Autocreating_Nagios_Configuration_with_Nmap_and_Nmap2Nagios.pl ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 dermoth at aei.ca Sat Nov 3 03:34:50 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 02 Nov 2007 22:34:50 -0400 Subject: Subject Line In-Reply-To: <00d001c81a6b$9fe8b4f0$0402010a@nspire.co.nz> References: <00d001c81a6b$9fe8b4f0$0402010a@nspire.co.nz> Message-ID: <472BDE4A.6040702@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 29/10/07 04:38 PM, Mike Hawley wrote: > Hi guys and girls, can anyone let me know how I add a subject, and display > the sent to (to:) line to the emails that leave the Nagios server. > > I am running Nagios 3.0b5 on a OpenSuSe server, with Sendmail 8.13. Here's an example of notification command (It's one line, please ignore line warps): command_line /bin/echo -e "From: $USER6$\nTo: $CONTACTEMAIL$\nSubject: $NOTIFICATIONTYPE$: $SERVICEDESC$ $SERVICESTATE$\n\n$HOSTALIAS$: $SERVICEDESC$: $SERVICESTATE$\n\nPlugin output: $SERVICEOUTPUT$\n\n$SERVICEACTIONURL$" | sendmail -t -f $USER6$ -i $CONTACTEMAIL$ It has to follow the standard for SMTP emails (Headers, one blank line then the body). Note that the "From:" and "To:" headers have nothing to do with proper message delivery; message is only delivered to envelope TO addresses (sendmail last argument in this example) and bounces are sent back to the envelope FROM address (set with sendmail -f switch). In the example above I set the From Address (%USER6$) in both the message header and envelope, so that undeliverable bounces are sent back to that address instead of the local user on the server. There might be some additional sendmail configuration needed. I think you might have to add the Nagios user to the trusted users list to allow it forging the FROM headers. If you want to send external emails (i.e. pager emails, etc) your server's external IP should forward and reverse lookup properly in DNS (it doesn't have to be reachable from the outside though). If the external domain associated to the IP is different than the server's domainname then you will need to set up masquerading in sendmail as well. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHK95K6dZ+Kt5BchYRApubAKCWlSRylq4y+XBw+V6gmGUA2qgedACfWVpF Ga+iW5eifAnLuyICCgjKKj4= =x9hW -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 dermoth at aei.ca Sat Nov 3 03:43:53 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 02 Nov 2007 22:43:53 -0400 Subject: Check disk In-Reply-To: <39135.87.78.157.242.1193731796.squirrel@81.169.132.64> References: <72f6f4340710300023m436030b1ra4bc2379c42cd0cf@mail.gmail.com> <39135.87.78.157.242.1193731796.squirrel@81.169.132.64> Message-ID: <472BE069.6090307@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 30/10/07 04:09 AM, Dennis H?nseler wrote: > Hi, > > in nagios 3.0 for example use a service-definition like > > check_command check_local_disk!20!10!/var > > where > 20 stands for the warning level of 20 % free > 10 stands for the critical level of 10 % free > /var gives the script the system-path to check > > this will make a check like: > check_disk -w 20 -c 10 -p /var > DISK OK - free space: /var 10538 MB (56% inode=99%);| > /var=8147MB;19665;19675;0;19685 You won't go very far by monitoring only local disks. You should install Nagios-plugins and nrpe on the remote Linux hosts, then set up check_nrpe to check the remote hosts. Unless you want to go the totally unsafe way the disk arguments will be set up on the remote server's NRPE config. This makes systems-wide change taking longer (you have to change the config on each server) but OTOH it can allow fine tuning the disk (and other) checks on servers while keeping a very simple Nagios config (ex. one disk check for all linux-based hostgroups). For simplicity I even check the local host trough NRPE as it avoid having a separate configuration for local checks. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHK+Bp6dZ+Kt5BchYRAnXiAJ4zislaSUN/boM4d6yii22EFMHfeQCg2Beq AGK/uSLmyK8t789oMa/ZE4Q= =QS7L -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 dermoth at aei.ca Sat Nov 3 04:31:07 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 02 Nov 2007 23:31:07 -0400 Subject: Nagios service latency In-Reply-To: References: Message-ID: <472BEB7B.9010601@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 30/10/07 08:29 AM, Marc Powell wrote: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of sunchai (gillnaldo : sun) >> Sent: Tuesday, October 30, 2007 7:01 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Nagios service latency >> >> Hi all, >> >> I faced problem with nagios service latency. My requirement is > active >> service monitoring to router/ network device using "SNMP" and "Ping" >> command. My environment is big router with ~100 services per device. >> >> How can I optimized nagios config? Thank in advance. >> >> Note: I have information below >> ########## nagios -s ################ >> HOST SCHEDULING INFORMATION >> --------------------------- >> Total hosts: 173 >> Total scheduled hosts: 173 > > If this is nagios-2.x or prior, do not force scheduled host checks. You > don't need to because Nagios will perform them on an as needed basis by > default when a service on the host returns a non-ok state. > > When those versions of nagios perform host checks, they're done > sequentially, not in parallel, and _nothing_ else happens, not even > service checks. This introduces significant delays, especially when > you're trying to complete many service checks in a short interval. Something that can help as well is having the host check return as fast as possible. On my servers I use check_icmp (faster than check_ping since it has native ICMP support), the check sends only one ping and timeout after one second (the minimum): # 'check_host-alive' command definition define command{ command_name check-host-alive command_line $USER1$/check_icmp -H $HOSTADDRESS$ -w 300.00,80% -c 500.00,100% -p 1 -t 1 } If you have a few routers down you can also alleviate the load by disabling active checks on them until they're back up (otherwise each failing service check on them will force running a 1-second host check in serial). The definitive answer to your problem will be in Nagios 3 with host check caching... Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHK+t76dZ+Kt5BchYRAis9AKDnVAQBsC31hCn68f1OxxKqeemNSQCgqgIh j1zJd1qumWpWVM2wEFKPruU= =nemK -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 gurdeep_chd2000 at yahoo.com Sat Nov 3 08:48:06 2007 From: gurdeep_chd2000 at yahoo.com (gurdeep johal) Date: Sat, 3 Nov 2007 00:48:06 -0700 (PDT) Subject: Could not read host and service status information! Message-ID: <639931.73303.qm@web53007.mail.re2.yahoo.com> Hi I am new in Nagios. I am receving this error when I browsing Nagios console. And when I trying to start or Restart Nagios Service I am reciving this Error "Config Error! Start Aborted. Check your Nagios Configuration". But I have checked my Configuration file. and I have read the Documentation File two time. May I am doing some thing wrong. Can anyboddy suggest me avoid this problem. Gurdeep Singh __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 ae at op5.se Sat Nov 3 10:03:30 2007 From: ae at op5.se (Andreas Ericsson) Date: Sat, 03 Nov 2007 10:03:30 +0100 Subject: Nagios service latency In-Reply-To: <472BEB7B.9010601@aei.ca> References: <472BEB7B.9010601@aei.ca> Message-ID: <472C3962.6070305@op5.se> Thomas Guyot-Sionnest wrote: > > Something that can help as well is having the host check return as fast > as possible. If that's what you're after ... > On my servers I use check_icmp (faster than check_ping > since it has native ICMP support), the check sends only one ping and > timeout after one second (the minimum): > > # 'check_host-alive' command definition > define command{ > command_name check-host-alive > command_line $USER1$/check_icmp -H $HOSTADDRESS$ -w 300.00,80% -c > 500.00,100% -p 1 -t 1 > } > Turn this into # 'check_host-alive' command definition define command{ command_name check-host-alive command_line $USER1$/check_host -H $HOSTADDRESS$ } after having done ln -s check_icmp check_host in whatever directory your plugins reside in. Then you can lower the max_check_attempts and still get the fast behaviour, because check_icmp, when working in check_host mode, will return immediately upon the first correctly received icmp response, but try several times, thus saving you 3 fork()/exec() for each attempt while maintaining precision. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 fvanhee at gmail.com Sat Nov 3 10:05:03 2007 From: fvanhee at gmail.com (Vanhee Frederik) Date: Sat, 03 Nov 2007 10:05:03 +0100 Subject: Could not read host and service status information! In-Reply-To: <639931.73303.qm@web53007.mail.re2.yahoo.com> References: <639931.73303.qm@web53007.mail.re2.yahoo.com> Message-ID: <472C39BF.1080103@gmail.com> gurdeep johal wrote: > Hi > > I am new in Nagios. I am receving this error when I browsing Nagios > console. And when I trying to start or Restart Nagios Service I am > reciving this Error "Config Error! Start Aborted. Check your Nagios > Configuration". But I have checked my Configuration file. and I have > read the Documentation File two time. May I am doing some thing wrong. > Can anyboddy suggest me avoid this problem. > > > > Gurdeep Singh > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 Try starting nagios with the -v option, then it shows you were the errors are. Frederik ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hvdkooij at vanderkooij.org Sat Nov 3 10:15:02 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 03 Nov 2007 10:15:02 +0100 Subject: Could not read host and service status information! In-Reply-To: <639931.73303.qm@web53007.mail.re2.yahoo.com> References: <639931.73303.qm@web53007.mail.re2.yahoo.com> Message-ID: <472C3C16.3060109@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 gurdeep johal wrote: > I am new in Nagios. I am receving this error when I browsing Nagios > console. And when I trying to start or Restart Nagios Service I am > reciving this Error "Config Error! Start Aborted. Check your Nagios > Configuration". But I have checked my Configuration file. and I have > read the Documentation File two time. May I am doing some thing wrong. > Can anyboddy suggest me avoid this problem. Unfortunatly you are not telling us any relevant information. Nagios version? Wjhat OS? How did you install it? What is your config directory? Does your nagios startup pick the right configuration? Output of nagios -v? There is a host of information for you to tell us. Besides the name we only know that some version of nagios is not running. Beyond what you tell us of your setup we know nothing at all about it. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHLDwUBvzDRVjxmYERApMyAKCDsR+7wVK7tvG2q5Tqsi6oIX7SwwCguV2R 4Q9B3hqWeDLMZt2nCVWxjfU= =dIS4 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 gurdeep_chd2000 at yahoo.com Sat Nov 3 10:46:54 2007 From: gurdeep_chd2000 at yahoo.com (gurdeep johal) Date: Sat, 3 Nov 2007 02:46:54 -0700 (PDT) Subject: Could not read host and service status information! In-Reply-To: <472C3C16.3060109@vanderkooij.org> References: <472C3C16.3060109@vanderkooij.org> Message-ID: <21717.56378.qm@web53004.mail.re2.yahoo.com> Hi, Iam using Centos 5 Linux. I have installed Nagios by RPM package. main file are in /etc/nagios/ when I run Command /etc/nagios/nagios.cfg -v. error comes permission denied. Hugo van der Kooij wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 gurdeep johal wrote: > I am new in Nagios. I am receving this error when I browsing Nagios > console. And when I trying to start or Restart Nagios Service I am > reciving this Error "Config Error! Start Aborted. Check your Nagios > Configuration". But I have checked my Configuration file. and I have > read the Documentation File two time. May I am doing some thing wrong. > Can anyboddy suggest me avoid this problem. Unfortunatly you are not telling us any relevant information. Nagios version? Wjhat OS? How did you install it? What is your config directory? Does your nagios startup pick the right configuration? Output of nagios -v? There is a host of information for you to tell us. Besides the name we only know that some version of nagios is not running. Beyond what you tell us of your setup we know nothing at all about it. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHLDwUBvzDRVjxmYERApMyAKCDsR+7wVK7tvG2q5Tqsi6oIX7SwwCguV2R 4Q9B3hqWeDLMZt2nCVWxjfU= =dIS4 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Gurdeep Singh __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hvdkooij at vanderkooij.org Sat Nov 3 11:50:38 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 03 Nov 2007 11:50:38 +0100 Subject: Could not read host and service status information! In-Reply-To: <21717.56378.qm@web53004.mail.re2.yahoo.com> References: <21717.56378.qm@web53004.mail.re2.yahoo.com> Message-ID: <472C527E.70601@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 gurdeep johal wrote: > Iam using Centos 5 Linux. I have installed Nagios by RPM package. main > file are in /etc/nagios/ when I run Command /etc/nagios/nagios.cfg -v. > error comes permission denied. That is a completely invalid command. How do you expect to run a config file? Use `nagios -v nagios.cfg` as instructed previously by Frederick and documented in the manual: http://nagios.sourceforge.net/docs/2_0/verifyconfig.html If you did just read a REAMDME file you may take some time and go over the full manual (http://nagios.sourceforge.net/docs/) as it contains quite a bit of usefull information. Hugo. PS: Please observe long established mailinglist quoting procedures. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHLFJ8BvzDRVjxmYERAq53AJwNtjULju1X4eqs3AeuiXIp0wm4mQCfSc9A 2+cbPMUZMGQXEsIuLtEI1Bs= =laB4 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 gurdeep_chd2000 at yahoo.com Sat Nov 3 12:33:59 2007 From: gurdeep_chd2000 at yahoo.com (gurdeep johal) Date: Sat, 3 Nov 2007 04:33:59 -0700 (PDT) Subject: Could not read host and service status information! In-Reply-To: <472C527E.70601@vanderkooij.org> References: <472C527E.70601@vanderkooij.org> Message-ID: <410121.16459.qm@web53005.mail.re2.yahoo.com> Thanks for all support. I have checked my configuration. I was using wrong commands. now its running fine Thanks Hugo van der Kooij wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 gurdeep johal wrote: > Iam using Centos 5 Linux. I have installed Nagios by RPM package. main > file are in /etc/nagios/ when I run Command /etc/nagios/nagios.cfg -v. > error comes permission denied. That is a completely invalid command. How do you expect to run a config file? Use `nagios -v nagios.cfg` as instructed previously by Frederick and documented in the manual: http://nagios.sourceforge.net/docs/2_0/verifyconfig.html If you did just read a REAMDME file you may take some time and go over the full manual (http://nagios.sourceforge.net/docs/) as it contains quite a bit of usefull information. Hugo. PS: Please observe long established mailinglist quoting procedures. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHLFJ8BvzDRVjxmYERAq53AJwNtjULju1X4eqs3AeuiXIp0wm4mQCfSc9A 2+cbPMUZMGQXEsIuLtEI1Bs= =laB4 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 gurdeep_chd2000 at yahoo.com Sat Nov 3 13:37:34 2007 From: gurdeep_chd2000 at yahoo.com (gurdeep johal) Date: Sat, 3 Nov 2007 05:37:34 -0700 (PDT) Subject: not scanning network Message-ID: <108972.29783.qm@web53003.mail.re2.yahoo.com> Hi When I am checking host detail. there is showing only my localhost pc. how it will scan for all network Gurdeep Singh __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Sat Nov 3 14:30:47 2007 From: marc at ena.com (Marc Powell) Date: Sat, 3 Nov 2007 08:30:47 -0500 Subject: not scanning network In-Reply-To: <108972.29783.qm@web53003.mail.re2.yahoo.com> References: <108972.29783.qm@web53003.mail.re2.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of gurdeep johal > Sent: Saturday, November 03, 2007 7:38 AM > To: Nagios > Subject: [Nagios-users] not scanning network > > Hi > When I am checking host detail. there is showing only my localhost pc. how > it will scan for all network Nagios doesn't automatically scan networks. You must add host{} and service{} definitions for those things you are interested in monitoring. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 dermoth at aei.ca Sun Nov 4 15:42:56 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sun, 04 Nov 2007 09:42:56 -0500 Subject: Nagios service latency In-Reply-To: <472C3962.6070305@op5.se> References: <472BEB7B.9010601@aei.ca> <472C3962.6070305@op5.se> Message-ID: <472DDA70.9080508@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/11/07 05:03 AM, Andreas Ericsson wrote: > Thomas Guyot-Sionnest wrote: >> >> Something that can help as well is having the host check return as fast >> as possible. > > If that's what you're after ... It helped a lot reducing the check latency on my systems. It's running over 1000 checks/minute with near-0 latency (the latency climbs if there's a few hosts going down though, because the host check for down hosts is run more often and takes longer - I'll work on this when I upgrade to Nagios 3). The CPUs are used at about 50%. >> On my servers I use check_icmp (faster than check_ping >> since it has native ICMP support), the check sends only one ping and >> timeout after one second (the minimum): >> >> # 'check_host-alive' command definition >> define command{ >> command_name check-host-alive >> command_line $USER1$/check_icmp -H $HOSTADDRESS$ -w 300.00,80% -c >> 500.00,100% -p 1 -t 1 >> } >> > > Turn this into > # 'check_host-alive' command definition > define command{ > command_name check-host-alive > command_line $USER1$/check_host -H $HOSTADDRESS$ > } This gives the same result for up hosts, but takes 20 times longer on unreachable hosts: $ time ./check_icmp -H 1.1.1.1 -w 300.00,80% -c 500.00,100% -p 1 -t 1 CRITICAL - 1.1.1.1: rta nan, lost 100%|rta=0.000ms;300.000;500.000;0; pl=100%;80;100;; real 0m0.506s user 0m0.000s sys 0m0.004s $ time ./check_host -H 1.1.1.1 CRITICAL - 1.1.1.1: rta nan, lost 100%|rta=0.000ms;1000.000;1000.000;0; pl=100%;100;100;; real 0m10.006s user 0m0.000s sys 0m0.000s So it's definitely not an option. I could further reduce the timeout by using lower thresholds but I wanted to stay on the safe side... Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHLdpw6dZ+Kt5BchYRAps7AJ0Wbe7PGaFPWclv4/Azb4JAegm1GgCfQAUH gd6+7IvapRchw+Ax8gtvmBk= =cWdv -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 cedric.temple at linagora.com Sun Nov 4 16:34:26 2007 From: cedric.temple at linagora.com (=?iso-8859-1?q?C=E9dric_TEMPLE?=) Date: Sun, 4 Nov 2007 16:34:26 +0100 Subject: Nagios Huge Installation (15000 hosts) - Problem In-Reply-To: <02dd01c81c57$afaf68a0$651e6a0a@sovintel.net> References: <20071031153615.3B1E3580017@desire.netways.de> <02dd01c81c57$afaf68a0$651e6a0a@sovintel.net> Message-ID: <200711041634.26259.cedric.temple@linagora.com> On Thursday 01 November 2007 08:20:31 Alexander Bespalov wrote: > Hi, Hi, > We are trying to use Nagios to monitor (just ping) very large network > (15000 hosts). [...] > I think the the main problem is in the check_result_reaper_frequency=10 and > max_check_result_reaper_time=60 parameters in the central process. Could > you please recommend me proper values for this parameters? Try: check_result_reaper_frequency=2 Regards. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 bespalov at sovintel.ru Sun Nov 4 17:40:59 2007 From: bespalov at sovintel.ru (Alexander Bespalov) Date: Sun, 4 Nov 2007 17:40:59 +0100 (CET) Subject: Nagios Huge Installation (15000 hosts) - Problem In-Reply-To: <200711041634.26259.cedric.temple@linagora.com> References: <200711041634.26259.cedric.temple@linagora.com> Message-ID: <20071104164059.4EEF158800B@desire.netways.de> Thank you! I will try it. Should I change the 'max_check_result_reaper_time' paremeter? How can I calculate the values for my installation (it is insufficient information in the documentation)? What is the largest Nagios installation do you know? -- Alexander Bespalov Golden Telecom, Moscow, Russia ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Sun Nov 4 17:48:59 2007 From: ae at op5.se (Andreas Ericsson) Date: Sun, 04 Nov 2007 17:48:59 +0100 Subject: Nagios service latency In-Reply-To: <472DDA70.9080508@aei.ca> References: <472BEB7B.9010601@aei.ca> <472C3962.6070305@op5.se> <472DDA70.9080508@aei.ca> Message-ID: <472DF7FB.1080203@op5.se> Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 03/11/07 05:03 AM, Andreas Ericsson wrote: >> Thomas Guyot-Sionnest wrote: >>> Something that can help as well is having the host check return as fast >>> as possible. >> If that's what you're after ... > > It helped a lot reducing the check latency on my systems. It's running > over 1000 checks/minute with near-0 latency (the latency climbs if > there's a few hosts going down though, because the host check for down > hosts is run more often and takes longer - I'll work on this when I > upgrade to Nagios 3). The CPUs are used at about 50%. > >>> On my servers I use check_icmp (faster than check_ping >>> since it has native ICMP support), the check sends only one ping and >>> timeout after one second (the minimum): >>> >>> # 'check_host-alive' command definition >>> define command{ >>> command_name check-host-alive >>> command_line $USER1$/check_icmp -H $HOSTADDRESS$ -w 300.00,80% -c >>> 500.00,100% -p 1 -t 1 >>> } >>> >> Turn this into >> # 'check_host-alive' command definition >> define command{ >> command_name check-host-alive >> command_line $USER1$/check_host -H $HOSTADDRESS$ >> } > > This gives the same result for up hosts, but takes 20 times longer on > unreachable hosts: > > $ time ./check_icmp -H 1.1.1.1 -w 300.00,80% -c 500.00,100% -p 1 -t 1 > CRITICAL - 1.1.1.1: rta nan, lost 100%|rta=0.000ms;300.000;500.000;0; > pl=100%;80;100;; > > real 0m0.506s > user 0m0.000s > sys 0m0.004s > $ time ./check_host -H 1.1.1.1 > CRITICAL - 1.1.1.1: rta nan, lost 100%|rta=0.000ms;1000.000;1000.000;0; > pl=100%;100;100;; > > real 0m10.006s > user 0m0.000s > sys 0m0.000s > > So it's definitely not an option. I could further reduce the timeout by > using lower thresholds but I wanted to stay on the safe side... > You have check_attempts set to 1 for your hosts? Doesn't that generate an awful amount of false positives? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 cedric.temple at linagora.com Sun Nov 4 17:59:39 2007 From: cedric.temple at linagora.com (=?iso-8859-1?q?C=E9dric_TEMPLE?=) Date: Sun, 4 Nov 2007 17:59:39 +0100 Subject: Nagios Huge Installation (15000 hosts) - Problem In-Reply-To: <20071104164059.4EEF158800B@desire.netways.de> References: <200711041634.26259.cedric.temple@linagora.com> <20071104164059.4EEF158800B@desire.netways.de> Message-ID: <200711041759.39212.cedric.temple@linagora.com> On Sunday 04 November 2007 17:40:59 Alexander Bespalov wrote: > Thank you! > > I will try it. OK. Could you send the results please? > Should I change the 'max_check_result_reaper_time' paremeter? I don't known. I play a lot with with nagios 2.x version, not for the 3.x. This parameter is introduced in the 3.x version. The setting i told you before works great for 2.x. > What is the largest Nagios installation do you know? up to 33 000 services (with 3 distributed servers and 1 central server). You could have more than 33 000 services with 15 000 hosts... Hope it helps. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 dermoth at aei.ca Sun Nov 4 18:23:39 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sun, 04 Nov 2007 12:23:39 -0500 Subject: Check disk In-Reply-To: <72f6f4340711030227t282b306dvab9805ec5c8045f@mail.gmail.com> References: <72f6f4340710300023m436030b1ra4bc2379c42cd0cf@mail.gmail.com> <39135.87.78.157.242.1193731796.squirrel@81.169.132.64> <472BE069.6090307@aei.ca> <72f6f4340711030227t282b306dvab9805ec5c8045f@mail.gmail.com> Message-ID: <472E001B.6080902@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/11/07 05:27 AM, Jacques FAN wrote: > Thanks Thomas, > > If I understanding your answer, so I must install nagios plugin as I did > for Windows computer? There's no Nagios-plugins for Windows (maybe you were talking about NRPE-NT, NSClient or NC_Net...). You should have check_nrpe on the Nagios server and NRPE running on the remote computer. The NRPE config on remote side has nrpe commands associated to real system commands so that when you do: $ ./check_nrpe -H remote_server -c command_name the system command associated to "command_name" on the remote_server is run and returns back to check_nrpe. The Nagios-plugins usually have to be be installed on the remote server as well so you can have a basic set of monitoring command to run. There's certainly some documentation about it on the Nagios web site. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHLgAb6dZ+Kt5BchYRAlksAKDZ+1Enpfs2GPwBI1bkMRhFh09hEQCfZ2CQ AUJkb0rHT9fStT099BjV2Ec= =yt4k -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 dermoth at aei.ca Sun Nov 4 18:34:24 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sun, 04 Nov 2007 12:34:24 -0500 Subject: Nagios service latency In-Reply-To: <472DF7FB.1080203@op5.se> References: <472BEB7B.9010601@aei.ca> <472C3962.6070305@op5.se> <472DDA70.9080508@aei.ca> <472DF7FB.1080203@op5.se> Message-ID: <472E02A0.8050408@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/11/07 11:48 AM, Andreas Ericsson wrote: > Thomas Guyot-Sionnest wrote: >> >> This gives the same result for up hosts, but takes 20 times longer on >> unreachable hosts: >> >> $ time ./check_icmp -H 1.1.1.1 -w 300.00,80% -c 500.00,100% -p 1 -t 1 >> CRITICAL - 1.1.1.1: rta nan, lost 100%|rta=0.000ms;300.000;500.000;0; >> pl=100%;80;100;; >> >> real 0m0.506s >> user 0m0.000s >> sys 0m0.004s >> $ time ./check_host -H 1.1.1.1 >> CRITICAL - 1.1.1.1: rta nan, lost 100%|rta=0.000ms;1000.000;1000.000;0; >> pl=100%;100;100;; >> >> real 0m10.006s >> user 0m0.000s >> sys 0m0.000s >> >> So it's definitely not an option. I could further reduce the timeout by >> using lower thresholds but I wanted to stay on the safe side... >> > > You have check_attempts set to 1 for your hosts? Doesn't that generate an > awful amount of false positives? Max check attempts is set to three. According to Nagios documentation it's much more performant to have a faster host check and more check attempts than one check attempt that takes longer (i.e. sending multiple packets). The performance problem people usually get is not related to server performance (i.e. number of forks, cou used, etc) but the time Nagios spend waiting for host check results (as it's doing nothing else during that time). Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHLgKg6dZ+Kt5BchYRAq87AKDEfQuVPbTtF4xSz7gjdnMTAqTQwgCgiHsG FZNSq9ozRdz9wD1FjSUIHbk= =lvzZ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 bespalov at sovintel.ru Sun Nov 4 18:47:46 2007 From: bespalov at sovintel.ru (Alexander Bespalov) Date: Sun, 4 Nov 2007 18:47:46 +0100 (CET) Subject: Nagios Huge Installation (15000 hosts) - Problem In-Reply-To: <200711041759.39212.cedric.temple@linagora.com> References: <200711041759.39212.cedric.temple@linagora.com> Message-ID: <20071104174746.6FFF758800B@desire.netways.de> Ok, I will send you all the information. Do you know the hardware of the servers (I would like to compare it with hardware of my servers)? Currently I have: 1. ~15000 host checks (ping, every 15 min). Since 3.0 Nagios release all the host chacks parallelized. 2. ~27000 service checks (15000 ping, every 6 hours + 12000 SNMP checks, every 24 hours with event handlers to change some parameters via SNMP). -- Alexander Bespalov Golden Telecom, Moscow, Russia ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Sun Nov 4 18:55:25 2007 From: ae at op5.se (Andreas Ericsson) Date: Sun, 04 Nov 2007 18:55:25 +0100 Subject: Nagios service latency In-Reply-To: <472E02A0.8050408@aei.ca> References: <472BEB7B.9010601@aei.ca> <472C3962.6070305@op5.se> <472DDA70.9080508@aei.ca> <472DF7FB.1080203@op5.se> <472E02A0.8050408@aei.ca> Message-ID: <472E078D.8040909@op5.se> Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 04/11/07 11:48 AM, Andreas Ericsson wrote: >> Thomas Guyot-Sionnest wrote: >>> This gives the same result for up hosts, but takes 20 times longer on >>> unreachable hosts: >>> >>> $ time ./check_icmp -H 1.1.1.1 -w 300.00,80% -c 500.00,100% -p 1 -t 1 >>> CRITICAL - 1.1.1.1: rta nan, lost 100%|rta=0.000ms;300.000;500.000;0; >>> pl=100%;80;100;; >>> >>> real 0m0.506s >>> user 0m0.000s >>> sys 0m0.004s >>> $ time ./check_host -H 1.1.1.1 >>> CRITICAL - 1.1.1.1: rta nan, lost 100%|rta=0.000ms;1000.000;1000.000;0; >>> pl=100%;100;100;; >>> >>> real 0m10.006s >>> user 0m0.000s >>> sys 0m0.000s >>> >>> So it's definitely not an option. I could further reduce the timeout by >>> using lower thresholds but I wanted to stay on the safe side... >>> >> You have check_attempts set to 1 for your hosts? Doesn't that generate an >> awful amount of false positives? > > Max check attempts is set to three. According to Nagios documentation > it's much more performant to have a faster host check and more check > attempts than one check attempt that takes longer (i.e. sending multiple > packets). > > The performance problem people usually get is not related to server > performance (i.e. number of forks, cou used, etc) but the time Nagios > spend waiting for host check results (as it's doing nothing else during > that time). > That's not strictly true. Each check run by Nagios needs three fork()'s and two exec()'s. For your case, you can achieve exactly the same thing, but with 6 fork()'s and 4 exec()'s less by using check_host -H $HOSTADDRESS$ -w -c -n 3 except that check_host will be a lot faster for the cases where the host has turned unreachable due to routing problems. OTOH, it'll be less work for you *not* to change it, so so long as that works. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 dermoth at aei.ca Sun Nov 4 20:33:11 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sun, 04 Nov 2007 14:33:11 -0500 Subject: Nagios service latency In-Reply-To: <472E078D.8040909@op5.se> References: <472BEB7B.9010601@aei.ca> <472C3962.6070305@op5.se> <472DDA70.9080508@aei.ca> <472DF7FB.1080203@op5.se> <472E02A0.8050408@aei.ca> <472E078D.8040909@op5.se> Message-ID: <472E1E77.6030706@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/11/07 12:55 PM, Andreas Ericsson wrote: > > That's not strictly true. Each check run by Nagios needs three fork()'s > and two exec()'s. For your case, you can achieve exactly the same thing, > but with 6 fork()'s and 4 exec()'s less by using > > check_host -H $HOSTADDRESS$ -w -c -n 3 > > except that check_host will be a lot faster for the cases where the host > has turned unreachable due to routing problems. > > OTOH, it'll be less work for you *not* to change it, so so long as that > works. I agree, but with Nagios, check_latency is usually *not* caused by system resources usage but rather by time spent waiting for hosts checks. In other words I do *not* care about system resources utilization if Nagios can't use them up which is currently the case. The way I do hosts checks is IMHO the fastest one from Nagios point of view, despite the fact that it can take more CPU cycles to get performed. My check send only one ICMP ping in most cases. If it's isn't answered it will retry up to two mote times (3 * 500 ms timeout max). That is tunable of course. Also I believe the packet interval in your test makes it take actually longer for the same number of unanswered packet with the same timeout. For Nagios 3 with host check caching your method is probably the best one though. BTW, this is probably tunable but for the records: $ time bash -c './check_host -H 1.1.1.1 -w 300.00,80% -c 500.00,100% -n 3' CRITICAL - 1.1.1.1: rta nan, lost 100%|rta=0.000ms;300.000;500.000;0; pl=100%;80;100;; real 0m4.517s user 0m0.004s sys 0m0.004s $ time bash -c 'for i in 1 2 3; do ./check_icmp -H 1.1.1.1 -w 300.00,80% - -c 500.00,100% -n 1 -t 10; done' CRITICAL - 1.1.1.1: rta nan, lost 100%|rta=0.000ms;300.000;500.000;0; pl=100%;80;100;; CRITICAL - 1.1.1.1: rta nan, lost 100%|rta=0.000ms;300.000;500.000;0; pl=100%;80;100;; CRITICAL - 1.1.1.1: rta nan, lost 100%|rta=0.000ms;300.000;500.000;0; pl=100%;80;100;; real 0m2.830s user 0m0.008s sys 0m0.000s Overall it's still faster to run 3 of my commands than one of yours on an unreachable host. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHLh536dZ+Kt5BchYRAj2xAKClPO5R3DPkHVjyTf/kmV6uSE2HmQCeOlb3 jw12wvk9pvmJ0Gejkq4+NCE= =y0O6 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 dermoth at aei.ca Sun Nov 4 22:22:49 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sun, 04 Nov 2007 16:22:49 -0500 Subject: NSCA, mcrypt and Solaris 10 x86 In-Reply-To: References: Message-ID: <472E3829.5020003@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 30/10/07 01:10 PM, Alloo, Vincent wrote: > Hello, > > > > I have an issue with NSCA on Solaris 10 x86 machine (SunOS svxnagios02 > 5.10 Generic_120012-14 i86pc i386 i86pc): > > > > On a Linux RH4 machine, no issue: > > % printf "toto\t0\tcomment\n" | /apps/nagios/libexec/send_nsca -H > monitoring -c /db/sysadmin/nagios/send_nsca.cfg > > 1 data packet(s) sent to host successfully. > > > > On a Solaris 10 x86 machine: > > --SSH-- > printf "toto\t0\tcomment\n" | /apps/nagios/libexec/send_nsca > -H monitoring -c /db/sysadmin/nagios/send_nsca.cfg > > Error: Failed to initialize encryption libraries for method 14 > > Segmentation fault > > > > If I select decryption_method=0 or 1, it works fine. > > > > The error message I have is: > > > > Oct 30 17:54:36 svxnagios02 send_nsca[22865]: [ID 334271 user.error] > Could not open mcrypt algorithm 'rijndael-128' with mode 'cfb' I'd guess your Solaris Mcrypt library doesn't have the Rijndael algorithm compiled in. The easiest way to fix would be to find an algo supported on all your servers. You can also uninstall Mcrypt and compile it from scratch, making sure it compiles in all the algorithms you need. Any method over 2 should be secure enough. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHLjgp6dZ+Kt5BchYRAnpkAJ9hG1PxSH581t99ANfl8ymRf6nRsgCeNuV5 fD8qmyxk8e95pVrECIUrKAw= =pcS9 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 dermoth at aei.ca Sun Nov 4 22:35:44 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sun, 04 Nov 2007 16:35:44 -0500 Subject: Distributed monitoring with nrpe_nt and freshness In-Reply-To: References: Message-ID: <472E3B30.3040809@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/11/07 01:11 PM, Jeff Shumard - DefenseWeb Technologies wrote: > We have our monitoring configured and everything is working great > checking all our windows servers through a single windows server running > nrpe_nt. The problem we are having is when one of our Linux Nagios > servers goes down and doesn't send any results to the master Nagios > server. When this happens and our 5 minute freshness hits it's > threshold. We start running active checks because we didn't receive any > passive updates from the server that went down. This sends a bunch of > checks to the windows server to run tests and we start getting unknown > status reports back to the master server with the result of "No output > available from command". Does anyone know if there is a max connection > on nrpe_nt or something else that maybe causing this? While I can't answer your question, I can suggest using check_dummy to set an UNKNOWN status to hosts not monitored. Is especially make sense if some of the hosts can't be monitored directly from the central server. Also are you sure the central server is allowed to talk to your nrpe_nt (IP access list)? Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHLjsw6dZ+Kt5BchYRAq6pAKDHXC7fjtgFNNTQUnJXrDXJxMDKAQCfftsa OTu41Chzk37uyYHRCU3x+eM= =VZZn -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 gurdeep_chd2000 at yahoo.com Mon Nov 5 08:41:50 2007 From: gurdeep_chd2000 at yahoo.com (gurdeep johal) Date: Sun, 4 Nov 2007 23:41:50 -0800 (PST) Subject: How to Scan network Message-ID: <259147.11871.qm@web53002.mail.re2.yahoo.com> I Have configured serveral cgi file in /etc/nagios/ hosts.cfg contactgroup.cfg timeperiod.cfg hostgroup.cfg now when I uncomment these files from nagios.cfg. nagios server service not starting. after comment these files its works fine. how many files I have to make and uncomment for just scanning network Gurdeep Singh __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 v-alloo at ti.com Mon Nov 5 09:50:26 2007 From: v-alloo at ti.com (Alloo, Vincent) Date: Mon, 5 Nov 2007 09:50:26 +0100 Subject: NSCA, mcrypt and Solaris 10 x86 In-Reply-To: <472E3829.5020003@aei.ca> References: <472E3829.5020003@aei.ca> Message-ID: Thomas, Thanks for your answer. Unfortunately, mcrypt was compiled from scratch (without problems). I have the same error with all algorithms. Did anyone have a NSCA setup running on Solaris 10 x86 platform with encryption? Regards, Vincent Alloo TI France Design Systems Operations Manager Europe and Middle East IT Services Texas Instruments France E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 00 80 -----Original Message----- From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca] Sent: Sunday, November 04, 2007 10:23 PM To: Alloo, Vincent Cc: Nagios Users mailinglist Subject: Re: [Nagios-users] NSCA, mcrypt and Solaris 10 x86 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 30/10/07 01:10 PM, Alloo, Vincent wrote: > Hello, > > > > I have an issue with NSCA on Solaris 10 x86 machine (SunOS svxnagios02 > 5.10 Generic_120012-14 i86pc i386 i86pc): > > > > On a Linux RH4 machine, no issue: > > % printf "toto\t0\tcomment\n" | /apps/nagios/libexec/send_nsca -H > monitoring -c /db/sysadmin/nagios/send_nsca.cfg > > 1 data packet(s) sent to host successfully. > > > > On a Solaris 10 x86 machine: > > --SSH-- > printf "toto\t0\tcomment\n" | /apps/nagios/libexec/send_nsca > -H monitoring -c /db/sysadmin/nagios/send_nsca.cfg > > Error: Failed to initialize encryption libraries for method 14 > > Segmentation fault > > > > If I select decryption_method=0 or 1, it works fine. > > > > The error message I have is: > > > > Oct 30 17:54:36 svxnagios02 send_nsca[22865]: [ID 334271 user.error] > Could not open mcrypt algorithm 'rijndael-128' with mode 'cfb' I'd guess your Solaris Mcrypt library doesn't have the Rijndael algorithm compiled in. The easiest way to fix would be to find an algo supported on all your servers. You can also uninstall Mcrypt and compile it from scratch, making sure it compiles in all the algorithms you need. Any method over 2 should be secure enough. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHLjgp6dZ+Kt5BchYRAnpkAJ9hG1PxSH581t99ANfl8ymRf6nRsgCeNuV5 fD8qmyxk8e95pVrECIUrKAw= =pcS9 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hpsekhon at googlemail.com Mon Nov 5 10:37:32 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 05 Nov 2007 09:37:32 +0000 Subject: Service checks In-Reply-To: <9A53DDE1FE082F4D952FDF20AC87E21F388F9E@exchange2.t8design.com> References: <66955c170711020837w29f1ba7se47e4bd9bb1f993b@mail.gmail.com> <472B45C3.7090208@googlemail.com> <66955c170711020847r27e10f89jc31b99422658ed6@mail.gmail.com> <472B47A0.7030203@googlemail.com><66955c170711020853kddca9c3me9c87b6db74652f1@mail.gmail.com> <472B49CF.2030408@googlemail.com> <9A53DDE1FE082F4D952FDF20AC87E21F388F9E@exchange2.t8design.com> Message-ID: <472EE45C.8090407@googlemail.com> You are correct, you can actually do this with a regex, I completely forgot about this option. Thanks for reminding me. If you are skilled with regex you can do this, although I think that the OP was looking for a way around having one service definition for all 4 web sites, and for this, I would think that separate service definitions are a little nicer than trying to put a square peg in a round hole. -h Hari Sekhon Jeff Chapin wrote: > I was under the impression that check_http has a regex option, meaning > you can pass it a regex that ought to be able to handle this. > > Jeff > > > > > JEFF CHAPIN > SYSTEM ADMINISTRATOR > T8DESIGN.COM | P 319.266.7574 - x267 | 877.T8IDEAS | F 888.290.4675 > > > This e-mail, including attachments, is covered by the Electronic > Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential, and > may be legally privileged. If you are not the intended recipient, you > are hereby notified that any retention, dissemination, distribution, or > copying of this communication is strictly prohibited. Please reply to > the sender that you have received the message in error, and then please > delete it. Thank you. > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari > Sekhon > Sent: Friday, November 02, 2007 11:01 AM > To: Jerad Riggin > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Service checks > > I've just tried this, using the standard check_http plugin you are > using. It appears not. > > As soon as one string is not found it goes critical. > > You could always write a custom plugin to test your websites, or much > more easily a shell wrapper plugin to call the first, if it fails, call > the second, and only if that fails go critical... not perfect though, a > better/custom plugin would serve you better. > > -h > > Hari Sekhon > > > > Jerad Riggin wrote: > >> In that case, is there a way to specify more than one possible string, >> > > >> so that for example if it can't find "Home", but it can find >> "Checkout", it considers the host up? >> >> On 11/2/07, *Hari Sekhon* > > wrote: >> >> yes you have to use a separate one for each site, how else would >> you be >> able to use a separate check? Unless you expect the word "Home" on >> each >> site and that is your string check. Another option is using Macros >> but I >> suspect this may not do what you want... >> >> -h >> >> Hari Sekhon >> >> >> >> Jerad Riggin wrote: >> > I've read the help docs, like I said I have a working >> > installation > >> > checking about 15 servers. I have a PING service that pings a >> > host > >> > group. I can't do that with this because I'm checking a >> > different > >> > string on each site, so i'm guessing it has to be separated >> out. Does >> > this make sense? >> > >> > On 11/2/07, *Hari Sekhon* < hpsekhon at googlemail.com >> >> > > >> wrote: >> > >> > You need to reread the docs, this is the most basic of >> questions. >> > >> > >> > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service > >> > >> > Hint: You are missing a service_description in the last >> block for one. >> > You should not have name in that last block either, you need >> > host_name. >> > >> > Read docs pls. >> > >> > -h >> > >> > Hari Sekhon >> > >> > >> > >> > Jerad Riggin wrote: >> > > I have a functioning nagios setup but I have a quick >> question. I am >> > > going through and adding website string checks so we can >> > keep > >> > track of >> > > availability on one of our webservers. >> > > >> > > So in services.cfg I have >> > > >> > > define service{ >> > > name generic-service ; >> Generic >> > > service name >> > > active_checks_enabled 1 ; >> Active >> > > service checks are enabled >> > > passive_checks_enabled 1 ; >> Passive >> > > service checks are enabled/accepted >> > > parallelize_check 1 ; >> Active >> > > service checks should be parallelized (Don't disable) >> > > obsess_over_service 1 ; >> We should >> > > obsess over this service (if necessary) >> > > check_freshness 0 ; >> > Default is >> > > to NOT check service 'freshness' >> > > notifications_enabled 1 ; >> Service >> > > notifications are enabled >> > > event_handler_enabled 1 ; >> Service >> > > event handler is enabled >> > > flap_detection_enabled 1 ; >> Flap >> > > detection is enabled >> > > process_perf_data 1 ; >> Process >> > > performance data >> > > retain_status_information 1 ; >> Retain >> > > status information across program restarts >> > > retain_nonstatus_information 1 ; >> Retain >> > > non-status information across program restarts >> > > register 0 ; >> DONT >> > > REGISTER THIS DEFINITION - NOT A REAL SERVICE, JUST A >> TEMPLATE! >> > > } >> > > >> > > define service{ >> > > use generic-service >> > > name basic-service >> > > is_volatile 0 >> > > check_period 24x7 >> > > max_check_attempts 5 >> > > normal_check_interval 3 >> > > retry_check_interval 1 >> > > notification_interval 15 >> > > notification_period 24x7 >> > > register 0 >> > > } >> > > >> > > I then have as just one example: >> > > >> > > define service{ >> > > use basic-service >> > > name check-site4 >> > > notification_options w,u,c,r >> > > check_command >> > check_http!site.com!20!"Home" >> > > register 0 >> > > } >> > > >> > > >> > > My question is, you notice that I have the name as >> check-site4, and >> > > then later on in the services.cfg I call up that >> > checksite-4. Is this >> > > the correct way? Do I need to define a service for each >> > host > >> > and then >> > > later on call it by name to execute the service check? Is >> this >> > a bad >> > > way of going about it? >> > > >> > > Thanks, >> > > >> > > Jerad >> > > >> > >> >> > ------------------------------------------------------------------------ > >> > > >> > > >> > >> >> > ------------------------------------------------------------------------ > - > >> > >> > > This SF.net email is sponsored by: Splunk Inc. >> > > Still grepping through log files to find problems? Stop. >> > > Now Search log events and configuration files using AJAX >> > and a > >> > browser. >> > > Download your FREE copy of Splunk now >> >> http://get.splunk.com/ >> > > >> > >> >> > ------------------------------------------------------------------------ > >> > > >> > > _______________________________________________ >> > > Nagios-users mailing list >> > > Nagios-users at lists.sourceforge.net >> >> > > > >> > > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > < https://lists.sourceforge.net/lists/listinfo/nagios-users> >> > > ::: 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 SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 fvanhee at gmail.com Mon Nov 5 10:42:09 2007 From: fvanhee at gmail.com (Frederik Vanhee) Date: Mon, 5 Nov 2007 10:42:09 +0100 Subject: How to Scan network In-Reply-To: <259147.11871.qm@web53002.mail.re2.yahoo.com> References: <259147.11871.qm@web53002.mail.re2.yahoo.com> Message-ID: <9c1cb51c0711050142m3dd41a1epceb7fef19322dcb6@mail.gmail.com> On 11/5/07, gurdeep johal wrote: > > I Have configured serveral cgi file in /etc/nagios/ > hosts.cfg > contactgroup.cfg > timeperiod.cfg > hostgroup.cfg > > now when I uncomment these files from nagios.cfg. nagios server service > not starting. after comment these files its works fine. how many files I > have to make and uncomment for just scanning network > > > > Gurdeep Singh > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 > Hello, you should really try and search some more yourself ! -As mentioned before, try execute nagios with the -v option to see where the errors are -You can try the default config filesthe developer has prepared for you -You should read the documentation about hosts,services,checkcommands,timeperiods,contacts, contactgroups... before building some config files Good luck, it will take some time, but believe me (and many others); it is worth the effort Frederik -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 ae at op5.se Mon Nov 5 10:44:44 2007 From: ae at op5.se (Andreas Ericsson) Date: Mon, 05 Nov 2007 10:44:44 +0100 Subject: Nagios service latency In-Reply-To: <472E1E77.6030706@aei.ca> References: <472BEB7B.9010601@aei.ca> <472C3962.6070305@op5.se> <472DDA70.9080508@aei.ca> <472DF7FB.1080203@op5.se> <472E02A0.8050408@aei.ca> <472E078D.8040909@op5.se> <472E1E77.6030706@aei.ca> Message-ID: <472EE60C.5020202@op5.se> Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 04/11/07 12:55 PM, Andreas Ericsson wrote: >> That's not strictly true. Each check run by Nagios needs three fork()'s >> and two exec()'s. For your case, you can achieve exactly the same thing, >> but with 6 fork()'s and 4 exec()'s less by using >> >> check_host -H $HOSTADDRESS$ -w -c -n 3 >> >> except that check_host will be a lot faster for the cases where the host >> has turned unreachable due to routing problems. >> >> OTOH, it'll be less work for you *not* to change it, so so long as that >> works. > > I agree, but with Nagios, check_latency is usually *not* caused by > system resources usage but rather by time spent waiting for hosts checks. > > In other words I do *not* care about system resources utilization if > Nagios can't use them up which is currently the case. The way I do hosts > checks is IMHO the fastest one from Nagios point of view, despite the > fact that it can take more CPU cycles to get performed. My check send > only one ICMP ping in most cases. If it's isn't answered it will retry > up to two mote times (3 * 500 ms timeout max). That is tunable of > course. Also I believe the packet interval in your test makes it take > actually longer for the same number of unanswered packet with the same > timeout. > Set it lower then ;-) > For Nagios 3 with host check caching your method is probably the best > one though. > > > BTW, this is probably tunable but for the records: > > $ time bash -c './check_host -H 1.1.1.1 -w 300.00,80% -c 500.00,100% -n 3' > CRITICAL - 1.1.1.1: rta nan, lost 100%|rta=0.000ms;300.000;500.000;0; > pl=100%;80;100;; > > real 0m4.517s > user 0m0.004s > sys 0m0.004s > > $ time bash -c 'for i in 1 2 3; do ./check_icmp -H 1.1.1.1 -w 300.00,80% > - -c 500.00,100% -n 1 -t 10; done' > CRITICAL - 1.1.1.1: rta nan, lost 100%|rta=0.000ms;300.000;500.000;0; > pl=100%;80;100;; > CRITICAL - 1.1.1.1: rta nan, lost 100%|rta=0.000ms;300.000;500.000;0; > pl=100%;80;100;; > CRITICAL - 1.1.1.1: rta nan, lost 100%|rta=0.000ms;300.000;500.000;0; > pl=100%;80;100;; > > real 0m2.830s > user 0m0.008s > sys 0m0.000s > Add another ~0.5 seconds on top of that for Nagios to setup macros, build command-line, fork(), run the actual checks and reap the results. > Overall it's still faster to run 3 of my commands than one of yours on > an unreachable host. > time /opt/plugins/check_host -H 1.1.1.1 -w 300.0,80% -c 500.0,100% -n 3 -i 50ms CRITICAL - 1.1.1.1: rta nan, lost 100%|rta=0.000ms;300.000;500.000;0; pl=100%;80;100;; real 0m2.154s user 0m0.001s sys 0m0.000s I win ;-) -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hpsekhon at googlemail.com Mon Nov 5 10:45:24 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 05 Nov 2007 09:45:24 +0000 Subject: nrpe issue with solaris 9? In-Reply-To: <1194026305.13573.155.camel@changito.houston.pgs.com> References: <1194019196.13573.153.camel@changito.houston.pgs.com> <472B5553.2070108@op5.se> <1194026305.13573.155.camel@changito.houston.pgs.com> Message-ID: <472EE634.4020506@googlemail.com> Hi Luis, The way I see it you have 3 choices: 1. Rewrite the plugin to work the way you want. 2. Give up on using that plugin (but we're not quitters are we?) 3. If you have read and trust the code, grant the nagios user root privs when running it using sudo and change your nagios command to call it through sudo. I tend to use number 3. -h Hari Sekhon Luis Cerezo wrote: > HI Andreas, > > We came to the same conclusion, except for who wrote the plugin. I think > I got it nagios exchange. > > > header info: > # > # Author: Todd Barbera > # Date: 10/26/05 > # Purpose: Report back to nagios file system usage > > What have you done to get around it? > > -luis > > On Fri, 2007-11-02 at 17:50 +0100, Andreas Ericsson wrote: > >> Luis Cerezo wrote: >> >>> Hi folks, >>> >>> I am seeing an odd issue with nrpe check on solaris 9. >>> >>> from the solaris host: (nrpe 2.0) >>> >>> bash-2.05# grep check_fs /etc/nagios/nrpe.cfg >>> command[check_fs]=/usr/lib/nagios/plugins/check_fs_space -w 85% -c 95% >>> bash-2.05# /usr/lib/nagios/plugins/check_fs_space -w 85% -c 95% >>> WARNING: /users is at 85%. >>> bash-2.05# >>> >>> >From the nagios host: >>> >>> [root at linmgr ~]# /usr/lib/nagios/plugins/check_nrpe -H sanman -c >>> check_fs >>> File system utilization is OK >>> >>> >>> Has anyone seen this? >>> >> About a billion times. You're running the check on the nrpe side as root, >> but nrpe runs it as someone else, and the plugin is crap so it prints >> "ok" when it fails to get the proper numbers. I'm guessing you wrote the >> plugin check_fs_space yourself, and only tested it as root, right? >> >> ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hpsekhon at googlemail.com Mon Nov 5 11:43:24 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 05 Nov 2007 10:43:24 +0000 Subject: How to Scan network In-Reply-To: <259147.11871.qm@web53002.mail.re2.yahoo.com> References: <259147.11871.qm@web53002.mail.re2.yahoo.com> Message-ID: <472EF3CC.3050106@googlemail.com> Go read the manual first please, we can't set up your nagios for you. Come back when you have a specific problem only after you have read the whole manual twice. -h Hari Sekhon gurdeep johal wrote: > I Have configured serveral cgi file in /etc/nagios/ > hosts.cfg > contactgroup.cfg > timeperiod.cfg > hostgroup.cfg > > now when I uncomment these files from nagios.cfg. nagios server > service not starting. after comment these files its works fine. how > many files I have to make and uncomment for just scanning network > > > > Gurdeep Singh > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 g.digiambelardini at fabaris.it Mon Nov 5 12:27:16 2007 From: g.digiambelardini at fabaris.it (Di Giambelardini Gabriele) Date: Mon, 5 Nov 2007 12:27:16 +0100 (CET) Subject: aix oracle pmon Message-ID: <33887.192.168.1.1.1194262036.squirrel@webmail2.fabaris.it> Hi to all, I have a problem for check an oracle pmon deamon on an aix server. My Nagios is on an CentOS server and I need check said deamon... Some body can help me??? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 dermoth at aei.ca Mon Nov 5 13:25:00 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Mon, 05 Nov 2007 07:25:00 -0500 Subject: Nagios service latency In-Reply-To: <472EE60C.5020202@op5.se> References: <472BEB7B.9010601@aei.ca> <472C3962.6070305@op5.se> <472DDA70.9080508@aei.ca> <472DF7FB.1080203@op5.se> <472E02A0.8050408@aei.ca> <472E078D.8040909@op5.se> <472E1E77.6030706@aei.ca> <472EE60C.5020202@op5.se> Message-ID: <472F0B9C.6040806@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/11/07 04:44 AM, Andreas Ericsson wrote: > > Add another ~0.5 seconds on top of that for Nagios to setup macros, build > command-line, fork(), run the actual checks and reap the results. Ok, maybe real-world testing would give us the real result. However I'm wondering how you calculated 0.5 seconds run a check. My most loaded server is running at ~50% CPU (spread over 2 CPUs) and is performing over 1000 active check/minute. That makes .06 second per check per CPU. Let's kill this thread until someone can provide a real comparison of the two methods on a real system. :) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHLwuc6dZ+Kt5BchYRApBpAKCeEAsVU6THz+77Qh58Ah++mckpJwCg0ay6 zdxYIxR7Dq6OuHHP0fZkmyI= =TDM0 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Mon Nov 5 13:32:31 2007 From: ae at op5.se (Andreas Ericsson) Date: Mon, 05 Nov 2007 13:32:31 +0100 Subject: Nagios service latency In-Reply-To: <472F0B9C.6040806@aei.ca> References: <472BEB7B.9010601@aei.ca> <472C3962.6070305@op5.se> <472DDA70.9080508@aei.ca> <472DF7FB.1080203@op5.se> <472E02A0.8050408@aei.ca> <472E078D.8040909@op5.se> <472E1E77.6030706@aei.ca> <472EE60C.5020202@op5.se> <472F0B9C.6040806@aei.ca> Message-ID: <472F0D5F.60803@op5.se> Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 05/11/07 04:44 AM, Andreas Ericsson wrote: >> Add another ~0.5 seconds on top of that for Nagios to setup macros, build >> command-line, fork(), run the actual checks and reap the results. > > Ok, maybe real-world testing would give us the real result. However I'm > wondering how you calculated 0.5 seconds run a check. Not one, but two, with result reaping in between. > My most loaded > server is running at ~50% CPU (spread over 2 CPUs) and is performing > over 1000 active check/minute. That makes .06 second per check per CPU. > That's with parallellism included though, so each check has longer than 0.06 seconds to complete. > Let's kill this thread until someone can provide a real comparison of > the two methods on a real system. :) Great plan. I'll just shut up and do some real work now instead ;-) -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 ntoughe at hotmail.com Mon Nov 5 13:40:57 2007 From: ntoughe at hotmail.com (NTOUGHE GUY-SERGE) Date: Mon, 5 Nov 2007 12:40:57 +0000 Subject: Objects configuration files missing Message-ID: Hi every body, I recently installed nagios, but after configuration et compilation, i noticed that thereis no samples config files: (hosts,hostgroup,contacts, contactsgroups.) Does it necessary to recompil the application or i forgotten something in the requirements ? regards ntoughe at hotmail.com _________________________________________________________________ News, entertainment and everything you care about at Live.com. Get it now! http://www.live.com/getstarted.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 ojan at expertise-online.net Mon Nov 5 13:42:46 2007 From: ojan at expertise-online.net (Olivier JAN) Date: Mon, 05 Nov 2007 13:42:46 +0100 Subject: Objects configuration files missing In-Reply-To: References: Message-ID: <20071105134246.lqbpby0s0sso0ows@intra.expertise-online.net> Hi Guy-Serge, make install-config is the command to install the examples config files as indicated during the compilation and in the manual. -- Olivier JAN NTOUGHE GUY-SERGE a ?crit : > > > Hi every body, > > I recently installed nagios, but after configuration et compilation, > i noticed that thereis no samples config files: > (hosts,hostgroup,contacts, contactsgroups.) > > > > Does it necessary to recompil the application or i forgotten > something in the requirements ? > > regards > > ntoughe at hotmail.com > _________________________________________________________________ > News, entertainment and everything you care about at Live.com. Get it now! > http://www.live.com/getstarted.aspx ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 mha at cm4all.com Mon Nov 5 13:47:57 2007 From: mha at cm4all.com (Matthias Haider) Date: Mon, 05 Nov 2007 13:47:57 +0100 Subject: Service dependencies Message-ID: <472F10FD.80205@cm4all.com> Hi folks, i am trying to use service dependencies and i am unsure if the dependencies will get check further than for the "nearest neighbour"? For example, A depends on B, and B dependes on C Will in an failure event of A the dependency get checked until C, or will i have to write an explicit dependency "A depends on C" thanks in advance, br, Matthias Haider -- ***************************** Content Management AG Dipl.- Phys. Matthias Haider Im Mediapark 6 50670 Koeln Germany Tel.: +49 (0) 221 4545200 Fax.: +49 (0) 221 4545221 E-Mail: mha at cm4all.com Internet: www.cm4all.com Amtsgericht Koeln, HRB 32668 ***************************** ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 ntoughe at hotmail.com Mon Nov 5 13:59:26 2007 From: ntoughe at hotmail.com (NTOUGHE GUY-SERGE) Date: Mon, 5 Nov 2007 12:59:26 +0000 Subject: -Objects configuration files missing Message-ID: Hi every body, I recently installed nagios, but after configuration et compilation, i noticed that thereis no samples config files: (hosts,hostgroup,contacts, contactsgroups.) Does it necessary to recompil the application or i forgotten something in the requirements ? regards ntoughe at hotmail.com ntoughe at hotmail.com _________________________________________________________________ News, entertainment and everything you care about at Live.com. Get it now! http://www.live.com/getstarted.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 kemotaha at gmail.com Mon Nov 5 15:56:14 2007 From: kemotaha at gmail.com (Nathan) Date: Mon, 05 Nov 2007 07:56:14 -0700 Subject: How to Scan network In-Reply-To: <259147.11871.qm@web53002.mail.re2.yahoo.com> References: <259147.11871.qm@web53002.mail.re2.yahoo.com> Message-ID: <1194274574.17635.2.camel@tux> On Sun, 2007-11-04 at 23:41 -0800, gurdeep johal wrote: > I Have configured serveral cgi file in /etc/nagios/ > hosts.cfg > contactgroup.cfg > timeperiod.cfg > hostgroup.cfg > > now when I uncomment these files from nagios.cfg. nagios server > service not starting. after comment these files its works fine. how > many files I have to make and uncomment for just scanning network Gurdeep, Nagios by default doesn't do network scanning. In order to do network scanning you have to add an additional piece of software. There are a few add-ons that allow you to scan your network and sets up a basic config for them. You can find some of them on http://www.nagiosexchange.org/ or you do a quick google search for nagios frontends. Nathan -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 pico at cocco.biz Mon Nov 5 16:43:54 2007 From: pico at cocco.biz (PiCo) Date: Mon, 05 Nov 2007 16:43:54 +0100 Subject: Can NAGIOS check HOST via PROXY ? In-Reply-To: <4728859A.9010105@googlemail.com> References: <47287907.5050906@googlemail.com> <4728859A.9010105@googlemail.com> Message-ID: I can reach my customers at SAPGUI Level via a saprouter. I mean that I'm using a saprouter string to connect to this systems. Concerning the connection at OS level.. I use FREECAP and so a SOCKS PROXY... I hope Now is a little bit clear... Any idea to solve my problem ?? regards On Wed, 31 Oct 2007 14:39:38 +0100, Hari Sekhon wrote: > PiCo wrote: >> No I can't reach directly... >> Which ports ?? >> nagios server in in my LAN... customers can't reach it!! > I need some clarification, if you cannot reach your customers and they > cannot reach you, then how is it a vpn? What does it connect? > > Ports? 5666 on the client side if using nrpe. 5667 on your side if using > nsca. basic stuff... > > Really, Marc's idea may be best for you. > > If your proxy box is linux, then just nrpe to that box and get it to > check your hosts. > > More info needed. > > -h > -- ,,, /'^'\ ( o o ) ----------------------------------------oOOO--(_)--OOOo------ Pierfrancesco Cocco EMail: pico at cocco.biz Web: www.cocco.biz ICQ#: 105570291 SkypeID: cocco.biz Tel.: +39 335 1234 475 Fax.: +39 06 233 2401 88 .oooO ( ) Oooo. ------------------------------------------\ (----( )------- \_) ) / (_/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jperrin at gmail.com Mon Nov 5 16:46:53 2007 From: jperrin at gmail.com (Jim Perrin) Date: Mon, 5 Nov 2007 10:46:53 -0500 Subject: -Objects configuration files missing In-Reply-To: References: Message-ID: <302ce8b50711050746u668fd239q88419379dcd21993@mail.gmail.com> On 11/5/07, NTOUGHE GUY-SERGE wrote: > > Hi every body, > I recently installed nagios, but after configuration et compilation, i > noticed that thereis no samples config files: (hosts,hostgroup,contacts, > contactsgroups.) > > Does it necessary to recompil the application or i forgotten something in > the requirements ? > regards No, you just didn't issue the proper make target to have the sample configs built/installed. Mostly you left out the 'make install-config' step. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jriggin at gmail.com Mon Nov 5 17:51:42 2007 From: jriggin at gmail.com (Jerad Riggin) Date: Mon, 5 Nov 2007 10:51:42 -0600 Subject: Availability reports Message-ID: <66955c170711050851t3de35346k92af4517a96ea42e@mail.gmail.com> I have two sites being monitored with checkhttp & a string. When I do an availability report for today it shows as 100% availability, however if I go further in and click on the host, it shows 95.4% Time OK with 4.5% Time Critical. Why is this downtime not showing in the availability report? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Sebastian.Ries at dtnet.de Mon Nov 5 17:56:13 2007 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Mon, 05 Nov 2007 17:56:13 +0100 Subject: Availability reports In-Reply-To: <66955c170711050851t3de35346k92af4517a96ea42e@mail.gmail.com> References: <66955c170711050851t3de35346k92af4517a96ea42e@mail.gmail.com> Message-ID: <1194281773.18978.74.camel@bofh.dtnet.de> Hi > I have two sites being monitored with checkhttp & a string. When I do > an availability report for today it shows as 100% availability, > however if I go further in and click on the host, it shows 95.4% Time > OK with 4.5% Time Critical. Why is this downtime not showing in the > availability report? Is the availability report based on the service checks? Nagios does not check services as long as it knows the host is down. So it could be that EVERY service check returned OK (100%) because as the host was down the server hasn't been checked... 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jriggin at gmail.com Mon Nov 5 18:09:34 2007 From: jriggin at gmail.com (Jerad Riggin) Date: Mon, 5 Nov 2007 11:09:34 -0600 Subject: Availability reports In-Reply-To: <1194281773.18978.74.camel@bofh.dtnet.de> References: <66955c170711050851t3de35346k92af4517a96ea42e@mail.gmail.com> <1194281773.18978.74.camel@bofh.dtnet.de> Message-ID: <66955c170711050909id55e8b8m48279711b9a65ee9@mail.gmail.com> I think the issue was that the checkstring is a service, but the host wasn't down (it could still ping it). So it considered the host up but the service down. I created a service group so we could check availability based on the checkstring service. On Nov 5, 2007 10:56 AM, Sebastian Ries wrote: > Hi > > > > I have two sites being monitored with checkhttp & a string. When I do > > an availability report for today it shows as 100% availability, > > however if I go further in and click on the host, it shows 95.4% Time > > OK with 4.5% Time Critical. Why is this downtime not showing in the > > availability report? > > Is the availability report based on the service checks? > Nagios does not check services as long as it knows the host is down. > > So it could be that EVERY service check returned OK (100%) because as > the host was down the server hasn't been checked... > > 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 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jeff.shumard at defenseweb.com Mon Nov 5 19:16:04 2007 From: jeff.shumard at defenseweb.com (Jeff Shumard - DefenseWeb Technologies) Date: Mon, 5 Nov 2007 10:16:04 -0800 Subject: Distributed monitoring with nrpe_nt and freshness In-Reply-To: <472E3B30.3040809@aei.ca> References: <472E3B30.3040809@aei.ca> Message-ID: Everything works fine checking the hosts if I force an active check for all services on a host. We are not doing host checks at all on your servers just service checks. The only time I have a problem is when the freshness threshold is reached and it tries to force a check on a lot of services at once. It is almost like nrpe_nt is only able to process a set amount of checks at one time. There is no resource issue at the time this is happening on the Nagios server and on the Windows server running the checks. Has anyone else had this problem? Thank you, Jeff -----Original Message----- From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca] Sent: Sunday, November 04, 2007 1:36 PM To: Jeff Shumard - DefenseWeb Technologies Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Distributed monitoring with nrpe_nt and freshness -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/11/07 01:11 PM, Jeff Shumard - DefenseWeb Technologies wrote: > We have our monitoring configured and everything is working great > checking all our windows servers through a single windows server running > nrpe_nt. The problem we are having is when one of our Linux Nagios > servers goes down and doesn't send any results to the master Nagios > server. When this happens and our 5 minute freshness hits it's > threshold. We start running active checks because we didn't receive any > passive updates from the server that went down. This sends a bunch of > checks to the windows server to run tests and we start getting unknown > status reports back to the master server with the result of "No output > available from command". Does anyone know if there is a max connection > on nrpe_nt or something else that maybe causing this? While I can't answer your question, I can suggest using check_dummy to set an UNKNOWN status to hosts not monitored. Is especially make sense if some of the hosts can't be monitored directly from the central server. Also are you sure the central server is allowed to talk to your nrpe_nt (IP access list)? Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHLjsw6dZ+Kt5BchYRAq6pAKDHXC7fjtgFNNTQUnJXrDXJxMDKAQCfftsa OTu41Chzk37uyYHRCU3x+eM= =VZZn -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jmacaranas at fxdd.com Mon Nov 5 19:34:13 2007 From: jmacaranas at fxdd.com (jmacaranas at fxdd.com) Date: Mon, 5 Nov 2007 13:34:13 -0500 Subject: check_ntp inquiry Message-ID: <4D32E9B6A504554489FFFD81E7FF281305788876@MX01.fxdd.com> Hi, Where does check_ntp gets the offset? How does it compute the value? I have a weird problem: Doing an check_ntp -H host1 shows an offset which is different to the offset result of ntpdc -p host1 Thanks, -------------------------------------------------------------------------------------------------------- This message and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom it is addressed. It may contain sensitive and private proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you are not the intended recipient, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. FXDirectDealer, LLC reserves the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them. Unless otherwise stated, any pricing information given in this message is indicative only, is subject to change and does not constitute an offer to deal at any price quoted. Any reference to the terms of executed transactions should be treated as preliminary only and subject to our formal confirmation. FXDirectDealer, LLC is not responsible for any recommendation, solicitation, offer or agreement or any information about any transaction, customer account or account activity contained in this communication. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 james.mohr at elaxy.com Mon Nov 5 19:51:36 2007 From: james.mohr at elaxy.com (Mohr James) Date: Mon, 5 Nov 2007 19:51:36 +0100 Subject: Specifying a service on a different host with send_nsca Message-ID: Hi All! We have nagios 2.4 and would like to know if there is any way of specifying a service different host than the one using send_nsca. For example, the nagios server is not allowed to have contact to several customers' networks. However, we do have one machine that does have access to each network. The one machine monitors several customer machines and sends the status via send_ncsa. The problem is that the host is always the intermediate machine and not that machine that is actually being monitored. Therefore, we would like to be able to specify the actual host name when using send_nsca. Is this possible? Is there a newer version where this is possible? Any help is appreaciated. Best Regards, Jim Mohr -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Mon Nov 5 20:12:49 2007 From: marc at ena.com (Marc Powell) Date: Mon, 5 Nov 2007 13:12:49 -0600 Subject: Specifying a service on a different host withsend_nsca In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Mohr James > Sent: Monday, November 05, 2007 12:52 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Specifying a service on a different host > withsend_nsca > > Hi All! > > > > We have nagios 2.4 and would like to know if there is any way of > specifying a service different host than the one using send_nsca. For > example, the nagios server is not allowed to have contact to several > customers' networks. However, we do have one machine that does have access > to each network. The one machine monitors several customer machines and > sends the status via send_ncsa. The problem is that the host is always the > intermediate machine and not that machine that is actually being > monitored. Therefore, we would like to be able to specify the actual host > name when using send_nsca. Is this possible? Is there a newer version > where this is possible? You must specify the host_name with any version of send_nsca that I am aware of as part of the check result data you send back to the nagios server. You just seem to have it hard coded to be a specific host for all results -- $ send_nsca --help Usage: ../bin/send_nsca [-p port] [-to to_sec] [-d delim] [-c config_file] Note: This utility is used to send passive service check results to the NSCA daemon. Servce check data that is to be sent to the NSCA daemon is read from standard input. Service check information is in the following format (tab-delimited unless overriden with -d command line argument, one entry per line): [tab][tab][tab][ newline] ^^^ it's this last bit that you need to modify to send the correct host name. Be aware that nagios will reject submissions for hosts/services that it doesn't know about so you almost certainly need to do some config re-writing to make it work. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 james.mohr at elaxy.com Mon Nov 5 20:34:36 2007 From: james.mohr at elaxy.com (Mohr James) Date: Mon, 5 Nov 2007 20:34:36 +0100 Subject: Specifying a service on a different hostwithsend_nsca In-Reply-To: References: Message-ID: > -----Urspr?ngliche Nachricht----- > Von: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] Im > Auftrag von Marc Powell > Gesendet: Montag, 5. November 2007 20:13 > An: Nagios-users at lists.sourceforge.net > Betreff: Re: [Nagios-users] Specifying a service on a > different hostwithsend_nsca > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Mohr James > > Sent: Monday, November 05, 2007 12:52 PM > > To: Nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Specifying a service on a different host > > withsend_nsca > > > > Hi All! > > > > > > > > We have nagios 2.4 and would like to know if there is any way of > > specifying a service different host than the one using > send_nsca. For > > example, the nagios server is not allowed to have contact > to several > > customers' networks. However, we do have one machine that does have > access > > to each network. The one machine monitors several customer machines > and > > sends the status via send_ncsa. The problem is that the > host is always > the > > intermediate machine and not that machine that is actually being > > monitored. Therefore, we would like to be able to specify the actual > host > > name when using send_nsca. Is this possible? Is there a > newer version > > where this is possible? > > You must specify the host_name with any version of send_nsca > that I am aware of as part of the check result data you send > back to the nagios server. You just seem to have it hard > coded to be a specific host for all results -- > > $ send_nsca --help > > Usage: ../bin/send_nsca [-p port] [-to to_sec] > [-d delim] [-c config_file] > > > > Note: > This utility is used to send passive service check results to > the NSCA daemon. > Servce check data that is to be sent to the NSCA daemon is > read from standard input. Service check information is in the > following format (tab-delimited unless overriden with -d > command line argument, one entry per line): > > [tab][tab][tab] n_output>[ > newline] > > > ^^^ it's this last bit that you need to modify to send the > correct host name. Be aware that nagios will reject > submissions for hosts/services that it doesn't know about so > you almost certainly need to do some config re-writing to > make it work. > > -- > Marc As far as I can tell from the online help and other documentation, "host_name" is the host to which you want to send the message. That is, it is the NSCA server and not the name of the host that is actually being monitored. When I run "send_nsca --help" on my machine it gives me much more text, and says: Options: = The IP address of the host running the NSCA daemon This, as well as my tests, indicate to me that with this parameter one is simply telling send_ncsa where to send the message and not the host which the service is on. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 al at its-lehmann.de Mon Nov 5 21:08:12 2007 From: al at its-lehmann.de (Arno Lehmann) Date: Mon, 05 Nov 2007 21:08:12 +0100 Subject: Specifying a service on a different hostwithsend_nsca In-Reply-To: References: Message-ID: <472F782C.8090003@its-lehmann.de> Hi, 05.11.2007 20:34,, Mohr James wrote:: >>> Therefore, we would like to be able to specify the actual >>> host >>> name when using send_nsca. Is this possible? Is there a >>> newer version >>> where this is possible? >> You must specify the host_name with any version of send_nsca >> that I am aware of as part of the check result data you send >> back to the nagios server. You just seem to have it hard >> coded to be a specific host for all results -- >> >> $ send_nsca --help >> >> Usage: ../bin/send_nsca [-p port] [-to to_sec] >> [-d delim] [-c config_file] >> >> >> >> Note: >> This utility is used to send passive service check results to >> the NSCA daemon. >> Servce check data that is to be sent to the NSCA daemon is >> read from standard input. Service check information is in the >> following format (tab-delimited unless overriden with -d >> command line argument, one entry per line): >> >> [tab][tab][tab]> n_output>[ >> newline] >> >> >> ^^^ it's this last bit that you need to modify to send the >> correct host name. Be aware that nagios will reject >> submissions for hosts/services that it doesn't know about so >> you almost certainly need to do some config re-writing to >> make it work. >> >> -- >> Marc > > > As far as I can tell from the online help and other documentation, "host_name" is the host to which you want to send the message. That is, it is the NSCA server and not the name of the host that is actually being monitored. When I run "send_nsca --help" on my machine it gives me much more text, and says: > > > Options: > = The IP address of the host running the NSCA daemon > > > This, as well as my tests, indicate to me that with this parameter one is simply telling send_ncsa where to send the message and not the host which the service is on. I disagree. I'm getting lots of service checks for different hosts, all being submitted by send_nsca on localhost. I.e. 'echo $SUBMITTED_RESULT | send_nsca 127.0.0.1 -p ... -c ...' with SUBMITTED_RESULT being lines containing different host names as first fields. In other words, host_address on the command line is definitely different to host_name in the actual results you submit. Arno -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Mon Nov 5 21:08:19 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 5 Nov 2007 12:08:19 -0800 Subject: Specifying a service on a different hostwithsend_nsca In-Reply-To: References: Message-ID: <20071105200819.GO18464@pmorris.usa.hp.com> On Mon, 05 Nov 2007, Mohr James wrote: > As far as I can tell from the online help and other documentation, "host_name" is the host to which you want to send the message. That is, it is the NSCA server and not the name of the host that is actually being monitored. When I run "send_nsca --help" on my machine it gives me much more text, and says: > > > Options: > = The IP address of the host running the NSCA daemon > > > This, as well as my tests, indicate to me that with this parameter one is simply telling send_ncsa where to send the message and not the host which the service is on. You're misreading the help. "" appears in the NSCA commend line, not in the data you pass to NSCA. Note the difference in the names for the parameters; specifically where "" is used, and where "" is used. "" is, as was mentioned earlier, the name of the host to which the check results apply, and *not* the NSCA server. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 alexus at gmail.com Mon Nov 5 22:11:04 2007 From: alexus at gmail.com (alexus) Date: Mon, 5 Nov 2007 16:11:04 -0500 Subject: check_file_age Message-ID: <6ae50c2d0711051311i78a9ca87u44832c637db8c48d@mail.gmail.com> what if i need to check if file is no more then "X" Mb, how would I do that? because with check_file_age it only allowes you to check if it at least "X" amount of bytes, not the other way around. -- http://alexus.org/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Mon Nov 5 22:19:01 2007 From: ae at op5.se (Andreas Ericsson) Date: Mon, 05 Nov 2007 22:19:01 +0100 Subject: check_file_age In-Reply-To: <6ae50c2d0711051311i78a9ca87u44832c637db8c48d@mail.gmail.com> References: <6ae50c2d0711051311i78a9ca87u44832c637db8c48d@mail.gmail.com> Message-ID: <472F88C5.2050603@op5.se> alexus wrote: > what if i need to check if file is no more then "X" Mb, how would I do > that? because with check_file_age it only allowes you to check if it > at least "X" amount of bytes, not the other way around. > Use negate. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 azoecalvo at yahoo.com.ar Mon Nov 5 23:44:22 2007 From: azoecalvo at yahoo.com.ar (Alicia Calvo) Date: Mon, 5 Nov 2007 19:44:22 -0300 (ART) Subject: NC_net Message-ID: <982266.608.qm@web33012.mail.mud.yahoo.com> Hi, I work with nagios 2.9 and nc_net for eventlog in windows. I installed client version 4.10 or 3,xx. and the plugin is version 4,x. For example my command is: ./check_nt -H 192.168.1.10 -v EVENTLOG -l "Application,Information,5,0,0,1,9539". 9539 is realy 'error id' in the windows event view, but my command show me numbers like these, for example: 124567984, 364785912. The text of messages that he show me is correct but the number is not. If you have any idea please tell me. AC. --------------------------------- Los referentes m?s importantes en compra/venta de autos se juntaron: Demotores y Yahoo!.Ahora comprar o vender tu auto es m?s f?cil. Visit? http://ar.autos.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Tue Nov 6 03:32:17 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Mon, 5 Nov 2007 21:32:17 -0500 Subject: NC_net In-Reply-To: <982266.608.qm@web33012.mail.mud.yahoo.com> References: <982266.608.qm@web33012.mail.mud.yahoo.com> Message-ID: Hi Alicia, This Has been resolved in the latest version v4.1a Under the command EVENTLOG_NEW, while the EVENTLOG command was left as to not disrupt anyone who already configured workarounds for this issue. Use the new syntex EVENTLOG_NEW Please check documents and HELP command check the input syntex via check_nc_net --help=EVENTLOG_NEW THe problem was caused by the Event ID field in Event viewer actually being a MASKED result from the internal Data field. However this was not well documented by Microsoft at the time EventLogs was implemented. >From Latest Whats New in NC_NEt: http://sourceforge.net/docman/display_doc.php?docid=48793&group_id=160140 -Added EVENTLOG_NEW this is a new and improved EventLog check, it is issued as a new command because the expected input has been simplified. Added ability to check range to EventID. -EVENTLOG_NEW, Updated the EventID to preform properly. EventID has changed in Dot Net 2.0 compared to Dot Net 1.0 and 1.1. -EVENTLOG_NEW, Added ability to change the Regular expression options into the startup.cfg, ability to accept a list of REgular expressions. Good Luck Tony (author of NC_NEt) On 11/5/07, Alicia Calvo wrote: > > Hi, I work with nagios 2.9 and nc_net for eventlog in windows. I installed > client version 4.10 or 3,xx. and the plugin is version 4,x. > > For example my command is: > ./check_nt -H 192.168.1.10 -v EVENTLOG -l > "Application,Information,5,0,0,1,9539". > > 9539 is realy 'error id' in the windows event view, but my command show > me numbers like these, for example: 124567984, 364785912. > The text of messages that he show me is correct but the number is not. > If you have any idea please tell me. > > AC. > > ------------------------------ > > Los referentes m?s importantes en compra/venta de autos se juntaron: > Demotores y Yahoo!. Ahora comprar o vender tu auto es m?s f?cil. > Visit? http://ar.autos.yahoo.com/ > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Greg.Redder at ColoState.EDU Tue Nov 6 07:11:35 2007 From: Greg.Redder at ColoState.EDU (Redder,Greg) Date: Mon, 5 Nov 2007 23:11:35 -0700 Subject: Nagios killing xmessage Message-ID: <31106EACA9CB89429547C16564B3F40E3BCE39B8B7@EVS1.ColoState.EDU> We're running Nagios 2.9. We have a command configured: define command { command_name host-notify-by-xmessage command_line /etc/nagios/scripts/host-notify-by-xmessage "$HOSTSTATE$" "$HOSTNAME$" "$HOSTALIAS$" "$DATETIME$" } The "host-notify-by-xmessage" is a shell script that pulls in a text file and displays that text file along with the host and the problem via an xmessage to an xdisplay. This all works fine when run from the command line. It even works when invoked by nagios, but when nagios invokes it, it also kills the process in about 30 seconds. This wasn't a problem on Nagios 1.x. We recently upgraded to 2.9 and ran into this issue. I've tried nohup'ing the xmessage, but no luck - it seems like the nagios process kills it no matter what!? I've tried converting the script to perl and using 'system' or 'exec' calls, but that didn't fix the problem either. Does anyone have a workaround for this or a suggestion on things to try, please? Thank you, Greg Redder Network Analyst Colorado State University =============================================================================== Greg Redder Academic Computing & Networking Services Colorado State University, ACNS Phone:(970)491-7222 FAX: (970)491-1958 601 S. Howes, Room 625 E-mail: redder at yuma.colostate.edu Fort Collins, CO 80523 PGP Fprint:CD62EAE6227D96FC7C232B16DFE3B5D9B2F64352 =============================================================================== ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Tue Nov 6 10:30:48 2007 From: ae at op5.se (Andreas Ericsson) Date: Tue, 06 Nov 2007 10:30:48 +0100 Subject: Nagios killing xmessage In-Reply-To: <31106EACA9CB89429547C16564B3F40E3BCE39B8B7@EVS1.ColoState.EDU> References: <31106EACA9CB89429547C16564B3F40E3BCE39B8B7@EVS1.ColoState.EDU> Message-ID: <47303448.8090604@op5.se> Redder,Greg wrote: > We're running Nagios 2.9. We have a command configured: > > define command { > command_name host-notify-by-xmessage > command_line /etc/nagios/scripts/host-notify-by-xmessage "$HOSTSTATE$" "$HOSTNAME$" "$HOSTALIAS$" "$DATETIME$" > } > > The "host-notify-by-xmessage" is a shell script that pulls in a text file and displays that text file along with the host and the problem via an xmessage to an xdisplay. This all works fine when run from the command line. It even works when invoked by nagios, but when nagios invokes it, it also kills the process in about 30 seconds. This wasn't a problem on Nagios 1.x. We recently upgraded to 2.9 and ran into this issue. I've tried nohup'ing the xmessage, but no luck - it seems like the nagios process kills it no matter what!? I've tried converting the script to perl and using 'system' or 'exec' calls, but that didn't fix the problem either. > > Does anyone have a workaround for this or a suggestion on things to try, please? > xmessage & Nagios must kill the notification commands if they run for too long, otherwise each notification will leak filedescriptors, and Nagios will, eventually, no longer be able to run any commands at all. Don't create notification scripts that never exit (under normal circumstances). You'll just eat resources for nothing. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Tue Nov 6 11:43:05 2007 From: m.borsani at it.net (Marco Borsani) Date: Tue, 6 Nov 2007 11:43:05 +0100 Subject: scripts to schedule downtime via crontab Message-ID: <00bb01c82061$d05fb970$0900d40a@intranet.it.net> Hi all On my nagios 1.4.1 I am using script to schedule downtime like these: ---------------------------------- HOST Downtime #!/bin/sh datetime=$(/usr/bin/perl -e 'print(time)') hostname=$1 start_time=$datetime duration=$2 (( end_time = $datetime + $duration )) fixed=1 comment_author=nagios comment_data="Downtime di Host" echocmd="/bin/echo" CommandFile="/usr/local/nagios2/var/rw/nagios.cmd" # create the command line to add to the command file cmdline="[$datetime] SCHEDULE_HOST_DOWNTIME;$hostname;$start_time;$end_time;$fixed;$duration;$com ment_auth or;$comment_data" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` chown nagios:nagiocmd $CommandFile -------------------------------------- SERVICE Downtime #!/bin/sh datetime=$(/usr/bin/perl -e 'print(time)') hostname=$1 service_des=$2 start_time=$datetime duration=$3 (( end_time = $datetime + $duration )) fixed=1 comment_author=nagios comment_data="Downtime di Servizio" echocmd="/bin/echo" CommandFile="/usr/local/nagios2/var/rw/nagios.cmd" # create the command line to add to the command file cmdline="[$datetime] SCHEDULE_SVC_DOWNTIME;$hostname;$service_des;$start_time;$end_time;$fixed;$d uration;$ comment_author;$comment_data" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` chown nagios:nagiocmd $CommandFile ----------------------------------- These scripts do not work on Nagios 2.10 ... have anyone something similar for Nagios 2.10 ? Regards Marco Borsani Technical Operation tel.: +390104310115 e-fax: +390683175950 * m.borsani at it.net ITnet S.r.l. Direzione e Coordinamento di Weather Investments S.p.A. Via Pacinotti, 39 16151 - Genova In ottemperanza al D. lgs 196/03 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate e sono esclusivamente indirizzate al destinatario indicato (oppure alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio erroneamente ricevuto. According to Italy?s new data protection code (Legislative Decree no. 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning privacy, the information contained in this e-mail is confidential and is intended for the addressee only. If you are not the correct recipient, please note that any use, dissemination or copy of this document/information is strictly prohibited.If you have received this message in error, you should destroy it and please notify us immediately by e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 gcoochey at sapphire.gi Tue Nov 6 11:55:26 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Tue, 6 Nov 2007 11:55:26 +0100 Subject: scripts to schedule downtime via crontab In-Reply-To: <00bb01c82061$d05fb970$0900d40a@intranet.it.net> References: <00bb01c82061$d05fb970$0900d40a@intranet.it.net> Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A780A@hermes.sapphire-int.gi> From: http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=118 #!/bin/sh # This is a sample shell script showing how you can submit the SCHEDULE_HOST_DOWNTIME command # to Nagios. Adjust variables to fit your environment as necessary. now=`date +%s` commandfile='/usr/local/nagios/var/rw/nagios.cmd' /bin/printf "[%lu] SCHEDULE_HOST_DOWNTIME;host1;1110741500;1110748700;0;0;7200;Some One;Some Downtime Comment\n" $now > $commandfile It appears to me that there are some extra parameters in there from version 1.4.1 ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marco Borsani Sent: 06 November 2007 11:43 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] scripts to schedule downtime via crontab Hi all On my nagios 1.4.1 I am using script to schedule downtime like these: ---------------------------------- HOST Downtime #!/bin/sh datetime=$(/usr/bin/perl -e 'print(time)') hostname=$1 start_time=$datetime duration=$2 (( end_time = $datetime + $duration )) fixed=1 comment_author=nagios comment_data="Downtime di Host" echocmd="/bin/echo" CommandFile="/usr/local/nagios2/var/rw/nagios.cmd" # create the command line to add to the command file cmdline="[$datetime] SCHEDULE_HOST_DOWNTIME;$hostname;$start_time;$end_time;$fixed;$duration;$comment_auth or;$comment_data" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` chown nagios:nagiocmd $CommandFile -------------------------------------- SERVICE Downtime #!/bin/sh datetime=$(/usr/bin/perl -e 'print(time)') hostname=$1 service_des=$2 start_time=$datetime duration=$3 (( end_time = $datetime + $duration )) fixed=1 comment_author=nagios comment_data="Downtime di Servizio" echocmd="/bin/echo" CommandFile="/usr/local/nagios2/var/rw/nagios.cmd" # create the command line to add to the command file cmdline="[$datetime] SCHEDULE_SVC_DOWNTIME;$hostname;$service_des;$start_time;$end_time;$fixed;$duration;$ comment_author;$comment_data" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` chown nagios:nagiocmd $CommandFile ----------------------------------- These scripts do not work on Nagios 2.10 ... have anyone something similar for Nagios 2.10 ? Regards Marco Borsani Technical Operation tel.: +390104310115 e-fax: +390683175950 * m.borsani at it.net ITnet S.r.l. Direzione e Coordinamento di Weather Investments S.p.A. Via Pacinotti, 39 16151 - Genova In ottemperanza al D. lgs 196/03 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate e sono esclusivamente indirizzate al destinatario indicato (oppure alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio erroneamente ricevuto. According to Italy's new data protection code (Legislative Decree no. 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning privacy, the information contained in this e-mail is confidential and is intended for the addressee only. If you are not the correct recipient, please note that any use, dissemination or copy of this document/information is strictly prohibited.If you have received this message in error, you should destroy it and please notify us immediately by e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jguermonprez at pagesjaunes.fr Tue Nov 6 11:57:15 2007 From: jguermonprez at pagesjaunes.fr (jguermonprez at pagesjaunes.fr) Date: Tue, 6 Nov 2007 11:57:15 +0100 Subject: Acknowledgement of multiple alarms Message-ID: <006f01c82063$cd8b9ff0$720a230a@micro.pj.fr> Hi, I would like to know if there's a way in Nagios that we could acknowledge multiple alarms at the same time ? --- J?r?my --------------------------------------------- Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et etablis a l'intention exclusive de ses destinataires.Toute utilisation ou diffusion non autorisee est interdite. Tout message electronique est susceptible d'alteration. Le Groupe PagesJaunes decline toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie. Si vous n'etes pas destinataire de ce message, merci de le detruire immediatement. --------------------------------------------- This message and any attachments (the "message") are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited.Messages are susceptible to alteration. Neither PagesJaunes Group shall be liable for the message if altered, changed or falsified. If you are not addressee of this message, please cancel it immediately. --------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 lacoste at miage.univ-paris12.fr Tue Nov 6 12:22:04 2007 From: lacoste at miage.univ-paris12.fr (Thierry Lacoste) Date: Tue, 6 Nov 2007 12:22:04 +0100 Subject: issue with check_oracle and check_by_ssh Message-ID: <200711061222.05174.lacoste@miage.univ-paris12.fr> I have two linux boxes with oracle. I'd like to make them cross-check_oracle each other with check_by_ssh from my nagios host. Both oracle boxes have the following tnsnames.ora SID10 = ? (DESCRIPTION = ? ? (ADDRESS = (PROTOCOL = TCP)(HOST = hostA)(PORT = 1521)) ? ? (CONNECT_DATA = ? ? ? (SERVER = DEDICATED) ? ? ? (SERVICE_NAME = SID10INT) ? ? ) ? ) ORCL = ? (DESCRIPTION = ? ? (ADDRESS = (PROTOCOL = TCP)(HOST = hostB)(PORT = 1521)) ? ? (CONNECT_DATA = ? ? ? (SERVER = DEDICATED) ? ? ? (SERVICE_NAME = orcl) ? ? ) ? ) Host A has oracke 10.1.0 and Host B has oracle 10.2.0 Form my nagios host I have no problem to make Host A check it's local db as well as the remote db: ./check_by_ssh -l oracle -H IP.OF.HOST.A -i /var/spool/nagios/.ssh/id_rsa -C "/usr/lib/nagios/plugins/check_oracle --tns sid10" OK - reply time 0 msec from sid10 ./check_by_ssh -l oracle -H IP.OF.HOST.A -i /var/spool/nagios/.ssh/id_rsa -C "/usr/lib/nagios/plugins/check_oracle --tns orcl" OK - reply time 10 msec from orcl With Host B I can check it's own db but not the remote one: ./check_by_ssh -l oracle -H IP.OF.HOST.B -i /var/spool/nagios/.ssh/id_rsa -C "/usr/lib/nagios/plugins/check_oracle --tns orcl" OK - reply time 0 msec from orcl ./check_by_ssh -l oracle -H IP.OF.HOST.B -i /var/spool/nagios/.ssh/id_rsa -C "/usr/lib/nagios/plugins/check_oracle --tns sid10" Cannot determine ORACLE_HOME for sid sid10 Now from a terminal on Host B as user oracle: /usr/lib/nagios/plugins/check_oracle --tns orcl OK - reply time 0 msec from orcl /usr/lib/nagios/plugins/check_oracle --tns sid10 OK - reply time 10 msec from sid10 Any idea what's going wrong? Regards, Thierry. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 mark.duffy at TEWV.NHS.UK Tue Nov 6 13:19:36 2007 From: mark.duffy at TEWV.NHS.UK (Mark Duffy) Date: Tue, 6 Nov 2007 12:19:36 -0000 Subject: check_snmp Message-ID: Afternoon all, I am currently trying to get my head round doing checks with SNMP. I have so far managed to get Nagios to display the required data but it is showing the array as Critical or Warning unless I set the -w & -c levels to 2 (which is status OK), I somehow feel this is not right. How do I go about adding more than one variable to the critical level for example Critical levels would be 3 & 4 and a warning would be 1 ( normally set as -w 1) Here is the check I am currently running and the workaround to get an OK status for a variable of 2: define command{ command_name check_cpq_array command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o 1.3.6.1.4.1.232.3.2.2.1.1.6.4 -C public -w 2 -c 2 } I think I have confused myself and probably the rest of you in this e-mail, if so I apologize. Regards, ? Mark Duffy ? Tees, Esk And Wear Valleys NHS Trust Flatts Lane Centre Flatts Lane Normanby Middlesbrough TS6 0SZ Tel: 01642 283548 This email may contain confidential information and may be read, copied and used only by the intended recipient. The information in this email transmission may not be legally revealed and is intended only for the use of the individual(s) named above. If you are not the intended recipient you are hereby notified that any use, dissemination, distribution or copying of this email message or its information is strictly prohibited. If you have received this email in error please notify the sender by reply. Delete this message from your email system(s) and do not disclose its contents to any person. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jaimeventura at ipp.pt Tue Nov 6 13:59:56 2007 From: jaimeventura at ipp.pt (Jaime Ventura) Date: Tue, 06 Nov 2007 12:59:56 +0000 Subject: Service status on status map. Message-ID: <4730654C.5050009@ipp.pt> Hello, On the status map I can see if a host is up or down. Is there any way to have some visual information to let me know that at least one service is not ok, on each host? Thanks, Jaime ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Tue Nov 6 14:35:43 2007 From: m.borsani at it.net (Marco Borsani) Date: Tue, 6 Nov 2007 14:35:43 +0100 Subject: R: scripts to schedule downtime via crontab In-Reply-To: <9D30659ABCA7FB428CF91E386C3A57449A780A@hermes.sapphire-int.gi> References: <00bb01c82061$d05fb970$0900d40a@intranet.it.net> <9D30659ABCA7FB428CF91E386C3A57449A780A@hermes.sapphire-int.gi> Message-ID: <010901c82079$ee2f7b80$0900d40a@intranet.it.net> Hi You post a script really similar to mine. I am looking for the www.nagios.org site, but I do not find nor example regarding 2.10 version neither which are "extra parameters" to pass to the command file. Regards Marco _____ Da: Giles Coochey [mailto:gcoochey at sapphire.gi] Inviato: marted? 6 novembre 2007 11.55 A: Marco Borsani; Nagios List Oggetto: RE: [Nagios-users] scripts to schedule downtime via crontab From: http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command _id=118 #!/bin/sh # This is a sample shell script showing how you can submit the SCHEDULE_HOST_DOWNTIME command # to Nagios. Adjust variables to fit your environment as necessary. now=`date +%s` commandfile='/usr/local/nagios/var/rw/nagios.cmd' /bin/printf "[%lu] SCHEDULE_HOST_DOWNTIME;host1;1110741500;1110748700;0;0;7200;Some One;Some Downtime Comment\n" $now > $commandfile It appears to me that there are some extra parameters in there from version 1.4.1 _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marco Borsani Sent: 06 November 2007 11:43 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] scripts to schedule downtime via crontab Hi all On my nagios 1.4.1 I am using script to schedule downtime like these: ---------------------------------- HOST Downtime #!/bin/sh datetime=$(/usr/bin/perl -e 'print(time)') hostname=$1 start_time=$datetime duration=$2 (( end_time = $datetime + $duration )) fixed=1 comment_author=nagios comment_data="Downtime di Host" echocmd="/bin/echo" CommandFile="/usr/local/nagios2/var/rw/nagios.cmd" # create the command line to add to the command file cmdline="[$datetime] SCHEDULE_HOST_DOWNTIME;$hostname;$start_time;$end_time;$fixed;$duration;$com ment_auth or;$comment_data" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` chown nagios:nagiocmd $CommandFile -------------------------------------- SERVICE Downtime #!/bin/sh datetime=$(/usr/bin/perl -e 'print(time)') hostname=$1 service_des=$2 start_time=$datetime duration=$3 (( end_time = $datetime + $duration )) fixed=1 comment_author=nagios comment_data="Downtime di Servizio" echocmd="/bin/echo" CommandFile="/usr/local/nagios2/var/rw/nagios.cmd" # create the command line to add to the command file cmdline="[$datetime] SCHEDULE_SVC_DOWNTIME;$hostname;$service_des;$start_time;$end_time;$fixed;$d uration;$ comment_author;$comment_data" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` chown nagios:nagiocmd $CommandFile ----------------------------------- These scripts do not work on Nagios 2.10 ... have anyone something similar for Nagios 2.10 ? Regards Marco Borsani Technical Operation tel.: +390104310115 e-fax: +390683175950 * m.borsani at it.net ITnet S.r.l. Direzione e Coordinamento di Weather Investments S.p.A. Via Pacinotti, 39 16151 - Genova In ottemperanza al D. lgs 196/03 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate e sono esclusivamente indirizzate al destinatario indicato (oppure alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio erroneamente ricevuto. According to Italy?s new data protection code (Legislative Decree no. 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning privacy, the information contained in this e-mail is confidential and is intended for the addressee only. If you are not the correct recipient, please note that any use, dissemination or copy of this document/information is strictly prohibited.If you have received this message in error, you should destroy it and please notify us immediately by e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 gcoochey at sapphire.gi Tue Nov 6 14:39:51 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Tue, 6 Nov 2007 14:39:51 +0100 Subject: scripts to schedule downtime via crontab In-Reply-To: <010901c82079$ee2f7b80$0900d40a@intranet.it.net> References: <00bb01c82061$d05fb970$0900d40a@intranet.it.net> <9D30659ABCA7FB428CF91E386C 3A57449A780A@hermes.sapphire-int.gi> <010901c82079$ee2f7b80$0900d40a@intranet.it.net> Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A781D@hermes.sapphire-int.gi> >From the page I linked to: "Set the "trigger_id" argument to zero (0) if the downtime for the specified host should not be triggered by another downtime entry." I don't believe you have a trigger_id set in your script. Try inserting it and see whether that resolves the issue. Check this page, for a similar variable in your service downtime script: http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=119 ________________________________ From: Marco Borsani [mailto:m.borsani at it.net] Sent: 06 November 2007 14:36 To: Giles Coochey; 'Nagios List' Subject: R: [Nagios-users] scripts to schedule downtime via crontab Hi You post a script really similar to mine. I am looking for the www.nagios.org site, but I do not find nor example regarding 2.10 version neither which are "extra parameters" to pass to the command file. Regards Marco ________________________________ Da: Giles Coochey [mailto:gcoochey at sapphire.gi] Inviato: marted? 6 novembre 2007 11.55 A: Marco Borsani; Nagios List Oggetto: RE: [Nagios-users] scripts to schedule downtime via crontab From: http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=118 #!/bin/sh # This is a sample shell script showing how you can submit the SCHEDULE_HOST_DOWNTIME command # to Nagios. Adjust variables to fit your environment as necessary. now=`date +%s` commandfile='/usr/local/nagios/var/rw/nagios.cmd' /bin/printf "[%lu] SCHEDULE_HOST_DOWNTIME;host1;1110741500;1110748700;0;0;7200;Some One;Some Downtime Comment\n" $now > $commandfile It appears to me that there are some extra parameters in there from version 1.4.1 ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marco Borsani Sent: 06 November 2007 11:43 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] scripts to schedule downtime via crontab Hi all On my nagios 1.4.1 I am using script to schedule downtime like these: ---------------------------------- HOST Downtime #!/bin/sh datetime=$(/usr/bin/perl -e 'print(time)') hostname=$1 start_time=$datetime duration=$2 (( end_time = $datetime + $duration )) fixed=1 comment_author=nagios comment_data="Downtime di Host" echocmd="/bin/echo" CommandFile="/usr/local/nagios2/var/rw/nagios.cmd" # create the command line to add to the command file cmdline="[$datetime] SCHEDULE_HOST_DOWNTIME;$hostname;$start_time;$end_time;$fixed;$duration;$comment_auth or;$comment_data" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` chown nagios:nagiocmd $CommandFile -------------------------------------- SERVICE Downtime #!/bin/sh datetime=$(/usr/bin/perl -e 'print(time)') hostname=$1 service_des=$2 start_time=$datetime duration=$3 (( end_time = $datetime + $duration )) fixed=1 comment_author=nagios comment_data="Downtime di Servizio" echocmd="/bin/echo" CommandFile="/usr/local/nagios2/var/rw/nagios.cmd" # create the command line to add to the command file cmdline="[$datetime] SCHEDULE_SVC_DOWNTIME;$hostname;$service_des;$start_time;$end_time;$fixed;$duration;$ comment_author;$comment_data" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` chown nagios:nagiocmd $CommandFile ----------------------------------- These scripts do not work on Nagios 2.10 ... have anyone something similar for Nagios 2.10 ? Regards Marco Borsani Technical Operation tel.: +390104310115 e-fax: +390683175950 * m.borsani at it.net ITnet S.r.l. Direzione e Coordinamento di Weather Investments S.p.A. Via Pacinotti, 39 16151 - Genova In ottemperanza al D. lgs 196/03 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate e sono esclusivamente indirizzate al destinatario indicato (oppure alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio erroneamente ricevuto. According to Italy's new data protection code (Legislative Decree no. 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning privacy, the information contained in this e-mail is confidential and is intended for the addressee only. If you are not the correct recipient, please note that any use, dissemination or copy of this document/information is strictly prohibited.If you have received this message in error, you should destroy it and please notify us immediately by e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 m.borsani at it.net Tue Nov 6 15:28:13 2007 From: m.borsani at it.net (Marco Borsani) Date: Tue, 6 Nov 2007 15:28:13 +0100 Subject: R: scripts to schedule downtime via crontab In-Reply-To: <9D30659ABCA7FB428CF91E386C3A57449A781D@hermes.sapphire-int.gi> References: <00bb01c82061$d05fb970$0900d40a@intranet.it.net> <9D30659ABCA7FB428CF91E386C3A57449A780A@hermes.sapphire-int.gi> <010901c82079$ee2f7b80$0900d40a@intranet.it.net> <9D30659ABCA7FB428CF91E386C3A57449A781D@hermes.sapphire-int.gi> Message-ID: <012801c82081$4431e610$0900d40a@intranet.it.net> Few minutes ago I found in the logs my fault... exactly that one you suggest now, the trigger_id I made many tests, all is going well now. Marco _____ Da: Giles Coochey [mailto:gcoochey at sapphire.gi] Inviato: marted? 6 novembre 2007 14.40 A: Marco Borsani; Nagios List Oggetto: RE: [Nagios-users] scripts to schedule downtime via crontab >From the page I linked to: ?Set the "trigger_id" argument to zero (0) if the downtime for the specified host should not be triggered by another downtime entry.? I don?t believe you have a trigger_id set in your script. Try inserting it and see whether that resolves the issue. Check this page, for a similar variable in your service downtime script: http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command _id=119 _____ From: Marco Borsani [mailto:m.borsani at it.net] Sent: 06 November 2007 14:36 To: Giles Coochey; 'Nagios List' Subject: R: [Nagios-users] scripts to schedule downtime via crontab Hi You post a script really similar to mine. I am looking for the www.nagios.org site, but I do not find nor example regarding 2.10 version neither which are "extra parameters" to pass to the command file. Regards Marco _____ Da: Giles Coochey [mailto:gcoochey at sapphire.gi] Inviato: marted? 6 novembre 2007 11.55 A: Marco Borsani; Nagios List Oggetto: RE: [Nagios-users] scripts to schedule downtime via crontab From: http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command _id=118 #!/bin/sh # This is a sample shell script showing how you can submit the SCHEDULE_HOST_DOWNTIME command # to Nagios. Adjust variables to fit your environment as necessary. now=`date +%s` commandfile='/usr/local/nagios/var/rw/nagios.cmd' /bin/printf "[%lu] SCHEDULE_HOST_DOWNTIME;host1;1110741500;1110748700;0;0;7200;Some One;Some Downtime Comment\n" $now > $commandfile It appears to me that there are some extra parameters in there from version 1.4.1 _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marco Borsani Sent: 06 November 2007 11:43 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] scripts to schedule downtime via crontab Hi all On my nagios 1.4.1 I am using script to schedule downtime like these: ---------------------------------- HOST Downtime #!/bin/sh datetime=$(/usr/bin/perl -e 'print(time)') hostname=$1 start_time=$datetime duration=$2 (( end_time = $datetime + $duration )) fixed=1 comment_author=nagios comment_data="Downtime di Host" echocmd="/bin/echo" CommandFile="/usr/local/nagios2/var/rw/nagios.cmd" # create the command line to add to the command file cmdline="[$datetime] SCHEDULE_HOST_DOWNTIME;$hostname;$start_time;$end_time;$fixed;$duration;$com ment_auth or;$comment_data" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` chown nagios:nagiocmd $CommandFile -------------------------------------- SERVICE Downtime #!/bin/sh datetime=$(/usr/bin/perl -e 'print(time)') hostname=$1 service_des=$2 start_time=$datetime duration=$3 (( end_time = $datetime + $duration )) fixed=1 comment_author=nagios comment_data="Downtime di Servizio" echocmd="/bin/echo" CommandFile="/usr/local/nagios2/var/rw/nagios.cmd" # create the command line to add to the command file cmdline="[$datetime] SCHEDULE_SVC_DOWNTIME;$hostname;$service_des;$start_time;$end_time;$fixed;$d uration;$ comment_author;$comment_data" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` chown nagios:nagiocmd $CommandFile ----------------------------------- These scripts do not work on Nagios 2.10 ... have anyone something similar for Nagios 2.10 ? Regards Marco Borsani Technical Operation tel.: +390104310115 e-fax: +390683175950 * m.borsani at it.net ITnet S.r.l. Direzione e Coordinamento di Weather Investments S.p.A. Via Pacinotti, 39 16151 - Genova In ottemperanza al D. lgs 196/03 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate e sono esclusivamente indirizzate al destinatario indicato (oppure alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio erroneamente ricevuto. According to Italy?s new data protection code (Legislative Decree no. 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning privacy, the information contained in this e-mail is confidential and is intended for the addressee only. If you are not the correct recipient, please note that any use, dissemination or copy of this document/information is strictly prohibited.If you have received this message in error, you should destroy it and please notify us immediately by e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 sebelk at gmail.com Tue Nov 6 16:24:24 2007 From: sebelk at gmail.com (Sergio Belkin) Date: Tue, 6 Nov 2007 12:24:24 -0300 Subject: snmp version 3 Message-ID: <8c6f7f450711060724p27c2aef8o6798700787c2721c@mail.gmail.com> Hi, I'd want to know is nagios supports snmpv3. Thanks in advance. Greets. -- -- Open Kairos http://www.openkairos.com Watch More TV http://sebelk.blogspot.com Sergio Belkin - ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 paul.weaver at bbc.co.uk Tue Nov 6 16:39:57 2007 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Tue, 6 Nov 2007 15:39:57 -0000 Subject: check_hd (free diskspace via snmp) reporting wrong values Message-ID: I use a slightly modified (allow cheks of "/var" as well as "c:") check_hd plugin to check disk space on both windows and unix. It works fine for the most part, except for a windows machine with 2 partitions. The E: partition report is fine OK: hd e:\.* 1% full, 27.4GB free. Warn at 85%, Critical at 95% The C partition wasn't OK: hd c:\.* 83% full, 0.7GB free. Warn at 85%, Critical at 95% Investigating revealed the plugin working correctly DBG: fullsize 8388447 * 512 = 4294884864 DBG: usedsize 6984708 * 512 = 3576170496 However the C: drive wasn't using 3.5G, it was using about 210*6984708 So I doubt it's the allocationunit that's a problem. It now reports the correct value, which may be linked to a restart of the snmp service. OK: hd c:\.* 65% full, 1.4GB free. Warn at 85%, Critical at 95% Has anyone seen this kind of behavior before? http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 ae at op5.se Tue Nov 6 16:43:37 2007 From: ae at op5.se (Andreas Ericsson) Date: Tue, 06 Nov 2007 16:43:37 +0100 Subject: snmp version 3 In-Reply-To: <8c6f7f450711060724p27c2aef8o6798700787c2721c@mail.gmail.com> References: <8c6f7f450711060724p27c2aef8o6798700787c2721c@mail.gmail.com> Message-ID: <47308BA9.8060109@op5.se> Sergio Belkin wrote: > Hi, I'd want to know is nagios supports snmpv3. Technically, no. In practice, yes. > Thanks in advance. > You're welcome. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Greg.Redder at ColoState.EDU Tue Nov 6 17:01:35 2007 From: Greg.Redder at ColoState.EDU (Redder,Greg) Date: Tue, 6 Nov 2007 09:01:35 -0700 Subject: Nagios killing xmessage In-Reply-To: <47303448.8090604@op5.se> References: <31106EACA9CB89429547C16564B3F40E3BCE39B8B7@EVS1.ColoState.EDU> <47303448.8090604@op5.se> Message-ID: <31106EACA9CB89429547C16564B3F40E3BCE39B8F8@EVS1.ColoState.EDU> Andreas, Thank you for the response. Unfortunately backgrounding was the first thing I tried. The pid is still owened by nagios and thus I thought that a nohup would work since the parent pid becomes 1. No luck Nagios still seems to kill it. I thought nohup would be the trick :-( --Greg -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Andreas Ericsson Sent: Tuesday, November 06, 2007 2:31 AM To: Redder,Greg Cc: Duffy,Richard; Farnell,Jim; dick hill; Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios killing xmessage Redder,Greg wrote: > We're running Nagios 2.9. We have a command configured: > > define command { > command_name host-notify-by-xmessage > command_line /etc/nagios/scripts/host-notify-by-xmessage "$HOSTSTATE$" "$HOSTNAME$" "$HOSTALIAS$" "$DATETIME$" > } > > The "host-notify-by-xmessage" is a shell script that pulls in a text file and displays that text file along with the host and the problem via an xmessage to an xdisplay. This all works fine when run from the command line. It even works when invoked by nagios, but when nagios invokes it, it also kills the process in about 30 seconds. This wasn't a problem on Nagios 1.x. We recently upgraded to 2.9 and ran into this issue. I've tried nohup'ing the xmessage, but no luck - it seems like the nagios process kills it no matter what!? I've tried converting the script to perl and using 'system' or 'exec' calls, but that didn't fix the problem either. > > Does anyone have a workaround for this or a suggestion on things to try, please? > xmessage & Nagios must kill the notification commands if they run for too long, otherwise each notification will leak filedescriptors, and Nagios will, eventually, no longer be able to run any commands at all. Don't create notification scripts that never exit (under normal circumstances). You'll just eat resources for nothing. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 bespalov at sovintel.ru Tue Nov 6 17:41:32 2007 From: bespalov at sovintel.ru (Alexander Bespalov) Date: Tue, 6 Nov 2007 17:41:32 +0100 (CET) Subject: Nagios Huge Installation (15000 hosts) - Problem In-Reply-To: <200711041759.39212.cedric.temple@linagora.com> References: <200711041759.39212.cedric.temple@linagora.com> Message-ID: <20071106164132.E8C5E58800B@desire.netways.de> Hi C?dric, I have several updates regarding my problem. My latest Nagios configuration: Central server - dedicated server (HP DL360, 2Gb RAM, 2xCPU), works perfect, load average: 0.25, 0.06, 0.02, Nagios configured with almost default parameters. Distributed processes (20 processes on a single server) - server shared with another applications (HP DL580, 8Gb RAM, 4xCPU), some Nagios processes becomes out of time after several hours, load average: 6.48, 7.45, 6.56. I think the main problem is the distributed server usage. I plan to migrate distributed processes to a dedicated server (HP DL580, 8Gb RAM, 4xCPU) I have one in my lab. If you have any ideas please inform me. Thank you! -- Alexander Bespalov ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 pico at cocco.biz Tue Nov 6 17:53:50 2007 From: pico at cocco.biz (PiCo) Date: Tue, 06 Nov 2007 17:53:50 +0100 Subject: using nagios via socks proxy Message-ID: Hi! I need to monitor some hosts that can only be accessed via a SOCKS proxy (SSH tunneling). I'm using FREECAP on windows... but if I want to monitor this hosts with nagios.... What I have to do? Any idea ?? -- ,,, /'^'\ ( o o ) ----------------------------------------oOOO--(_)--OOOo------ Pierfrancesco Cocco EMail: pico at cocco.biz Web: www.cocco.biz ICQ#: 105570291 SkypeID: cocco.biz Tel.: +39 335 1234 475 Fax.: +39 06 233 2401 88 .oooO ( ) Oooo. ------------------------------------------\ (----( )------- \_) ) / (_/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 richardsolid at gmail.com Tue Nov 6 20:03:14 2007 From: richardsolid at gmail.com (Jake Solid) Date: Tue, 6 Nov 2007 14:03:14 -0500 Subject: Monitoring Windows XP Message-ID: Hello, I have a nagios server already monitoring multiple Linux servers. What will be the best nagios plugin for monitoring the resources of a Windows XP machine that its exposed on the Internet? Thanks in advanced, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 bob.debolt at starblanket.ca Tue Nov 6 20:35:17 2007 From: bob.debolt at starblanket.ca (Bob DeBolt) Date: Tue, 06 Nov 2007 12:35:17 -0700 Subject: Monitoring Windows XP In-Reply-To: References: Message-ID: <4730C1F5.8070903@starblanket.ca> Jake Solid wrote: > I have a nagios server already monitoring multiple Linux servers. What will > be the best nagios plugin for monitoring the resources of a Windows XP http://www.shatterit.com/NC_Net/ will get you started nicely Bob -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 matthew-ln at itconsult.co.uk Tue Nov 6 21:12:23 2007 From: matthew-ln at itconsult.co.uk (Matthew Richardson) Date: Tue, 06 Nov 2007 20:12:23 +0000 Subject: check_snmp In-Reply-To: References: Message-ID: I am doing a number of very similar checks on HP kit using SNMP. The parameter used is "-s 2", which gives UP provided the value returned is 2. Some examples may assist:- # hp specific snmp checks define command { command_name check_snmp_hp_power command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o 1.3.6.1.4.1.232.6.2.9.1.0 -s 2 -t 45 } define command { command_name check_snmp_hp_health command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o 1.3.6.1.4.1.232.6.1.3.0 -s 2 -t 45 } define command { command_name check_snmp_hp_correctablememory command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o 1.3.6.1.4.1.232.6.2.3.2.0 -s 2 -t 45 } define command { command_name check_snmp_hp_asr command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o 1.3.6.1.4.1.232.6.2.5.17.0 -s 2 -t 45 } define command { command_name check_snmp_hp_thermal command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o 1.3.6.1.4.1.232.6.2.6.1.0 -s 2 -t 45 } define command { command_name check_snmp_hp_tempsensors command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o 1.3.6.1.4.1.232.6.2.6.3.0 -s 2 -t 45 } define command { command_name check_snmp_hp_tempvalue command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o 1.3.6.1.4.1.232.6.2.6.8.1.4.0.$ARG2$ -w $ARG3$ -c $ARG4$ -t 45 } define command { command_name check_snmp_hp_fans command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o 1.3.6.1.4.1.232.6.2.6.4.0 -s 2 -t 45 } define command { command_name check_snmp_hp_cpufans command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o 1.3.6.1.4.1.232.6.2.6.5.0 -s 2 -t 45 } define command { command_name check_snmp_hp_drivearray command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o 1.3.6.1.4.1.232.3.1.3.0 -s 2 -t 45 } define command { command_name check_snmp_hp_arraycontroller command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o 1.3.6.1.4.1.232.3.2.2.1.1.6.$ARG2$ -s 2 -t 45 } define command { command_name check_snmp_hp_logicaldrivestatus command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o 1.3.6.1.4.1.232.3.2.3.1.1.4.$ARG2$.$ARG3$ -s 2 -t 45 } define command { command_name check_snmp_hp_physicaldrivestatus command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o 1.3.6.1.4.1.232.3.2.5.1.1.6.$ARG2$.$ARG3$ -s 2 -t 45 } These checks are quite basic, insofar as they provide no additional information if the service is not UP. They work perfectly well for attracting one's attention though. Best wishes, Matthew ------ >From: "Mark Duffy" >To: >Cc: >Date: Tue, 6 Nov 2007 12:19:36 -0000 >Subject: [Nagios-users] check_snmp >Afternoon all, > >I am currently trying to get my head round doing checks with SNMP. > >I have so far managed to get Nagios to display the required data but it is showing the array as Critical or Warning unless I set the -w & -c levels to 2 (which is status OK), I somehow feel this is not right. How do I go about adding more than one variable to the critical level for example Critical levels would be 3 & 4 and a warning would be 1 ( normally set as -w 1) > >Here is the check I am currently running and the workaround to get an OK status for a variable of 2: > >define command{ > command_name check_cpq_array > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o 1.3.6.1.4.1.232.3.2.2.1.1.6.4 -C public -w 2 -c 2 > } > >I think I have confused myself and probably the rest of you in this e-mail, if so I apologize. > >Regards, >? >Mark Duffy >? >Tees, Esk And Wear Valleys NHS Trust >Flatts Lane Centre >Flatts Lane >Normanby >Middlesbrough >TS6 0SZ >Tel: 01642 283548 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Tarak.Patel at ec.gc.ca Tue Nov 6 22:40:18 2007 From: Tarak.Patel at ec.gc.ca (Tarak Patel) Date: Tue, 06 Nov 2007 21:40:18 +0000 Subject: Integrating LONGSERVICEOUTPUT in nagios.cgi Message-ID: <4730DF42.4040002@ec.gc.ca> Hi all, Has any one integrated LONGSERVICEOUTPUT in nagios-3.0b6 into the cgi. TP ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 james at nttmcl.com Wed Nov 7 00:59:25 2007 From: james at nttmcl.com (James) Date: Tue, 06 Nov 2007 15:59:25 -0800 Subject: sms notify not working Message-ID: <4730FFDD.5010008@nttmcl.com> Hi everyone i'm using sms_client to send sms messages to a tap server for sprint i can run the sms_client manually fine but i set it to a notify definition and it won't execute nagios logs shows that it executed the notify command but it doesn't actually run the sms_client daemon at all. In the notifications history it shows that those notify commands are executed but it actually isn't being executed at all I can run email notify commands fine. Help please? TIA James Here's the notify commands i've tried : define command{ command_name notify-by-sms command_line /usr/bin/sms_client -q sprintpcs:800xxxxxxx "$HOSTNAME$ $SERVICESTATE$\r\n Info: $OUTPUT$" } define command{ command_name notify-by-sms-testing command_line /usr/bin/printf "%b" "Host: $HOSTNAME$ I nfo: $HOSTOUTPUT$\n" | sms_client -q sprintpcs:800xxxxxxx } ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 yana.millis at gmail.com Wed Nov 7 01:51:34 2007 From: yana.millis at gmail.com (Yana Millis) Date: Wed, 7 Nov 2007 10:51:34 +1000 Subject: How and where to install NDOUtils ? Message-ID: Hello! I'm having a bad time installing NDOUtils. In the installation instructions it says to put the ndoutils files as follows: ndomod-2x.0 to /usr/local/nagios/bin ndomod.cfg to /usr/local/nagios/etc ndo2db-2x to /usr/lcal/nagios/bin ndo2db.cfg to /usr/local/nagios/etc now my problem is that the nagios i'm working with was not installed by me, and it was not a "default" installation but a package installation. As a result, the nagios installation does not have either the /bin or the /etc directories. So my question is: given that the nagios installation doesn't have either the bin or the etc directories, where should I put the ndomod-2x.o, ndomod.cfg, ndo2db-2x, and ndo2db.cfg files ?? Can anybody please shed some light on this and point me in the right direction ? Thanks a bunch for any feedback, --yana ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Wed Nov 7 02:18:39 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 6 Nov 2007 17:18:39 -0800 Subject: How and where to install NDOUtils ? In-Reply-To: References: Message-ID: <20071107011839.GO18464@pmorris.usa.hp.com> It doesn't matter where you install them. Just make sure your configurations match where you put them. On Wed, 07 Nov 2007, Yana Millis wrote: > Hello! > > I'm having a bad time installing NDOUtils. > In the installation instructions it says to put the ndoutils files as follows: > ndomod-2x.0 to /usr/local/nagios/bin > ndomod.cfg to /usr/local/nagios/etc > ndo2db-2x to /usr/lcal/nagios/bin > ndo2db.cfg to /usr/local/nagios/etc > > now my problem is that the nagios i'm working with was not installed > by me, and it was not a "default" installation > but a package installation. As a result, the nagios installation does > not have either the /bin or the /etc > directories. > > So my question is: given that the nagios installation doesn't have > either the bin or the etc directories, where > should I put the ndomod-2x.o, ndomod.cfg, ndo2db-2x, and ndo2db.cfg files ?? > > Can anybody please shed some light on this and point me in the right direction ? > Thanks a bunch for any feedback, > > --yana > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 amen at oreilly.com Wed Nov 7 02:22:32 2007 From: amen at oreilly.com (Bob Amen) Date: Tue, 06 Nov 2007 17:22:32 -0800 Subject: How and where to install NDOUtils ? In-Reply-To: References: Message-ID: <47311358.4070302@oreilly.com> Yana Millis wrote: > So my question is: given that the nagios installation doesn't have > either the bin or the etc directories, where > should I put the ndomod-2x.o, ndomod.cfg, ndo2db-2x, and ndo2db.cfg files ?? Use your package tools to find out where the configuration files and binaries are installed and then install the NDOUtils files there too. -- Bob Amen O'Reilly Media, Inc. http://www.ora.com/ http://www.oreilly.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Roger at NagiosWiki.com Wed Nov 7 02:32:37 2007 From: Roger at NagiosWiki.com (Roger) Date: Tue, 6 Nov 2007 17:32:37 -0800 Subject: How and where to install NDOUtils ? In-Reply-To: References: Message-ID: <2b7af7c40711061732u32dbf266jad80b5f4cf30a7b5@mail.gmail.com> On 11/6/07, Yana Millis wrote: > Hello! > > I'm having a bad time installing NDOUtils. Yana, for what it's worth, I put up a HOWTO here for CentOS http://nagioswiki.com/wiki/index.php/NDOutils_on_CentOS (let me know if there is anything you need that isn't covered there) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 alex.howells at 0wn3d.us Wed Nov 7 02:33:39 2007 From: alex.howells at 0wn3d.us (Alex Howells) Date: Wed, 7 Nov 2007 01:33:39 +0000 Subject: How and where to install NDOUtils ? In-Reply-To: <47311358.4070302@oreilly.com> References: <47311358.4070302@oreilly.com> Message-ID: Also, and completely off-topic, did you *really* need to send that to /four/ different mailing lists? It's very bad etiquette to do that :) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hvdkooij at vanderkooij.org Wed Nov 7 02:35:15 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 07 Nov 2007 02:35:15 +0100 Subject: Nagios killing xmessage In-Reply-To: <31106EACA9CB89429547C16564B3F40E3BCE39B8F8@EVS1.ColoState.EDU> References: <31106EACA9CB89429547C16564B3F40E3BCE39B8B7@EVS1.ColoState.EDU> <47303448.8090604@op5.se> <31106EACA9CB89429547C16564B3F40E3BCE39B8F8@EVS1.ColoState.EDU> Message-ID: <47311653.1050608@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Redder,Greg wrote: > Andreas, > > Thank you for the response. Unfortunately backgrounding was the first thing I tried. The pid is still owened by nagios and thus I thought that a nohup would work since the parent pid becomes 1. No luck Nagios still seems to kill it. I thought nohup would be the trick :-( Let us go back to the drawing board. I would think more along the lines of: - Nagios alert messages add or remove messages from a text file. (Say 1 event per line). - xmessages checks the file each minute or so and if it is not empty it will show the content. Perhaps just restart xmessage with the new content if the content has changed. It is a rather crude scetch but it might point you into a direction you may not have considered yet. Have you considered looking at that firefox plugin? It will propably do something quite similar to what you want to achive. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHMRZRBvzDRVjxmYERAqzfAJ9ueJWG0l53mJ6K86Yy8j2NQaoTQACggm0T SVnsTLCFA0+PiKcKytRmc48= =cIYP -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Nov 7 03:46:56 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 6 Nov 2007 21:46:56 -0500 Subject: Monitoring Windows XP In-Reply-To: <4730C1F5.8070903@starblanket.ca> References: <4730C1F5.8070903@starblanket.ca> Message-ID: Hi, The ONLY Oficial location for downloading NC_NEt is SourceForge: http://sourceforge.net/projects/nc-net It is Highly recomended to upgrade to 4.1a for solving issues and extended functionality. current version is 4.1a requires Dot Net v2.0 Other tools require Dot Net 1.1 technical Support is through NC_Net Forum on SourceForge. Best of Luck. Tony (Author of NC_Net) On Nov 6, 2007 2:35 PM, Bob DeBolt wrote: > Jake Solid wrote: > > > I have a nagios server already monitoring multiple Linux servers. What > will > > be the best nagios plugin for monitoring the resources of a Windows XP > > http://www.shatterit.com/NC_Net/ will get you started nicely > > Bob > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 alexus at gmail.com Wed Nov 7 06:27:15 2007 From: alexus at gmail.com (alexus) Date: Wed, 7 Nov 2007 00:27:15 -0500 Subject: nrpe timesout! In-Reply-To: <472AEE89.3020203@googlemail.com> References: <6ae50c2d0710292006l3fe843f3s3b1551192ea9a8d5@mail.gmail.com> <47270242.5090705@googlemail.com> <6ae50c2d0711012004k332f3c9cta6291af8d5a8283c@mail.gmail.com> <472AEE89.3020203@googlemail.com> Message-ID: <6ae50c2d0711062127v227d9350o40f6045577fd3300@mail.gmail.com> i understand that, all of those are enabled as before i switched to nagios3 and trying to reconfigure everything from scratch it seems to be working fine in nagios2 (using same settings from nagios2 to nagios3) with nrpe, so i've dealt with nrpe and it has been working in the past On Nov 2, 2007 4:31 AM, Hari Sekhon wrote: > alexus wrote: > > i assume instead of check_http -a 10.10.10.34 you mean whatever is in > > nrpe.cfg for check_http command, so i'm showing you whats in there and > > i'm trying to execute that command and it works fine, but not through > > nrpe... > > > > # grep check_http ~nagios/etc/nrpe.cfg > > command[check_http]=/usr/local/nagios/libexec/check_http -I $ARG1$ -e 200 > > # /usr/local/nagios/libexec/check_http -I 10.10.10.34 -e 200 > > HTTP OK HTTP/1.1 200 OK - 299 bytes in 0.002 seconds > > |time=0.002095s;;;0.000000 size=299B;;;0 > > # > 2 things: > > 1. Are you running this as root? The # at the beginning of the line > suggests so. Try running it as the user account that nrpe runs as. > > 2. You are passing args through nrpe, this is not good practice. It also > will not work unless you have dont_blame_nrpe=1 in your nrpe.cfg on the > remote host against which you are executing the nrpe call. I would > recommend not passing args but instead defining more check_commands with > the args already in them, this is more secure as it is more tightly > controlled. > > -h > -- http://alexus.org/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 cedric.temple at linagora.com Wed Nov 7 09:43:59 2007 From: cedric.temple at linagora.com (=?iso-8859-1?Q?C=E9dric_Temple?=) Date: Wed, 7 Nov 2007 09:43:59 +0100 (CET) Subject: Nagios Huge Installation (15000 hosts) - Problem In-Reply-To: <20071106164132.E8C5E58800B@desire.netways.de> References: <200711041759.39212.cedric.temple@linagora.com> <20071106164132.E8C5E58800B@desire.netways.de> Message-ID: <3975.10.0.0.1.1194425039.squirrel@intranet.linagora.com> Le Mar 6 novembre 2007 17:41, Alexander Bespalov a ?crit : > Hi C?dric, Hi, > I have several updates regarding my problem. > > My latest Nagios configuration: > Central server - dedicated server (HP DL360, 2Gb RAM, 2xCPU), works > perfect, load average: 0.25, 0.06, 0.02, Nagios configured with almost > default parameters. > Distributed processes (20 processes on a single server) - server shared > with another applications (HP DL580, 8Gb RAM, 4xCPU), some Nagios processes > becomes out of time after several hours, load average: 6.48, 7.45, 6.56. > > I think the main problem is the distributed server usage. > I plan to migrate distributed processes to a dedicated server (HP DL580, 8Gb > RAM, 4xCPU) I have one in my lab. OK. Did you try DNX? http://tech.lds.org/index.php?option=com_content&task=view&id=107&Itemid=68 http://dnx.sourceforge.net/ http://sourceforge.net/projects/dnx It is an alpha version but maybe it can help? Regards. -- C?dric Temple - Groupe Linagora Administrateur Syst?mes et R?seaux Tel: 01/58/18/68/28 - Fax: 01/58/18/68/29 http://www.linagora.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 stephen.wing at steria.co.uk Wed Nov 7 10:01:16 2007 From: stephen.wing at steria.co.uk (stephen wing) Date: Wed, 7 Nov 2007 09:01:16 -0000 Subject: sms notify not working In-Reply-To: <4730FFDD.5010008@nttmcl.com> References: <4730FFDD.5010008@nttmcl.com> Message-ID: <004f01c8211c$c1202790$9a02a8c0@uk.sterianet> Hi If you are using nagios to send the messages, be careful that sms_client has a limit of 150 characters in the text message. Depending on what outputs you are sending from nagios, the outputs can easily become more than 150 characters. Regards Stephen --------------------------------------- Stephen Wing Steria Limited Senior Technical Consultant Telephone 02890393605 Mobile 07966823605 -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of James Sent: 06 November 2007 23:59 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] sms notify not working Hi everyone i'm using sms_client to send sms messages to a tap server for sprint i can run the sms_client manually fine but i set it to a notify definition and it won't execute nagios logs shows that it executed the notify command but it doesn't actually run the sms_client daemon at all. In the notifications history it shows that those notify commands are executed but it actually isn't being executed at all I can run email notify commands fine. Help please? TIA James Here's the notify commands i've tried : define command{ command_name notify-by-sms command_line /usr/bin/sms_client -q sprintpcs:800xxxxxxx "$HOSTNAME$ $SERVICESTATE$\r\n Info: $OUTPUT$" } define command{ command_name notify-by-sms-testing command_line /usr/bin/printf "%b" "Host: $HOSTNAME$ I nfo: $HOSTOUTPUT$\n" | sms_client -q sprintpcs:800xxxxxxx } ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 email originates from Steria Limited, registered office: Three Cherry Trees Lane, Hemel Hempstead, Hertfordshire HP2 7AH; Registered in England and Wales, number 2706218; www.steria.co.uk. This email and any attachments may contain confidential information and may be subject to copyright or other intellectual property rights. It is only for the use of the addressee(s). You are prohibited from copying, forwarding, disclosing, saving or otherwise using it in any way if you are not the addressee(s) or responsible for delivery. If you receive this email by mistake, please advise the sender and cancel it immediately. Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures. Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or edited. ================================================ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 g.digiambelardini at fabaris.it Wed Nov 7 10:31:44 2007 From: g.digiambelardini at fabaris.it (Di Giambelardini Gabriele) Date: Wed, 7 Nov 2007 10:31:44 +0100 (CET) Subject: parenst for service Message-ID: <55971.192.168.1.1.1194427904.squirrel@webmail2.fabaris.it> Hi to all, somebody know if it's possible add an parents directive in services.cfg files? thank in advances ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Sebastian.Ries at dtnet.de Wed Nov 7 10:28:48 2007 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Wed, 07 Nov 2007 10:28:48 +0100 Subject: parenst for service In-Reply-To: <55971.192.168.1.1.1194427904.squirrel@webmail2.fabaris.it> References: <55971.192.168.1.1.1194427904.squirrel@webmail2.fabaris.it> Message-ID: <1194427728.29396.0.camel@bofh.dtnet.de> Hi > somebody know if it's possible add an parents directive in services.cfg > files? > thank in advances You can archieve this by configuring Service Dependancies. Look for that. 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 g.digiambelardini at fabaris.it Wed Nov 7 11:10:04 2007 From: g.digiambelardini at fabaris.it (Di Giambelardini Gabriele) Date: Wed, 7 Nov 2007 11:10:04 +0100 (CET) Subject: parenst for service Message-ID: <56697.192.168.1.1.1194430204.squirrel@webmail2.fabaris.it> Ok, but I need it only for status map vision Service Dependancies help me? > Hi > >> somebody know if it's possible add an parents directive in services.cfg >> files? >> thank in advances > You can archieve this by configuring Service Dependancies. > Look for that. > > 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 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 g.digiambelardini at fabaris.it Wed Nov 7 11:09:47 2007 From: g.digiambelardini at fabaris.it (Di Giambelardini Gabriele) Date: Wed, 7 Nov 2007 11:09:47 +0100 (CET) Subject: parenst for service In-Reply-To: <1194427728.29396.0.camel@bofh.dtnet.de> References: <55971.192.168.1.1.1194427904.squirrel@webmail2.fabaris.it> <1194427728.29396.0.camel@bofh.dtnet.de> Message-ID: <56693.192.168.1.1.1194430187.squirrel@webmail2.fabaris.it> Ok, but I need it only for status map vision Service Dependancies help me? > Hi > >> somebody know if it's possible add an parents directive in services.cfg >> files? >> thank in advances > You can archieve this by configuring Service Dependancies. > Look for that. > > 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 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 > > Di Giambelardini Gabriele System/Network Administrator __________________________________________ FABARIS s.r.l. Cel. +39 3488504467 Tel. +39 0765 22181 - Fax +39 0765 410100 Via G. Mameli, 90 02047 Poggio Mirteto (RI) Filiale: Viale dell'Universit?, 25 00185 Roma (RM) www.fabaris.it __________________________________________ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Peter.Jevos at Oriflame-SW.Com Wed Nov 7 12:39:29 2007 From: Peter.Jevos at Oriflame-SW.Com (Jevos, Peter) Date: Wed, 7 Nov 2007 12:39:29 +0100 Subject: Riddle with nrpe Message-ID: <6639BA20B265594590E97DD72A8EE0359DA689@exosw.osw.ori.local> Hi I have a damned problem with nrpe under windows Everythink works without any problem but one command can't work. Probably it's issue with syntax but after couple of days I gave it up. In my nrpe.cfg is command: command[check_cmd]=c:\test.cmd In the test.cmd is: @echo off C:\pscp.exe -batch -q -pw password c:\test.txt nagios at 10.8.10.9:/tmp/test/ echo Looks good exit 1 When I run it from linux, command is timed out Command pscp will not end and became hang on in the windows processes. I tried to use whatever instead pscp and everythink is working. I also tried to use "" to identifeing paths and it doesn't work as well "C:\pscp.exe" -batch -q -pw password "c:\test.txt" nagios at 10.8.10.9:/tmp/test/ When I run this command from command prompt it works and copy file into linux machine I also tried to use a differenet options in th pscp. I run pscp with full control permission and NRPE_nt service is running under local administrastor. I though that there is problem with pscp authentication. Cause on my linux machine there is no attempt to authenticate from that windows. When I use this command from command prompt there is a record in the auth.log about sshd Accepted keyboard from windows machine I would say there must be something with command syntax and nrpe_nt can't handle it Thanks BR Pet ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 lavalamp at spiritual-machines.org Wed Nov 7 16:02:40 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Wed, 07 Nov 2007 10:02:40 -0500 Subject: Riddle with nrpe In-Reply-To: <6639BA20B265594590E97DD72A8EE0359DA689@exosw.osw.ori.local> References: <6639BA20B265594590E97DD72A8EE0359DA689@exosw.osw.ori.local> Message-ID: <1194447760.2472.11.camel@ingress.pitbpa0.priv.collaborativefusion.com> On Wed, 2007-11-07 at 12:39 +0100, Jevos, Peter wrote: > Hi > I have a damned problem with nrpe under windows > Everythink works without any problem but one command can't work. > Probably it's issue with syntax but after couple of days I gave it up. > In my nrpe.cfg is command: > command[check_cmd]=c:\test.cmd > > In the test.cmd is: > > @echo off If your script runs as a different user than the successful interactive run, then pscp.exe is most likely stuck at stdin wait loop prompting to accept the RSA key from the linux server before continuing. Try logging in as the user you're running the script as (or more accurately, you're running the nrpe_nt service as) ~BAS ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Peter.Jevos at Oriflame-SW.Com Wed Nov 7 17:21:00 2007 From: Peter.Jevos at Oriflame-SW.Com (Jevos, Peter) Date: Wed, 7 Nov 2007 17:21:00 +0100 Subject: Riddle with nrpe In-Reply-To: <1194447760.2472.11.camel@ingress.pitbpa0.priv.collaborativefusion.com> References: <1194447760.2472.11.camel@ingress.pitbpa0.priv.collaborativefusion.com> Message-ID: <6639BA20B265594590E97DD72A8EE0359DA68B@exosw.osw.ori.local> Dear Brian Yes, that was a problem. I didn't check it cause I thought that nrpe_nt services is running under local admin but it was a local account. I checked it again ad I've fixed it Thanks Br pet > -----Original Message----- > From: Brian A. Seklecki [mailto:lavalamp at spiritual-machines.org] > Sent: Wednesday, November 07, 2007 4:03 PM > To: Jevos, Peter > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Riddle with nrpe > > On Wed, 2007-11-07 at 12:39 +0100, Jevos, Peter wrote: > > Hi > > I have a damned problem with nrpe under windows Everythink works > > without any problem but one command can't work. > > Probably it's issue with syntax but after couple of days I > gave it up. > > In my nrpe.cfg is command: > > command[check_cmd]=c:\test.cmd > > > > In the test.cmd is: > > > > @echo off > > If your script runs as a different user than the successful > interactive run, then pscp.exe is most likely stuck at stdin > wait loop prompting to accept the RSA key from the linux > server before continuing. > > > Try logging in as the user you're running the script as (or > more accurately, you're running the nrpe_nt service as) > > ~BAS > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 lavalamp at spiritual-machines.org Wed Nov 7 17:30:28 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Wed, 7 Nov 2007 11:30:28 -0500 (EST) Subject: Riddle with nrpe In-Reply-To: <6639BA20B265594590E97DD72A8EE0359DA68B@exosw.osw.ori.local> References: <6639BA20B265594590E97DD72A8EE0359DA68B@exosw.osw.ori.local> Message-ID: <20071107112800.W58884@arbitor.digitalfreaks.org> Yea each user gets thier equiv of ~/.ssh/know_hosts crammed into thier local registry. It's a feature(R). That way, seek() and read() operations in the registry goes slower and slower with each click of your mouse. Microsft++ ~BAS On Wed, 7 Nov 2007, Jevos, Peter wrote: > Dear Brian > > Yes, that was a problem. I didn't check it cause I thought that nrpe_nt > services is running under local admin but it was a local account. I > checked it again ad I've fixed it > > Thanks > > Br > > pet > >> -----Original Message----- >> From: Brian A. Seklecki [mailto:lavalamp at spiritual-machines.org] >> Sent: Wednesday, November 07, 2007 4:03 PM >> To: Jevos, Peter >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Riddle with nrpe >> >> On Wed, 2007-11-07 at 12:39 +0100, Jevos, Peter wrote: >>> Hi >>> I have a damned problem with nrpe under windows Everythink works >>> without any problem but one command can't work. >>> Probably it's issue with syntax but after couple of days I >> gave it up. >>> In my nrpe.cfg is command: >>> command[check_cmd]=c:\test.cmd >>> >>> In the test.cmd is: >>> >>> @echo off >> >> If your script runs as a different user than the successful >> interactive run, then pscp.exe is most likely stuck at stdin >> wait loop prompting to accept the RSA key from the linux >> server before continuing. >> >> >> Try logging in as the user you're running the script as (or >> more accurately, you're running the nrpe_nt service as) >> >> ~BAS >> >> > l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "Guilty? Yeah. But he knows it. I mean, you're guilty. You just don't know it. So who's really in jail?" ~Maynard James Keenan ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 svalding at kent.edu Wed Nov 7 17:25:59 2007 From: svalding at kent.edu (svalding at kent.edu) Date: Wed, 07 Nov 2007 11:25:59 -0500 Subject: NDOUtils event broker Message-ID: Hey list I got 2.10 all up and running perfectly for me now. I've started my NDOUtils project to implement NagVis. This is going pretty smooth, save for one part. I'm building this on an Ubuntu box, but following the HOWTO I found on the wiki for CentOS I modified it to suit my needs. I have everything running fine. The daemon starts good. However, I am getting the "Error connecting to datasink!" bit. I did a search of the archives, and found a few posts about permissions, and I just verified them. root at dovnagiosw:/usr/local/nagios/var# ls -l ndo.sock srwxrwxrwx 1 nagios nagcmd 0 2007-11-06 10:34 ndo.sock It seems to me the nagios user can read and write to the sock file The database and user are created correctly, and my ndomod.cfg file seems to be ok. I can post the contents of that if the list so chooses. Thanks, Stephen -------------- next part -------------- A non-text attachment was scrubbed... Name: svalding.vcf Type: text/x-vcard Size: 131 bytes Desc: Card for URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 james at nttmcl.com Wed Nov 7 18:16:35 2007 From: james at nttmcl.com (James) Date: Wed, 07 Nov 2007 09:16:35 -0800 Subject: sms notify not working In-Reply-To: <004f01c8211c$c1202790$9a02a8c0@uk.sterianet> References: <004f01c8211c$c1202790$9a02a8c0@uk.sterianet> Message-ID: <4731F2F3.9020803@nttmcl.com> stephen wing wrote: > Hi > If you are using nagios to send the messages, be careful that > sms_client has a limit of 150 characters in the text message. Depending on > what outputs you are sending from nagios, the outputs can easily become more > than 150 characters. > > Regards > Stephen > > --------------------------------------- > Stephen Wing > Steria Limited > Senior Technical Consultant > Telephone 02890393605 > Mobile 07966823605 > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of James > Sent: 06 November 2007 23:59 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] sms notify not working > > Hi everyone i'm using sms_client to send sms messages to a tap server > for sprint > > i can run the sms_client manually fine but i set it to a notify > definition and it won't execute > nagios logs shows that it executed the notify command but it doesn't > actually run the sms_client daemon at all. > In the notifications history it shows that those notify commands are > executed but it actually isn't being executed at all > I can run email notify commands fine. > > Help please? > TIA James > > Here's the notify commands i've tried : > > define command{ > command_name notify-by-sms > command_line /usr/bin/sms_client -q > sprintpcs:800xxxxxxx "$HOSTNAME$ $SERVICESTATE$\r\n Info: $OUTPUT$" > } > > define command{ > command_name notify-by-sms-testing > command_line /usr/bin/printf "%b" "Host: > $HOSTNAME$ I > nfo: $HOSTOUTPUT$\n" | sms_client -q sprintpcs:800xxxxxxx > } > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 email originates from Steria Limited, registered office: Three Cherry Trees Lane, Hemel Hempstead, Hertfordshire HP2 7AH; Registered in England and Wales, number 2706218; www.steria.co.uk. > > This email and any attachments may contain confidential information and may be subject to copyright or other intellectual property rights. It is only for the use of the addressee(s). You are prohibited from copying, forwarding, disclosing, saving or otherwise using it in any way if you are not the addressee(s) or responsible for delivery. > If you receive this email by mistake, please advise the sender and cancel it immediately. > Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures. > Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or edited. > ================================================ > I stripped down the notify message to just hostname and hostoutput which shouldn't be more than like 60-70 characters altogether i had realized i had run into that problem earlier and started streamlining alot of my plugins. Thanks for the suggest tho. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 fvanhee at gmail.com Wed Nov 7 19:50:32 2007 From: fvanhee at gmail.com (Vanhee Frederik) Date: Wed, 07 Nov 2007 19:50:32 +0100 Subject: Service status on status map. In-Reply-To: <4730654C.5050009@ipp.pt> References: <4730654C.5050009@ipp.pt> Message-ID: <473208F8.3050909@gmail.com> Jaime Ventura wrote: > Hello, > On the status map I can see if a host is up or down. > Is there any way to have some visual information to let me know that > at least one service is not ok, on each host? > > Thanks, > Jaime > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 > > No there isn't, but maybe someone wrote a patch ? I was looking at the same problem and installed a nice add-on, called nagvis (http://www.nagvis.org). It requires ndo-utils and you can draw some very nice status maps with it. Only disadvantage is that it doesn't automatically draw a status map from your Nagios config files, so you have to draw the maps on your own. You can even draw submaps if you want to. Frederik ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 justinm at honeycomb.net Wed Nov 7 21:05:07 2007 From: justinm at honeycomb.net (Justin Maloney) Date: Wed, 7 Nov 2007 14:05:07 -0600 Subject: status map issues Message-ID: <64975B31C6249247A722D0610F4110F73232DD@hive.officespace.honeycomb.net> 2 issues Any ideas on how to get it to redraw the map? Every time I update my config with new hosts, everything moves around but I'm left with these unused sections. See pic. And the usual logos don't appear. Here is the shortened version of what I have In nagios.cfg cfg_file=/usr/local/etc/nagios/hostextinfo.cfg in hostextinfo.cfg define hostextinfo{ host_name chx-ac-conv-1.be statusmap_image server.gd2 } In /usr/local/www/nagios/images/logos/ ls -l -rw-r--r-- 1 root wheel 1110 Nov 6 09:37 server.gd2 -rw-r--r-- 1 root wheel 1627 Nov 6 09:41 server.png Created from a image pack from nagiosexchange.org using pngtogd2 Pkg_info gd-2.0.35,1 Thank you, Justin Maloney Systems Administrator Honeycomb Internet Services 612.617.0007 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: statusmap.jpg Type: image/jpeg Size: 67355 bytes Desc: statusmap.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Christy.New at cancer.org Wed Nov 7 23:37:45 2007 From: Christy.New at cancer.org (Christy.New at cancer.org) Date: Wed, 7 Nov 2007 17:37:45 -0500 Subject: Error 404 Message-ID: When I try to download nagios and the plugins it keep getting this error? Anyone know why? I go to the downloads file and type wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-3.0b4.tar.gz Very Respectfully, Christy M. New 1(404)327-6490 American Cancer Society Corporate IT-NHO NOC Network Infrastructure Engineer ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 reed at reedmedia.net Wed Nov 7 23:57:08 2007 From: reed at reedmedia.net (Jeremy C. Reed) Date: Wed, 7 Nov 2007 16:57:08 -0600 (CST) Subject: Error 404 In-Reply-To: References: Message-ID: > When I try to download nagios and the plugins it keep getting this error? > Anyone know why? > > I go to the downloads file and type > > wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-3.0b4.tar.gz Doesn't exist. Use b6 instead of b4. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 aaron.segura at cabelas.com Thu Nov 8 00:04:15 2007 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Wed, 07 Nov 2007 16:04:15 -0700 Subject: Error 404 In-Reply-To: References: Message-ID: <1194476655.16570.111.camel@sidhqmis4grdv91> Worked just fine for me. On Wed, 2007-11-07 at 16:57 -0600, Jeremy C. Reed wrote: > > When I try to download nagios and the plugins it keep getting this error? > > Anyone know why? > > > > I go to the downloads file and type > > > > wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-3.0b4.tar.gz > > Doesn't exist. Use b6 instead of b4. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 dtabb at marketforceinfo.com Thu Nov 8 00:54:11 2007 From: dtabb at marketforceinfo.com (Doug Tabb) Date: Wed, 7 Nov 2007 16:54:11 -0700 Subject: Acknowledgement via email? Message-ID: <1F6FD8004708EE4AB79615574B34E85C015AEEE0@MAIL.mfi.marketforceinfo.com> I'd like to be able to acknowledge an alert by replying to the email sent by Nagios. I've searched the list archives and Nagios Exchange to no avail. Does anyone have something like that configured? I figure it's possible to write from scratch, but I'd rather not reinvent the wheel if there's a working solution already out there. Thank you very much! -Doug Tabb -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 wolvverine at tarchomin.pl Thu Nov 8 03:54:57 2007 From: wolvverine at tarchomin.pl (=?UTF-8?Q?Micha=C5=82?= Panasiewicz) Date: Thu, 08 Nov 2007 03:54:57 +0100 Subject: How filter some messages from nagios-nsca on server? Message-ID: <1194490497.6790.13.camel@localhost> How filter some messages from nagios-nsca on server? J have messages from workstations with windows (eventlog) $cat /var/log/nagios/nsca ... Nov 7 15:30:10 serwer nsca[26226]: SERVICE CHECK -> Host Name: 'K5', Service Description: 'Application EventLog', Return Code: '2', Output: 'Application [error] [Application Hang #1002]: Aplikacja zawieszaj?ca msaccess.exe, wersja 7.0.0.4, modu? zawieszenia hungapp, wersja 0.0.0.0, adres zawieszenia 0x00000000. ' Nov 7 15:30:10 serwer nsca[26227]: SERVICE CHECK -> Host Name: 'K5', Service Description: 'Application EventLog', Return Code: '2', Output: 'Application [error] [Application Hang #1002]: Aplikacja zawieszaj?ca msaccess.exe, wersja 7.0.0.4, modu? zawieszenia hungapp, wersja 0.0.0.0, adres zawieszenia 0x00000000. ' Nov 7 16:18:32 serwer nsca[13607]: SERVICE CHECK -> Host Name: 'K5', Service Description: 'System EventLog', Return Code: '1', Output: 'System [warning] [Tcpip #4226]: Protok?? TCP/IP osi?gn?? limit zabezpiecze? ustalony dla liczby r?wnoczesnych pr?b po??cze? TCP. ' -- Micha? Panasiewicz Linux user nr. #425323 - jabber: wolvverine [ at ] chrome [ dot ] pl || e-mail: wolvverine [ at ] tlen [ dot ] pl , wolvverine [ at ] pld-linux [ dot ] org http://www.linkomp.pl - Linkomp - Us?ugi informatyczne dla firm - biuro [ at ] linkomp [ dot ] pl ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Stanley.Hopcroft at Dest.gov.au Thu Nov 8 06:27:59 2007 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Thu, 8 Nov 2007 16:27:59 +1100 Subject: Nag 3.0b6 - differences in instantiation of $ARG$ macros to 2.9 ? [SEC=UNCLASSIFIED] In-Reply-To: References: Message-ID: Dear Folks, A quick look at the docco (on Nagios.ORG eg what's new, upgrading from 2.x) suggests there is no significant change in the processing of the $ARG$ macros in 3.0 (3.0b6) compared to 2.9. Unfortunately, my Perl plugins fail to run under 3.0 when the plugin is defined (in checkcommands.cfg) with a $ARG1$ macro but called without a value for the macro. It appears that under 3.0 the ARG macro is instantiated with a Perl 'undef' value (that's my guess given the exception it raises), so perhaps the macro is set to a empty string by the C caller. What the problem is not: - 1 Embedded Perl: plugin runs fine under the new_mini_epn emulator 2 The plugin works fine when called by Nagios with non-null args. The error is raisd by a standard (ie part of the Perl 5 distribution) module called Getopt::Long. Since this is a widely used module, it is unlikely to be a bug in that module. Here are the error messages [1194424952] SERVICE ALERT: foo;Reachability of bar/192.168.95.115 from foo router;UNKNOWN;HARD;3;**ePN /usr/lib/nagios/plugins/check_dev_plr_question: "Use of uninitialized value in string eq at /usr/lib/perl5/5.8.0/Getopt/Long.pm line 407,". [1194469202] SERVICE ALERT: MTASW200;acmms003 has joined multicast group.;UNKNOWN;SOFT;1;**ePN /usr/lib/nagios/plugins/check_mcast: "Use of uninitialized value in string eq at /usr/lib/perl5/5.8.0/Getopt/Long.pm line 407,". command_line $USER1$/check_dev_plr_question -R $HOSTNAME$ $ARG1$ # BAD check_command check_dev_plr_question # OK check_command check_dev_plr_question!-t 1.1.1.2 -T 20 -A "size 1427 df-bit" check_command check_dev_plr_question!-A "size 1500 repeat 1000 source Gi0/1" -T 20 I can prob work around by changing my check_command entries to check_dev_question!" " or some such thing. Thank you, Yours sincerely. Classification: UNCLASSIFIED ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 gcoochey at sapphire.gi Thu Nov 8 09:14:43 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Thu, 8 Nov 2007 09:14:43 +0100 Subject: Service status on status map. In-Reply-To: <473208F8.3050909@gmail.com> References: <4730654C.5050009@ipp.pt> <473208F8.3050909@gmail.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A78C0@hermes.sapphire-int.gi> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Vanhee Frederik > Sent: 07 November 2007 19:51 > To: Jaime Ventura > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Service status on status map. > > Jaime Ventura wrote: > > Hello, > > On the status map I can see if a host is up or down. > > Is there any way to have some visual information to let me know that > > at least one service is not ok, on each host? > > > > Thanks, > > Jaime > > > > No there isn't, but maybe someone wrote a patch ? > I was looking at the same problem and installed a nice add-on, called > nagvis (http://www.nagvis.org). It requires ndo-utils and you can draw > some very nice status maps with it. > Only disadvantage is that it doesn't automatically draw a status map > from your Nagios config files, so you have to draw the maps on your own. > You can even draw submaps if you want to. > The small attached patch appears to give some indication of service problems with hosts. Think I found it via google. -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios2.4-statusmap.patch Type: application/octet-stream Size: 2579 bytes Desc: nagios2.4-statusmap.patch URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 madlists at teaparty.net Thu Nov 8 11:16:55 2007 From: madlists at teaparty.net (Tom Yates) Date: Thu, 8 Nov 2007 10:16:55 +0000 (GMT) Subject: Is contactgroup_name accessible as a macro for notifications? Message-ID: I'm using nagios 2.9 on solaris 9, and I feed tickets directly into a helpdesk system. Several different contactgroups (eg mac problems, PC problems, unix problems, network problems) contain the helpdesk email contact. The helpdesk admins would really appreciate knowing which group generated a particular email so they can shunt the mail into the right helpdesk queue. Is the contactgroup_name available to me as a macro, so i can include it in the notify-by-email command? Or should I just define several different helpdesk users, and work something in via $CONTACTNAME$? Thanks for any light anyone can shed. -- Tom Yates - http://www.teaparty.net ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Nov 8 12:00:22 2007 From: ae at op5.se (Andreas Ericsson) Date: Thu, 08 Nov 2007 12:00:22 +0100 Subject: Is contactgroup_name accessible as a macro for notifications? In-Reply-To: References: Message-ID: <4732EC46.8060706@op5.se> Tom Yates wrote: > I'm using nagios 2.9 on solaris 9, and I feed tickets directly into a > helpdesk system. Several different contactgroups (eg mac problems, PC > problems, unix problems, network problems) contain the helpdesk email > contact. > > The helpdesk admins would really appreciate knowing which group generated > a particular email so they can shunt the mail into the right helpdesk > queue. Is the contactgroup_name available to me as a macro, so i can > include it in the notify-by-email command? Check the docs. The macro documentation is extensive. Or try and find out. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 madlists at teaparty.net Thu Nov 8 12:14:15 2007 From: madlists at teaparty.net (Tom Yates) Date: Thu, 8 Nov 2007 11:14:15 +0000 (GMT) Subject: Is contactgroup_name accessible as a macro for notifications? In-Reply-To: <4732EC46.8060706@op5.se> References: <4732EC46.8060706@op5.se> Message-ID: On Thu, 8 Nov 2007, Andreas Ericsson wrote: > Check the docs. The macro documentation is extensive. Or try and find out. Thank you for that. I did the former before posting; the only contact macros defined are $CONTACT{NAME,ALIAS,MAIL,PAGER,ADDRESSn}$. It's certainly possible that the macro exists, but isn't classed as a contact macro; that said, no other macro documented in /docs/macros.html seems to fit. What I was asking is whether anyone's aware of an undocumented way to access the parameter, or of some other clever end-run that hasn't occurred to me. Or, admittedly, whether I've missed something obvious. -- Tom Yates - http://www.teaparty.net ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Nov 8 12:23:05 2007 From: ae at op5.se (Andreas Ericsson) Date: Thu, 08 Nov 2007 12:23:05 +0100 Subject: Is contactgroup_name accessible as a macro for notifications? In-Reply-To: References: <4732EC46.8060706@op5.se> Message-ID: <4732F199.1050400@op5.se> Tom Yates wrote: > On Thu, 8 Nov 2007, Andreas Ericsson wrote: > >> Check the docs. The macro documentation is extensive. Or try and find >> out. > > Thank you for that. I did the former before posting; I love you. No really, I do :P > the only contact > macros defined are $CONTACT{NAME,ALIAS,MAIL,PAGER,ADDRESSn}$. It's > certainly possible that the macro exists, but isn't classed as a contact > macro; that said, no other macro documented in /docs/macros.html seems > to fit. > Then it doesn't exist. > What I was asking is whether anyone's aware of an undocumented way to > access the parameter, or of some other clever end-run that hasn't > occurred to me. Or, admittedly, whether I've missed something obvious. > You could read it from /var/objects.cache if you like. It could be expensive to do an exhausive search there, so you might want to cache the info somewhere. Whatever way you choose, I believe you need to write the notification command as a script instead of a one-liner in your commands.cfg. If you have to fiddle an awful lot with it, you might be better off just patching Nagios to understand a $CONTACTGROUPS$ macro or some such. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 madlists at teaparty.net Thu Nov 8 12:44:19 2007 From: madlists at teaparty.net (Tom Yates) Date: Thu, 8 Nov 2007 11:44:19 +0000 (GMT) Subject: Is contactgroup_name accessible as a macro for notifications? In-Reply-To: <4732F199.1050400@op5.se> References: <4732EC46.8060706@op5.se> <4732F199.1050400@op5.se> Message-ID: On Thu, 8 Nov 2007, Andreas Ericsson wrote: > Tom Yates wrote: >> On Thu, 8 Nov 2007, Andreas Ericsson wrote: >> >>> Check the docs. The macro documentation is extensive. Or try and find >>> out. >> >> Thank you for that. I did the former before posting; > > I love you. No really, I do :P you git. now i have to get a new keyboard for my laptop; the old one's full of coffee. so's my nose, by the way, for which no FRU (currently) exists. seriously, thanks for the quick response. knowing that i'm not missing something obvious is really helpful; now i can find a non-obvious way of doing it. > Whatever way you choose, I believe you need to write the notification > command as a script instead of a one-liner in your commands.cfg. again, thanks for the warning. hopefully, i'll now come at this the right way. -- Tom Yates - http://www.teaparty.net ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 gcoochey at sapphire.gi Thu Nov 8 14:54:42 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Thu, 8 Nov 2007 14:54:42 +0100 Subject: NagVis Directory Structure Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A790B@hermes.sapphire-int.gi> Could someone send me a ls -lR of their NagVis installation together with the paths of in their nagvis config.ini.php. The documentation on www.nagvis.org appears to be a little vague. I've kind of got it working, but some links seem broken and I can't for the life of me work out exactly where everything is supposed to go. Many Thanks in advance. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ From g.digiambelardini at fabaris.it Thu Nov 8 15:17:12 2007 From: g.digiambelardini at fabaris.it (Di Giambelardini Gabriele) Date: Thu, 8 Nov 2007 15:17:12 +0100 (CET) Subject: aix check problem Message-ID: <60559.192.168.1.1.1194531432.squirrel@webmail2.fabaris.it> Hi to all, I have some problem with aix checks. This is the problem, I have to check the disk space, swap usage, cpu usage.. etc etc on an aix serve using only the snmp trap. I tried some perl check but nocheck work well. Somebody have some idea? or some check? thanks in advance, and excuse for my english ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 fvanhee at gmail.com Thu Nov 8 15:45:32 2007 From: fvanhee at gmail.com (Frederik Vanhee) Date: Thu, 8 Nov 2007 15:45:32 +0100 Subject: NagVis Directory Structure In-Reply-To: <9D30659ABCA7FB428CF91E386C3A57449A790B@hermes.sapphire-int.gi> References: <9D30659ABCA7FB428CF91E386C3A57449A790B@hermes.sapphire-int.gi> Message-ID: <9c1cb51c0711080645k53b2d6ceu88d8b726b2e4be6e@mail.gmail.com> On 11/8/07, Giles Coochey wrote: > > Could someone send me a ls -lR of their NagVis installation together > with the paths of in their nagvis config.ini.php. > > The documentation on www.nagvis.org appears to be a little vague. > > I've kind of got it working, but some links seem broken and I can't for > the life of me work out exactly where everything is supposed to go. > > Many Thanks in advance. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 > Hello, if you follow the instructions, you should end op with /$nagiospath/share/nagvis/nagvis/.... mind the nested nagvis directories. Frederik -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Gerhard.Lausser at consol.de Thu Nov 8 15:57:31 2007 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Thu, 8 Nov 2007 15:57:31 +0100 Subject: ANNOUNCE check_hpasm-1.6.1 Message-ID: <012d01c82217$b02e0fa0$a601000a@int.consol.de> Hi, for those of you monitoring HPC Proliant hardware with the check_hpasm plugin. I fixed a bug which could lead to overseen failed fans. Please find the new release under http://www.consol.de/opensource/nagios/check-hpasm/ Greetings from Munich, Gerhard ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 td3201 at gmail.com Thu Nov 8 16:19:28 2007 From: td3201 at gmail.com (Terry) Date: Thu, 8 Nov 2007 09:19:28 -0600 Subject: timeperiod discrepancy Message-ID: <8ee061010711080719n7c5ecf6yfeb57344319ca200@mail.gmail.com> Here is what I have in the config: define timeperiod{ timeperiod_name engineer01 alias engineer01 2007-11-05 / 42 00:00-24:00 ; Every 42 days (6 weeks), starting November 5th, 2007 2007-11-06 / 42 00:00-24:00 ; Every 6th Tuesday starting November 6th, 2007 2007-11-07 / 42 00:00-24:00 ; Every 6th Wednesday starting November 7th, 2007 2007-11-08 / 42 00:00-24:00 ; Every 6th Thursday starting November 8th, 2007 2007-11-09 / 42 00:00-24:00 ; Every 6th Friday starting November 9th, 2007 2007-11-10 / 42 00:00-24:00 ; Every 6th Saturday starting November 10th, 2007 2007-11-11 / 42 00:00-24:00 ; Every 6th Sunday starting November 11th, 2007 } Here is what shows up via the view config on the web: engineer01 engineer01 2007-09-11 / 42 00:00:00 - 24:00:00 2007-09-10 / 42 00:00:00 - 24:00:00 2007-09-09 / 42 00:00:00 - 24:00:00 2007-09-08 / 42 00:00:00 - 24:00:00 2007-09-07 / 42 00:00:00 - 24:00:00 2007-09-06 / 42 00:00:00 - 24:00:00 2007-09-05 / 42 00:00:00 - 24:00:00 What is going on here that I am missing? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jeff.shumard at defenseweb.com Thu Nov 8 18:00:55 2007 From: jeff.shumard at defenseweb.com (Jeff Shumard - DefenseWeb Technologies) Date: Thu, 8 Nov 2007 09:00:55 -0800 Subject: Distributed monitoring with nrpe_nt and freshness In-Reply-To: References: Message-ID: We have our monitoring configured and everything is working great checking all our windows servers through a single windows server running nrpe_nt. The problem we are having is when one of our Linux Nagios servers goes down and doesn't send any results to the master Nagios server. When this happens and our 5 minute freshness hits it's threshold. We start running active checks because we didn't receive any passive updates from the server that went down. This sends a bunch of checks to the windows server to run tests and we start getting unknown status reports back to the master server with the result of "No output available from command". Does anyone know if there is a max connection on nrpe_nt or something else that maybe causing this? Thank you, Jeff ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Christy.New at cancer.org Thu Nov 8 18:16:49 2007 From: Christy.New at cancer.org (Christy.New at cancer.org) Date: Thu, 8 Nov 2007 12:16:49 -0500 Subject: Not sure how to correct this. Message-ID: I am getting the following: port 1 bandwidth usuage mrtgtraf: unable to open MRTG log file. Port 1 link status plugin may be missing uptime plugin may be missing I have searched the plugin downloads and can't seem to figure out what I have done wrong. Can some one give me guidance. I downloaded everything that the user manual said to and put them in my downloads file. Can you give me guidance on were to go and how to download the correct files. Very Respectfully, Christy M. New 1(404)327-6490 American Cancer Society Corporate IT-NHO NOC Network Infrastructure Engineer ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 shoktai at gmail.com Thu Nov 8 18:33:19 2007 From: shoktai at gmail.com (Thomas Vito) Date: Thu, 8 Nov 2007 18:33:19 +0100 Subject: check time sync Message-ID: <619cf3c0711080933w6e0178e3y4b4cb601742d4b20@mail.gmail.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 shoktai at gmail.com Thu Nov 8 18:34:19 2007 From: shoktai at gmail.com (Thomas Vito) Date: Thu, 8 Nov 2007 18:34:19 +0100 Subject: check time sync Message-ID: <619cf3c0711080934p150c3d8dxa21a38860689150a@mail.gmail.com> Hi Does anyone knows of a plugin to check that computers are in sync?...time sync (especially betweens DCs)? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 ae at op5.se Thu Nov 8 18:51:04 2007 From: ae at op5.se (Andreas Ericsson) Date: Thu, 08 Nov 2007 18:51:04 +0100 Subject: check time sync In-Reply-To: <619cf3c0711080934p150c3d8dxa21a38860689150a@mail.gmail.com> References: <619cf3c0711080934p150c3d8dxa21a38860689150a@mail.gmail.com> Message-ID: <47334C88.3070308@op5.se> Thomas Vito wrote: > Hi > > Does anyone knows of a plugin to check that computers are in sync?...time > sync (especially betweens DCs)? > check_ntp > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 beckerz at arxnet.hu Thu Nov 8 19:52:24 2007 From: beckerz at arxnet.hu (BECKER Zoltan) Date: Thu, 8 Nov 2007 19:52:24 +0100 Subject: Limit notification number Message-ID: <20071108185224.GA5343@arxnet.hu> Hi All, I configured my new Nagios (2.9), it works good. How can I limit the number of notifications (host or service,also)? For example, if nagios sent three email, than don't send any notification (sms, email...). It is possible? I read the docs, and I found the host|service escalation, but it's not that, what I want. BR Zoli ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 josh.yost at epsiia.com Thu Nov 8 22:33:23 2007 From: josh.yost at epsiia.com (Yost, Josh) Date: Thu, 8 Nov 2007 15:33:23 -0600 Subject: check time sync References: <619cf3c0711080934p150c3d8dxa21a38860689150a@mail.gmail.com> Message-ID: <69AB3F80173BDD46960FB60E86DF94F827E739@MKEXCHVS2.Mail.Fiserv.net> Hi, You can check nagiosexchange.org for some time-related plugins. - Josh ________________________________ From: nagios-users-bounces at lists.sourceforge.net on behalf of Thomas Vito Sent: Thu 11/8/2007 11:34 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check time sync Hi Does anyone knows of a plugin to check that computers are in sync?...time sync (especially betweens DCs)? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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.ensley at gmail.com Thu Nov 8 22:55:06 2007 From: steve.ensley at gmail.com (Steve Ensley) Date: Thu, 8 Nov 2007 15:55:06 -0600 Subject: nsclient, is it still an acceptable method to monitor nt Message-ID: <31fabc220711081355ic62ff1rf115d680fccb7b71@mail.gmail.com> I'm upgrading another departments Nagios 1.3 instance to Nagios 2.9. they are using nsclient to get some info from some nt servers. Most of my Nagios experience has been monitoring Unix servers. The website at http://nsclient.ready2run.nl/ for nsclient doesnt seem to have been touched since 2004. Is it still a viable method to monitor nt servers or is there somthing else I should be looking into to replace it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 aragonx at dcsnow.com Thu Nov 8 23:08:35 2007 From: aragonx at dcsnow.com (aragonx at dcsnow.com) Date: Thu, 8 Nov 2007 17:08:35 -0500 (EST) Subject: Nagios CGI modification Message-ID: <17213.192.35.79.70.1194559715.squirrel@www.dcsnow.com> I would like to add a link to the hostgroup commands page that would allow me to distribute some files to all the hosts in that group. In extinfo.c I think I found where this page is defined. So I added the following section (approx line 1632): printf("Distribute
Files to All Hosts In This HostgroupDisable active checks of all services in this hostgroup\n",url_images_path,DISABLED_ICON,COMMAND_CGI,CMD_DISABLE_HOSTGROUP_SVC_CHECKS,url_encode(hostgroup_name)); Which looks great. Now I think I need to change the to call my shell script (or I could write it in C but I have very little experience with that). Changing the link is no big deal of course. My big question is, how do I get a list of all the hosts in that host group passed? -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Thu Nov 8 23:35:33 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 8 Nov 2007 14:35:33 -0800 Subject: Limit notification number In-Reply-To: <20071108185224.GA5343@arxnet.hu> References: <20071108185224.GA5343@arxnet.hu> Message-ID: <20071108223533.GZ18464@pmorris.usa.hp.com> On Thu, 08 Nov 2007, BECKER Zoltan wrote: > Hi All, > > I configured my new Nagios (2.9), it works good. How can I limit the number of notifications (host or service,also)? > For example, if nagios sent three email, than don't send any notification (sms, email...). > > It is possible? > > I read the docs, and I found the host|service escalation, but it's not that, what I want. It is what you want. Reread the examples -- some show how to do exactly what it sounds like you want. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Fri Nov 9 00:24:02 2007 From: ae at op5.se (Andreas Ericsson) Date: Fri, 09 Nov 2007 00:24:02 +0100 Subject: nsclient, is it still an acceptable method to monitor nt In-Reply-To: <31fabc220711081355ic62ff1rf115d680fccb7b71@mail.gmail.com> References: <31fabc220711081355ic62ff1rf115d680fccb7b71@mail.gmail.com> Message-ID: <47339A92.5080501@op5.se> Steve Ensley wrote: > I'm upgrading another departments Nagios 1.3 instance to Nagios 2.9. they > are using nsclient to get some info from some nt servers. Most of my Nagios > experience has been monitoring Unix servers. > > The website at http://nsclient.ready2run.nl/ for nsclient doesnt seem to > have been touched since 2004. Is it still a viable method to monitor nt > servers or is there somthing else I should be looking into to replace it. > Try NSClient++ instead. It's at sourceforge somewhere, and is quite a lot fresher. NSClient might work, but it's getting rather ancient. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 yana.millis at gmail.com Fri Nov 9 01:56:56 2007 From: yana.millis at gmail.com (Yana Millis) Date: Fri, 9 Nov 2007 10:56:56 +1000 Subject: How to fix Nagios Segmentation Fault at startup ??? Message-ID: Hello ! My nagios segmentation faults on me at start up. When I start it with "service nagios start" command, the error I'm getting is displayed thusly: "Starting nagios:/etc/init.d/nagios: line 121: 4718 Segmentation fault $NagiosBin -d $NagiosCfgFile" whereby $NagiosBin resolves to /usr/bin/nagios and $NagiosCfgFile resolves to /etc/nagios/nagios.cfg. Obviously, /etc/init.d/nagios exists. The pre-flight check of nagios.cfg doesn't return any errors. And the nagios.log file doesn't have any constructive feedback, except for one line saying "[1194569016] Nagios 2.9 starting... (PID=4718)" So my question is: how do I begin debugging this issue and where do I look first ? Is there any way I can modify nagios configuration to make it output more detailed stuff to the log ? Can anybody please stir me in the right direction .... thanks alot, yana ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Fri Nov 9 02:25:07 2007 From: dario.bestetti at opservices.com.br (Dario B. Bestetti) Date: Thu, 8 Nov 2007 23:25:07 -0200 Subject: RES: nsclient, is it still an acceptable method to monitor nt In-Reply-To: <47339A92.5080501@op5.se> References: <31fabc220711081355ic62ff1rf115d680fccb7b71@mail.gmail.com> <47339A92.5080501@op5.se> Message-ID: <18682.0958312184$1194571607@news.gmane.org> Steve, you might try our "enhanced" NSClient: http://www.opservices.com.br/index.php?option=com_content&task=view&id=54&It emid=54 _________________________________________________ Dario B. Bestetti????????OpServices ??????????????????????????????????R. Luciana de Abreu, 471 - Sala 403 ??????????????????????????????????Porto Alegre, RS - CEP 90570-060 Fone 55(51)30613588 Mobile? 55(51)81518218 Fax???? 55(51)30613588? Email??? dario.bestetti at opservices.com.br ? ???????????????"In God we trust, the rest we monitor ..." _________________________________________________ -----Mensagem original----- De: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Andreas Ericsson Enviada em: quinta-feira, 8 de novembro de 2007 21:24 Para: Steve Ensley Cc: nagios-users at lists.sourceforge.net Assunto: Re: [Nagios-users] nsclient, is it still an acceptable method to monitor nt Steve Ensley wrote: > I'm upgrading another departments Nagios 1.3 instance to Nagios 2.9. they > are using nsclient to get some info from some nt servers. Most of my Nagios > experience has been monitoring Unix servers. > > The website at http://nsclient.ready2run.nl/ for nsclient doesnt seem to > have been touched since 2004. Is it still a viable method to monitor nt > servers or is there somthing else I should be looking into to replace it. > Try NSClient++ instead. It's at sourceforge somewhere, and is quite a lot fresher. NSClient might work, but it's getting rather ancient. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Stanley.Hopcroft at Dest.gov.au Fri Nov 9 04:47:27 2007 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Fri, 9 Nov 2007 14:47:27 +1100 Subject: Experience with 3.0b6 ... most good but a few tiny probs [SEC=UNCLASSIFIED] In-Reply-To: References: Message-ID: Dear Folks, I am writing to present my observations on 3.0b6. The synopsis is excellent but there are a few non show-stopping problems. Firstly, the performance of host detection is simply excellent and those contemplating mega installations should take great heart. As soon as the service check complete the max_checks, the host down notifications are unlaunched. The developer/s have done a great job (as usual). For our site, it used to take nearly 2 minutes after service checks failed to detect down hosts. Problems 1 ARG macros with ePN (may be without) $ARG$s appear to be instantiated differently to 2.x, and in such a way as to cause Perl plugins using Getopt (ie expecting args) to barf if called without args. Workaround: command_name!" " in services.cfg 2 Aberrant intermittent ePN behaviour Fri Nov 9 14:30:59 2007 Warning: Check of service 'Redundant link is operational' on host 'TRASW210' did not exit properly! This happens occasionally. Restart sorts it. Plugins _known_ to be good with ePN in 2.x/passed by new_mini_epn (which prob needs revising). 3 global_event_handler strangeness Not sure if this is bad, but Nag log shows Thu Nov 8 21:04:28 2007 GLOBAL HOST EVENT HANDLER: NDCSW209;(null);(null);(null);global_host_event_handler when global event handler runs. Event handler still called with the same args and seems to do the 'right thing'. >From my point of view, problem 2 is a concern (PITA to use the verancular). Looks like I will be trawling checks.c for the origin of this message. Thank you, Yours sincerely. Classification: UNCLASSIFIED ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 gcoochey at sapphire.gi Fri Nov 9 09:04:18 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Fri, 9 Nov 2007 09:04:18 +0100 Subject: nsclient, is it still an acceptable method to monitor nt In-Reply-To: <47339A92.5080501@op5.se> References: <31fabc220711081355ic62ff1rf115d680fccb7b71@mail.gmail.com> <47339A92.5080501@op5.se> Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A7941@hermes.sapphire-int.gi> > > Steve Ensley wrote: > > I'm upgrading another departments Nagios 1.3 instance to Nagios 2.9. > they > > are using nsclient to get some info from some nt servers. Most of my > Nagios > > experience has been monitoring Unix servers. > > > > The website at http://nsclient.ready2run.nl/ for nsclient doesnt seem to > > have been touched since 2004. Is it still a viable method to monitor nt > > servers or is there somthing else I should be looking into to replace > it. > > > > Try NSClient++ instead. It's at sourceforge somewhere, and is quite a lot > fresher. NSClient might work, but it's getting rather ancient. > I had this same quandary sometime back. Options were NSClient (seems too old, not being developed) NSClient++ (presumably enhanced in some way) OpServices version of NSClient (still being developed) NC_Net (still being developed) In the end I simply went with NC_Net and it appears to work for us just fine, and I often see the author on this list, which tells me that he's still involved with Nagios in some way. It would be nice if all the different people who independently developed all the different versions 'unforked' their efforts though :-), it would make the decision on which one to use much easier, by having a lack of choice!! ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Fri Nov 9 11:35:32 2007 From: ae at op5.se (Andreas Ericsson) Date: Fri, 09 Nov 2007 11:35:32 +0100 Subject: nsclient, is it still an acceptable method to monitor nt In-Reply-To: <9D30659ABCA7FB428CF91E386C3A57449A7941@hermes.sapphire-int.gi> References: <31fabc220711081355ic62ff1rf115d680fccb7b71@mail.gmail.com> <47339A92.5080501@op5.se> <9D30659ABCA7FB428CF91E386C3A57449A7941@hermes.sapphire-int.gi> Message-ID: <473437F4.40407@op5.se> Giles Coochey wrote: >> Steve Ensley wrote: >>> I'm upgrading another departments Nagios 1.3 instance to Nagios 2.9. >> they >>> are using nsclient to get some info from some nt servers. Most of > my >> Nagios >>> experience has been monitoring Unix servers. >>> >>> The website at http://nsclient.ready2run.nl/ for nsclient doesnt > seem to >>> have been touched since 2004. Is it still a viable method to > monitor nt >>> servers or is there somthing else I should be looking into to > replace >> it. >> Try NSClient++ instead. It's at sourceforge somewhere, and is quite a > lot >> fresher. NSClient might work, but it's getting rather ancient. >> > > I had this same quandary sometime back. > > Options were > > NSClient (seems too old, not being developed) > NSClient++ (presumably enhanced in some way) > OpServices version of NSClient (still being developed) > NC_Net (still being developed) > > In the end I simply went with NC_Net and it appears to work for us just > fine, and I often see the author on this list, which tells me that he's > still involved with Nagios in some way. > > It would be nice if all the different people who independently developed > all the different versions 'unforked' their efforts though :-), it would > make the decision on which one to use much easier, by having a lack of > choice!! They aren't really forks. OpServices have simply taken over maintainership of NSClient (more or less, as the original author seems to have vanished). NSClient++ is a re-implementation in C++, with support for NRPE style script based checks as well. NC_Net does things through dot net stuff and some m$ voodoo, but incorporates the NSClient mode of address since that's what the official plugins support. So it's really three different agents. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Fri Nov 9 11:38:01 2007 From: ae at op5.se (Andreas Ericsson) Date: Fri, 09 Nov 2007 11:38:01 +0100 Subject: How to fix Nagios Segmentation Fault at startup ??? In-Reply-To: References: Message-ID: <47343889.7060602@op5.se> Yana Millis wrote: > > So my question is: how do I begin debugging this issue and where do I > look first ? $ ulimit -c unlimited $ gdb /usr/bin/nagios gdb> bt send the output to nagios-devel at lists.sourceforge.net -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 rms at sibs.pt Fri Nov 9 11:42:25 2007 From: rms at sibs.pt (Rui Miguel Silva Seabra) Date: Fri, 09 Nov 2007 10:42:25 +0000 Subject: nsclient, is it still an acceptable method to monitor nt In-Reply-To: <473437F4.40407@op5.se> References: <31fabc220711081355ic62ff1rf115d680fccb7b71@mail.gmail.com> <47339A92.5080501@op5.se> <9D30659ABCA7FB428CF91E386C3A57449A7941@hermes.sapphire-int.gi> <473437F4.40407@op5.se> Message-ID: <1194604945.6706.0.camel@roque> Sex, 2007-11-09 ?s 11:35 +0100, Andreas Ericsson escreveu: > > NSClient (seems too old, not being developed) > > NSClient++ (presumably enhanced in some way) > > OpServices version of NSClient (still being developed) > > NC_Net (still being developed) > > > > In the end I simply went with NC_Net and it appears to work for us just > > fine, and I often see the author on this list, which tells me that he's > > still involved with Nagios in some way. > > > > It would be nice if all the different people who independently developed > > all the different versions 'unforked' their efforts though :-), it would > > make the decision on which one to use much easier, by having a lack of > > choice!! > > They aren't really forks. OpServices have simply taken over maintainership > of NSClient (more or less, as the original author seems to have vanished). > NSClient++ is a re-implementation in C++, with support for NRPE style script > based checks as well. NC_Net does things through dot net stuff and some m$ > voodoo, but incorporates the NSClient mode of address since that's what the > official plugins support. > > So it's really three different agents. NSClient++ has a nasty bug on the option to check services. It can't handle services that contain white space in their names. Rui All Hail Discordia! Today is Pungenday, the 21st day of The Aftermath in the YOLD 3173 + No matter how much you do, you never do enough -- unknown + Whatever you do will be insignificant, | but it is very important that you do it -- Gandhi + So let's do it...? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 mailing at rtcw.com.fr Fri Nov 9 15:09:18 2007 From: mailing at rtcw.com.fr (Sylvain Viollat) Date: Fri, 9 Nov 2007 15:09:18 +0100 Subject: LONGDATETIME return $ Message-ID: <495101cb834ae483207d7507613473e5@localhost> Hello, on a fresh install of Nagios 2.6 on Debian Etch, I got a strange problem that I never see before. When I receive mail notifications for an alert, the Date/Time in the Email body return $. Here is an example : ***** Nagios ***** Notification Type: PROBLEM Service: Test Nagios Host: firewall Address: 192.168.1.1 State: CRITICAL Date/Time: $ Additional Info: Connection refused But when I receive an email for a "host down" notification, the Date/Time appear !? Here is what I got in commands.cfg : # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTALIAS$\nState: $HOSTSTATE$ for $HOSTDURATION$\nAddress: $HOSTADDRESS$\nInfo:\n\n$HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n\nACK by: $HOSTACKAUTHOR$\nComment: $HOSTACKCOMMENT$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert $NOTIFICATIONNUMBER$ - $HOSTALIAS$ host is $HOSTSTATE$ **" $CONTACTEMAIL$ } # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nState: $SERVICESTATE$ for $SERVICEDURATION$\nAddress: $HOSTADDRESS$\n\nInfo:\n\n$SERVICEOUTPUT$\n\nDate/Time: $LONGDATETIME$\n\nACK by: $SERVICEACKAUTHOR$\nComment: $SERVICEACKCOMMENT$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert $NOTIFICATIONNUMBER$ - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } Thanks for your help! PS/ Sorry for my english :-) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Fri Nov 9 15:10:50 2007 From: dario.bestetti at opservices.com.br (Dario B. Bestetti) Date: Fri, 9 Nov 2007 12:10:50 -0200 Subject: RES: nsclient, is it still an acceptable method to monitor nt In-Reply-To: <1194604945.6706.0.camel@roque> References: <31fabc220711081355ic62ff1rf115d680fccb7b71@mail.gmail.com> <47339A92.5080501@op5.se> <9D30659ABCA7FB428CF91E386C3A57449A7941@hermes.sapphire-int.gi> <473437F4.40407@op5.se> <1194604945.6706.0.camel@roque> Message-ID: <43681.6308334984$1194617529@news.gmane.org> We are working (but slowly) to use the same protocol used/defined by Tony in NC_net, but so far, we decided to stick with an "upgrade" of the old NSClient without the use of .NET framework. The problem for us is that most of our customers doesn?t want to install the .NET framework and we don?t want to force them. We?ll have a new version of OpMon Agent in a few days, with some improvements, but our project is definitly different from NC_net. []s _________________________________________________ Dario B. Bestetti OpServices R. Luciana de Abreu, 471 - Sala 403 Porto Alegre, RS - CEP 90570-060 Fone 55(51)30613588 Mobile 55(51)81518218 Fax 55(51)30613588 Email dario.bestetti at opservices.com.br "In God we trust, the rest we monitor ..." _________________________________________________ -----Mensagem original----- De: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Rui Miguel Silva Seabra Enviada em: sexta-feira, 9 de novembro de 2007 08:42 Para: nagios-users at lists.sourceforge.net Assunto: Re: [Nagios-users] nsclient, is it still an acceptable method to monitor nt Sex, 2007-11-09 ?s 11:35 +0100, Andreas Ericsson escreveu: > > NSClient (seems too old, not being developed) > > NSClient++ (presumably enhanced in some way) > > OpServices version of NSClient (still being developed) > > NC_Net (still being developed) > > > > In the end I simply went with NC_Net and it appears to work for us just > > fine, and I often see the author on this list, which tells me that he's > > still involved with Nagios in some way. > > > > It would be nice if all the different people who independently developed > > all the different versions 'unforked' their efforts though :-), it would > > make the decision on which one to use much easier, by having a lack of > > choice!! > > They aren't really forks. OpServices have simply taken over maintainership > of NSClient (more or less, as the original author seems to have vanished). > NSClient++ is a re-implementation in C++, with support for NRPE style script > based checks as well. NC_Net does things through dot net stuff and some m$ > voodoo, but incorporates the NSClient mode of address since that's what the > official plugins support. > > So it's really three different agents. NSClient++ has a nasty bug on the option to check services. It can't handle services that contain white space in their names. Rui All Hail Discordia! Today is Pungenday, the 21st day of The Aftermath in the YOLD 3173 + No matter how much you do, you never do enough -- unknown + Whatever you do will be insignificant, | but it is very important that you do it -- Gandhi + So let's do it...? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Christy.New at cancer.org Fri Nov 9 15:54:46 2007 From: Christy.New at cancer.org (Christy.New at cancer.org) Date: Fri, 9 Nov 2007 09:54:46 -0500 Subject: Still can't, and needing guidance SNMP issue Message-ID: I have the snmp plugin, at least it is downloaded into my downloads file on my linux server. However I can't monitor the following on my routers(which have snmp community strings on them. I can' monitor the snmp status or bandwidth/ traffic rate. Can anyone help me figure out why I can't see these on Nagios and the Nagios applications continues to say Service Status Last Duration Attempt Status ?Sort Sort by Check ?Sort by ?Sort Informa by service Sort by state by tion service status last duration current name (ascendi check (ascendi attempt (ascend ng)Sort time ng)Sort (ascend ing) by (ascendin by state ing) Sort by service g)Sort by duration Sort by service status last time current name (descend check (descend attempt (descen ing) time ing) (descen ding) (descendi ding) ng) UNKNOWN 11-09-20 0d 22h 3/3 check_mrtgtraf: 07 53m 22s Unable to open MRTG 23:47:18 log file Port 1 Bandwidt h Usage CRITICAL 11-09-20 0d 22h 3/3 (Return code of 127 07 51m 55s is out of bounds - 23:48:45 plugin may be missing) Port 1 Link Status CRITICAL 11-09-20 0d 22h 3/3 (Return code of 127 07 50m 28s is out of bounds - 23:53:21 plugin may be missing) Uptime Very Respectfully, Christy M. New 1(404)327-6490 American Cancer Society Corporate IT-NHO NOC Network Infrastructure Engineer ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 gcoochey at sapphire.gi Fri Nov 9 16:06:47 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Fri, 9 Nov 2007 16:06:47 +0100 Subject: Still can't, and needing guidance SNMP issue In-Reply-To: References: Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A79B4@hermes.sapphire-int.gi> > > I have the snmp plugin, at least it is downloaded into my downloads file > on I believe you will need to put the executable in your libexec folder. > my linux server. However I can't monitor the following on my > routers(which > have snmp community strings on them. I can' monitor the snmp status or > bandwidth/ traffic rate. Can anyone help me figure out why I can't see > these on Nagios and the Nagios applications continues to say > > > UNKNOWN 11-09-20 0d 22h 3/3 check_mrtgtraf: > 07 53m 22s Unable to open MRTG > 23:47:18 log file > I'm assuming you're not asking about this particular error in this thread. > > > Port 1 > Bandwidt > h Usage > > CRITICAL 11-09-20 0d 22h 3/3 (Return code of 127 > 07 51m 55s is out of bounds - > 23:48:45 plugin may be > missing) It seems that Nagios cannot find the plugin, is it in your libexec folder? > > CRITICAL 11-09-20 0d 22h 3/3 (Return code of 127 > 07 50m 28s is out of bounds - > 23:53:21 plugin may be > missing) > > This looks to be the same problem. What snmp plugin are you talking about? There are plenty out there What version of Nagios are you talking about? Perhaps if you provide some of your configuration, we might be able to help some more? As it is, we need some psychic assistance here. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Christy.New at cancer.org Fri Nov 9 16:19:11 2007 From: Christy.New at cancer.org (Christy.New at cancer.org) Date: Fri, 9 Nov 2007 10:19:11 -0500 Subject: Still can't, and needing guidance SNMP issue In-Reply-To: <9D30659ABCA7FB428CF91E386C3A57449A79B4@hermes.sapphire-int.gi> References: <9D30659ABCA7FB428CF91E386C3A57449A79B4@hermes.sapphire-int.gi> Message-ID: What is the libexec folder? Can you give me a direct path? I am new to Linux. Very Respectfully, Christy M. New 1(404)327-6490 American Cancer Society Corporate IT-NHO NOC Network Infrastructure Engineer "Giles Coochey" To , 11/09/2007 10:07 cc Subject RE: [Nagios-users] Still can't, and needing guidance SNMP issue > > I have the snmp plugin, at least it is downloaded into my downloads file > on I believe you will need to put the executable in your libexec folder. > my linux server. However I can't monitor the following on my > routers(which > have snmp community strings on them. I can' monitor the snmp status or > bandwidth/ traffic rate. Can anyone help me figure out why I can't see > these on Nagios and the Nagios applications continues to say > > > UNKNOWN 11-09-20 0d 22h 3/3 check_mrtgtraf: > 07 53m 22s Unable to open MRTG > 23:47:18 log file > I'm assuming you're not asking about this particular error in this thread. > > > Port 1 > Bandwidt > h Usage > > CRITICAL 11-09-20 0d 22h 3/3 (Return code of 127 > 07 51m 55s is out of bounds - > 23:48:45 plugin may be > missing) It seems that Nagios cannot find the plugin, is it in your libexec folder? > > CRITICAL 11-09-20 0d 22h 3/3 (Return code of 127 > 07 50m 28s is out of bounds - > 23:53:21 plugin may be > missing) > > This looks to be the same problem. What snmp plugin are you talking about? There are plenty out there What version of Nagios are you talking about? Perhaps if you provide some of your configuration, we might be able to help some more? As it is, we need some psychic assistance here. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jriggin at gmail.com Fri Nov 9 16:22:55 2007 From: jriggin at gmail.com (Jerad Riggin) Date: Fri, 9 Nov 2007 09:22:55 -0600 Subject: Service scheduling Message-ID: <66955c170711090722x29e6c5f0r99c81876ce4f5c16@mail.gmail.com> I have a checkstring service that kicks off every 10 minutes. After failure it will retry every minute. We're trying to track availability on some of our servers so this is its purpose. However I noticed this morning that a host went down, I received a PING 100% packet loss alert, and shortly after within the same minute an alert that it couldn't find the HTTP string. However, by 7:50 PING was ok, and HTTP didn't return ok until 8:00 AM. If it's retrying every minute (or should be), why is there such a large gap? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 gcoochey at sapphire.gi Fri Nov 9 16:29:25 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Fri, 9 Nov 2007 16:29:25 +0100 Subject: Still can't, and needing guidance SNMP issue In-Reply-To: References: <9D30659ABCA7FB428CF91E386C3A57449A79B4@hermes.sapphire-int.gi> Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A79B9@hermes.sapphire-int.gi> > -----Original Message----- > From: Christy.New at cancer.org [mailto:Christy.New at cancer.org] > Sent: 09 November 2007 16:19 > To: Giles Coochey > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Still can't, and needing guidance SNMP issue > > What is the libexec folder? Can you give me a direct path? I am new to > Linux. > Try reading some documentation: http://nagios.sourceforge.net/docs/2_0/installing.html Googling for Nagios & libexec will also tell you where libexec would normally be. But it completely depends on how and where Nagios was originally installed. We are not psychic. You might want to ask someone who knows more about Linux to give you some pointers, Nagios is complicated enough to work out for people who are seasoned Linux users, let alone those who are new to it. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 rup001 at yahoo.com Fri Nov 9 16:34:56 2007 From: rup001 at yahoo.com (Vuppala) Date: Fri, 9 Nov 2007 07:34:56 -0800 (PST) Subject: Oracle Applications monitor using nagios Message-ID: <517911.92354.qm@web54603.mail.re2.yahoo.com> Hello I would like to know is there a way to monitor oracle applications by logging in. Thanks __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 gcoochey at sapphire.gi Fri Nov 9 16:36:15 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Fri, 9 Nov 2007 16:36:15 +0100 Subject: Service scheduling In-Reply-To: <66955c170711090722x29e6c5f0r99c81876ce4f5c16@mail.gmail.com> References: <66955c170711090722x29e6c5f0r99c81876ce4f5c16@mail.gmail.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A79BD@hermes.sapphire-int.gi> > > I have a checkstring service that kicks off every 10 minutes. After > failure it will retry every minute. We're trying to track > availability on some of our servers so this is its purpose. However I > noticed this morning that a host went down, I received a PING 100% > packet loss alert, and shortly after within the same minute an alert > that it couldn't find the HTTP string. However, by 7:50 PING was ok, > and HTTP didn't return ok until 8:00 AM. If it's retrying every > minute (or should be), why is there such a large gap? > Normal Behaviour: Scheduling During Problems So what happens when there are problems with a service? Well, one of the things that happens is the service check scheduling changes. If you've configured the max_attempts option of the service definition to be something greater than 1, Nagios will recheck the service before deciding that a real problem exists. While the service is being rechecked (up to max_attempts times) it is considered to be in a "soft" state (as described here) and the service checks are rescheduled at a frequency determined by the retry_interval option. If Nagios rechecks the service max_attempts times and it is still in a non-OK state, Nagios will put the service into a "hard" state, send out notifications to contacts (if applicable), and start rescheduling future checks of the service at a frequency determined by the check_interval option. http://nagios.sourceforge.net/docs/2_0/checkscheduling.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hpsekhon at googlemail.com Fri Nov 9 16:40:56 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 09 Nov 2007 15:40:56 +0000 Subject: Oracle Applications monitor using nagios In-Reply-To: <517911.92354.qm@web54603.mail.re2.yahoo.com> References: <517911.92354.qm@web54603.mail.re2.yahoo.com> Message-ID: <47347F88.3030108@googlemail.com> check_oracle from the standard nagios-plugins distribution. it requires that you have sqlplus installed though... -h Hari Sekhon Vuppala wrote: > Hello > I would like to know is there a way to monitor oracle applications > by logging in. > > Thanks > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 gcoochey at sapphire.gi Fri Nov 9 16:41:53 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Fri, 9 Nov 2007 16:41:53 +0100 Subject: Oracle Applications monitor using nagios In-Reply-To: <517911.92354.qm@web54603.mail.re2.yahoo.com> References: <517911.92354.qm@web54603.mail.re2.yahoo.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A79BF@hermes.sapphire-int.gi> Is it me today? # ./check_oracle --help check_oracle (nagios-plugins 1.4.9) 1.16 The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. Usage: check_oracle --tns check_oracle --db check_oracle --login check_oracle --cache check_oracle --tablespace check_oracle --oranames check_oracle --help check_oracle --version Check Oracle status --tns SID/IP Address Check remote TNS server --db SID Check local database (search /bin/ps for PMON process) and check filesystem for sgadefORACLE_SID.dbf --login SID Attempt a dummy login and alert if not ORA-01017: invalid username/password --cache ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Vuppala Sent: 09 November 2007 16:35 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Oracle Applications monitor using nagios Hello I would like to know is there a way to monitor oracle applications by logging in. Thanks __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jriggin at gmail.com Fri Nov 9 16:44:14 2007 From: jriggin at gmail.com (Jerad Riggin) Date: Fri, 9 Nov 2007 09:44:14 -0600 Subject: Service scheduling In-Reply-To: <9D30659ABCA7FB428CF91E386C3A57449A79BD@hermes.sapphire-int.gi> References: <66955c170711090722x29e6c5f0r99c81876ce4f5c16@mail.gmail.com> <9D30659ABCA7FB428CF91E386C3A57449A79BD@hermes.sapphire-int.gi> Message-ID: <66955c170711090744y4506afcbic17cd52093043689@mail.gmail.com> I currently have the normal check at 10 minutes, max attempts at 1, and retry intervals at 1. On Nov 9, 2007 9:36 AM, Giles Coochey wrote: > > > > > I have a checkstring service that kicks off every 10 minutes. After > > failure it will retry every minute. We're trying to track > > availability on some of our servers so this is its purpose. However I > > noticed this morning that a host went down, I received a PING 100% > > packet loss alert, and shortly after within the same minute an alert > > that it couldn't find the HTTP string. However, by 7:50 PING was ok, > > and HTTP didn't return ok until 8:00 AM. If it's retrying every > > minute (or should be), why is there such a large gap? > > > > Normal Behaviour: > > Scheduling During Problems > > So what happens when there are problems with a service? Well, one of the > things that happens is the service check scheduling changes. If you've > configured the max_attempts option of the service definition to be > something greater than 1, Nagios will recheck the service before > deciding that a real problem exists. While the service is being > rechecked (up to max_attempts times) it is considered to be in a "soft" > state (as described here) and the service checks are rescheduled at a > frequency determined by the retry_interval option. > > If Nagios rechecks the service max_attempts times and it is still in a > non-OK state, Nagios will put the service into a "hard" state, send out > notifications to contacts (if applicable), and start rescheduling future > checks of the service at a frequency determined by the check_interval > option. > > http://nagios.sourceforge.net/docs/2_0/checkscheduling.html > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Jason.Ellmers at firstgroup.com Fri Nov 9 16:45:50 2007 From: Jason.Ellmers at firstgroup.com (Jason Ellmers) Date: Fri, 9 Nov 2007 15:45:50 +0000 Subject: CN=Jason Ellmers/OU=FirstInfo/O=FirstGroup is out of the office. Message-ID: I will be Out of the Office Start Date: 09/11/2007. End Date: 12/11/2007. Thankyou for your mail. I am currently away from the office, returning on 12th November If you need a fault escalating please call the service desk on 0038696 (0870 241 5500) with the case reference and ask for Martina Nicholson who has overall responsibility for the Service Desk Dominic Pioli (Dominic Pioli at firstgroup.com - 07815756259) will also be availiable in my absence. Please use Dominic as an escelation point only. ********************************************************************** This message is confidential. It may not be disclosed to, or used by, anyone other than the addressee. If you receive this message in error, please advise us immediately. Internet email is not necessarily secure. First does not accept responsibility for changes to any email which occur after the email has been sent. Attachments to this email could contain software viruses which could damage your system. First have checked the attachments for viruses before sending, but you should virus-check them before opening. For more information on our range of services or to book your tickets online, please visit:- http://www.firstgroup.com ********************************************************************** ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 tim at tany.com Fri Nov 9 16:48:50 2007 From: tim at tany.com (Tim Palmer) Date: Fri, 09 Nov 2007 10:48:50 -0500 Subject: Still can't, and needing guidance SNMP issue In-Reply-To: References: Message-ID: <47348162.7050803@tany.com> Christy.New at cancer.org wrote: > What is the libexec folder? Can you give me a direct path? I am new to > Linux. > > > Very Respectfully, > Christy M. New > 1(404)327-6490 > American Cancer Society > Corporate IT-NHO NOC > Network Infrastructure Engineer > > > > "Giles Coochey" > e.gi> To > , > 11/09/2007 10:07 AM > > cc > > Subject > RE: [Nagios-users] Still can't, and > needing guidance SNMP issue > > > > > > > > > > >> I have the snmp plugin, at least it is downloaded into my downloads > file >> on > > I believe you will need to put the executable in your libexec folder. > >> my linux server. However I can't monitor the following on my >> routers(which >> have snmp community strings on them. I can' monitor the snmp status > or >> bandwidth/ traffic rate. Can anyone help me figure out why I can't > see >> these on Nagios and the Nagios applications continues to say >> >> >> UNKNOWN 11-09-20 0d 22h 3/3 check_mrtgtraf: >> 07 53m 22s Unable to open > MRTG >> 23:47:18 log file >> > > I'm assuming you're not asking about this particular error in this > thread. >> >> Port 1 >> Bandwidt >> h Usage >> >> CRITICAL 11-09-20 0d 22h 3/3 (Return code of > 127 >> 07 51m 55s is out of bounds > - >> 23:48:45 plugin may be >> missing) > > It seems that Nagios cannot find the plugin, is it in your libexec > folder? > >> CRITICAL 11-09-20 0d 22h 3/3 (Return code of > 127 >> 07 50m 28s is out of bounds > - >> 23:53:21 plugin may be >> missing) >> >> > > This looks to be the same problem. > > What snmp plugin are you talking about? There are plenty out there > What version of Nagios are you talking about? > Perhaps if you provide some of your configuration, we might be able to > help some more? > > As it is, we need some psychic assistance here. /usr/libexec, and /usr/local/libexec is the quick answer to your question, but how useful that information will be depends on more information. If you could provide the following details, it would be very helpful: - output of command "uname -a" - Nagios version - exact name of the plugin you're having problems with From the errors you posted already, there may be some confusion - check_mrtggraf doesn't use snmp directly, it uses the information collected by a separate program called MRTG (which must be installed, configured and running properly in order to generate the log file check_mrtggraf currently can't find). And, there are many snmp plugins. - Nagios command definition for the plugin - Nagios service definition for the service calling this command. As Giles says, you really do need to have some understanding of the OS you're running Nagios on. Different OS's can install different bits of Nagios in different places, for one thing. tim ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 gcoochey at sapphire.gi Fri Nov 9 16:47:15 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Fri, 9 Nov 2007 16:47:15 +0100 Subject: Service scheduling In-Reply-To: <66955c170711090744y4506afcbic17cd52093043689@mail.gmail.com> References: <66955c170711090722x29e6c5f0r99c81876ce4f5c16@mail.gmail.com> <9D30659ABCA7FB428CF91E386C3A57449A79BD@hermes.sapphire-int.gi> <66955c170711090744y4506afcbic17cd52093043689@mail.gmail.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A79C0@hermes.sapphire-int.gi> > I currently have the normal check at 10 minutes, max attempts at 1, > and retry intervals at 1. > Once the service enters a hard state, it will be checked at the normal check_interval. The service is only checked once a minute (using the retry_interval) while it is in a SOFT state. The documentation does explain this quite well, I am not sure whether you can change this, but you won't be getting accurate downtime (to the minute) anyway, because you normally only check the service once every 10minutes, so it could already have been down for ten minutes when it first enters the SOFT state. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Fri Nov 9 16:50:13 2007 From: marc at ena.com (Marc Powell) Date: Fri, 9 Nov 2007 09:50:13 -0600 Subject: Service scheduling In-Reply-To: <66955c170711090744y4506afcbic17cd52093043689@mail.gmail.com> References: <66955c170711090744y4506afcbic17cd52093043689@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jerad Riggin > Sent: Friday, November 09, 2007 9:44 AM > To: Giles Coochey > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Service scheduling > > I currently have the normal check at 10 minutes, max attempts at 1, > and retry intervals at 1. This means that nagios will check the service every 10 minutes until there is a problem, then it will perform 1 check 1 minute later and send a notification if it's still in a non-OK state. All future checks return to the 10 minute interval, even if it's still in a non-OK state. retry_check_interval is only used up to max_check_attempts. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 kakikubo at gmail.com Fri Nov 9 16:50:28 2007 From: kakikubo at gmail.com (kakikubo teruo) Date: Sat, 10 Nov 2007 00:50:28 +0900 (JST) Subject: LONGDATETIME return $ In-Reply-To: <495101cb834ae483207d7507613473e5@localhost> References: <495101cb834ae483207d7507613473e5@localhost> Message-ID: <20071110.005028.237321494.kakikubo@gmail.com> Hi > Hello, > > on a fresh install of Nagios 2.6 on Debian Etch, I got a strange problem that I never see before. When I receive mail notifications for an alert, the Date/Time in the Email body return $. Here is an example : > > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: Test Nagios > Host: firewall > Address: 192.168.1.1 > State: CRITICAL > > Date/Time: $ > > Additional Info: > > Connection refused > > But when I receive an email for a "host down" notification, the Date/Time appear !? Here is what I got in commands.cfg : > > # 'host-notify-by-email' command definition > define command{ > command_name host-notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTALIAS$\nState: $HOSTSTATE$ for $HOSTDURATION$\nAddress: $HOSTADDRESS$\nInfo:\n\n$HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n\nACK by: $HOSTACKAUTHOR$\nComment: $HOSTACKCOMMENT$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert $NOTIFICATIONNUMBER$ - $HOSTALIAS$ host is $HOSTSTATE$ **" $CONTACTEMAIL$ > } If described as shown in the above-mentioned , It is sure to become the following formats ***** Nagios ***** Notification Type: $NOTIFICATIONTYPE$ Host: $HOSTALIAS$ State: $HOSTSTATE$ for $HOSTDURATION$ Address: $HOSTADDRESS$ Info: $HOSTOUTPUT$ Date/Time: $LONGDATETIME$ ACK by: $HOSTACKAUTHOR$ Comment: $HOSTACKCOMMENT$ > # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nState: $SERVICESTATE$ for $SERVICEDURATION$\nAddress: $HOSTADDRESS$\n\nInfo:\n\n$SERVICEOUTPUT$\n\nDate/Time: $LONGDATETIME$\n\nACK by: $SERVICEACKAUTHOR$\nComment: $SERVICEACKCOMMENT$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert $NOTIFICATIONNUMBER$ - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ > } This is sure to become as follows, too. ***** Nagios ***** Notification Type: $NOTIFICATIONTYPE$ Service: $SERVICEDESC$ Host: $HOSTALIAS$ State: $SERVICESTATE$ for $SERVICEDURATION$ Address: $HOSTADDRESS$ Info: $SERVICEOUTPUT$ Date/Time: $LONGDATETIME$ ACK by: $SERVICEACKAUTHOR$ Comment: $SERVICEACKCOMMENT$ I think that another notification settings caused the problem . > Thanks for your help! > > PS/ Sorry for my english :-) me too... :-( ------ kakikubo ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 rup001 at yahoo.com Fri Nov 9 16:51:44 2007 From: rup001 at yahoo.com (Vuppala) Date: Fri, 9 Nov 2007 07:51:44 -0800 (PST) Subject: Oracle Applications monitor using nagios Message-ID: <861378.83217.qm@web54606.mail.re2.yahoo.com> Oracle Applications has lots of components, check_oracle plugin only checks for database up or down. Is there any other way i can login to application and check?? Thanks ----- Original Message ---- From: Giles Coochey To: Vuppala ; nagios-users at lists.sourceforge.net Sent: Friday, November 9, 2007 10:41:53 AM Subject: RE: [Nagios-users] Oracle Applications monitor using nagios Is it me today? # ./check_oracle --help check_oracle (nagios-plugins 1.4.9) 1.16 The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. Usage: check_oracle --tns check_oracle --db check_oracle --login check_oracle --cache check_oracle --tablespace check_oracle --oranames check_oracle --help check_oracle --version Check Oracle status --tns SID/IP Address Check remote TNS server --db SID Check local database (search /bin/ps for PMON process) and check filesystem for sgadefORACLE_SID.dbf --login SID Attempt a dummy login and alert if not ORA-01017: invalid username/password --cache From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Vuppala Sent: 09 November 2007 16:35 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Oracle Applications monitor using nagios Hello I would like to know is there a way to monitor oracle applications by logging in. Thanks __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Fri Nov 9 16:54:01 2007 From: marc at ena.com (Marc Powell) Date: Fri, 9 Nov 2007 09:54:01 -0600 Subject: LONGDATETIME return $ In-Reply-To: <495101cb834ae483207d7507613473e5@localhost> References: <495101cb834ae483207d7507613473e5@localhost> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sylvain Viollat > Sent: Friday, November 09, 2007 8:09 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] LONGDATETIME return $ > > > Hello, > > on a fresh install of Nagios 2.6 on Debian Etch, I got a strange problem > that I never see before. When I receive mail notifications for an alert, > the Date/Time in the Email body return $. Here is an example : > > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: Test Nagios > Host: firewall > Address: 192.168.1.1 > State: CRITICAL > > Date/Time: $ > > Additional Info: > > Connection refused > > But when I receive an email for a "host down" notification, the Date/Time > appear !? Here is what I got in commands.cfg : > > # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > $SERVICEDESC$\nHost: $HOSTALIAS$\nState: $SERVICESTATE$ for > $SERVICEDURATION$\nAddress: > $HOSTADDRESS$\n\nInfo:\n\n$SERVICEOUTPUT$\n\nDate/Time: > $LONGDATETIME$\n\nACK by: $SERVICEACKAUTHOR$\nComment: > $SERVICEACKCOMMENT$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert > $NOTIFICATIONNUMBER$ - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" > $CONTACTEMAIL$ > } Are you _sure_ this is the notification command being used? The reason I ask is that you appear to be using the macro correctly but this is an issue that has only ever been seen when the wrong macro is used (i.e. $DATETIME$ from nagios-1.x). For some reason I'm under the impression that the debian packages are shipped with incorrect macros used. Did you have to change them? Did you restart nagios after and verify that there is only one nagios daemon running? -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 gcoochey at sapphire.gi Fri Nov 9 16:54:14 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Fri, 9 Nov 2007 16:54:14 +0100 Subject: Oracle Applications monitor using nagios In-Reply-To: <861378.83217.qm@web54606.mail.re2.yahoo.com> References: <861378.83217.qm@web54606.mail.re2.yahoo.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A79C5@hermes.sapphire-int.gi> Perhaps on NagiosExchange? http://www.nagiosexchange.org/Oracle.153.0.html?&tx_netnagext_pi1[p_view ]=795 Is that any use to you? ________________________________ From: Vuppala [mailto:rup001 at yahoo.com] Sent: 09 November 2007 16:52 To: Giles Coochey Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Oracle Applications monitor using nagios Oracle Applications has lots of components, check_oracle plugin only checks for database up or down. Is there any other way i can login to application and check?? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Fri Nov 9 16:56:11 2007 From: marc at ena.com (Marc Powell) Date: Fri, 9 Nov 2007 09:56:11 -0600 Subject: Oracle Applications monitor using nagios In-Reply-To: <861378.83217.qm@web54606.mail.re2.yahoo.com> References: <861378.83217.qm@web54606.mail.re2.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Vuppala > Sent: Friday, November 09, 2007 9:52 AM > To: Giles Coochey > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Oracle Applications monitor using nagios > > Oracle Applications has lots of components, check_oracle plugin only > checks for database up or down. Is there any other way i can login to > application and check?? What other oracle application besides the database are you interested in monitoring? Looks like you need to explain your goals a bit more clearly. -- marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 joseph.petrucci at wachovia.com Fri Nov 9 17:22:48 2007 From: joseph.petrucci at wachovia.com (joseph.petrucci at wachovia.com) Date: Fri, 9 Nov 2007 11:22:48 -0500 Subject: Oracle Applications monitor using nagios In-Reply-To: <517911.92354.qm@web54603.mail.re2.yahoo.com> References: <517911.92354.qm@web54603.mail.re2.yahoo.com> Message-ID: I do not have a script that will log in to the application. I run scripts that get status's from $COMMON_TOP/admin/scripts/$CONTEXT_NAME. I also monitor long running concurrent manager jobs through SQL. What are you trying to monitor I can probably give you a script to do it. Joe Petrucci Cell : 724-462-0443 Vuppala Sent by: nagios-users-bounces at lists.sourceforge.net 11/09/2007 10:34 AM To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] Oracle Applications monitor using nagios Hello I would like to know is there a way to monitor oracle applications by logging in. Thanks __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Christy.New at cancer.org Fri Nov 9 17:24:05 2007 From: Christy.New at cancer.org (Christy.New at cancer.org) Date: Fri, 9 Nov 2007 11:24:05 -0500 Subject: Still can't, and needing guidance SNMP issue In-Reply-To: <47348162.7050803@tany.com> References: <47348162.7050803@tany.com> Message-ID: Linux ATLNHONETOPS 2.6.10-16-server #2 SMP Sun Sep 23 19:57:25 UTC 2007 i686 GNU/Lunux Nagios-3.0b6 MRTG SNMP Nagios command definitions for the plugin(I don't know). I will attach a file, which you will need word proccessing application to open(usually found in linux)(See attached file: Nagios errors.abw) Very Respectfully, Christy M. New 1(404)327-6490 American Cancer Society Corporate IT-NHO NOC Network Infrastructure Engineer Tim Palmer To 11/09/2007 10:46 nagios-users at lists.sourceforge.net, AM Christy.New at cancer.org cc Subject Re: [Nagios-users] Still can't, and needing guidance SNMP issue Christy.New at cancer.org wrote: > What is the libexec folder? Can you give me a direct path? I am new to > Linux. > > > Very Respectfully, > Christy M. New > 1(404)327-6490 > American Cancer Society > Corporate IT-NHO NOC > Network Infrastructure Engineer > > > > "Giles Coochey" > e.gi> To > , > 11/09/2007 10:07 AM > > cc > > Subject > RE: [Nagios-users] Still can't, and > needing guidance SNMP issue > > > > > > > > > > >> I have the snmp plugin, at least it is downloaded into my downloads > file >> on > > I believe you will need to put the executable in your libexec folder. > >> my linux server. However I can't monitor the following on my >> routers(which >> have snmp community strings on them. I can' monitor the snmp status > or >> bandwidth/ traffic rate. Can anyone help me figure out why I can't > see >> these on Nagios and the Nagios applications continues to say >> >> >> UNKNOWN 11-09-20 0d 22h 3/3 check_mrtgtraf: >> 07 53m 22s Unable to open > MRTG >> 23:47:18 log file >> > > I'm assuming you're not asking about this particular error in this > thread. >> >> Port 1 >> Bandwidt >> h Usage >> >> CRITICAL 11-09-20 0d 22h 3/3 (Return code of > 127 >> 07 51m 55s is out of bounds > - >> 23:48:45 plugin may be >> missing) > > It seems that Nagios cannot find the plugin, is it in your libexec > folder? > >> CRITICAL 11-09-20 0d 22h 3/3 (Return code of > 127 >> 07 50m 28s is out of bounds > - >> 23:53:21 plugin may be >> missing) >> >> > > This looks to be the same problem. > > What snmp plugin are you talking about? There are plenty out there > What version of Nagios are you talking about? > Perhaps if you provide some of your configuration, we might be able to > help some more? > > As it is, we need some psychic assistance here. /usr/libexec, and /usr/local/libexec is the quick answer to your question, but how useful that information will be depends on more information. If you could provide the following details, it would be very helpful: - output of command "uname -a" - Nagios version - exact name of the plugin you're having problems with From the errors you posted already, there may be some confusion - check_mrtggraf doesn't use snmp directly, it uses the information collected by a separate program called MRTG (which must be installed, configured and running properly in order to generate the log file check_mrtggraf currently can't find). And, there are many snmp plugins. - Nagios command definition for the plugin - Nagios service definition for the service calling this command. As Giles says, you really do need to have some understanding of the OS you're running Nagios on. Different OS's can install different bits of Nagios in different places, for one thing. tim -------------- next part -------------- A non-text attachment was scrubbed... Name: Nagios errors.abw Type: application/octet-stream Size: 5542 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jriggin at gmail.com Fri Nov 9 17:25:04 2007 From: jriggin at gmail.com (Jerad Riggin) Date: Fri, 9 Nov 2007 10:25:04 -0600 Subject: Service scheduling In-Reply-To: References: <66955c170711090744y4506afcbic17cd52093043689@mail.gmail.com> Message-ID: <66955c170711090825u38b0c25dj9f3ed4340790bd0e@mail.gmail.com> Thanks for the clarification. On Nov 9, 2007 9:50 AM, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Jerad Riggin > > Sent: Friday, November 09, 2007 9:44 AM > > To: Giles Coochey > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Service scheduling > > > > I currently have the normal check at 10 minutes, max attempts at 1, > > and retry intervals at 1. > > This means that nagios will check the service every 10 minutes until > there is a problem, then it will perform 1 check 1 minute later and send > a notification if it's still in a non-OK state. All future checks return > to the 10 minute interval, even if it's still in a non-OK state. > retry_check_interval is only used up to max_check_attempts. > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Christy.New at cancer.org Fri Nov 9 17:31:22 2007 From: Christy.New at cancer.org (Christy.New at cancer.org) Date: Fri, 9 Nov 2007 11:31:22 -0500 Subject: Still can't, and needing guidance SNMP issue In-Reply-To: <9D30659ABCA7FB428CF91E386C3A57449A79B9@hermes.sapphire-int.gi> References: <9D30659ABCA7FB428CF91E386C3A57449A79B9@hermes.sapphire-int.gi> Message-ID: Thanks, I have already read this, I even printed out the300 page manual. I am slowly working threw it. There are parameter's, which have to be changed to mirror your devices, however the manual, isn't that clear on some things. I sent another email, which I answered some questions, and clarrified more. This should help you get me moving in the right direction. As far as SNMP I know my devices are running it, because we use it for Openview and Solarwinds, and PRTG. I downloaded this but have trouble pointing the files to the right folders, which they need to be in when they are extracted. Nagios-snmp-plugins.1.1.1.tgz is the plug in I download. Very Respectfully, Christy M. New 1(404)327-6490 American Cancer Society Corporate IT-NHO NOC Network Infrastructure Engineer "Giles Coochey" To , 11/09/2007 10:29 cc Subject RE: [Nagios-users] Still can't, and needing guidance SNMP issue > -----Original Message----- > From: Christy.New at cancer.org [mailto:Christy.New at cancer.org] > Sent: 09 November 2007 16:19 > To: Giles Coochey > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Still can't, and needing guidance SNMP issue > > What is the libexec folder? Can you give me a direct path? I am new to > Linux. > Try reading some documentation: http://nagios.sourceforge.net/docs/2_0/installing.html Googling for Nagios & libexec will also tell you where libexec would normally be. But it completely depends on how and where Nagios was originally installed. We are not psychic. You might want to ask someone who knows more about Linux to give you some pointers, Nagios is complicated enough to work out for people who are seasoned Linux users, let alone those who are new to it. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 carson at taltos.org Fri Nov 9 17:41:32 2007 From: carson at taltos.org (Carson Gaspar) Date: Fri, 09 Nov 2007 08:41:32 -0800 Subject: Nagios performance query Message-ID: <47348DBC.3070609@taltos.org> (Disclosure - I'm giving an invited talk at LISA next week on Nagios) I'm trying to determine the maximum active check rate that Nagios can sustain on a given system. I'm rather surprised that I can't seem to get more than about 3 checks per second. Am I just being dense? (I haven't used anything but passive checks for years now, so my active check foo is stale...) Nagios config settings (testing with 2.9, which is what we're using in production): service_inter_check_delay_method=0.01 (tried s as well...) service_interleave_factor=s host_inter_check_delay_methos=0.01 (tried s as well) max_concurrent_checks=0 service_reaper_frequency=1 sleep_time=0.01 performance stats show svc execution at 0 / .8 / .459, svc latency at 0 / 10467.99 / 4475.5599 (3 hours after launch, with only 32708 / 50000 services checked) I never see more than 9 nagios procs at once. The config is large (5000 hosts with 10 services each). The service checks are a simple c program that sleeps for half a second then returns OK. Is this really the best Nagios can do, or am I missing something? -- Carson ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 tim at tany.com Fri Nov 9 19:10:37 2007 From: tim at tany.com (Tim Palmer) Date: Fri, 09 Nov 2007 13:10:37 -0500 Subject: Still can't, and needing guidance SNMP issue In-Reply-To: References: Message-ID: <4734A29D.8020007@tany.com> Please don't top post. My response is below Christy.New at cancer.org wrote: > Linux ATLNHONETOPS 2.6.10-16-server #2 SMP Sun Sep 23 19:57:25 UTC 2007 > i686 GNU/Lunux > > Nagios-3.0b6 > > MRTG > SNMP > > Nagios command definitions for the plugin(I don't know). > > I will attach a file, which you will need word proccessing application to > open(usually found in linux)(See attached file: Nagios errors.abw) > > > Very Respectfully, > Christy M. New > 1(404)327-6490 > American Cancer Society > Corporate IT-NHO NOC > Network Infrastructure Engineer > > > > Tim Palmer > > To > 11/09/2007 10:46 nagios-users at lists.sourceforge.net, > AM Christy.New at cancer.org > cc > > Subject > Re: [Nagios-users] Still can't, and > needing guidance SNMP issue > > > > > > > > > > > Christy.New at cancer.org wrote: >> What is the libexec folder? Can you give me a direct path? I am new to >> Linux. >> >> >> Very Respectfully, >> Christy M. New >> 1(404)327-6490 >> American Cancer Society >> Corporate IT-NHO NOC >> Network Infrastructure Engineer >> >> >> > >> "Giles Coochey" > >> >> e.gi> > To >> , > >> 11/09/2007 10:07 > > AM > > > cc > > Subject >> RE: [Nagios-users] Still can't, > and >> needing guidance SNMP issue > > > > > > > >> >> >> >>> I have the snmp plugin, at least it is downloaded into my downloads >> file >>> on >> I believe you will need to put the executable in your libexec folder. >> >>> my linux server. However I can't monitor the following on my >>> routers(which >>> have snmp community strings on them. I can' monitor the snmp status >> or >>> bandwidth/ traffic rate. Can anyone help me figure out why I can't >> see >>> these on Nagios and the Nagios applications continues to say >>> >>> >>> UNKNOWN 11-09-20 0d 22h 3/3 check_mrtgtraf: >>> 07 53m 22s Unable to open >> MRTG >>> 23:47:18 log file >>> >> I'm assuming you're not asking about this particular error in this >> thread. >>> Port 1 >>> Bandwidt >>> h Usage >>> >>> CRITICAL 11-09-20 0d 22h 3/3 (Return code of >> 127 >>> 07 51m 55s is out of bounds >> - >>> 23:48:45 plugin may be >>> missing) >> It seems that Nagios cannot find the plugin, is it in your libexec >> folder? >> >>> CRITICAL 11-09-20 0d 22h 3/3 (Return code of >> 127 >>> 07 50m 28s is out of bounds >> - >>> 23:53:21 plugin may be >>> missing) >>> >>> >> This looks to be the same problem. >> >> What snmp plugin are you talking about? There are plenty out there >> What version of Nagios are you talking about? >> Perhaps if you provide some of your configuration, we might be able to >> help some more? >> >> As it is, we need some psychic assistance here. > > /usr/libexec, and /usr/local/libexec is the quick answer to your > question, but how useful that information will be depends on more > information. If you could provide the following details, it would be > very helpful: > > - output of command "uname -a" > - Nagios version > - exact name of the plugin you're having problems with > From the errors you posted already, there may be some confusion - > check_mrtggraf doesn't use snmp directly, it uses the information > collected by a separate program called MRTG (which must be installed, > configured and running properly in order to generate the log file > check_mrtggraf currently can't find). And, there are many snmp plugins. > - Nagios command definition for the plugin > - Nagios service definition for the service calling this command. > > As Giles says, you really do need to have some understanding of the OS > you're running Nagios on. Different OS's can install different bits of > Nagios in different places, for one thing. > > tim > - Please don't post files in funny formats - text only. Assuming everyone has AbiWord is as unhelpful as people assuming everyone has MS Word available. - In general, never post real ip addresses, passwords or SNMP community strings in an open forum. Your email has already been indexed, and your community string is now compromised. I would change it immediately. Generally, the first place to start when troubleshooting plugins is to run the plugin from the command line, with the exact same params as you're passing in the service definition, although its common for the check_command in the service definition to be a redefined version of a plugin, defined in the command def file. so: (the following is from 2.x series. I haven't even looked at 3.x yet, so don't know if any of this has changed). - find where your commands are defined. Look in nagios.cfg, where ever that might be ("locate nagios.cfg" should work) - that will tell you the name and location of the command file. Then find the "define command" block that matches your check_command. Use the stuff given in the "command_line", with the params from your service definition, to run it manually. Make sense? If it works as root, su to the nagios user, and try it that way. Given that this is a forum of people helping each other, the more you can do yourself, the better your questions will be received. If you have trouble with the above, look at it, run check_snmp -h for help, think about it, google it a few ways before posting back. You'll also learn more that way. Good luck... ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jonbuys at mac.com Fri Nov 9 19:44:29 2007 From: jonbuys at mac.com (Jon Buys) Date: Fri, 9 Nov 2007 12:44:29 -0600 Subject: Still can't, and needing guidance SNMP issue In-Reply-To: <4734A29D.8020007@tany.com> References: <4734A29D.8020007@tany.com> Message-ID: <27388b060711091044m7d27c7f8w441380ed453b3c79@mail.gmail.com> I've always found this link helpful and a good read: http://www.catb.org/~esr/faqs/smart-questions.html Jon On 11/9/07, Tim Palmer wrote: > Please don't top post. My response is below > > Christy.New at cancer.org wrote: > > Linux ATLNHONETOPS 2.6.10-16-server #2 SMP Sun Sep 23 19:57:25 UTC 2007 > > i686 GNU/Lunux > > > > Nagios-3.0b6 > > > > MRTG > > SNMP > > > > Nagios command definitions for the plugin(I don't know). > > > > I will attach a file, which you will need word proccessing application to > > open(usually found in linux)(See attached file: Nagios errors.abw) > > > > > > Very Respectfully, > > Christy M. New > > 1(404)327-6490 > > American Cancer Society > > Corporate IT-NHO NOC > > Network Infrastructure Engineer > > > > > > > > Tim Palmer > > > > To > > 11/09/2007 10:46 nagios-users at lists.sourceforge.net, > > AM Christy.New at cancer.org > > cc > > > > Subject > > Re: [Nagios-users] Still can't, and > > needing guidance SNMP issue > > > > > > > > > > > > > > > > > > > > > > Christy.New at cancer.org wrote: > >> What is the libexec folder? Can you give me a direct path? I am new to > >> Linux. > >> > >> > >> Very Respectfully, > >> Christy M. New > >> 1(404)327-6490 > >> American Cancer Society > >> Corporate IT-NHO NOC > >> Network Infrastructure Engineer > >> > >> > >> > > > >> "Giles Coochey" > > > >> > > >> e.gi> > > To > >> , > > > >> 11/09/2007 10:07 > > >> AM > > > > > cc > > > > Subject > >> RE: [Nagios-users] Still can't, > > and > >> needing guidance SNMP issue > > > > > > > > > > > > > > > >> > >> > >> > >>> I have the snmp plugin, at least it is downloaded into my downloads > >> file > >>> on > >> I believe you will need to put the executable in your libexec folder. > >> > >>> my linux server. However I can't monitor the following on my > >>> routers(which > >>> have snmp community strings on them. I can' monitor the snmp status > >> or > >>> bandwidth/ traffic rate. Can anyone help me figure out why I can't > >> see > >>> these on Nagios and the Nagios applications continues to say > >>> > >>> > >>> UNKNOWN 11-09-20 0d 22h 3/3 check_mrtgtraf: > >>> 07 53m 22s Unable to open > >> MRTG > >>> 23:47:18 log file > >>> > >> I'm assuming you're not asking about this particular error in this > >> thread. > >>> Port 1 > >>> Bandwidt > >>> h Usage > >>> > >>> CRITICAL 11-09-20 0d 22h 3/3 (Return code of > >> 127 > >>> 07 51m 55s is out of bounds > >> - > >>> 23:48:45 plugin may be > >>> missing) > >> It seems that Nagios cannot find the plugin, is it in your libexec > >> folder? > >> > >>> CRITICAL 11-09-20 0d 22h 3/3 (Return code of > >> 127 > >>> 07 50m 28s is out of bounds > >> - > >>> 23:53:21 plugin may be > >>> missing) > >>> > >>> > >> This looks to be the same problem. > >> > >> What snmp plugin are you talking about? There are plenty out there > >> What version of Nagios are you talking about? > >> Perhaps if you provide some of your configuration, we might be able to > >> help some more? > >> > >> As it is, we need some psychic assistance here. > > > > /usr/libexec, and /usr/local/libexec is the quick answer to your > > question, but how useful that information will be depends on more > > information. If you could provide the following details, it would be > > very helpful: > > > > - output of command "uname -a" > > - Nagios version > > - exact name of the plugin you're having problems with > > From the errors you posted already, there may be some confusion - > > check_mrtggraf doesn't use snmp directly, it uses the information > > collected by a separate program called MRTG (which must be installed, > > configured and running properly in order to generate the log file > > check_mrtggraf currently can't find). And, there are many snmp plugins. > > - Nagios command definition for the plugin > > - Nagios service definition for the service calling this command. > > > > As Giles says, you really do need to have some understanding of the OS > > you're running Nagios on. Different OS's can install different bits of > > Nagios in different places, for one thing. > > > > tim > > > > - Please don't post files in funny formats - text only. Assuming > everyone has AbiWord is as unhelpful as people assuming everyone has MS > Word available. > - In general, never post real ip addresses, passwords or SNMP community > strings in an open forum. Your email has already been indexed, and your > community string is now compromised. I would change it immediately. > > Generally, the first place to start when troubleshooting plugins is to > run the plugin from the command line, with the exact same params as > you're passing in the service definition, although its common for the > check_command in the service definition to be a redefined version of a > plugin, defined in the command def file. > > so: > (the following is from 2.x series. I haven't even looked at 3.x yet, so > don't know if any of this has changed). > - find where your commands are defined. Look in nagios.cfg, where ever > that might be ("locate nagios.cfg" should work) - that will tell you the > name and location of the command file. Then find the "define command" > block that matches your check_command. Use the stuff given in the > "command_line", with the params from your service definition, to run it > manually. Make sense? > > If it works as root, su to the nagios user, and try it that way. > > Given that this is a forum of people helping each other, the more you > can do yourself, the better your questions will be received. If you have > trouble with the above, look at it, run check_snmp -h for help, think > about it, google it a few ways before posting back. You'll also learn > more that way. > > Good luck... > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 erik.froese at gmail.com Fri Nov 9 21:58:59 2007 From: erik.froese at gmail.com (Erik Froese) Date: Fri, 9 Nov 2007 15:58:59 -0500 Subject: Nagios web interface is blank but checks are running Message-ID: Everything was going fine with nagios until I changed a command today. I added -t 20 to the check_ssh command definition and restarted. Now the web interface gives the error. There doesn't appear to be any host status information in the status log... Make sure that Nagios is running and that you have specified the location of you status log correctly in the configuration files. That would suggest some kind of error reading the config files no? So I checked the config files (/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios/cfg). It gave the correct host, contact, service, ... etc counts and reports no errors or warnings. The permissions on the config files are fine as far as I can see. Interestingly the objects.cache file is empty. The nagios.log file is also empty var/*.dat are also empty So somehow nagios is loading up the configs, running checks, and sending notifications but when asked for information about what it monitoring, it says nothing. Any ideas? Erik ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Fri Nov 9 22:04:31 2007 From: marc at ena.com (Marc Powell) Date: Fri, 9 Nov 2007 15:04:31 -0600 Subject: Nagios web interface is blank but checks are running In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Erik Froese > Sent: Friday, November 09, 2007 2:59 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios web interface is blank but checks are > running > > Everything was going fine with nagios until I changed a command today. > I added -t 20 to the check_ssh command definition and restarted. > > Now the web interface gives the error. > There doesn't appear to be any host status information in the status > log... Do you have more than one nagios daemon running? -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 erik.froese at gmail.com Fri Nov 9 22:08:33 2007 From: erik.froese at gmail.com (Erik Froese) Date: Fri, 9 Nov 2007 16:08:33 -0500 Subject: Nagios web interface is blank but checks are running In-Reply-To: References: Message-ID: Thanks but that's not it. I saw thats a common issue when people see disappearing hosts or services. Erik On 11/9/07, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Erik Froese > > Sent: Friday, November 09, 2007 2:59 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Nagios web interface is blank but checks are > > running > > > > Everything was going fine with nagios until I changed a command today. > > I added -t 20 to the check_ssh command definition and restarted. > > > > Now the web interface gives the error. > > There doesn't appear to be any host status information in the status > > log... > > Do you have more than one nagios daemon running? > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 td3201 at gmail.com Fri Nov 9 22:45:29 2007 From: td3201 at gmail.com (Terry) Date: Fri, 9 Nov 2007 15:45:29 -0600 Subject: timeperiod discrepancy In-Reply-To: <8ee061010711080719n7c5ecf6yfeb57344319ca200@mail.gmail.com> References: <8ee061010711080719n7c5ecf6yfeb57344319ca200@mail.gmail.com> Message-ID: <8ee061010711091345u130ce50id84d859765559f79@mail.gmail.com> On Nov 8, 2007 9:19 AM, Terry wrote: > Here is what I have in the config: > define timeperiod{ > timeperiod_name engineer01 > alias engineer01 > 2007-11-05 / 42 00:00-24:00 ; Every 42 days (6 weeks), > starting November 5th, 2007 > 2007-11-06 / 42 00:00-24:00 ; Every 6th Tuesday starting > November 6th, 2007 > 2007-11-07 / 42 00:00-24:00 ; Every 6th Wednesday starting > November 7th, 2007 > 2007-11-08 / 42 00:00-24:00 ; Every 6th Thursday starting > November 8th, 2007 > 2007-11-09 / 42 00:00-24:00 ; Every 6th Friday starting > November 9th, 2007 > 2007-11-10 / 42 00:00-24:00 ; Every 6th Saturday starting > November 10th, 2007 > 2007-11-11 / 42 00:00-24:00 ; Every 6th Sunday starting > November 11th, 2007 > } > > > Here is what shows up via the view config on the web: > engineer01 engineer01 2007-09-11 / 42 00:00:00 - 24:00:00 > 2007-09-10 / 42 00:00:00 - 24:00:00 > 2007-09-09 / 42 00:00:00 - 24:00:00 > 2007-09-08 / 42 00:00:00 - 24:00:00 > 2007-09-07 / 42 00:00:00 - 24:00:00 > 2007-09-06 / 42 00:00:00 - 24:00:00 > 2007-09-05 / 42 00:00:00 - 24:00:00 > > > What is going on here that I am missing? > Sorry, I re-read my email and I am missing some important information: CentOS release 5 nagios-3.0b5-1.fc4.test Thanks! ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Sat Nov 10 03:31:37 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 9 Nov 2007 21:31:37 -0500 Subject: nsclient, is it still an acceptable method to monitor nt In-Reply-To: <473437F4.40407@op5.se> References: <31fabc220711081355ic62ff1rf115d680fccb7b71@mail.gmail.com> <47339A92.5080501@op5.se> <9D30659ABCA7FB428CF91E386C3A57449A7941@hermes.sapphire-int.gi> <473437F4.40407@op5.se> Message-ID: Thanks Andreas, Good Description of the differences, However, you forgot to mension NC_Net also supports NSCA for Passive checks. So in my eyes, each flavor of the current Windows Plugins offers a different set of enhancements, NSCLIENT++ has NRPE and some other enhancements NC_NET has NSCA, event logs, RunScripts,WMI,... (And supports Whitespace in Service names) OpMon - may be introducing NRPE soon? and hopefully other enhancements All three are compatible to the Check_NT from the official Plugins and should return similar results. Tony (Author of NC_Net) On Nov 9, 2007 5:35 AM, Andreas Ericsson wrote: > Giles Coochey wrote: > >> Steve Ensley wrote: > >>> I'm upgrading another departments Nagios 1.3 instance to Nagios 2.9. > >> they > >>> are using nsclient to get some info from some nt servers. Most of > > my > >> Nagios > >>> experience has been monitoring Unix servers. > >>> > >>> The website at http://nsclient.ready2run.nl/ for nsclient doesnt > > seem to > >>> have been touched since 2004. Is it still a viable method to > > monitor nt > >>> servers or is there somthing else I should be looking into to > > replace > >> it. > >> Try NSClient++ instead. It's at sourceforge somewhere, and is quite a > > lot > >> fresher. NSClient might work, but it's getting rather ancient. > >> > > > > I had this same quandary sometime back. > > > > Options were > > > > NSClient (seems too old, not being developed) > > NSClient++ (presumably enhanced in some way) > > OpServices version of NSClient (still being developed) > > NC_Net (still being developed) > > > > In the end I simply went with NC_Net and it appears to work for us just > > fine, and I often see the author on this list, which tells me that he's > > still involved with Nagios in some way. > > > > It would be nice if all the different people who independently developed > > all the different versions 'unforked' their efforts though :-), it would > > make the decision on which one to use much easier, by having a lack of > > choice!! > > They aren't really forks. OpServices have simply taken over maintainership > of NSClient (more or less, as the original author seems to have vanished). > NSClient++ is a re-implementation in C++, with support for NRPE style > script > based checks as well. NC_Net does things through dot net stuff and some m$ > voodoo, but incorporates the NSClient mode of address since that's what > the > official plugins support. > > So it's really three different agents. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 moshesharon at gmail.com Sat Nov 10 13:17:20 2007 From: moshesharon at gmail.com (moshe sharon) Date: Sat, 10 Nov 2007 14:17:20 +0200 Subject: nsclient, is it still an acceptable method to monitor nt In-Reply-To: References: <31fabc220711081355ic62ff1rf115d680fccb7b71@mail.gmail.com> <47339A92.5080501@op5.se> <9D30659ABCA7FB428CF91E386C3A57449A7941@hermes.sapphire-int.gi> <473437F4.40407@op5.se> Message-ID: <88ad29240711100417m3913123dnc64d2b9cad3a827e@mail.gmail.com> Hi NRPE NT seems to me the best way to monitor windows services. since there are alot of plug ins available at nagiosexchange and around the web. it support windows NT/2000/2003/vista. also 32 and 64 bit. And the biggest advantage it consume little resources compare to the other solutions NRPE NT http://www.nagiosexchange.org/Windows.49.0.html?&tx_netnagext_pi1[p_view]=64 Some basic plugins http://www.nagiosexchange.org/Windows_NRPE.66.0.html?&tx_netnagext_pi1[p_view]=62 Hope it helped Moshe Sharon http://www.centerity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 nhonore at caci.com Sat Nov 10 22:01:34 2007 From: nhonore at caci.com (Noel Honore) Date: Sat, 10 Nov 2007 16:01:34 -0500 Subject: Noel Honore is out of the office. Message-ID: I will be out of the office starting 11/09/2007 and will not return until 11/19/2007. I will respond to your message when I return. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 trevor_obba at yahoo.co.uk Sat Nov 10 23:20:30 2007 From: trevor_obba at yahoo.co.uk (trevor obba) Date: Sat, 10 Nov 2007 22:20:30 +0000 (GMT) Subject: nagios replication Message-ID: <106207.89844.qm@web23309.mail.ird.yahoo.com> I am running Nagios 2.5 on suse Linux machine and I am replicating nagios files and database using rsync, mysql replication. Those databases are replicated to a remote site ?Nagios server B? monitoring the same servers however when I disable a notification for a host or service on Nagios server A? this does not get replicated to Nagios server B? When ?Disable notification for this service? is click on or host notification is disabled by clicking ?Disable notification for this host? via web, what file or database get writing too? Basically, when a service or host notification is disabled via web what get modify? I would like to replicate the file or database, so that when a service or hosts notification is disabled, this gets replicated to the remote site. ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 yana.millis at gmail.com Mon Nov 12 06:41:40 2007 From: yana.millis at gmail.com (Yana Millis) Date: Mon, 12 Nov 2007 15:41:40 +1000 Subject: Discrpancy b/w NDOUtils DB and Nagios Message-ID: Hello, i'm trying to make some sense out of the data in NDOUtils hostchecks table...Basically, I just want to test which hosts have ever been down at any time. There is large number of hosts whose host status, according to Nagios' web interface, has been in critical DOWN condition for quite some time. However, when I run the query on NDOUtils tables, only a very small subset of these hosts show up. (I.e. nagios shows that host X,Y,Z and W are down, but when I run the query on DNOUtils hostchecks data table, only Y and Z show up as having ever been down, which is *weird*). I've ensured that Nagios performs the checks every two minutes, that both nagios and ndoUtils have been running long enough, and that the Ndo2db is only trimmed once a week (so trimming could not be the cause of the missing records...) The query that I'm running is as follows: SELECT o.name1, o.object_id, h.host_object_id FROM nagios.nagios_objects o INNER JOIN nagios.nagios_hostchecks h ON o.object_id=h.host_object_id WHERE o.objecttype_id=1 AND h.state=1 AND is_raw_check=0; So can anybody suggest a reason why the hosts which are down (and critical) in Nagios' web interface are not recorded as such in NDOUtils' database ?? thanks alot for any suggestions : 0) --yana ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 chrisserafin at gmail.com Mon Nov 12 07:45:15 2007 From: chrisserafin at gmail.com (chris serafin) Date: Mon, 12 Nov 2007 00:45:15 -0600 Subject: check_snmp_storage fails on 2003 box, works manually Message-ID: I'm having an issue with getting some SNMP commands to work. When issuing the check_snmp_storage.pl manually, I get perfect results, but once I put it in Nagios 3.0b5, I get critical alerts: (Return code of 127 is out of bounds - plugin may be missing) This is the manual command I enter and the result: $ sudo ./check_snmp_storage.pl -H 192.168.1.200 -C pUBLIC -m C -w 80 -c 95 C:\ Label: Serial Number d0d8a583: 66%used(9055MB/13774MB) (<80%) : OK This is how I defined the command and service: define command{ command_name check_snmp_storage_windrive command_line $USER1$/check_snmp_storage -H $HOSTADDRESS$ -C $ARG1$ -m $ARG2$ -w $ARG3$ -c $ARG4$ } define service{ use generic-service host_name Bunker01_Win2003-01 service_description Check Drive C Memory check_command check_snmp_storage_windrive!pUBLIC!^C!90!100! } The host is running Ubuntu 7.x and Nagios 3.0b5 Chris Serafin Security Engineer chris at chrisserafin.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hvdkooij at vanderkooij.org Mon Nov 12 07:58:42 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 12 Nov 2007 07:58:42 +0100 Subject: check_snmp_storage fails on 2003 box, works manually In-Reply-To: References: Message-ID: <4737F9A2.5010607@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 chris serafin wrote: > I'm having an issue with getting some SNMP commands to work. > > When issuing the check_snmp_storage.pl manually, I get perfect results, > but once I put it in Nagios 3.0b5, I get critical alerts: (Return code > of 127 is out of bounds - plugin may be missing) > > This is the manual command I enter and the result: > > $ sudo ./check_snmp_storage.pl -H 192.168.1.200 -C pUBLIC -m C -w 80 -c 95 Great for root. But what about the account that Nagios is running as? Did you test it too? And where did you put check_snmp_storage.pl exactly? ./ is a rather relative distinction. But I think it does not matter .... > This is how I defined the command and service: > define command{ > command_name check_snmp_storage_windrive > command_line $USER1$/check_snmp_storage -H $HOSTADDRESS$ -C > $ARG1$ -m $ARG2$ -w $ARG3$ -c $ARG4$ Hold on. Why are you afraid to come out and tell nagios it is a perl script? $USER1$/check_snmp_storage !!= ./check_snmp_storage.pl For those unaware of pseudo code: !!= stands for 'is most definitly NOT'. Pretty much as !~= stands for 'almost but not quite unlike`;-) Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHN/mgBvzDRVjxmYERAmt3AKCD35Rz1k7aT3POzEvQPYUNEQXo4ACfUa0H Mg/Qj9Pt1/o0/6T4xxwwxZg= =GD0Z -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 marcin at 2fluid.co.uk Mon Nov 12 15:15:33 2007 From: marcin at 2fluid.co.uk (Marcin Praczko) Date: Mon, 12 Nov 2007 14:15:33 -0000 Subject: Two difrent location - one monitoring system. Message-ID: Hi EveryOne, I would like to ask you about some Nagios Solusion. These Is current configuration: Localisation 1. Server1 ServerA Server2 ServerB Server3 --- Nagios Server --- > < --- ServerX (NRPE) --- ServerC Server4 ServerD Etc Ath this moment I am pinging all servers from Main Nagios Server and via NRPE on ServerX. Everything seems working fine, but ? Servers1..4 ? Nagios is seeing as Host (that is right) But serversA..D ? For nagios are services belong to ServerX (This is what I don?t want). Do you know how can I make configuration ? to working the same way, but all servers behing ServerX should be visible for Nagios as Host not Services? Thank you very much for your help. Marcin Praczko. No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.27/1121 - Release Date: 09/11/2007 19:29 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 marcin at 2fluid.co.uk Mon Nov 12 15:21:34 2007 From: marcin at 2fluid.co.uk (Marcin Praczko) Date: Mon, 12 Nov 2007 14:21:34 -0000 Subject: Notification. Message-ID: Dear Nagios user. I would like to ask you about some Nagios notification configuration. On my Nagios I have two notification, one is via email, and second is via SMS. And now if some problem will appear I have got both alert email and sms, what is correct. But know on my servers some problems Cannot be fixed in 5/10 minutes. (Two servers every day are busy durning the day). And know I?ve got SMS and email any time When this is chcecking ? which in my confirmation is every 2 minutes. I would like to ask you that is possible to configure get on SMS when some problem with appear? For example: - everything is OK --- no alerts - I have some problem (but it will take langer to fix that 5 minutes) ? I would like to get only one SMS, but I can get a lot of emails - When the problem will be fixed ? and for example will appear after two/three hours ? I would like to get again only one SMS It is possible? Marcin Praczko. No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.27/1121 - Release Date: 09/11/2007 19:29 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Mon Nov 12 15:41:20 2007 From: marc at ena.com (Marc Powell) Date: Mon, 12 Nov 2007 08:41:20 -0600 Subject: Two difrent location - one monitoring system. In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Marcin Praczko > Sent: Monday, November 12, 2007 8:16 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Two difrent location - one monitoring system. > > > > Hi EveryOne, > > I would like to ask you about some Nagios Solusion. > > These Is current configuration: > > > Localisation 1. > > Server1 ServerA > Server2 ServerB > Server3 --- Nagios Server --- > < --- ServerX (NRPE) --- ServerC > Server4 ServerD > Etc > > > Ath this moment I am pinging all servers from Main Nagios Server and via > NRPE on ServerX. > Everything seems working fine, but - Servers1..4 - Nagios is seeing as > Host (that is right) > But serversA..D - For nagios are services belong to ServerX (This is what > I don't want). > > Do you know how can I make configuration - to working the same way, but > all servers behing ServerX should be visible for Nagios as Host not > Services? Why not use the host_name you want displayed in the host{} definitions but the host{} address for serverX? The host_name is used for display/notification purposes and the address is only used behind the scenes for communication. Assign the individual services{} for each host currently defined against serverX to the appropriate new host. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 marcin at 2fluid.co.uk Mon Nov 12 15:49:09 2007 From: marcin at 2fluid.co.uk (Marcin Praczko) Date: Mon, 12 Nov 2007 14:49:09 -0000 Subject: Two difrent location - one monitoring system. Message-ID: > Why not use the host_name you want displayed in the host{} definitions > but the host{} address for serverX? The host_name is used for > display/notification purposes and the address is only used behind the > scenes for communication. Assign the individual services{} for each host > currently defined against serverX to the appropriate new host. Look - I am asking that is possible? Normally when you configure host and service - check_host - nagios is pinging the host. But I would like to check all servers behind the NAT (localnetwork) - so it is not possible ping them from outside (second location). So I created serices on Gateway - check_ping and put hardcore configuration in NRPE. This way is fine - but I see all local IP as service from NRPE (ServerX). But I would like to see it at host. For example: HOST: name.location2 IP: AAA.BBB.CCC.DDD Service: service1 Service: service2 But all this queries must go threw ServerX Marcin Praczko No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.27/1121 - Release Date: 09/11/2007 19:29 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Mon Nov 12 16:12:10 2007 From: marc at ena.com (Marc Powell) Date: Mon, 12 Nov 2007 09:12:10 -0600 Subject: Two difrent location - one monitoring system. In-Reply-To: References: Message-ID: > -----Original Message----- > From: Marcin Praczko [mailto:marcin at 2fluid.co.uk] > Sent: Monday, November 12, 2007 8:49 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Two difrent location - one monitoring system. > > > Why not use the host_name you want displayed in the host{} definitions > > but the host{} address for serverX? The host_name is used for > > display/notification purposes and the address is only used behind the > > scenes for communication. Assign the individual services{} for each host > > currently defined against serverX to the appropriate new host. > > Look - I am asking that is possible? > Normally when you configure host and service - check_host - nagios is > pinging the host. Nagios is pinging the host address, not the host_name. That's an important distinction. > But I would like to check all servers behind the NAT (localnetwork) - so > it is not possible ping them from outside (second location). > > So I created serices on Gateway - check_ping and put hardcore > configuration in NRPE. This way is fine - but I see all local IP as > service from NRPE (ServerX). What do you mean by this last sentence? Where are you seeing this IP? Is your primary concern only the IP that is displayed in the GUI? I took your original e-mail to mean that you want all the services associated with ServerX that are really for ServerA..D to be their own host/services. I still don't see an issue with doing that. While they would all have the correct host names, they'd still need to show the IP for ServerX since it's the only address nagios must know about. > But I would like to see it at host. > For example: > > HOST: name.location2 > IP: AAA.BBB.CCC.DDD > Service: service1 > Service: service2 If your concern is that the IP displayed doesn't match the host_name that nagios is checking, proceed as I indicated in my first e-mail, but also create a new check_nrpe command definition that uses a hard coded of serverX to send commands to, ignoring the host address defined in nagios. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 mkellermann at net-com.de Mon Nov 12 16:42:40 2007 From: mkellermann at net-com.de (Matthias Kellermann) Date: Mon, 12 Nov 2007 16:42:40 +0100 Subject: Plugin for monitoring FreeBSD for updates (like check_apt)? Message-ID: <47387470.6050103@net-com.de> Hi list, anyone knows of a Nagios plugin to check the FreeBSD ports and base system for updates? I'm searching for something like check_apt for Debian/Ubuntu. One important thing is that I also want to monitor all the FreeBSD jails for updates, too. Any help/hint appreciated :) Matthias ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 mwlucas at blackhelicopters.org Mon Nov 12 16:50:44 2007 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Mon, 12 Nov 2007 10:50:44 -0500 Subject: Plugin for monitoring FreeBSD for updates (like check_apt)? In-Reply-To: <47387470.6050103@net-com.de> References: <47387470.6050103@net-com.de> Message-ID: <20071112155044.GB43856@bewilderbeast.blackhelicopters.org> On Mon, Nov 12, 2007 at 04:42:40PM +0100, Matthias Kellermann wrote: > Hi list, > > anyone knows of a Nagios plugin to check the FreeBSD ports and base > system for updates? I'm searching for something like check_apt for > Debian/Ubuntu. > > One important thing is that I also want to monitor all the FreeBSD jails > for updates, too. Any help/hint appreciated :) None exists today. It should be fairly simple to write a NRPE wrapper around portmaster, however. I believe (but might be wrong) that net-snmp also has the ability to read the FreeBSD package database; you could run a snmpwalk on the target machine and compare that to a master package database. Good luck, and if you implement something be sure to let us know about it. ==ml > > Matthias > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 -- Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: "Absolute FreeBSD" -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies "for security reasons." ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 marcin at 2fluid.co.uk Mon Nov 12 17:12:50 2007 From: marcin at 2fluid.co.uk (Marcin Praczko) Date: Mon, 12 Nov 2007 16:12:50 -0000 Subject: Two difrent location - one monitoring system. Message-ID: Thank you very much for explaing some ideas. I know that maybe I don?t understand your idea - I apologies for that. Look: I have local network behind one server which is available to connect from Internet. But behind this server are network devices (NAS, IDS, etc) which communicate each other by local IP addresses. And I maintaining second network. Each of this network doesn't trust each other. And now you have: Nagios Server ------ ServerX ----- (LAN IPs to others network devices). I Configured NRPE on ServerX to hardcore ping local IPs (But I would like to Develop this configuration to checking for example free space on NAS, Network bandwich on NAS, etc, etc). At this moment is working (NAGIOS - Service group): ServerX - Checking services on ServerX - Pinging LOCAL IP1 - Pinging LOCAL IP2 - Pinging LOCAL IP3 So if I add service - check free space - that I will get next service for ServerX But I would like to have: ServerX - Checking services on ServerX Group Local devices on location 2. Server with IP1 - Checking services on Server with IP1 Server with IP2 - Checking services on Server with IP2 Etc. IP1 and IP2 have local IP - not external. The reason to do that. I would like to have only one port opened (NRPE) on one server and checking all HOSTs and SERVICEs behid this server (ServerX). I just like groups and working with them. I am not so familiar with Nagios, this is a beginning of my adventure with this software. So I am asking how (or if) can be done? If yes, please explain me how. If I understood correctly from nagios manual. We have two pings. Service and Host. So I service will fail, and server will be marked as DOWN. The host ping is sending to server (right?). So here I would like to run NRPE command on ServerX (Ping LOCAL IP). If server is back up - the software ping is checking what happen (right?) And here Again I would like to send command to NRPE - ping local IP. Etc. At this moment I can't do (but I don't say that I am right) to make one group from LOCAL IPs behind ServerX and sending everything via NRPE on ServerX I hope that time is clear what I would like to know. Marcin Praczko. No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.27/1121 - Release Date: 09/11/2007 19:29 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 gt4ne1 at gmail.com Mon Nov 12 17:31:02 2007 From: gt4ne1 at gmail.com (GT4NE1) Date: Mon, 12 Nov 2007 08:31:02 -0800 Subject: Two instances of ndo2db running... Message-ID: <18894d440711120831y7bfaad94l1ad3b67c1a0503e0@mail.gmail.com> I'm having an issue with NDOutils where it starts two instances of ndo2db. I start one manually like the install says, but when I start nagios, a second instance pops up. The strange thing is it didn't do this the first time I started everything up after installing. It wrote to the database and the nagios.log was continualy being updated. But ever since I stopped nagios and ndo2db and tried to start everything up again, it now starts two instances and only writes information to the database on the first connect and then no longer does anything. Using RHEL 5 AP, with Nagios 3.0b6 and NDOUtils 1.47b Here is the successfull connection when I first start it up from nagios.log but after that, nagios.log does not update at all, even though nagios.debug is and the webpage is showing current checks, nothing is being written to the database. [1194884032] Event broker module '/usr/local/nagios/bin/ndomod.o' deinitialized successfully. [1194884417] Nagios 3.0b6 starting... (PID=13608) [1194884417] LOG VERSION: 2.0 [1194884417] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 2005-2007 Ethan Galstad (nagios at nagios.org) [1194884417] ndomod: Successfully connected to data sink. 0 queued items to flush. [1194884417] Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully. [1194884417] Finished daemonizing... (New PID=13611) I belive it's because of the two instances of ndo2db, but I can't figure out how to get rid of one. If I shutdown everything and then just start nagios, no ndo2db processes start up. It only happens when there is already one present. Any ideas why two ndo2db process are starting? Thanks, -GT ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jriggin at gmail.com Mon Nov 12 17:38:07 2007 From: jriggin at gmail.com (Jerad Riggin) Date: Mon, 12 Nov 2007 10:38:07 -0600 Subject: Checkhttp string Message-ID: <66955c170711120838l66f87b87xffd8625ad756be84@mail.gmail.com> How do I go about checking a specific page in a site? I am able to successfully check a string on the default document for a site but if I specify for example index2.aspx in the host part of checkhttp, it throws an error. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hpsekhon at googlemail.com Mon Nov 12 18:15:55 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 12 Nov 2007 17:15:55 +0000 Subject: Checkhttp string In-Reply-To: <66955c170711120838l66f87b87xffd8625ad756be84@mail.gmail.com> References: <66955c170711120838l66f87b87xffd8625ad756be84@mail.gmail.com> Message-ID: <47388A4B.4030109@googlemail.com> don't you mean to use -u /index.aspx instead of putting it in the host part? ;-) try something more along the lines of: check_http -H www.mysite.com -u /index.aspx -s "string to look for" -h Hari Sekhon Jerad Riggin wrote: > How do I go about checking a specific page in a site? I am able to > successfully check a string on the default document for a site but if > I specify for example index2.aspx in the host part of checkhttp, it > throws an error. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 marcin at 2fluid.co.uk Mon Nov 12 18:22:27 2007 From: marcin at 2fluid.co.uk (Marcin Praczko) Date: Mon, 12 Nov 2007 17:22:27 -0000 Subject: Checkhttp string Message-ID: > How do I go about checking a specific page in a site? I am able to > successfully check a string on the default document for a site but if > I specify for example index2.aspx in the host part of checkhttp, it > throws an error. You can use command (Exacly with ENTER as I wrote:) define command { command_name check_http command_line $USER1$/check tcp \ -H $HOSTADDRESS$ -p 80 -s 'GET / HTTP/1.0 ' -e 'HTTP/1.0 200 OK' } But you can see webinject. I didn?t try it but author from book: "Building a monitoring infrastructure with nagios" (David Josephsen) said that is very good solution. You can parse data (expected respone etc - parse that is error messeage like: MySQL Error, etc). [Above command is example form this book as well]. HTH. Marcin Praczko. No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.27/1121 - Release Date: 09/11/2007 19:29 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Mon Nov 12 20:47:34 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 12 Nov 2007 11:47:34 -0800 Subject: Two instances of ndo2db running... In-Reply-To: <18894d440711120831y7bfaad94l1ad3b67c1a0503e0@mail.gmail.com> References: <18894d440711120831y7bfaad94l1ad3b67c1a0503e0@mail.gmail.com> Message-ID: <20071112194734.GH18464@pmorris.usa.hp.com> On Mon, 12 Nov 2007, GT4NE1 wrote: > Any ideas why two ndo2db process are starting? That's just the way it works. If you only saw one, it'd mean it wasn't working. You'll see one when you start it up, and a second will appear when Nagios uses it. It's not a problem. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jriggin at gmail.com Mon Nov 12 22:15:40 2007 From: jriggin at gmail.com (Jerad Riggin) Date: Mon, 12 Nov 2007 15:15:40 -0600 Subject: Nagios time format Message-ID: <66955c170711121315r39452d71ub9ac82b965c71a5e@mail.gmail.com> Is there a way to change the time format that nagios uses? CST would make the logs easier to read. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Mon Nov 12 22:24:05 2007 From: marc at ena.com (Marc Powell) Date: Mon, 12 Nov 2007 15:24:05 -0600 Subject: Nagios time format In-Reply-To: <66955c170711121315r39452d71ub9ac82b965c71a5e@mail.gmail.com> References: <66955c170711121315r39452d71ub9ac82b965c71a5e@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jerad Riggin > Sent: Monday, November 12, 2007 3:16 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios time format > > Is there a way to change the time format that nagios uses? CST would > make the logs easier to read. Not within the logfiles themselves (and you don't want to change them) but this FAQ covers a couple of different ways to display them with localtime -- http://www.nagios.org/faqs/viewfaq.php?faq_id=70 -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 gt4ne1 at gmail.com Mon Nov 12 22:24:53 2007 From: gt4ne1 at gmail.com (GT4NE1) Date: Mon, 12 Nov 2007 13:24:53 -0800 Subject: Two instances of ndo2db running... In-Reply-To: References: Message-ID: <18894d440711121324y29f19742j85eb59a88eefa163@mail.gmail.com> Okay, maybe you are right. I just rechecked my database and their are recent entries in there. Sorry and thanks. -GT On 11/12/07, Valdinger, Stephen (DOV, MSX) wrote: > This is correct, I just verified to make sure that mine behaves the same > way, and alas, it does. > > > > -----Original Message----- > From: Patrick Morris [mailto:patrick.morris at hp.com] > Sent: Monday, November 12, 2007 2:48 PM > To: GT4NE1 > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Two instances of ndo2db running... > > On Mon, 12 Nov 2007, GT4NE1 wrote: > > > Any ideas why two ndo2db process are starting? > > That's just the way it works. If you only saw one, it'd mean it wasn't > working. > > You'll see one when you start it up, and a second will appear when > Nagios uses it. It's not a problem. > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 rgil at liquidnet.com Mon Nov 12 22:52:16 2007 From: rgil at liquidnet.com (Robert Gil) Date: Mon, 12 Nov 2007 16:52:16 -0500 Subject: Date/Time and Additional Info Shows as $ Message-ID: <4AB4EC5F69C3774C875B1BD8CB658B1A02965053@ny0ech01.LNHOLDINGS.COM> For some reason the Date/Time and Additional Info don't show up. Any thoughts as to why this might be? I couldn't find anything about it online. ***** Nagios ***** Notification Type: PROBLEM Service: Storage / Host: Unix Server Address: xxx.xxx.xxx.xxx State: CRITICAL Date/Time: $ Additional Info: $ Thanks, Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 haydn.solomon at gmail.com Mon Nov 12 23:07:08 2007 From: haydn.solomon at gmail.com (Haydn Solomon) Date: Mon, 12 Nov 2007 17:07:08 -0500 Subject: Date/Time and Additional Info Shows as $ In-Reply-To: <4AB4EC5F69C3774C875B1BD8CB658B1A02965053@ny0ech01.LNHOLDINGS.COM> References: <4AB4EC5F69C3774C875B1BD8CB658B1A02965053@ny0ech01.LNHOLDINGS.COM> Message-ID: You're probably using wrong/outdated macros. Check the documentation for version of nagios you're using and update your commands configuration files. On Nov 12, 2007 4:52 PM, Robert Gil wrote: > For some reason the Date/Time and Additional Info don't show up. Any > thoughts as to why this might be? I couldn't find anything about it online. > > > > ***** Nagios ***** > > > > Notification Type: PROBLEM > > > > Service: Storage / > > Host: Unix Server > > Address: xxx.xxx.xxx.xxx > > State: CRITICAL > > > > Date/Time: $ > > > > Additional Info: > > > > $ > > > > Thanks, > > Rob > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 israel at frontierflying.com Mon Nov 12 23:27:23 2007 From: israel at frontierflying.com (Israel Brewster) Date: Mon, 12 Nov 2007 13:27:23 -0900 Subject: Status display colors Message-ID: <52CB1EC1-3305-4C96-999A-65230D815C7D@frontierflying.com> Is there any way to change the colors generated by status.cgi? My boss is complaining that it is really hard for him to read the dark blue hostname on the dark red background you get when a host is down. Thanks! ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Mon Nov 12 23:35:23 2007 From: marc at ena.com (Marc Powell) Date: Mon, 12 Nov 2007 16:35:23 -0600 Subject: Status display colors In-Reply-To: <52CB1EC1-3305-4C96-999A-65230D815C7D@frontierflying.com> References: <52CB1EC1-3305-4C96-999A-65230D815C7D@frontierflying.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Israel Brewster > Sent: Monday, November 12, 2007 4:27 PM > To: Nagios Users mailinglist > Subject: [Nagios-users] Status display colors > > Is there any way to change the colors generated by status.cgi? My > boss is complaining that it is really hard for him to read the dark > blue hostname on the dark red background you get when a host is down. Haven't done it myself but status.css in ~nagios/share looks to be the ticket. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jriggin at gmail.com Mon Nov 12 23:52:24 2007 From: jriggin at gmail.com (Jerad Riggin) Date: Mon, 12 Nov 2007 16:52:24 -0600 Subject: Host monitoring Message-ID: <66955c170711121452t7725cc2do9a75acd3b88a6e4c@mail.gmail.com> So what would be the best way to monitor in this situation? I have Host A, hosting two websites. Currently I have both websites configured as separate hosts, so in nagios it shows up as ServerA - site.com, and another host ServerA - siteb.com This doesn't seem efficient since I am pinging both sites, but it's the same host. Ideally I would want to just ping the host, and check strings on each site under that host. Any recommendations? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Nov 13 00:13:50 2007 From: marc at ena.com (Marc Powell) Date: Mon, 12 Nov 2007 17:13:50 -0600 Subject: Host monitoring In-Reply-To: <66955c170711121452t7725cc2do9a75acd3b88a6e4c@mail.gmail.com> References: <66955c170711121452t7725cc2do9a75acd3b88a6e4c@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jerad Riggin > Sent: Monday, November 12, 2007 4:52 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Host monitoring > > So what would be the best way to monitor in this situation? > > I have Host A, hosting two websites. > > Currently I have both websites configured as separate hosts, so in > nagios it shows up as ServerA - site.com, and another host ServerA - > siteb.com > > This doesn't seem efficient since I am pinging both sites, but it's > the same host. Ideally I would want to just ping the host, and check > strings on each site under that host. Any recommendations? Unless I'm missing something obvious, this seems pretty straightforward. host{} definition for the web server machine, service{} definitions for each vhost using check_http to check them. You can craft a command{} definition to pass the variable parameters like vhost name, uri and search string like so -- define command { command_name check_http_url command_line $USER1$/check_http -I $HOSTADDRESS$ -H $ARG1$ -u $ARG2$ -wt 20 -ct 30 -to 35 -s $ARG3$ } To check to vhosts -- define service { use generic-service host_name my_webserver service_description HTTP VHOST site1 check_command check_http_url!www.site1.com!/mypage!/html } define service { use generic-service host_name my_webserver service_description HTTP VHOST site2 check_command check_http_url!www.site2.com!/someotherpage!/html } -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 chrisserafin at gmail.com Tue Nov 13 03:11:22 2007 From: chrisserafin at gmail.com (chris serafin) Date: Mon, 12 Nov 2007 20:11:22 -0600 Subject: check_snmp_storage fails on 2003 box, works manually In-Reply-To: <4737F9A2.5010607@vanderkooij.org> References: <4737F9A2.5010607@vanderkooij.org> Message-ID: AAhhhh, after over 6+ hours of editing CLI code, my eyes failed me. I changed these simple flags and it works great. Sorry for the newb false alarm. Chris Serafin Security Engineer chris at chrisserafin.com On Nov 12, 2007 12:58 AM, Hugo van der Kooij wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > chris serafin wrote: > > I'm having an issue with getting some SNMP commands to work. > > > > When issuing the check_snmp_storage.pl manually, I get perfect results, > > but once I put it in Nagios 3.0b5, I get critical alerts: (Return code > > of 127 is out of bounds - plugin may be missing) > > > > This is the manual command I enter and the result: > > > > $ sudo ./check_snmp_storage.pl -H 192.168.1.200 -C pUBLIC -m C -w 80 -c 95 > > Great for root. But what about the account that Nagios is running as? > Did you test it too? And where did you put check_snmp_storage.pl exactly? > ./ is a rather relative distinction. But I think it does not matter .... > > > This is how I defined the command and service: > > define command{ > > command_name check_snmp_storage_windrive > > command_line $USER1$/check_snmp_storage -H $HOSTADDRESS$ -C > > $ARG1$ -m $ARG2$ -w $ARG3$ -c $ARG4$ > > Hold on. Why are you afraid to come out and tell nagios it is a perl script? > $USER1$/check_snmp_storage !!= ./check_snmp_storage.pl > > For those unaware of pseudo code: !!= stands for 'is most definitly > NOT'. Pretty much as !~= stands for 'almost but not quite unlike`;-) > > Hugo. > > - -- > hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ > PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc > > A: Yes. > >Q: Are you sure? > >>A: Because it reverses the logical flow of conversation. > >>>Q: Why is top posting frowned upon? > > Bored? Click on http://spamornot.org/ and rate those images. > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (GNU/Linux) > > iD8DBQFHN/mgBvzDRVjxmYERAmt3AKCD35Rz1k7aT3POzEvQPYUNEQXo4ACfUa0H > Mg/Qj9Pt1/o0/6T4xxwwxZg= > =GD0Z > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 mkellermann at net-com.de Tue Nov 13 08:06:08 2007 From: mkellermann at net-com.de (Matthias Kellermann) Date: Tue, 13 Nov 2007 08:06:08 +0100 Subject: Plugin for monitoring FreeBSD for updates (like check_apt)? In-Reply-To: <20071112155044.GB43856@bewilderbeast.blackhelicopters.org> References: <47387470.6050103@net-com.de> <20071112155044.GB43856@bewilderbeast.blackhelicopters.org> Message-ID: <47394CE0.9010602@net-com.de> Michael W. Lucas schrieb: > On Mon, Nov 12, 2007 at 04:42:40PM +0100, Matthias Kellermann wrote: >> Hi list, >> >> anyone knows of a Nagios plugin to check the FreeBSD ports and base >> system for updates? I'm searching for something like check_apt for >> Debian/Ubuntu. >> >> One important thing is that I also want to monitor all the FreeBSD jails >> for updates, too. Any help/hint appreciated :) > > None exists today. > > It should be fairly simple to write a NRPE wrapper around portmaster, > however. > > I believe (but might be wrong) that net-snmp also has the ability to > read the FreeBSD package database; you could run a snmpwalk on the > target machine and compare that to a master package database. > > Good luck, and if you implement something be sure to let us know about it. Thanks for your answer Michael. I will see what I can do. If I have found/implemented something useful I will let you know. BTW: Looking forward for your new book coming out these days. Hope it will be released in Europe also on November 14th :) Matthias > ==ml ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 gcoochey at sapphire.gi Tue Nov 13 09:10:44 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Tue, 13 Nov 2007 09:10:44 +0100 Subject: Status display colors In-Reply-To: <52CB1EC1-3305-4C96-999A-65230D815C7D@frontierflying.com> References: <52CB1EC1-3305-4C96-999A-65230D815C7D@frontierflying.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A7A63@hermes.sapphire-int.gi> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Israel Brewster > Sent: 12 November 2007 23:27 > To: Nagios Users mailinglist > Subject: [Nagios-users] Status display colors > > Is there any way to change the colors generated by status.cgi? My > boss is complaining that it is really hard for him to read the dark > blue hostname on the dark red background you get when a host is down. > Thanks! > I use the Nuvola style from the NagiosExchange website, for me it's an instant improvement in the look and feel of the Nagios frontend. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Florent.HOUBART at Ajilon.fr Tue Nov 13 14:42:18 2007 From: Florent.HOUBART at Ajilon.fr (Florent HOUBART) Date: Tue, 13 Nov 2007 14:42:18 +0100 Subject: Nagios CGI modification References: <17213.192.35.79.70.1194559715.squirrel@www.dcsnow.com> Message-ID: <3254342B66257B4CAB24920F49640F4F0132A406@MEINTFR02095.wwit.adecco.net> Hello, >Changing the link is no big deal of course. My big question is, how do I >get a list of all the hosts in that host group passed? You may find exemple of such tasks in status.cgi. You need to loop over all the hosts and check for each if the belong to the hostgroup or not. Below is an extract of status.c where I only keep what would be relevant for you (extract from function show_hostgroup_overview). -------------------------- /* find all the hosts that belong to the hostgroup */ for(temp_hoststatus=hoststatus_list;temp_hoststatus!=NULL;temp_hoststatus=temp_hoststatus->next){ /* find the host... */ temp_host=find_host(temp_hoststatus->host_name,NULL); /* make sure this host a member of the hostgroup */ if(!is_host_member_of_hostgroup(hstgrp,temp_host)) continue; /* make sure the user is authorized to see this host */ if(is_authorized_for_host(temp_host,¤t_authdata)==FALSE) continue; /* Do something with the host temp_host */ } --------------------------- Regards, Florent Houbart -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 mwlucas at blackhelicopters.org Tue Nov 13 16:09:03 2007 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Tue, 13 Nov 2007 10:09:03 -0500 Subject: Plugin for monitoring FreeBSD for updates (like check_apt)? In-Reply-To: <47394CE0.9010602@net-com.de> References: <47387470.6050103@net-com.de> <20071112155044.GB43856@bewilderbeast.blackhelicopters.org> <47394CE0.9010602@net-com.de> Message-ID: <20071113150903.GA50921@bewilderbeast.blackhelicopters.org> On Tue, Nov 13, 2007 at 08:06:08AM +0100, Matthias Kellermann wrote: > Michael W. Lucas schrieb: > > On Mon, Nov 12, 2007 at 04:42:40PM +0100, Matthias Kellermann wrote: > >> Hi list, > >> > >> anyone knows of a Nagios plugin to check the FreeBSD ports and base > >> system for updates? I'm searching for something like check_apt for > >> Debian/Ubuntu. > >> > >> One important thing is that I also want to monitor all the FreeBSD jails > >> for updates, too. Any help/hint appreciated :) > > > > None exists today. > > > > It should be fairly simple to write a NRPE wrapper around portmaster, > > however. > > > > I believe (but might be wrong) that net-snmp also has the ability to > > read the FreeBSD package database; you could run a snmpwalk on the > > target machine and compare that to a master package database. > > > > Good luck, and if you implement something be sure to let us know about it. > > Thanks for your answer Michael. I will see what I can do. If I have > found/implemented something useful I will let you know. > > BTW: Looking forward for your new book coming out these days. Hope it > will be released in Europe also on November 14th :) The book physically exists, and is being shipped to stores now. You should be able to find it any day now. I really need to change my .sig... ==ml -- Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: "Absolute FreeBSD" -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies "for security reasons." ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 lavalamp at spiritual-machines.org Tue Nov 13 16:19:31 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Tue, 13 Nov 2007 10:19:31 -0500 Subject: Plugin for monitoring FreeBSD for updates (like check_apt)? In-Reply-To: <47387470.6050103@net-com.de> References: <47387470.6050103@net-com.de> Message-ID: <1194967171.2611.17.camel@ingress.pitbpa0.priv.collaborativefusion.com> On Mon, 2007-11-12 at 16:42 +0100, Matthias Kellermann wrote: > Hi list, > > anyone knows of a Nagios plugin to check the FreeBSD ports and base > system for updates? I'm searching for something like check_apt for > Debian/Ubuntu. All that you need to do is exec portaudit and trap the output. However, mapping this into warn/crit status will get tricky. Most big shops have software release engineer processes that prevent them from, as a NetBSD friend of mine calls it, "implementing massive rolling in-place binary upgrades". In the hope that security will somehow be derived from that (Linux credo, I suppose). I like the idea ether way. Let me know if you need help testing/coding. ~BAS $ pkg_version -vL "=" apache-2.2.4_2 < needs updating (port has 2.2.6_2) apr-nothr-db4-1.0.1_1 < needs updating (port has 1.2.8_2) arj-3.10.22 < needs updating (port has 3.10.22_1) autoconf-2.59_3 < needs updating (port has 2.61_2) autoconf-wrapper-20070404 < needs updating (port has 20071109) $ sudo portaudit Affected package: perl-5.8.8 Type of problem: perl -- regular expressions unicode data buffer overflow. Reference: > One important thing is that I also want to monitor all the FreeBSD jails > for updates, too. Any help/hint appreciated :) > > Matthias > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 mkellermann at net-com.de Tue Nov 13 17:27:38 2007 From: mkellermann at net-com.de (Matthias Kellermann) Date: Tue, 13 Nov 2007 17:27:38 +0100 Subject: Plugin for monitoring FreeBSD for updates (like check_apt)? In-Reply-To: <1194967171.2611.17.camel@ingress.pitbpa0.priv.collaborativefusion.com> References: <47387470.6050103@net-com.de> <1194967171.2611.17.camel@ingress.pitbpa0.priv.collaborativefusion.com> Message-ID: <4739D07A.3060107@net-com.de> Brian A. Seklecki schrieb: > On Mon, 2007-11-12 at 16:42 +0100, Matthias Kellermann wrote: >> Hi list, >> >> anyone knows of a Nagios plugin to check the FreeBSD ports and base >> system for updates? I'm searching for something like check_apt for >> Debian/Ubuntu. > > All that you need to do is exec portaudit and trap the output. However, > mapping this into warn/crit status will get tricky. > > Most big shops have software release engineer processes that prevent > them from, as a NetBSD friend of mine calls it, "implementing massive > rolling in-place binary upgrades". > > In the hope that security will somehow be derived from that (Linux > credo, I suppose). I like the idea ether way. Let me know if you need > help testing/coding. > > ~BAS > > $ pkg_version -vL "=" > apache-2.2.4_2 < needs updating (port has 2.2.6_2) > apr-nothr-db4-1.0.1_1 < needs updating (port has 1.2.8_2) > arj-3.10.22 < needs updating (port has 3.10.22_1) > autoconf-2.59_3 < needs updating (port has 2.61_2) > autoconf-wrapper-20070404 < needs updating (port has 20071109) > > $ sudo portaudit > Affected package: perl-5.8.8 > Type of problem: perl -- regular expressions unicode data buffer > overflow. Reference: > Affected package: nagios-plugins-1.4.9,1 > Type of problem: nagios-plugins -- Long Location Header Buffer > Overflow Vulnerability. > > ~BAS Thanks for your answer Brian. I've found ports-mgmt/jailaudit in the Ports. Seems quite useful yet. I'll see how this tool can help on monitoring the installed ports for security holes. Monitoring the jails for updates should work with pkg_version -vL "=" I'll let you know if I've made something useful. Matthias ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 kcc1967 at gmail.com Tue Nov 13 17:32:43 2007 From: kcc1967 at gmail.com (Kuang-Chun Cheng) Date: Wed, 14 Nov 2007 00:32:43 +0800 Subject: nagios.log format Message-ID: <5eb4b0650711130832g2a66d2f6g7914a6e568cdcfcd@mail.gmail.com> Hi, I want to do post-analysis of nagios.log and save the filtered result to DB. The format look like this: [1194969600] CURRENT SERVICE STATE: localhost;Current Load;OK;HARD;1;OK - load average: 0.17, 0.23, 0.20 [1194969600] CURRENT SERVICE STATE: localhost;Current Users;OK;HARD;1;USERS OK - 14 users currently logged in [1194969600] CURRENT SERVICE STATE: localhost;HTTP;OK;HARD;1;HTTP OK HTTP/1.1 200 OK - 7590 bytes in 0.006 seconds [1194969600] CURRENT SERVICE STATE: localhost;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.04 ms [1194969600] CURRENT SERVICE STATE: localhost;Root Partition;OK;HARD;1;DISK OK - free space: / 37567 MB (53% inode=96%): [1194969600] CURRENT SERVICE STATE: localhost;SSH;OK;HARD;1;SSH OK - OpenSSH_4.3 (protocol 2.0) [1194969600] CURRENT SERVICE STATE: localhost;Swap Usage;OK;HARD;1;SWAP OK - 78% free (1542 MB out of 1983 MB) [1194969600] CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 110 processes with STATE = RSZDT Could someone tell me what's the fields means ? What kind of message will be log into nagios.log. Sometime I found "SERVICE ALERT" message ... any complete list existed for possible message ? Thanks Regards KC ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Nov 13 17:56:40 2007 From: marc at ena.com (Marc Powell) Date: Tue, 13 Nov 2007 10:56:40 -0600 Subject: nagios.log format In-Reply-To: <5eb4b0650711130832g2a66d2f6g7914a6e568cdcfcd@mail.gmail.com> References: <5eb4b0650711130832g2a66d2f6g7914a6e568cdcfcd@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Kuang-Chun Cheng > Sent: Tuesday, November 13, 2007 10:33 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios.log format > > Hi, > > I want to do post-analysis of nagios.log and save the filtered result to > DB. > The format look like this: > > Could someone tell me what's the fields means ? > What kind of message will be log into nagios.log. Sometime I found > "SERVICE ALERT" message ... > any complete list existed for possible message ? Thanks The only documentation I am aware of is the source code itself (nagios-src/base/logging.c). For anything that starts with MACRO_, you can find more information about that in the Macros documentation. -- $ grep snprintf logging.c snprintf(temp_buffer,sizeof(temp_buffer),"SERVICE ALERT: %s;%s;%s;%s;%s;%s\n",svc->host_name,svc->description,macro_x[MACRO_SERVI CESTATE],macro_x[MACRO_SERVICESTATETYPE],macro_x[MACRO_SERVICEATTEMPT],s vc->plugin_output); [timestamp] SERVICE ALERT: host_name;service_description;servicestate,servicestatetype,serviceattem pt;plugin_output snprintf(temp_buffer,sizeof(temp_buffer),"HOST ALERT: %s;%s;%s;%s;%s\n",hst->name,macro_x[MACRO_HOSTSTATE],macro_x[MACRO_HOSTS TATETYPE],macro_x[MACRO_HOSTATTEMPT],hst->plugin_output); [timestamp] HOST ALERT: host_name,hoststate;hoststatetype;hostattempt;plugin_output snprintf(temp_buffer,sizeof(temp_buffer),"%s HOST STATE: %s;%s;%s;%s;%s\n",(type==INITIAL_STATES)?"INITIAL":"CURRENT",temp_host-> name,macro_x[MACRO_HOSTSTATE],macro_x[MACRO_HOSTSTATETYPE],macro_x[MACRO _HOSTATTEMPT],temp_host->plugin_output); [timestamp] (INITIAL|CURRENT) HOST STATE: host_name;hoststate;hoststatetype;hostattempt;plugin_output snprintf(temp_buffer,sizeof(temp_buffer),"%s SERVICE STATE: %s;%s;%s;%s;%s;%s\n",(type==INITIAL_STATES)?"INITIAL":"CURRENT",temp_ser vice->host_name,temp_service->description,macro_x[MACRO_SERVICESTATE],ma cro_x[MACRO_SERVICESTATETYPE],macro_x[MACRO_SERVICEATTEMPT],temp_service ->plugin_output); [timestamp] (INITIAL|CURRENT) SERVICE STATE: host_name;service_description;servicestate;servicestatetype;serviceattem pt;plugin_output snprintf(temp_buffer,sizeof(temp_buffer),"LOG ROTATION: %s\n",method_string); [timestamp] LOG ROTATION (daily|weekly|monthly, etc) snprintf(temp_buffer,sizeof(temp_buffer),"LOG VERSION: %s\n",LOG_VERSION_2); [timestamp] LOG VERION: [log version string] Hth, -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 bamapookie at gmail.com Tue Nov 13 18:50:17 2007 From: bamapookie at gmail.com (Shawn Kovalchick) Date: Tue, 13 Nov 2007 12:50:17 -0500 Subject: Old state information randomly appearing Message-ID: I have 2 hosts and 4 services that I added Friday to my nagios configuration. They were misconfigured (wrong IP addresses), and rightly sent out notifications. I disabled notifications and active checks via the web interface while I was diagnosing the problem. I fixed the problems (the IP addresses) and reenabled the checks and notifications. Now, every once in a while (roughly once per minute), the old data appears on the tac.cgi, status.cgi, and extinfo.cgi pages. They will show as down/critical, and will have the icons for disabled notifications and disabled active checks. Then, moments later, they will show normal (OK state, with no icons for disabled notifications/checks). I have tried purging the bad data from the log files, retention.dat, etc. while the Nagios daemon was stopped, but the bad data still shows. Is this a bug, or is there something I can do to flush this old data? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 bamapookie at gmail.com Tue Nov 13 18:54:02 2007 From: bamapookie at gmail.com (Shawn Kovalchick) Date: Tue, 13 Nov 2007 12:54:02 -0500 Subject: Old state information randomly appearing In-Reply-To: References: Message-ID: Actually, the timing is a bit different than what I described below. Refreshing once per second, I was able to determining that the correct state shows for 5 seconds, then the incorrect state shows for 10 seconds, then the process repeats. On 11/13/07, Shawn Kovalchick wrote: > > I have 2 hosts and 4 services that I added Friday to my nagios > configuration. They were misconfigured (wrong IP addresses), and rightly > sent out notifications. I disabled notifications and active checks via the > web interface while I was diagnosing the problem. I fixed the problems (the > IP addresses) and reenabled the checks and notifications. Now, every once > in a while (roughly once per minute), the old data appears on the tac.cgi, > status.cgi, and extinfo.cgi pages. They will show as down/critical, and > will have the icons for disabled notifications and disabled active checks. > Then, moments later, they will show normal (OK state, with no icons for > disabled notifications/checks). I have tried purging the bad data from the > log files, retention.dat, etc. while the Nagios daemon was stopped, but > the bad data still shows. Is this a bug, or is there something I can do to > flush this old data? > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 frederic.schaer at cea.fr Tue Nov 13 19:03:50 2007 From: frederic.schaer at cea.fr (SCHAER Frederic) Date: Tue, 13 Nov 2007 19:03:50 +0100 Subject: no newlines in notification emails ? In-Reply-To: <20071101012410.5A7D1580017@desire.netways.de> References: <20071101012410.5A7D1580017@desire.netways.de> Message-ID: Hi, Maybe a stupid question, but did you solve the problem ? I upgraded to nagiosb6 beta and I still get no newlines in the service notifications (host notifications are fine)... wondering if that's me or something else. Cheers > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jaimie Livingston > Sent: Thursday, November 01, 2007 2:24 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] no newlines in notification emails ? > > I had the same problem when I was testing 3.0b4 on CentOS. I thought it was just me at the time... > > > - Jaimie Livingston (jaimielives) > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Nov 13 19:07:06 2007 From: marc at ena.com (Marc Powell) Date: Tue, 13 Nov 2007 12:07:06 -0600 Subject: Old state information randomly appearing In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Shawn Kovalchick > Sent: Tuesday, November 13, 2007 11:50 AM > To: Nagios Users Mailinglist > Subject: [Nagios-users] Old state information randomly appearing > > I have 2 hosts and 4 services that I added Friday to my nagios > configuration. They were misconfigured (wrong IP addresses), and rightly > sent out notifications. I disabled notifications and active checks via > the web interface while I was diagnosing the problem. I fixed the > problems (the IP addresses) and reenabled the checks and notifications. > Now, every once in a while (roughly once per minute), the old data appears > on the tac.cgi, status.cgi, and extinfo.cgi pages. They will show as FAQ in disguise: http://www.nagios.org/faqs/viewfaq.php?faq_id=21 -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 bamapookie at gmail.com Tue Nov 13 19:18:46 2007 From: bamapookie at gmail.com (Shawn Kovalchick) Date: Tue, 13 Nov 2007 13:18:46 -0500 Subject: Old state information randomly appearing In-Reply-To: References: Message-ID: The hosts weren't disappearing, just showing inconsistant states. Anyway, that fixed the problem. Thanks, Marc! On 11/13/07, Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Shawn Kovalchick > > Sent: Tuesday, November 13, 2007 11:50 AM > > To: Nagios Users Mailinglist > > Subject: [Nagios-users] Old state information randomly appearing > > > > I have 2 hosts and 4 services that I added Friday to my nagios > > configuration. They were misconfigured (wrong IP addresses), and > rightly > > sent out notifications. I disabled notifications and active checks > via > > the web interface while I was diagnosing the problem. I fixed the > > problems (the IP addresses) and reenabled the checks and > notifications. > > Now, every once in a while (roughly once per minute), the old data > appears > > on the tac.cgi, status.cgi, and extinfo.cgi pages. They will show as > > FAQ in disguise: http://www.nagios.org/faqs/viewfaq.php?faq_id=21 > > -- > Marc > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jriggin at gmail.com Tue Nov 13 20:30:33 2007 From: jriggin at gmail.com (Jerad Riggin) Date: Tue, 13 Nov 2007 13:30:33 -0600 Subject: Monitoring a process Message-ID: <66955c170711131130s381655f2rfeeabbb626c3480b@mail.gmail.com> Would it be possible using Nsclient++ to monitor for a process name? We need to make sure Outlook.exe is running on the server and if it isn't, send out notifications. Thanks, Jerad ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Christy.New at cancer.org Tue Nov 13 20:36:47 2007 From: Christy.New at cancer.org (Christy.New at cancer.org) Date: Tue, 13 Nov 2007 14:36:47 -0500 Subject: Were can I find the check_snmp plugin Message-ID: I need to download the check_snmp plugin for Ubuntu for Nagios. Very Respectfully, Chris ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 bill.omer at gmail.com Tue Nov 13 20:53:17 2007 From: bill.omer at gmail.com (Bill Omer) Date: Tue, 13 Nov 2007 14:53:17 -0500 Subject: Monitoring a process In-Reply-To: <66955c170711131130s381655f2rfeeabbb626c3480b@mail.gmail.com> References: <66955c170711131130s381655f2rfeeabbb626c3480b@mail.gmail.com> Message-ID: <3ec83c030711131153s557b2237i829c7151c04e0844@mail.gmail.com> On Nov 13, 2007 2:30 PM, Jerad Riggin wrote: > Would it be possible using Nsclient++ to monitor for a process name? > We need to make sure Outlook.exe is running on the server and if it > isn't, send out notifications. Why not just monitor the ports to verify they are being answered? -- Regards, Bill Omer ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 kcc1967 at gmail.com Tue Nov 13 21:07:24 2007 From: kcc1967 at gmail.com (Kuang-Chun Cheng) Date: Wed, 14 Nov 2007 04:07:24 +0800 Subject: nagios.log format In-Reply-To: References: <5eb4b0650711130832g2a66d2f6g7914a6e568cdcfcd@mail.gmail.com> Message-ID: <5eb4b0650711131207v58730f92hb65188957e4cb30e@mail.gmail.com> Hi Marc, Thanks, this is good enough for me :-) Regards KC On Nov 14, 2007 12:56 AM, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Kuang-Chun Cheng > > Sent: Tuesday, November 13, 2007 10:33 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] nagios.log format > > > > Hi, > > > > I want to do post-analysis of nagios.log and save the filtered result > to > > DB. > > The format look like this: > > > > > > Could someone tell me what's the fields means ? > > What kind of message will be log into nagios.log. Sometime I found > > "SERVICE ALERT" message ... > > any complete list existed for possible message ? Thanks > > The only documentation I am aware of is the source code itself > (nagios-src/base/logging.c). For anything that starts with MACRO_, you > can find more information about that in the Macros documentation. -- > > $ grep snprintf logging.c > snprintf(temp_buffer,sizeof(temp_buffer),"SERVICE ALERT: > %s;%s;%s;%s;%s;%s\n",svc->host_name,svc->description,macro_x[MACRO_SERVI > CESTATE],macro_x[MACRO_SERVICESTATETYPE],macro_x[MACRO_SERVICEATTEMPT],s > vc->plugin_output); > > [timestamp] SERVICE ALERT: > host_name;service_description;servicestate,servicestatetype,serviceattem > pt;plugin_output > > snprintf(temp_buffer,sizeof(temp_buffer),"HOST ALERT: > %s;%s;%s;%s;%s\n",hst->name,macro_x[MACRO_HOSTSTATE],macro_x[MACRO_HOSTS > TATETYPE],macro_x[MACRO_HOSTATTEMPT],hst->plugin_output); > > [timestamp] HOST ALERT: > host_name,hoststate;hoststatetype;hostattempt;plugin_output > > snprintf(temp_buffer,sizeof(temp_buffer),"%s HOST STATE: > %s;%s;%s;%s;%s\n",(type==INITIAL_STATES)?"INITIAL":"CURRENT",temp_host-> > name,macro_x[MACRO_HOSTSTATE],macro_x[MACRO_HOSTSTATETYPE],macro_x[MACRO > _HOSTATTEMPT],temp_host->plugin_output); > > [timestamp] (INITIAL|CURRENT) HOST STATE: > host_name;hoststate;hoststatetype;hostattempt;plugin_output > > snprintf(temp_buffer,sizeof(temp_buffer),"%s SERVICE > STATE: > %s;%s;%s;%s;%s;%s\n",(type==INITIAL_STATES)?"INITIAL":"CURRENT",temp_ser > vice->host_name,temp_service->description,macro_x[MACRO_SERVICESTATE],ma > cro_x[MACRO_SERVICESTATETYPE],macro_x[MACRO_SERVICEATTEMPT],temp_service > ->plugin_output); > > [timestamp] (INITIAL|CURRENT) SERVICE STATE: > host_name;service_description;servicestate;servicestatetype;serviceattem > pt;plugin_output > > snprintf(temp_buffer,sizeof(temp_buffer),"LOG ROTATION: > %s\n",method_string); > > [timestamp] LOG ROTATION (daily|weekly|monthly, etc) > > snprintf(temp_buffer,sizeof(temp_buffer),"LOG VERSION: > %s\n",LOG_VERSION_2); > > [timestamp] LOG VERION: [log version string] > > Hth, > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 rsasko at niag.com Tue Nov 13 21:39:31 2007 From: rsasko at niag.com (Rich Sasko) Date: Tue, 13 Nov 2007 20:39:31 +0000 (UTC) Subject: Monitoring a process References: <66955c170711131130s381655f2rfeeabbb626c3480b@mail.gmail.com> Message-ID: Jerad Riggin gmail.com> writes: > > Would it be possible using Nsclient++ to monitor for a process name? > We need to make sure Outlook.exe is running on the server and if it > isn't, send out notifications. > > Thanks, > > Jerad > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > Jerad, We have the NSClient++ running on our Windows servers and the following service check is an example of how we are monitoring services from the nagios server: define service{ use generic-service host_name email server service_description explorer check_command check_nt!PROCSTATE!-d SHOWALL -l explorer.exe } It is actually in one of the sample config files, you should just have to tell it what process you want to watch. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Christy.New at cancer.org Tue Nov 13 21:51:52 2007 From: Christy.New at cancer.org (Christy.New at cancer.org) Date: Tue, 13 Nov 2007 15:51:52 -0500 Subject: Were can I find the check_snmp plugin In-Reply-To: References: Message-ID: I have tons of snmp plugins in this folder, but my routers, which allow snmp will not run these two snmp service check: They are as follows, and it keeps telling me that it is missing the plug in. http://www.nagiosexchange.org/SNMP.51.0.html?&tx_netnagext_pi1[p_view]=555 Here is were I pulled the plug-in and then extracted it's contents into the libexec folder. Next I stopped and restarted Nagios. Then logged into Nagios and the errors were still there. So next I restarted my entire server and followed the process and again it was still the errors are still there. Could it be that I am using UBUNTU Linux and maybe I should go with redhat or debian? Very Respectfully, Christy M. New 1(404)327-6490 American Cancer Society Corporate IT-NHO NOC Network Infrastructure Engineer "Valdinger, Stephen (DOV, MSX)" To , em.com> 11/13/2007 02:46 cc PM Subject RE: [Nagios-users] Were can I find the check_snmp plugin Check_snmp is a standard plugin found in the Nagios Plugins package. If you have downloaded these, then you already have it in your /usr/local/Nagios/libexec (or wherever you installed Nagios, this is just the default). -----Original Message----- From: Christy.New at cancer.org [mailto:Christy.New at cancer.org] Sent: Tuesday, November 13, 2007 2:37 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Were can I find the check_snmp plugin I need to download the check_snmp plugin for Ubuntu for Nagios. Very Respectfully, Chris ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jriggin at gmail.com Tue Nov 13 21:54:42 2007 From: jriggin at gmail.com (Jerad Riggin) Date: Tue, 13 Nov 2007 14:54:42 -0600 Subject: Monitoring a process In-Reply-To: References: <66955c170711131130s381655f2rfeeabbb626c3480b@mail.gmail.com> Message-ID: <66955c170711131254o544afeb0j2d1d69dd1e3af8b2@mail.gmail.com> Thanks for the response. This is what I did just a bit ago. I have it successfully monitoring outlook.exe, however no e-mails are being sent when it's critical. Here is what I have as the service definition: define service{ use leadlander host_name leadlandervm service_description Outlook Process contact_groups bo,mis notification_options w,u,c,r check_command check_nt2!PROCSTATE!-d SHOWALL -l outlook.exe } Here is what I have for the leadlander template define service{ use generic-service name leadlander is_volatile 0 check_period 24x7 max_check_attempts 15 normal_check_interval 20 retry_check_interval 20 notification_interval 20 notification_period 24x7 register 0 } Does it only notify after the first retry failure, or should it notify as soon as the service is critical? Any ideas? - Show quoted text - On Nov 13, 2007 2:39 PM, Rich Sasko wrote: > > Jerad Riggin gmail.com> writes: > > > > > Would it be possible using Nsclient++ to monitor for a process name? > > We need to make sure Outlook.exe is running on the server and if it > > isn't, send out notifications. > > > > Thanks, > > > > Jerad > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > Jerad, > > We have the NSClient++ running on our Windows servers and the following > service check is an example of how we are monitoring services from the nagios > server: > > define service{ > use generic-service > host_name email server > service_description explorer > check_command check_nt!PROCSTATE!-d SHOWALL -l explorer.exe > } > > It is actually in one of the sample config files, you should just have to tell > it what process you want to watch. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jriggin at gmail.com Tue Nov 13 22:04:50 2007 From: jriggin at gmail.com (Jerad Riggin) Date: Tue, 13 Nov 2007 15:04:50 -0600 Subject: Monitoring a process In-Reply-To: References: <66955c170711131130s381655f2rfeeabbb626c3480b@mail.gmail.com> <66955c170711131253h6385246ds67724722a5332c0d@mail.gmail.com> Message-ID: <66955c170711131304y1383a515ub421c06e00f02856@mail.gmail.com> Just to clarify normal_check_interval 60 retry_check_interval 360 notification_interval 360 This means that it checks every hour. After it fails the first time, it will wait 6 hours to retry, if it is still not OK after 6 hours, it notifies and begins to notify every 6 hours until it's ok. On Nov 13, 2007 3:00 PM, Rich Sasko wrote: > It only notifies after it enters a hard state which is usually after the > third try. > > Richard Sasko > Niagara Lasalle Corp > Phone: (219) 853-6272 > Mobile: (219) 484-5617 > E-mail: rsasko at niag.com > > > > -----Original Message----- > From: Jerad Riggin [mailto:jriggin at gmail.com] > Sent: Tuesday, November 13, 2007 2:54 PM > To: Rich Sasko > Subject: Re: [Nagios-users] Monitoring a process > > Thanks for the response. This is what I did just a bit ago. I have > it successfully monitoring outlook.exe, however no e-mails are being > sent when it's critical. > > Here is what I have as the service definition: > > define service{ > use leadlander > host_name leadlandervm > service_description Outlook Process > contact_groups bo,mis > notification_options w,u,c,r > check_command check_nt2!PROCSTATE!-d SHOWALL -l > outlook.exe > } > > Here is what I have for the leadlander template > > define service{ > use generic-service > name leadlander > is_volatile 0 > check_period 24x7 > max_check_attempts 15 > normal_check_interval 20 > retry_check_interval 20 > notification_interval 20 > notification_period 24x7 > register 0 > } > > Does it only notify after the first retry failure, or should it notify > as soon as the service is critical? Any ideas? > > > On Nov 13, 2007 2:39 PM, Rich Sasko wrote: > > > > Jerad Riggin gmail.com> writes: > > > > > > > > Would it be possible using Nsclient++ to monitor for a process name? > > > We need to make sure Outlook.exe is running on the server and if it > > > isn't, send out notifications. > > > > > > Thanks, > > > > > > Jerad > > > > > > > ------------------------------------------------------------------------ > - > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a > browser. > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > > any issue. > > > ::: Messages without supporting info will risk being sent to > /dev/null > > > > > > > > > > > > Jerad, > > > > We have the NSClient++ running on our Windows servers and the > following > > service check is an example of how we are monitoring services from the > nagios > > server: > > > > define service{ > > use generic-service > > host_name email server > > service_description explorer > > check_command check_nt!PROCSTATE!-d SHOWALL -l > explorer.exe > > } > > > > It is actually in one of the sample config files, you should just have > to tell > > it what process you want to watch. > > > > > > > ------------------------------------------------------------------------ > - > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a > browser. > > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hvdkooij at vanderkooij.org Tue Nov 13 22:06:09 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 13 Nov 2007 22:06:09 +0100 Subject: Were can I find the check_snmp plugin In-Reply-To: References: Message-ID: <473A11C1.1050003@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Christy.New at cancer.org wrote: > I have tons of snmp plugins in this folder, but my routers, which allow > snmp will not run these two snmp service check: > > They are as follows, and it keeps telling me that it is missing the plug > in. > > http://www.nagiosexchange.org/SNMP.51.0.html?&tx_netnagext_pi1[p_view]=555 > > Here is were I pulled the plug-in and then extracted it's contents into the > libexec folder. Next I stopped and restarted Nagios. Then logged into > Nagios and the errors were still there. So next I restarted my entire > server and followed the process and again it was still the errors are still > there. Could it be that I am using UBUNTU Linux and maybe I should go with > redhat or debian? Please do not apply windows procedures in a unix environment. Work the problem. Solve it step by step. Pay attention to the exact responses and the exact commands. 1. Can you run access the router with SNMP at all? Test with snmpwalk. (Known obstacles: firewalls, community strings ,....) 2. Can you run the plugin by hand? Test all the options you want to use in nagios manualy first. Make sure you test this sucesfully as the user that the nagios process runs as. 3. Now try to build the most simple service definition and try within Nagios. If you have further question please document your attempts and show which steps you have taken. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHOhG+BvzDRVjxmYERAlKbAJ99IcW/8M7GVB9X7scZcoiJN1QjXQCfXXg4 S/eP300ysm/IBOlOeTHBBzM= =jvd/ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Christy.New at cancer.org Tue Nov 13 22:13:37 2007 From: Christy.New at cancer.org (Christy.New at cancer.org) Date: Tue, 13 Nov 2007 16:13:37 -0500 Subject: Were can I find the check_snmp plugin In-Reply-To: <473A11C1.1050003@vanderkooij.org> References: <473A11C1.1050003@vanderkooij.org> Message-ID: Please do not apply windows procedures in a unix environment. Work the problem. Solve it step by step. Pay attention to the exact responses and the exact commands.HOW AM CAN I TELL IF I AM RUNNING WINDOWS PROCEDURES IN A LINUX ENVIRONMENT. THESE WERE (.TAR.GZ)PLUGINS. CAN YOU EXPLAIN WHY YOU THOUGHT THIS 1. Can you run access the router with SNMP at all? Test with snmpwalk. (Known obstacles: firewalls, community strings ,....)THIS IS GOOD, BECAUSE I USE SNMP ON MY DEVICES ALREADY FOR OTHER UTILITIES THAT I USE. 2. Can you run the plugin by hand? Test all the options you want to use in nagios manualy first. Make sure you test this sucesfully as the user that the nagios process runs as. WHEN YOU SAY BY HAND, I HAVE NO IDEA WHAT YOU MEAN. I AM NO GOOD WITH COMMAND AND USE THE GNOME FOR MOST OF MY EDITING. I DON'T USE THE VI EDITOR MUCH 3. Now try to build the most simple service definition and try within Nagios. MRTG I JUST DISCOVERED I DO NOT USE ON MY DEVICES SO I JUST REMOVED IT, BUT STILL THE SNMP PLUGINS ARE STILL NOT WORKING AND NAGIOS GIVES ME A RESPONSE BACK OF "PLUGIN MISSING" THANKS HUGO APPRIECIATE YOUR GUIDANCE. Very Respectfully, Chris Hugo van der Kooij Nagios Users Mailinglist Sent by: ces at lists.sourcef cc orge.net Subject Re: [Nagios-users] Were can I find 11/13/2007 04:07 the check_snmp plugin PM -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Christy.New at cancer.org wrote: > I have tons of snmp plugins in this folder, but my routers, which allow > snmp will not run these two snmp service check: > > They are as follows, and it keeps telling me that it is missing the plug > in. > > http://www.nagiosexchange.org/SNMP.51.0.html?&tx_netnagext_pi1[p_view]=555 > > Here is were I pulled the plug-in and then extracted it's contents into the > libexec folder. Next I stopped and restarted Nagios. Then logged into > Nagios and the errors were still there. So next I restarted my entire > server and followed the process and again it was still the errors are still > there. Could it be that I am using UBUNTU Linux and maybe I should go with > redhat or debian? Please do not apply windows procedures in a unix environment. Work the problem. Solve it step by step. Pay attention to the exact responses and the exact commands. 1. Can you run access the router with SNMP at all? Test with snmpwalk. (Known obstacles: firewalls, community strings ,....) 2. Can you run the plugin by hand? Test all the options you want to use in nagios manualy first. Make sure you test this sucesfully as the user that the nagios process runs as. 3. Now try to build the most simple service definition and try within Nagios. If you have further question please document your attempts and show which steps you have taken. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHOhG+BvzDRVjxmYERAlKbAJ99IcW/8M7GVB9X7scZcoiJN1QjXQCfXXg4 S/eP300ysm/IBOlOeTHBBzM= =jvd/ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 palleje at gmail.com Tue Nov 13 22:11:24 2007 From: palleje at gmail.com (Palle L Jensen) Date: Tue, 13 Nov 2007 16:11:24 -0500 Subject: Authentication question Message-ID: <003901c82639$c0f2ad20$98ad38a6@na.dsmain.com> Hi All, We have it setup to use login name and password in order to see Nagios Web interface, and I want to remove that and then still be able to execute the cgi commands. Is it possible to remove the authentication and still be able to use the Cgi commands in Nagios? I have read the manual, but it doesn't seem to work. I am running Nagios 2.9 on Fedora Core 6. Thanks, Palle -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 tim at tany.com Tue Nov 13 22:24:43 2007 From: tim at tany.com (Tim Palmer) Date: Tue, 13 Nov 2007 16:24:43 -0500 Subject: Were can I find the check_snmp plugin In-Reply-To: <473A11C1.1050003@vanderkooij.org> References: <473A11C1.1050003@vanderkooij.org> Message-ID: <473A161B.2040106@tany.com> Hugo van der Kooij wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Christy.New at cancer.org wrote: >> I have tons of snmp plugins in this folder, but my routers, which allow >> snmp will not run these two snmp service check: >> >> They are as follows, and it keeps telling me that it is missing the plug >> in. >> >> http://www.nagiosexchange.org/SNMP.51.0.html?&tx_netnagext_pi1[p_view]=555 >> >> Here is were I pulled the plug-in and then extracted it's contents into the >> libexec folder. Next I stopped and restarted Nagios. Then logged into >> Nagios and the errors were still there. So next I restarted my entire >> server and followed the process and again it was still the errors are still >> there. Could it be that I am using UBUNTU Linux and maybe I should go with >> redhat or debian? > > Please do not apply windows procedures in a unix environment. Work the > problem. Solve it step by step. Pay attention to the exact responses and > the exact commands. > > 1. Can you run access the router with SNMP at all? Test with snmpwalk. > (Known obstacles: firewalls, community strings ,....) > > 2. Can you run the plugin by hand? Test all the options you want to use > in nagios manualy first. Make sure you test this sucesfully as the user > that the nagios process runs as. > > 3. Now try to build the most simple service definition and try within > Nagios. > > If you have further question please document your attempts and show > which steps you have taken. > > Hugo. > > - -- > hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ > PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc > > A: Yes. > >Q: Are you sure? > >>A: Because it reverses the logical flow of conversation. > >>>Q: Why is top posting frowned upon? > > Bored? Click on http://spamornot.org/ and rate those images. > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (GNU/Linux) > > iD8DBQFHOhG+BvzDRVjxmYERAlKbAJ99IcW/8M7GVB9X7scZcoiJN1QjXQCfXXg4 > S/eP300ysm/IBOlOeTHBBzM= > =jvd/ > -----END PGP SIGNATURE----- > Chris - Before you do anything, make sure you have the net-snmp package installed (look for snmpwalk in /usr/local/bin or suchlike). No snmp plugin will work without it (that I'm aware of anyway). I might also suggest you investigate Groundwork - it takes some of the manual work out of configuring/using Nagios. It still requires understanding Nagios, and I'm sure its a bit of work to get started, but in the long run, you'll see web pages for configuration instead of text files, and it tries to make things a little simpler. : I have only set up the configuration GUI for others, and haven't used the whole package, so I'm not speaking from experience. Not sure what its "free-ness" status is either... tim ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 rgil at liquidnet.com Tue Nov 13 22:34:04 2007 From: rgil at liquidnet.com (Robert Gil) Date: Tue, 13 Nov 2007 16:34:04 -0500 Subject: submit_check_result always critical Message-ID: <4AB4EC5F69C3774C875B1BD8CB658B1A02965658@ny0ech01.LNHOLDINGS.COM> I am setting up a distributed nagios environment for the first time and have come into a couple road blocks. For some reason the passive checks always come back as critical. From the command line they show correctly. Also the $OUTPUT$ variable does not appear to return any information in the submit_check_result script. I got the script out of the documentation. Perhaps the variable is incorrect? Here is an example of the email output. ***** Nagios 2.10 ***** Notification Type: PROBLEM Service: Load Host: Unix Server #rem5 Address: xxx.xxx.xxx.xxx State: CRITICAL Date/Time: Tue Nov 13 16:32:01 EST 2007 Additional Info: OUTPUT As you can see above this is version 2.10 using nsca version 2.7.2. Any help would be greatly appreciated. Thanks, Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Nov 14 00:15:56 2007 From: marc at ena.com (Marc Powell) Date: Tue, 13 Nov 2007 17:15:56 -0600 Subject: Authentication question In-Reply-To: <003901c82639$c0f2ad20$98ad38a6@na.dsmain.com> References: <003901c82639$c0f2ad20$98ad38a6@na.dsmain.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Palle L Jensen > Sent: Tuesday, November 13, 2007 3:11 PM > To: Nagios Users > Subject: [Nagios-users] Authentication question > > Hi All, > > > > We have it setup to use login name and password in order to see Nagios Web > interface, and I want to remove that and then still be able to execute the > cgi commands. > > Is it possible to remove the authentication and still be able to use the > Cgi commands in Nagios? See the default_user_name directive in cgi.cfg. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Nov 14 00:18:53 2007 From: marc at ena.com (Marc Powell) Date: Tue, 13 Nov 2007 17:18:53 -0600 Subject: submit_check_result always critical In-Reply-To: <4AB4EC5F69C3774C875B1BD8CB658B1A02965658@ny0ech01.LNHOLDINGS.COM> References: <4AB4EC5F69C3774C875B1BD8CB658B1A02965658@ny0ech01.LNHOLDINGS.COM> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Robert Gil > Sent: Tuesday, November 13, 2007 3:34 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] submit_check_result always critical > > I am setting up a distributed nagios environment for the first time and > have come into a couple road blocks. > > > > For some reason the passive checks always come back as critical. From the > command line they show correctly. Also the $OUTPUT$ variable does not > appear to return any information in the submit_check_result script. I got > the script out of the documentation. Perhaps the variable is incorrect? Looks to me like you might have been referencing the 1.0 documentation ($OUTPUT$ is a 1.x only macro). The 2.0 documentation on Distributed Monitoring uses the correct macros. http://nagios.sourceforge.net/docs/2_0/distributed.html -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 yana.millis at gmail.com Wed Nov 14 00:43:35 2007 From: yana.millis at gmail.com (Yana Millis) Date: Wed, 14 Nov 2007 09:43:35 +1000 Subject: Need help setting up NODUtils with Postgres Message-ID: Hello! I've grabbed the postgres version of NDOUtils from nagios exchange (http://www.nagiosexchange.org/Utilities.16.0.html?&tx_netnagext_pi1%5Bp_view%5D=1131) I've no idea whether this stuff is stable but I thought I'd giv it a go, and when trying to run ./configure, I keep getting the following error: . . . MySQL library and include file(s) were found! checking for PQconnectdb in -lpq... yes checking libpq-fe.h usability... no checking libpq-fe.h presence... no checking for libpq-fe.h... no *** PostgreSQL include file could not be located... **************** You chose to compile NDBXT with PostgreSQL support, but I was unable to locate on your system. If the include file is installed, use the --with-pgsql-inc argument to specify the location of the PostgreSQL include file. ******************************************************************** I've also tried to configure it, as suggested, with ./configure --with-pgsql-inc=/usr/include and ensured that libpq-fe.h is indeed in /usr/include, and its permissions are rwxrwxrwx, but I still keep getting the PostgreSQL include file could not be located error (???!!!!)...which is really weird... Does anyone have any suggestions for me ? Thank you, --yana ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 rgil at liquidnet.com Wed Nov 14 04:26:53 2007 From: rgil at liquidnet.com (Robert Gil) Date: Tue, 13 Nov 2007 22:26:53 -0500 Subject: submit_check_result always critical In-Reply-To: References: Message-ID: <4AB4EC5F69C3774C875B1BD8CB658B1A02965793@ny0ech01.LNHOLDINGS.COM> Getting a similar error. Still critical every time. Nov 13 22:16:53 SERVER nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rem5;NTP;2;(No output!) Nov 13 22:17:02 SERVER nsca[10294]: Handling the connection... Nov 13 22:17:03 SERVER nsca[10294]: SERVICE CHECK -> Host Name: 'rem5', Service Description: 'Time', Return Code: '2', Output: '(No output!)' Nov 13 22:17:03 SERVER nsca[10294]: End of connection... Nov 13 22:17:03 SERVER nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rem5;Time;2;(No output!) define command{ command_name submit_check_result command_line /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$' } -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Tuesday, November 13, 2007 6:19 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] submit_check_result always critical > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Robert Gil > Sent: Tuesday, November 13, 2007 3:34 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] submit_check_result always critical > > I am setting up a distributed nagios environment for the first time and > have come into a couple road blocks. > > > > For some reason the passive checks always come back as critical. From the > command line they show correctly. Also the $OUTPUT$ variable does not > appear to return any information in the submit_check_result script. I got > the script out of the documentation. Perhaps the variable is incorrect? Looks to me like you might have been referencing the 1.0 documentation ($OUTPUT$ is a 1.x only macro). The 2.0 documentation on Distributed Monitoring uses the correct macros. http://nagios.sourceforge.net/docs/2_0/distributed.html -- Marc ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 yana.millis at gmail.com Wed Nov 14 09:45:36 2007 From: yana.millis at gmail.com (Yana Millis) Date: Wed, 14 Nov 2007 18:45:36 +1000 Subject: Where is Nagios Core Dump file ? Message-ID: Hello, nagios crashes on me with an error: Starting nagios:/etc/init.d/nagios: line 121: 28073 Segmentation fault $NagiosBin -d $NagiosCfgFile when i try to run it with ndoUtils. Can somebody please tell me where exactly is the core dump file, what is that file called, and how to open it in a humanly-readable format ? thanks alot, --yana ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 gcoochey at sapphire.gi Wed Nov 14 10:12:00 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Wed, 14 Nov 2007 10:12:00 +0100 Subject: Were can I find the check_snmp plugin In-Reply-To: References: <473A11C1.1050003@vanderkooij.org> Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A7AE5@hermes.sapphire-int.gi> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Christy.New at cancer.org > Sent: 13 November 2007 22:14 > To: Hugo van der Kooij > Cc: nagios-users-bounces at lists.sourceforge.net; Nagios Users Mailinglist > Subject: Re: [Nagios-users] Were can I find the check_snmp plugin > > Please do not apply windows procedures in a unix environment. Work the > problem. Solve it step by step. Pay attention to the exact responses and > the exact commands.HOW AM CAN I TELL That's about as far as anyone will read your last post. I am seriously beginning to wonder whether you are a troll. You will need to go back to square one: http://www.catb.org/~esr/faqs/smart-questions.html Once you've read and properly absorbed then proceed to square two: http://tldp.org And finally, once you've spent a few years on that, with test environments and the like, proceed to: http://www.nagios.org/ If you can't be bothered with the above steps then you have two choices: (a) Use another product. (b) Get someone else to do it for you. Please bear in mind that the advice you get here is purely voluntary and most people here are simply here to gain information from discussion and pass their experiences on to others. In the short time that you've participated on this list, you've simply posted demands for information repeatedly without ever properly communicating exactly what your problem has been. I would imagine that many have already set up mail filters to /dev/null your email address. I am not personally attacking you here, but I feel that there is a shared consensus. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Wed Nov 14 10:20:51 2007 From: ae at op5.se (Andreas Ericsson) Date: Wed, 14 Nov 2007 10:20:51 +0100 Subject: Where is Nagios Core Dump file ? In-Reply-To: References: Message-ID: <473ABDF3.3090801@op5.se> Yana Millis wrote: > Hello, > nagios crashes on me with an error: > Starting nagios:/etc/init.d/nagios: line 121: 28073 Segmentation fault > $NagiosBin -d $NagiosCfgFile > > when i try to run it with ndoUtils. > Can somebody please tell me where exactly is the core dump file, There is no coredump, otherwise it would have read Segmentation fault (core dumped) Make sure you have your system configured to allow core dumps. Usually this is done by saying ulimit -c unlimited in your /etc/profile or other equivalent shell initializer. You can also type it on the prompt before you run nagios' init-script. > what is that file called, Usually just 'core', although it could be 'core.' where is the process id of the process that caused the coredump. > and how > to open it in a humanly-readable format ? > Use gdb. $ gdb /path/to/nagios core gdb> bt Send the output of the "bt" command from gdb to nagios-devel at lists.sourceforge.net along with nagios and ndoutils version info and someone will look into it. You'll have to subscribe to nagis-devel before you can post there. If you don't wish to do so, send your email here and I'll make sure it reaches the right people. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hpsekhon at googlemail.com Wed Nov 14 10:25:10 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 14 Nov 2007 09:25:10 +0000 Subject: Monitoring a process In-Reply-To: <66955c170711131304y1383a515ub421c06e00f02856@mail.gmail.com> References: <66955c170711131130s381655f2rfeeabbb626c3480b@mail.gmail.com> <66955c170711131253h6385246ds67724722a5332c0d@mail.gmail.com> <66955c170711131304y1383a515ub421c06e00f02856@mail.gmail.com> Message-ID: <473ABEF6.4060902@googlemail.com> One thing I notice in your configurations, apart from the massive retry interval is that you are inheriting max check attempts of 15 from the leadlander template. This means you have to wait 60 minutes for 1st failure and then 14* 6 hours for the 15th failure on which it goes hard critical and alerts you. Change your check intervals and/or max check attempts for this service in order to make it go into a hard state and then you will get your notification. -h Hari Sekhon Jerad Riggin wrote: > Just to clarify > > normal_check_interval 60 > retry_check_interval 360 > notification_interval 360 > > This means that it checks every hour. After it fails the first time, > it will wait 6 hours to retry, if it is still not OK after 6 hours, it > notifies and begins to notify every 6 hours until it's ok. > > On Nov 13, 2007 3:00 PM, Rich Sasko wrote: > >> It only notifies after it enters a hard state which is usually after the >> third try. >> >> Richard Sasko >> Niagara Lasalle Corp >> Phone: (219) 853-6272 >> Mobile: (219) 484-5617 >> E-mail: rsasko at niag.com >> >> >> >> -----Original Message----- >> From: Jerad Riggin [mailto:jriggin at gmail.com] >> Sent: Tuesday, November 13, 2007 2:54 PM >> To: Rich Sasko >> Subject: Re: [Nagios-users] Monitoring a process >> >> Thanks for the response. This is what I did just a bit ago. I have >> it successfully monitoring outlook.exe, however no e-mails are being >> sent when it's critical. >> >> Here is what I have as the service definition: >> >> define service{ >> use leadlander >> host_name leadlandervm >> service_description Outlook Process >> contact_groups bo,mis >> notification_options w,u,c,r >> check_command check_nt2!PROCSTATE!-d SHOWALL -l >> outlook.exe >> } >> >> Here is what I have for the leadlander template >> >> define service{ >> use generic-service >> name leadlander >> is_volatile 0 >> check_period 24x7 >> max_check_attempts 15 >> normal_check_interval 20 >> retry_check_interval 20 >> notification_interval 20 >> notification_period 24x7 >> register 0 >> } >> >> Does it only notify after the first retry failure, or should it notify >> as soon as the service is critical? Any ideas? >> >> >> On Nov 13, 2007 2:39 PM, Rich Sasko wrote: >> >>> Jerad Riggin gmail.com> writes: >>> >>> >>>> Would it be possible using Nsclient++ to monitor for a process name? >>>> We need to make sure Outlook.exe is running on the server and if it >>>> isn't, send out notifications. >>>> >>>> Thanks, >>>> >>>> Jerad >>>> >>>> >>>> >> ------------------------------------------------------------------------ >> - >> >>>> This SF.net email is sponsored by: Splunk Inc. >>>> Still grepping through log files to find problems? Stop. >>>> Now Search log events and configuration files using AJAX and a >>>> >> browser. >> >>>> Download your FREE copy of Splunk now >> http://get.splunk.com/ >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>> >> reporting >> >>> any issue. >>> >>>> ::: Messages without supporting info will risk being sent to >>>> >> /dev/null >> >>>> >>> Jerad, >>> >>> We have the NSClient++ running on our Windows servers and the >>> >> following >> >>> service check is an example of how we are monitoring services from the >>> >> nagios >> >>> server: >>> >>> define service{ >>> use generic-service >>> host_name email server >>> service_description explorer >>> check_command check_nt!PROCSTATE!-d SHOWALL -l >>> >> explorer.exe >> >>> } >>> >>> It is actually in one of the sample config files, you should just have >>> >> to tell >> >>> it what process you want to watch. >>> >>> >>> >>> >> ------------------------------------------------------------------------ >> - >> >>> This SF.net email is sponsored by: Splunk Inc. >>> Still grepping through log files to find problems? Stop. >>> Now Search log events and configuration files using AJAX and a >>> >> browser. >> >>> Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 sunny at tetrain.com Wed Nov 14 10:41:30 2007 From: sunny at tetrain.com (Sunny Bhatheja) Date: Wed, 14 Nov 2007 15:11:30 +0530 Subject: Regarding check_oracle Message-ID: <473AC2CA.9070202@tetrain.com> Dear All, I m trying to monitor using check_oracle plugin.But whn i checked my oracle from Plugin like ./check_oracle --tns orcl and it gives me ok status but whn i used this by putting entry in hosts, services and chkcommands thn if gives like Oracle Home is not set for sid. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hpsekhon at googlemail.com Wed Nov 14 10:46:19 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 14 Nov 2007 09:46:19 +0000 Subject: Regarding check_oracle In-Reply-To: <473AC2CA.9070202@tetrain.com> References: <473AC2CA.9070202@tetrain.com> Message-ID: <473AC3EB.5010703@googlemail.com> Yes this is common, make sure the Nagios user has $ORACLE_HOME set in the environment to your locally installed oracle bits like sqlplus which this depends on. A cheap cheat would just be to modify the script and hardcode it at the top (but then beware when you upgrade the plugins that this will revert to broken so if doing that you may want to copy the plugin out and keep it separate). -h Hari Sekhon Sunny Bhatheja wrote: > Dear All, > I m trying to monitor using check_oracle > plugin.But whn i checked my oracle from Plugin like ./check_oracle --tns > orcl and it gives me ok status but whn i used this by putting entry in > hosts, services and chkcommands thn if gives like Oracle Home is not set > for sid. > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 gcoochey at sapphire.gi Wed Nov 14 10:49:38 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Wed, 14 Nov 2007 10:49:38 +0100 Subject: Regarding check_oracle In-Reply-To: <473AC2CA.9070202@tetrain.com> References: <473AC2CA.9070202@tetrain.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A7AE9@hermes.sapphire-int.gi> > Dear All, > I m trying to monitor using check_oracle > plugin.But whn i checked my oracle from Plugin like ./check_oracle --tns > orcl and it gives me ok status but whn i used this by putting entry in > hosts, services and chkcommands thn if gives like Oracle Home is not set > for sid. > Checkout http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg05446. html ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 duncan.ferguson at altinity.com Wed Nov 14 11:01:47 2007 From: duncan.ferguson at altinity.com (Duncan Ferguson) Date: Wed, 14 Nov 2007 10:01:47 +0000 Subject: nagios.log format In-Reply-To: <5eb4b0650711130832g2a66d2f6g7914a6e568cdcfcd@mail.gmail.com> References: <5eb4b0650711130832g2a66d2f6g7914a6e568cdcfcd@mail.gmail.com> Message-ID: <96EF8FD7-E5AE-4C41-8C50-147A5F2BC300@altinity.com> On 13 Nov 2007, at 16:32, Kuang-Chun Cheng wrote: > Hi, > > I want to do post-analysis of nagios.log and save the filtered > result to DB. > [snip] > Could someone tell me what's the fields means ? > What kind of message will be log into nagios.log. Sometime I found > "SERVICE ALERT" message ... > any complete list existed for possible message ? Thanks You should be able to glean some information form the external commands reference, as well as the source code http://www.nagios.org/developerinfo/externalcommands/commandlist.php Duncs -- Duncan Ferguson http://www.altinity.com Tel: +44 (0)870 787 9243 Fax: +44 (0)845 280 1725 Skype: duncan_j_ferguson MSN: duncan.ferguson at altinity.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 pico at cocco.biz Wed Nov 14 11:14:20 2007 From: pico at cocco.biz (PiCo) Date: Wed, 14 Nov 2007 11:14:20 +0100 Subject: Can NAGIOS check HOST via PROXY ? In-Reply-To: References: <47287907.5050906@googlemail.com> <4728859A.9010105@googlemail.com> Message-ID: Hi All.... Still I'm looking for a solution to my problem. :-( I have to reach some (most of all) host via a proxy. Concerning the connection at OS level.. I use FREECAP (on windows) and so a SOCKS PROXY... Somobody knows if is possible to config nagios to run checks "proxyfied"... maybe using proxychain (http://packages.ubuntu.com/edgy/net/proxychains) Any suggestions ?? -- ,,, /'^'\ ( o o ) ----------------------------------------oOOO--(_)--OOOo------ Pierfrancesco Cocco EMail: pico at cocco.biz Web: www.cocco.biz ICQ#: 105570291 SkypeID: cocco.biz Tel.: +39 335 1234 475 Fax.: +39 06 233 2401 88 .oooO ( ) Oooo. ------------------------------------------\ (----( )------- \_) ) / (_/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 lobbin at gmail.com Wed Nov 14 11:24:30 2007 From: lobbin at gmail.com (Robin Helgelin) Date: Wed, 14 Nov 2007 11:24:30 +0100 Subject: ANNOUNCE check_hpasm-1.6.1 In-Reply-To: <012d01c82217$b02e0fa0$a601000a@int.consol.de> References: <012d01c82217$b02e0fa0$a601000a@int.consol.de> Message-ID: On Nov 8, 2007 3:57 PM, Gerhard Lausser wrote: > Hi, > > for those of you monitoring HPC Proliant hardware with the check_hpasm > plugin. I fixed a bug which could lead to overseen failed fans. Please find > the new release under http://www.consol.de/opensource/nagios/check-hpasm/ You (or anybody else) don't happen to have nagiosgraph map entries for the performance data? -- regards, Robin ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hpsekhon at googlemail.com Wed Nov 14 11:40:29 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 14 Nov 2007 10:40:29 +0000 Subject: Can NAGIOS check HOST via PROXY ? In-Reply-To: References: <47287907.5050906@googlemail.com> <4728859A.9010105@googlemail.com> Message-ID: <473AD09D.6050706@googlemail.com> I don't know about the proxying thing at this time, I suspect it will not work or not diversely enough to be really useful, but off the top of my head, you can do this the way that has been previously suggested which is to use check_nrpe and put the plugins on the remote host with an nrpe definition of something like command[check_http_webserver1]=/path/to/check_http -H webserver1 ....blah blah... .............."".............._webserver2............"".........""..........webserver2........blah..... or command[check_mysql_databaseserver1]=/path/to/check_mysql -H databaseserver1 ....blah blah... and then from your nagios server do check_nrpe -H proxy_host -c check_http_webserver or check_nrpe -H proxy_host -c check_mysql_databaseserver1 which should do exactly what you want, returns the condition of webserver1 or databaseserver1, the output and exit code as per standard Nagios remote checks. -h Hari Sekhon PiCo wrote: > Hi All.... > Still I'm looking for a solution to my problem. :-( > > I have to reach some (most of all) host via a proxy. > > > Concerning the connection at OS level.. I use FREECAP (on windows) and so > a SOCKS > PROXY... > > Somobody knows if is possible to config nagios to run checks > "proxyfied"... maybe using proxychain > (http://packages.ubuntu.com/edgy/net/proxychains) > > Any suggestions ?? > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 sunny at tetrain.com Wed Nov 14 11:59:32 2007 From: sunny at tetrain.com (Sunny Bhatheja) Date: Wed, 14 Nov 2007 16:29:32 +0530 Subject: Regarding check_oracle In-Reply-To: <473AC3EB.5010703@googlemail.com> References: <473AC2CA.9070202@tetrain.com> <473AC3EB.5010703@googlemail.com> Message-ID: <473AD514.8000807@tetrain.com> I m able to get the Output from oracle_home whn it is running from oracle or root users but whn i manually run the check_oracle plugin by nagios user it gives tht oracle_home is not set. i did this bcz nagios works with nagios user. I also set the ORACLE_HOME for nagios users. Hari Sekhon wrote: > Yes this is common, make sure the Nagios user has $ORACLE_HOME set in > the environment to your locally installed oracle bits like sqlplus > which this depends on. > > A cheap cheat would just be to modify the script and hardcode it at > the top (but then beware when you upgrade the plugins that this will > revert to broken so if doing that you may want to copy the plugin out > and keep it separate). > > -h > > Hari Sekhon > > > > Sunny Bhatheja wrote: >> Dear All, >> I m trying to monitor using check_oracle >> plugin.But whn i checked my oracle from Plugin like ./check_oracle >> --tns orcl and it gives me ok status but whn i used this by putting >> entry in hosts, services and chkcommands thn if gives like Oracle >> Home is not set for sid. >> >> >> ------------------------------------------------------------------------- >> >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 joseph.petrucci at wachovia.com Wed Nov 14 11:59:39 2007 From: joseph.petrucci at wachovia.com (joseph.petrucci at wachovia.com) Date: Wed, 14 Nov 2007 05:59:39 -0500 Subject: Regarding check_oracle In-Reply-To: <473AC2CA.9070202@tetrain.com> References: <473AC2CA.9070202@tetrain.com> Message-ID: When you run this command from the command line it is using the environmental variables setup in your .profile or .login I am not familiar with the check_oracle but you will need to set the environmental variables for the ID running the query. Joe Petrucci Cell : 724-462-0443 Sunny Bhatheja Sent by: nagios-users-bounces at lists.sourceforge.net 11/14/2007 04:41 AM To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] Regarding check_oracle Dear All, I m trying to monitor using check_oracle plugin.But whn i checked my oracle from Plugin like ./check_oracle --tns orcl and it gives me ok status but whn i used this by putting entry in hosts, services and chkcommands thn if gives like Oracle Home is not set for sid. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 sunny at tetrain.com Wed Nov 14 12:07:11 2007 From: sunny at tetrain.com (Sunny Bhatheja) Date: Wed, 14 Nov 2007 16:37:11 +0530 Subject: Regarding check_oracle In-Reply-To: References: Message-ID: <473AD6DF.8080909@tetrain.com> I did this , whn i do this echo $ORACLE_HOME thn it gives me correct output.. joseph.petrucci at wachovia.com wrote: > > When you run this command from the command line it is using the > environmental variables setup in your .profile or .login I am not > familiar with the check_oracle but you will need to set the > environmental variables for the ID running the query. > > Joe Petrucci > Cell : 724-462-0443 > > > > *Sunny Bhatheja * > Sent by: nagios-users-bounces at lists.sourceforge.net > > 11/14/2007 04:41 AM > > > To > nagios-users at lists.sourceforge.net > cc > > Subject > [Nagios-users] Regarding check_oracle > > > > > > > > > > Dear All, > I m trying to monitor using check_oracle > plugin.But whn i checked my oracle from Plugin like ./check_oracle --tns > orcl and it gives me ok status but whn i used this by putting entry in > hosts, services and chkcommands thn if gives like Oracle Home is not set > for sid. > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 radhiilu at yahoo.com Wed Nov 14 12:24:13 2007 From: radhiilu at yahoo.com (Sekhar) Date: Wed, 14 Nov 2007 03:24:13 -0800 (PST) Subject: check_dns strange error Message-ID: <124144.6827.qm@web90504.mail.mud.yahoo.com> Hi Guys, I have nagios 1.3 server which doesn't have check_dns plugin so i have copied from the new plugins package when i try to test ./check_dns -H www.google.com -S 66.249.91.103 i am getting the following error DNS CRITICAL - '/usr/bin/nslookup -sil' output parsing exited with no address my server nslookup is working and the permissions and owner of check_dns plugin is fine and my resolve.conf file is having correct dns servers. Could some one help me how to fix this error.Infact i am getting the same error for any host notly google Thnaks for your time ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 dermoth at aei.ca Wed Nov 14 13:54:50 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 14 Nov 2007 07:54:50 -0500 Subject: submit_check_result always critical In-Reply-To: <4AB4EC5F69C3774C875B1BD8CB658B1A02965793@ny0ech01.LNHOLDINGS.COM> References: <4AB4EC5F69C3774C875B1BD8CB658B1A02965793@ny0ech01.LNHOLDINGS.COM> Message-ID: <473AF01A.4010505@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 13/11/07 10:26 PM, Robert Gil wrote: > Getting a similar error. Still critical every time. > > > Nov 13 22:16:53 SERVER nagios: EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rem5;NTP;2;(No output!) > Nov 13 22:17:02 SERVER nsca[10294]: Handling the connection... > Nov 13 22:17:03 SERVER nsca[10294]: SERVICE CHECK -> Host Name: 'rem5', > Service Description: 'Time', Return Code: '2', Output: '(No output!)' > Nov 13 22:17:03 SERVER nsca[10294]: End of connection... > Nov 13 22:17:03 SERVER nagios: EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rem5;Time;2;(No output!) > > > define command{ > command_name submit_check_result > command_line > /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ > '$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$' > } I'm not sure if you got it right. As I understand it your nagios sends the current check result back to itself, so it's obvious the state never change. If you want to do active monitoring you should use an active check, and if you want to do passive monitoring the command should run on the remote host (ex. from crontab) and use send_nsca to report back to nagios (in that case you should have active checks disabled on the service, and eventually freshness checking) If you're trying to do something else then please explain. Thanks, Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHOvAa6dZ+Kt5BchYRAtPwAJ4s7/758uxUjEiYkjsSnRhF0rMgJQCfUqob 38LblcL52iOPeqrJtRRbhoE= =oCBq -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 mkellermann at net-com.de Wed Nov 14 15:05:04 2007 From: mkellermann at net-com.de (Matthias Kellermann) Date: Wed, 14 Nov 2007 15:05:04 +0100 Subject: Plugin for monitoring FreeBSD for updates (like check_apt)? In-Reply-To: <1194967171.2611.17.camel@ingress.pitbpa0.priv.collaborativefusion.com> References: <47387470.6050103@net-com.de> <1194967171.2611.17.camel@ingress.pitbpa0.priv.collaborativefusion.com> Message-ID: <473B0090.2080007@net-com.de> Hi list, I've made some progress with a Nagios Plugin for the FreeBSD Ports. It's called check_ports for now and the first version can be found here: http://dl.adminlife.net/check_ports Please don't blame me for my coding style - I'm not a shell hacker ;) The plugin does the following: If you start it without a parameter it will check the host system for updates via pkg_version and security problems via portaudit (if it exists). If you start it with the name of a jail as parameter it will check the jail for updates and security problems. This is done via jexec so you need sudo installed if you call the Nagios plugin with an unprivileged user. Some problems still exist: - sometimes there is an plugin timeout in Nagios, because calling pkg_version can be time consuming - it is not the best idea to give an unprivileged superuser access to jexec without password The plugin works for me at the moment. Hope it will work for you, too. I would be happy if you have any suggestions or improvements. Matthias ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Nov 14 15:42:07 2007 From: marc at ena.com (Marc Powell) Date: Wed, 14 Nov 2007 08:42:07 -0600 Subject: submit_check_result always critical In-Reply-To: <4AB4EC5F69C3774C875B1BD8CB658B1A02965793@ny0ech01.LNHOLDINGS.COM> References: <4AB4EC5F69C3774C875B1BD8CB658B1A02965793@ny0ech01.LNHOLDINGS.COM> Message-ID: > -----Original Message----- > From: Robert Gil [mailto:rgil at liquidnet.com] > Sent: Tuesday, November 13, 2007 9:27 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] submit_check_result always critical > > Getting a similar error. Still critical every time. That's what you're sending. You shouldn't expect something different than what you send. > Nov 13 22:16:53 SERVER nagios: EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rem5;NTP;2;(No output!) > Nov 13 22:17:02 SERVER nsca[10294]: Handling the connection... You send -- > Nov 13 22:17:03 SERVER nsca[10294]: SERVICE CHECK -> Host Name: 'rem5', > Service Description: 'Time', Return Code: '2', Output: '(No output!)' Return Code: 2 == CRITICAL Output from the plugin == '(No output!)' In this case this means that the distributed nagios server didn't receive any output from the plugin it ran. Looks to me like the plugin being executed before it's results are sent via NSCA is failing. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 palleje at gmail.com Wed Nov 14 15:42:19 2007 From: palleje at gmail.com (Palle L Jensen) Date: Wed, 14 Nov 2007 09:42:19 -0500 Subject: Authentication question In-Reply-To: References: <003901c82639$c0f2ad20$98ad38a6@na.dsmain.com> Message-ID: <000001c826cc$90390920$98ad38a6@na.dsmain.com> Thanks Marc for your quick response, I've tried a few variations and the result is I don't get the logon window (which Is good, we don't want the logon window), but I can still not execute the cgi commands. I changed these sections in the cgi.cfg use_authentication=0 (tried both 0 and 1) default_user_name=guest (enabled) authorized_for _system_command=* (tried both * and root,nagios,guest) nagios.conf looks like this: ScriptAlias /nagios/cgi-bin /usr/share/nagios/cgi Options ExecCGI AllowOverride None Order allow,deny Allow from all Alias /nagios /usr/share/nagios Options None AllowOverride None Order allow,deny Allow from all This is what we are trying to achieve: - No userlogon. - Able to use all cgi commands in Nagios. (full admin rights, views, execute commands) Thanks, Palle > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Palle L Jensen > Sent: Tuesday, November 13, 2007 3:11 PM > To: Nagios Users > Subject: [Nagios-users] Authentication question > > Hi All, > > > > We have it setup to use login name and password in order to see Nagios Web > interface, and I want to remove that and then still be able to execute the > cgi commands. > > Is it possible to remove the authentication and still be able to use the > Cgi commands in Nagios? See the default_user_name directive in cgi.cfg. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Nov 14 15:51:25 2007 From: marc at ena.com (Marc Powell) Date: Wed, 14 Nov 2007 08:51:25 -0600 Subject: check_dns strange error In-Reply-To: <124144.6827.qm@web90504.mail.mud.yahoo.com> References: <124144.6827.qm@web90504.mail.mud.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sekhar > Sent: Wednesday, November 14, 2007 5:24 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_dns strange error > > Hi Guys, > > I have nagios 1.3 server which doesn't have check_dns plugin so i have > copied from the new plugins package when i try to test > > ./check_dns -H www.google.com -S 66.249.91.103 > > i am getting the following error > > DNS CRITICAL - '/usr/bin/nslookup -sil' output parsing exited with no > address > > my server nslookup is working and the permissions and owner of check_dns check_dns is specifically compiled to work with the nslookup output on the machine it was compiled on. It appears that your nslookup output is different than the nslookup output on the machine check_dns was compiled on. I'd recommend compiling the plugins on the machine you intend to run them on or compile/copy from an identical architecture/OS version. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 mailing at rtcw.com.fr Wed Nov 14 15:58:22 2007 From: mailing at rtcw.com.fr (Sylvain Viollat) Date: Wed, 14 Nov 2007 15:58:22 +0100 Subject: LONGDATETIME return $ Message-ID: <7d4e4c892fdabfea7209882e7cab9779@localhost> Hi, sorry for the delay in my answer. After checking (again and again) my settings, it appear that the *notify_by* commands were define twice... After modifying my settings, everything works just fine. Thanks for your help. Regards, Sylvain. On Fri, 9 Nov 2007 09:54:01 -0600, "Marc Powell" wrote: > Are you _sure_ this is the notification command being used? The reason I > ask is that you appear to be using the macro correctly but this is an > issue that has only ever been seen when the wrong macro is used (i.e. > $DATETIME$ from nagios-1.x). For some reason I'm under the impression > that the debian packages are shipped with incorrect macros used. Did you > have to change them? Did you restart nagios after and verify that there > is only one nagios daemon running? > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Nov 14 15:58:57 2007 From: marc at ena.com (Marc Powell) Date: Wed, 14 Nov 2007 08:58:57 -0600 Subject: Authentication question In-Reply-To: <000001c826cc$90390920$98ad38a6@na.dsmain.com> References: <000001c826cc$90390920$98ad38a6@na.dsmain.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Palle L Jensen > Sent: Wednesday, November 14, 2007 8:42 AM > To: Nagios Users > Subject: Re: [Nagios-users] Authentication question > > Thanks Marc for your quick response, > > I've tried a few variations and the result is > I don't get the logon window (which Is good, we don't want the logon > window), but I can still not execute the cgi commands. > > I changed these sections in the cgi.cfg > use_authentication=0 (tried both 0 and 1) This should be 1. > default_user_name=guest (enabled) This is fine. > authorized_for _system_command=* (tried both * and root,nagios,guest) This only says that anyone can shutdown or restart nagios or change it from active to standby. You want more than that. You'll want to look at all the authorized_for_* settings in cgi.cfg, but specifically -- authorized_for_all_services authorized_for_all_hosts authorized_for_all_service_commands authorized_for_all_host_commands -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 rgil at liquidnet.com Wed Nov 14 15:59:42 2007 From: rgil at liquidnet.com (Robert Gil) Date: Wed, 14 Nov 2007 09:59:42 -0500 Subject: submit_check_result always critical In-Reply-To: <473AF01A.4010505@aei.ca> References: <4AB4EC5F69C3774C875B1BD8CB658B1A02965793@ny0ech01.LNHOLDINGS.COM> <473AF01A.4010505@aei.ca> Message-ID: <4AB4EC5F69C3774C875B1BD8CB658B1A02965940@ny0ech01.LNHOLDINGS.COM> The setup is as follows: 1 nagios server in each datacenter would send passive check results to a central server in the NOC. Right now I am testing on two servers initially. Both servers are in the same datacenter. Both are running the same versions of nagios and plugins. Nagios01: Central Monitoring Server. Mainly just catching passive results, displaying the dashboard, and sending notifications. Nagios02: Distributed nagios server Configuration: Nagios02 has the check command defined as follows. define command{ command_name submit_check_result command_line /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$' } In nagios.cfg obsess_over_services=1 ocsp_command=submit_check_result In the submit_check_result script, the print line is as follows. /usr/bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | /usr/local/nagios/bin/send_nsca 10.0.254.248 -c /usr/local/nagios/etc/send_nsca.cfg In Nagios01 it is set up to accept passive checks. And they do come in, but are always critical and with the previous error of "No Output!" The checks from the distributed server (02) do work when they are run from the command line. Im not sure if im missing something or the implementation is being confused in some way. Thanks, Rob -----Original Message----- From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca] Sent: Wednesday, November 14, 2007 7:55 AM To: Robert Gil Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] submit_check_result always critical -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 13/11/07 10:26 PM, Robert Gil wrote: > Getting a similar error. Still critical every time. > > > Nov 13 22:16:53 SERVER nagios: EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rem5;NTP;2;(No output!) > Nov 13 22:17:02 SERVER nsca[10294]: Handling the connection... > Nov 13 22:17:03 SERVER nsca[10294]: SERVICE CHECK -> Host Name: 'rem5', > Service Description: 'Time', Return Code: '2', Output: '(No output!)' > Nov 13 22:17:03 SERVER nsca[10294]: End of connection... > Nov 13 22:17:03 SERVER nagios: EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rem5;Time;2;(No output!) > > > define command{ > command_name submit_check_result > command_line > /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ > '$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$' > } I'm not sure if you got it right. As I understand it your nagios sends the current check result back to itself, so it's obvious the state never change. If you want to do active monitoring you should use an active check, and if you want to do passive monitoring the command should run on the remote host (ex. from crontab) and use send_nsca to report back to nagios (in that case you should have active checks disabled on the service, and eventually freshness checking) If you're trying to do something else then please explain. Thanks, Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHOvAa6dZ+Kt5BchYRAtPwAJ4s7/758uxUjEiYkjsSnRhF0rMgJQCfUqob 38LblcL52iOPeqrJtRRbhoE= =oCBq -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 leosilva at tse.gov.br Wed Nov 14 18:18:37 2007 From: leosilva at tse.gov.br (Leandro Silva) Date: Wed, 14 Nov 2007 14:18:37 -0300 Subject: check_http finding string Message-ID: <002601c826e2$64dc6950$2df41c0a@tse.gov.br> Hi I?m using nagios version 2.10 and trying to determine de disponibility of my website using check_http to find a string in a url. If i execute this command in the prompt: /usr/local/nagios/libexec/check_http -H www.mywebsite.com.br -u /internet/principal.jsp -s "String to find" i get: HTTP OK HTTP/1.1 200 OK - 1.805 second response time |time=1.804832s;;;0.000000 size=20593B;;;0 and if i change the string i get: HTTP CRITICAL - string not found|time=1.835345s;;;0.000000 size=20593B;;;0 So I put in the service.cfg: define service{ use website-service host_name internet service_description HTTP check_command check_http!-u /internet/principal.jsp -s "String to find" } and I have in the nagios page the service status, having the string in the page or not: Status Information:HTTP OK HTTP/1.1 200 OK - 369 bytes in 0.005 seconds Performance Data:time=0.005401s;;;0.000000 size=369B;;;0 In the command.cfg I have: define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ } Someone can help me? Leandro -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hpsekhon at googlemail.com Wed Nov 14 17:22:46 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 14 Nov 2007 16:22:46 +0000 Subject: check_http finding string In-Reply-To: <002601c826e2$64dc6950$2df41c0a@tse.gov.br> References: <002601c826e2$64dc6950$2df41c0a@tse.gov.br> Message-ID: <473B20D6.5010504@googlemail.com> add $ARG1$ to the end of the command_line $USER1$/..... line in command.cfg. -h Hari Sekhon Leandro Silva wrote: > Hi > > I?m using nagios version 2.10 and trying to determine de disponibility > of my website using check_http to find a string in a url. > If i execute this command in the prompt: > //usr/local/nagios/libexec/check_http -H > //www.mywebsite.com.br/ / -u > /internet/principal.jsp -s "String to find"/ > i get: > /HTTP OK HTTP/1.1 200 OK - 1.805 second response time > |time=1.804832s;;;0.000000 size=20593B;;;0/ > > and if i change the string i get: > /HTTP CRITICAL - string not found|time=1.835345s;;;0.000000 > size=20593B;;;0/ > > > So I put in the service.cfg: > > /define service{/ > / use website-service/ > / host_name internet/ > / service_description HTTP/ > / check_command check_http!-u /internet/principal.jsp -s "String to > find"/ > /}/ > > and I have in the nagios page the service status, having the string in > the page or not: > > /Status Information:HTTP OK HTTP/1.1 200 OK - 369 bytes in 0.005 > seconds / > / Performance Data:time=0.005401s;;;0.000000 size=369B;;;0/ > > In the command.cfg I have: > /define command{/ > / command_name check_http/ > / command_line $USER1$/check_http -H $HOSTADDRESS$/ > /}/ > > Someone can help me? > > Leandro > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 patrickm at garlic.com Wed Nov 14 17:27:46 2007 From: patrickm at garlic.com (Patrick M.) Date: Wed, 14 Nov 2007 08:27:46 -0800 Subject: Can Nagios implement with Expect to automate tasks when issues arise? Message-ID: <473B2202.1080702@garlic.com> Hi all, I just learned what Expect was and wrote a few scripts to automate certain tasks around the office, and now I'm wondering if Expect can be used in conjunction with Nagios. Is this possible? Example: One of our servers go down at least twice a day, and we know it's problematic. We connect to the power strip and recycle the power on the port that machine is plugged in. I'd like to use Expect to automate this when Nagios notices it is down. Has anyone else implemented something similar to what I'm describing? Thanks in advance. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Nov 14 17:34:24 2007 From: marc at ena.com (Marc Powell) Date: Wed, 14 Nov 2007 10:34:24 -0600 Subject: Can Nagios implement with Expect to automate taskswhen issues arise? In-Reply-To: <473B2202.1080702@garlic.com> References: <473B2202.1080702@garlic.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Patrick M. > Sent: Wednesday, November 14, 2007 10:28 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Can Nagios implement with Expect to automate > taskswhen issues arise? > > Hi all, > > I just learned what Expect was and wrote a few scripts to automate > certain tasks around the office, and now I'm wondering if Expect can be > used in conjunction with Nagios. Is this possible? > > Example: One of our servers go down at least twice a day, and we know > it's problematic. We connect to the power strip and recycle the power > on the port that machine is plugged in. I'd like to use Expect to > automate this when Nagios notices it is down. > > Has anyone else implemented something similar to what I'm describing? Yes, certainly doable. It's an Event Handler for nagios. It's a script that can be run when a host/service changes state. That script can be written in sh, bash, perl, expect, ruby, whatever... As long as you can script an action to take and run that as the nagios user, nagios can automatically run it when needed. Take a look at the Event Handler documentation for examples. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 mangesh.dhamale at sumasoft.net Wed Nov 14 17:40:35 2007 From: mangesh.dhamale at sumasoft.net (Mangesh Dhamale) Date: Wed, 14 Nov 2007 22:10:35 +0530 Subject: Nagios-users Digest, Vol 18, Issue 20 References: Message-ID: <013501c826dd$1598ea30$1564a8c0@ssplsys1> Hi All, I have configured nagios. Can any body file regarding nagios-plugin. Actually i have configured windows system using nsclient++. How to monitor remote linux boxes like cpu load,disk...etc. Regards, Mangesh Dhamale ----------------------------------------------------------------- System Administrator Suma Soft Pvt. Ltd. Suma Center, IInd Floor, Opp. Himali Society, Near Mangeshkar Hospital, Erandwane, Pune - 411004 Ph : +91-20-2542 5655 Extn : 327 Cell : +91-98508 87775 Email : mangesh.dhamale at sumasoft.net www.sumasoft.com ------------------------------------------------------------------ ----- Original Message ----- From: To: Sent: Wednesday, November 14, 2007 1:07 AM Subject: Nagios-users Digest, Vol 18, Issue 20 > 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. Nagios time format (Jerad Riggin) > 2. Re: Nagios time format (Marc Powell) > 3. Re: Two instances of ndo2db running... (GT4NE1) > 4. Date/Time and Additional Info Shows as $ (Robert Gil) > 5. Re: Date/Time and Additional Info Shows as $ (Haydn Solomon) > 6. Status display colors (Israel Brewster) > 7. Re: Status display colors (Marc Powell) > 8. Host monitoring (Jerad Riggin) > 9. Re: Host monitoring (Marc Powell) > 10. Re: check_snmp_storage fails on 2003 box, works manually > (chris serafin) > 11. Re: Plugin for monitoring FreeBSD for updates (like > check_apt)? (Matthias Kellermann) > 12. Re: Status display colors (Giles Coochey) > 13. RE : Nagios CGI modification (Florent HOUBART) > 14. Re: Plugin for monitoring FreeBSD for updates (like > check_apt)? (Michael W. Lucas) > 15. Re: Plugin for monitoring FreeBSD for updates (like > check_apt)? (Brian A. Seklecki) > 16. Re: Plugin for monitoring FreeBSD for updates (like > check_apt)? (Matthias Kellermann) > 17. nagios.log format (Kuang-Chun Cheng) > 18. Re: nagios.log format (Marc Powell) > 19. Old state information randomly appearing (Shawn Kovalchick) > 20. Re: Old state information randomly appearing (Shawn Kovalchick) > 21. Re: no newlines in notification emails ? (SCHAER Frederic) > 22. Re: Old state information randomly appearing (Marc Powell) > 23. Re: Old state information randomly appearing (Shawn Kovalchick) > 24. Monitoring a process (Jerad Riggin) > 25. Were can I find the check_snmp plugin (Christy.New at cancer.org) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 12 Nov 2007 15:15:40 -0600 > From: "Jerad Riggin" > Subject: [Nagios-users] Nagios time format > To: nagios-users at lists.sourceforge.net > Message-ID: > <66955c170711121315r39452d71ub9ac82b965c71a5e at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Is there a way to change the time format that nagios uses? CST would > make the logs easier to read. > > > > ------------------------------ > > Message: 2 > Date: Mon, 12 Nov 2007 15:24:05 -0600 > From: "Marc Powell" > Subject: Re: [Nagios-users] Nagios time format > To: > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Jerad Riggin >> Sent: Monday, November 12, 2007 3:16 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Nagios time format >> >> Is there a way to change the time format that nagios uses? CST would >> make the logs easier to read. > > Not within the logfiles themselves (and you don't want to change them) > but this FAQ covers a couple of different ways to display them with > localtime -- http://www.nagios.org/faqs/viewfaq.php?faq_id=70 > > -- > Marc > > > > > ------------------------------ > > Message: 3 > Date: Mon, 12 Nov 2007 13:24:53 -0800 > From: GT4NE1 > Subject: Re: [Nagios-users] Two instances of ndo2db running... > To: "Valdinger, Stephen (DOV, MSX)" > Cc: Patrick Morris , > nagios-users at lists.sourceforge.net > Message-ID: > <18894d440711121324y29f19742j85eb59a88eefa163 at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Okay, maybe you are right. > > I just rechecked my database and their are recent entries in there. > > Sorry and thanks. > > -GT > > On 11/12/07, Valdinger, Stephen (DOV, MSX) wrote: >> This is correct, I just verified to make sure that mine behaves the same >> way, and alas, it does. >> >> >> >> -----Original Message----- >> From: Patrick Morris [mailto:patrick.morris at hp.com] >> Sent: Monday, November 12, 2007 2:48 PM >> To: GT4NE1 >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Two instances of ndo2db running... >> >> On Mon, 12 Nov 2007, GT4NE1 wrote: >> >> > Any ideas why two ndo2db process are starting? >> >> That's just the way it works. If you only saw one, it'd mean it wasn't >> working. >> >> You'll see one when you start it up, and a second will appear when >> Nagios uses it. It's not a problem. >> >> ------------------------------------------------------------------------ >> - >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.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 >> >> > > > > ------------------------------ > > Message: 4 > Date: Mon, 12 Nov 2007 16:52:16 -0500 > From: "Robert Gil" > Subject: [Nagios-users] Date/Time and Additional Info Shows as $ > To: > Message-ID: > <4AB4EC5F69C3774C875B1BD8CB658B1A02965053 at ny0ech01.LNHOLDINGS.COM> > Content-Type: text/plain; charset="us-ascii" > > For some reason the Date/Time and Additional Info don't show up. Any > thoughts as to why this might be? I couldn't find anything about it > online. > > > > ***** Nagios ***** > > > > Notification Type: PROBLEM > > > > Service: Storage / > > Host: Unix Server > > Address: xxx.xxx.xxx.xxx > > State: CRITICAL > > > > Date/Time: $ > > > > Additional Info: > > > > $ > > > > Thanks, > > Rob > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 5 > Date: Mon, 12 Nov 2007 17:07:08 -0500 > From: "Haydn Solomon" > Subject: Re: [Nagios-users] Date/Time and Additional Info Shows as $ > To: "Robert Gil" > Cc: nagios-users at lists.sourceforge.net > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > You're probably using wrong/outdated macros. Check the documentation for > version of nagios you're using and update your commands configuration > files. > > > On Nov 12, 2007 4:52 PM, Robert Gil wrote: > >> For some reason the Date/Time and Additional Info don't show up. Any >> thoughts as to why this might be? I couldn't find anything about it >> online. >> >> >> >> ***** Nagios ***** >> >> >> >> Notification Type: PROBLEM >> >> >> >> Service: Storage / >> >> Host: Unix Server >> >> Address: xxx.xxx.xxx.xxx >> >> State: CRITICAL >> >> >> >> Date/Time: $ >> >> >> >> Additional Info: >> >> >> >> $ >> >> >> >> Thanks, >> >> Rob >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.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... > > ------------------------------ > > Message: 6 > Date: Mon, 12 Nov 2007 13:27:23 -0900 > From: Israel Brewster > Subject: [Nagios-users] Status display colors > To: Nagios Users mailinglist > Message-ID: <52CB1EC1-3305-4C96-999A-65230D815C7D at frontierflying.com> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > Is there any way to change the colors generated by status.cgi? My > boss is complaining that it is really hard for him to read the dark > blue hostname on the dark red background you get when a host is down. > Thanks! > > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > > > > > > ------------------------------ > > Message: 7 > Date: Mon, 12 Nov 2007 16:35:23 -0600 > From: "Marc Powell" > Subject: Re: [Nagios-users] Status display colors > To: "Nagios Users mailinglist" > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Israel Brewster >> Sent: Monday, November 12, 2007 4:27 PM >> To: Nagios Users mailinglist >> Subject: [Nagios-users] Status display colors >> >> Is there any way to change the colors generated by status.cgi? My >> boss is complaining that it is really hard for him to read the dark >> blue hostname on the dark red background you get when a host is down. > > Haven't done it myself but status.css in ~nagios/share looks to be the > ticket. > > -- > Marc > > > > ------------------------------ > > Message: 8 > Date: Mon, 12 Nov 2007 16:52:24 -0600 > From: "Jerad Riggin" > Subject: [Nagios-users] Host monitoring > To: nagios-users at lists.sourceforge.net > Message-ID: > <66955c170711121452t7725cc2do9a75acd3b88a6e4c at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > So what would be the best way to monitor in this situation? > > I have Host A, hosting two websites. > > Currently I have both websites configured as separate hosts, so in > nagios it shows up as ServerA - site.com, and another host ServerA - > siteb.com > > This doesn't seem efficient since I am pinging both sites, but it's > the same host. Ideally I would want to just ping the host, and check > strings on each site under that host. Any recommendations? > > > > ------------------------------ > > Message: 9 > Date: Mon, 12 Nov 2007 17:13:50 -0600 > From: "Marc Powell" > Subject: Re: [Nagios-users] Host monitoring > To: > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Jerad Riggin >> Sent: Monday, November 12, 2007 4:52 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Host monitoring >> >> So what would be the best way to monitor in this situation? >> >> I have Host A, hosting two websites. >> >> Currently I have both websites configured as separate hosts, so in >> nagios it shows up as ServerA - site.com, and another host ServerA - >> siteb.com >> >> This doesn't seem efficient since I am pinging both sites, but it's >> the same host. Ideally I would want to just ping the host, and check >> strings on each site under that host. Any recommendations? > > Unless I'm missing something obvious, this seems pretty straightforward. > host{} definition for the web server machine, service{} definitions for > each vhost using check_http to check them. You can craft a command{} > definition to pass the variable parameters like vhost name, uri and > search string like so -- > > define command { > command_name check_http_url > command_line $USER1$/check_http -I $HOSTADDRESS$ > -H $ARG1$ -u $ARG2$ -wt 20 -ct 30 -to 35 -s $ARG3$ > } > > To check to vhosts -- > > define service { > use generic-service > host_name my_webserver > service_description HTTP VHOST site1 > check_command > check_http_url!www.site1.com!/mypage!/html > } > > define service { > use generic-service > host_name my_webserver > service_description HTTP VHOST site2 > check_command > check_http_url!www.site2.com!/someotherpage!/html > } > > -- > Marc > > > > ------------------------------ > > Message: 10 > Date: Mon, 12 Nov 2007 20:11:22 -0600 > From: "chris serafin" > Subject: Re: [Nagios-users] check_snmp_storage fails on 2003 box, > works manually > To: "Nagios Users Mailinglist" > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > AAhhhh, after over 6+ hours of editing CLI code, my eyes failed me. I > changed these simple flags and it works great. Sorry for the newb > false alarm. > > Chris Serafin > Security Engineer > chris at chrisserafin.com > > > On Nov 12, 2007 12:58 AM, Hugo van der Kooij > wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> chris serafin wrote: >> > I'm having an issue with getting some SNMP commands to work. >> > >> > When issuing the check_snmp_storage.pl manually, I get perfect results, >> > but once I put it in Nagios 3.0b5, I get critical alerts: (Return code >> > of 127 is out of bounds - plugin may be missing) >> > >> > This is the manual command I enter and the result: >> > >> > $ sudo ./check_snmp_storage.pl -H 192.168.1.200 -C pUBLIC -m C -w 80 -c >> > 95 >> >> Great for root. But what about the account that Nagios is running as? >> Did you test it too? And where did you put check_snmp_storage.pl exactly? >> ./ is a rather relative distinction. But I think it does not matter .... >> >> > This is how I defined the command and service: >> > define command{ >> > command_name check_snmp_storage_windrive >> > command_line $USER1$/check_snmp_storage -H $HOSTADDRESS$ -C >> > $ARG1$ -m $ARG2$ -w $ARG3$ -c $ARG4$ >> >> Hold on. Why are you afraid to come out and tell nagios it is a perl >> script? >> $USER1$/check_snmp_storage !!= ./check_snmp_storage.pl >> >> For those unaware of pseudo code: !!= stands for 'is most definitly >> NOT'. Pretty much as !~= stands for 'almost but not quite unlike`;-) >> >> Hugo. >> >> - -- >> hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ >> PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc >> >> A: Yes. >> >Q: Are you sure? >> >>A: Because it reverses the logical flow of conversation. >> >>>Q: Why is top posting frowned upon? >> >> Bored? Click on http://spamornot.org/ and rate those images. >> >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.7 (GNU/Linux) >> >> iD8DBQFHN/mgBvzDRVjxmYERAmt3AKCD35Rz1k7aT3POzEvQPYUNEQXo4ACfUa0H >> Mg/Qj9Pt1/o0/6T4xxwwxZg= >> =GD0Z >> -----END PGP SIGNATURE----- >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.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 >> > > > > ------------------------------ > > Message: 11 > Date: Tue, 13 Nov 2007 08:06:08 +0100 > From: Matthias Kellermann > Subject: Re: [Nagios-users] Plugin for monitoring FreeBSD for updates > (like check_apt)? > To: "Michael W. Lucas" > Cc: Nagios Users > Message-ID: <47394CE0.9010602 at net-com.de> > Content-Type: text/plain; charset=ISO-8859-1 > > Michael W. Lucas schrieb: >> On Mon, Nov 12, 2007 at 04:42:40PM +0100, Matthias Kellermann wrote: >>> Hi list, >>> >>> anyone knows of a Nagios plugin to check the FreeBSD ports and base >>> system for updates? I'm searching for something like check_apt for >>> Debian/Ubuntu. >>> >>> One important thing is that I also want to monitor all the FreeBSD jails >>> for updates, too. Any help/hint appreciated :) >> >> None exists today. >> >> It should be fairly simple to write a NRPE wrapper around portmaster, >> however. >> >> I believe (but might be wrong) that net-snmp also has the ability to >> read the FreeBSD package database; you could run a snmpwalk on the >> target machine and compare that to a master package database. >> >> Good luck, and if you implement something be sure to let us know about >> it. > > Thanks for your answer Michael. I will see what I can do. If I have > found/implemented something useful I will let you know. > > BTW: Looking forward for your new book coming out these days. Hope it > will be released in Europe also on November 14th :) > > Matthias > >> ==ml > > > > ------------------------------ > > Message: 12 > Date: Tue, 13 Nov 2007 09:10:44 +0100 > From: "Giles Coochey" > Subject: Re: [Nagios-users] Status display colors > To: "Israel Brewster" , "Nagios Users > mailinglist" > Message-ID: > <9D30659ABCA7FB428CF91E386C3A57449A7A63 at hermes.sapphire-int.gi> > Content-Type: text/plain; charset="us-ascii" > > > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Israel Brewster >> Sent: 12 November 2007 23:27 >> To: Nagios Users mailinglist >> Subject: [Nagios-users] Status display colors >> >> Is there any way to change the colors generated by status.cgi? My >> boss is complaining that it is really hard for him to read the dark >> blue hostname on the dark red background you get when a host is down. >> Thanks! >> > > I use the Nuvola style from the NagiosExchange website, for me it's an > instant improvement in the look and feel of the Nagios frontend. > > > > ------------------------------ > > Message: 13 > Date: Tue, 13 Nov 2007 14:42:18 +0100 > From: "Florent HOUBART" > Subject: [Nagios-users] RE : Nagios CGI modification > To: , > Message-ID: > <3254342B66257B4CAB24920F49640F4F0132A406 at MEINTFR02095.wwit.adecco.net> > > Content-Type: text/plain; charset="iso-8859-1" > > Hello, > > >>Changing the link is no big deal of course. My big question is, how do I >>get a list of all the hosts in that host group passed? > > > You may find exemple of such tasks in status.cgi. You need to loop over > all the hosts and check for each if the belong to the hostgroup or not. > > Below is an extract of status.c where I only keep what would be relevant > for you (extract from function show_hostgroup_overview). > > -------------------------- > > /* find all the hosts that belong to the hostgroup */ > for(temp_hoststatus=hoststatus_list;temp_hoststatus!=NULL;temp_hoststatus=temp_hoststatus->next){ > > /* find the host... */ > temp_host=find_host(temp_hoststatus->host_name,NULL); > > /* make sure this host a member of the hostgroup */ > if(!is_host_member_of_hostgroup(hstgrp,temp_host)) > continue; > > /* make sure the user is authorized to see this host */ > if(is_authorized_for_host(temp_host,¤t_authdata)==FALSE) > continue; > > > /* Do something with the host temp_host */ > } > > --------------------------- > > Regards, > > Florent Houbart > > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 14 > Date: Tue, 13 Nov 2007 10:09:03 -0500 > From: "Michael W. Lucas" > Subject: Re: [Nagios-users] Plugin for monitoring FreeBSD for updates > (like check_apt)? > To: Matthias Kellermann > Cc: Nagios Users > Message-ID: > <20071113150903.GA50921 at bewilderbeast.blackhelicopters.org> > Content-Type: text/plain; charset=us-ascii > > On Tue, Nov 13, 2007 at 08:06:08AM +0100, Matthias Kellermann wrote: >> Michael W. Lucas schrieb: >> > On Mon, Nov 12, 2007 at 04:42:40PM +0100, Matthias Kellermann wrote: >> >> Hi list, >> >> >> >> anyone knows of a Nagios plugin to check the FreeBSD ports and base >> >> system for updates? I'm searching for something like check_apt for >> >> Debian/Ubuntu. >> >> >> >> One important thing is that I also want to monitor all the FreeBSD >> >> jails >> >> for updates, too. Any help/hint appreciated :) >> > >> > None exists today. >> > >> > It should be fairly simple to write a NRPE wrapper around portmaster, >> > however. >> > >> > I believe (but might be wrong) that net-snmp also has the ability to >> > read the FreeBSD package database; you could run a snmpwalk on the >> > target machine and compare that to a master package database. >> > >> > Good luck, and if you implement something be sure to let us know about >> > it. >> >> Thanks for your answer Michael. I will see what I can do. If I have >> found/implemented something useful I will let you know. >> >> BTW: Looking forward for your new book coming out these days. Hope it >> will be released in Europe also on November 14th :) > > The book physically exists, and is being shipped to stores now. You > should be able to find it any day now. > > I really need to change my .sig... > > ==ml > -- > Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org > http://www.BlackHelicopters.org/~mwlucas/ > Coming Soon: "Absolute FreeBSD" -- http://www.AbsoluteFreeBSD.com > On 5/4/2007, the TSA kept 3 pairs of my soiled undies "for security > reasons." > > > > ------------------------------ > > Message: 15 > Date: Tue, 13 Nov 2007 10:19:31 -0500 > From: "Brian A. Seklecki" > Subject: Re: [Nagios-users] Plugin for monitoring FreeBSD for updates > (like check_apt)? > To: Matthias Kellermann > Cc: nagios-users at lists.sourceforge.net > Message-ID: > <1194967171.2611.17.camel at ingress.pitbpa0.priv.collaborativefusion.com> > > Content-Type: text/plain; charset=iso-8859-1 > > > On Mon, 2007-11-12 at 16:42 +0100, Matthias Kellermann wrote: >> Hi list, >> >> anyone knows of a Nagios plugin to check the FreeBSD ports and base >> system for updates? I'm searching for something like check_apt for >> Debian/Ubuntu. > > All that you need to do is exec portaudit and trap the output. However, > mapping this into warn/crit status will get tricky. > > Most big shops have software release engineer processes that prevent > them from, as a NetBSD friend of mine calls it, "implementing massive > rolling in-place binary upgrades". > > In the hope that security will somehow be derived from that (Linux > credo, I suppose). I like the idea ether way. Let me know if you need > help testing/coding. > > ~BAS > > $ pkg_version -vL "=" > apache-2.2.4_2 < needs updating (port has 2.2.6_2) > apr-nothr-db4-1.0.1_1 < needs updating (port has 1.2.8_2) > arj-3.10.22 < needs updating (port has 3.10.22_1) > autoconf-2.59_3 < needs updating (port has 2.61_2) > autoconf-wrapper-20070404 < needs updating (port has 20071109) > > $ sudo portaudit > Affected package: perl-5.8.8 > Type of problem: perl -- regular expressions unicode data buffer > overflow. Reference: > Affected package: nagios-plugins-1.4.9,1 > Type of problem: nagios-plugins -- Long Location Header Buffer > Overflow Vulnerability. > > ~BAS > >> >> One important thing is that I also want to monitor all the FreeBSD jails >> for updates, too. Any help/hint appreciated :) >> >> Matthias >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.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 >> >> >> >> >> >> > > > > > ------------------------------ > > Message: 16 > Date: Tue, 13 Nov 2007 17:27:38 +0100 > From: Matthias Kellermann > Subject: Re: [Nagios-users] Plugin for monitoring FreeBSD for updates > (like check_apt)? > To: "Brian A. Seklecki" > Cc: nagios-users at lists.sourceforge.net > Message-ID: <4739D07A.3060107 at net-com.de> > Content-Type: text/plain; charset=ISO-8859-1 > > Brian A. Seklecki schrieb: >> On Mon, 2007-11-12 at 16:42 +0100, Matthias Kellermann wrote: >>> Hi list, >>> >>> anyone knows of a Nagios plugin to check the FreeBSD ports and base >>> system for updates? I'm searching for something like check_apt for >>> Debian/Ubuntu. >> >> All that you need to do is exec portaudit and trap the output. However, >> mapping this into warn/crit status will get tricky. >> >> Most big shops have software release engineer processes that prevent >> them from, as a NetBSD friend of mine calls it, "implementing massive >> rolling in-place binary upgrades". >> >> In the hope that security will somehow be derived from that (Linux >> credo, I suppose). I like the idea ether way. Let me know if you need >> help testing/coding. >> >> ~BAS >> >> $ pkg_version -vL "=" >> apache-2.2.4_2 < needs updating (port has 2.2.6_2) >> apr-nothr-db4-1.0.1_1 < needs updating (port has 1.2.8_2) >> arj-3.10.22 < needs updating (port has 3.10.22_1) >> autoconf-2.59_3 < needs updating (port has 2.61_2) >> autoconf-wrapper-20070404 < needs updating (port has 20071109) >> >> $ sudo portaudit >> Affected package: perl-5.8.8 >> Type of problem: perl -- regular expressions unicode data buffer >> overflow. Reference: > >> Affected package: nagios-plugins-1.4.9,1 >> Type of problem: nagios-plugins -- Long Location Header Buffer >> Overflow Vulnerability. >> >> ~BAS > > Thanks for your answer Brian. > > I've found ports-mgmt/jailaudit in the Ports. Seems quite useful yet. > I'll see how this tool can help on monitoring the installed ports for > security holes. > > Monitoring the jails for updates should work with pkg_version -vL "=" > > I'll let you know if I've made something useful. > > Matthias > > > > ------------------------------ > > Message: 17 > Date: Wed, 14 Nov 2007 00:32:43 +0800 > From: "Kuang-Chun Cheng" > Subject: [Nagios-users] nagios.log format > To: nagios-users at lists.sourceforge.net > Message-ID: > <5eb4b0650711130832g2a66d2f6g7914a6e568cdcfcd at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi, > > I want to do post-analysis of nagios.log and save the filtered result to > DB. > The format look like this: > [1194969600] CURRENT SERVICE STATE: localhost;Current > Load;OK;HARD;1;OK - load average: 0.17, 0.23, 0.20 > [1194969600] CURRENT SERVICE STATE: localhost;Current > Users;OK;HARD;1;USERS OK - 14 users currently logged in > [1194969600] CURRENT SERVICE STATE: localhost;HTTP;OK;HARD;1;HTTP OK > HTTP/1.1 200 OK - 7590 bytes in 0.006 seconds > [1194969600] CURRENT SERVICE STATE: localhost;PING;OK;HARD;1;PING OK - > Packet loss = 0%, RTA = 0.04 ms > [1194969600] CURRENT SERVICE STATE: localhost;Root > Partition;OK;HARD;1;DISK OK - free space: / 37567 MB (53% inode=96%): > [1194969600] CURRENT SERVICE STATE: localhost;SSH;OK;HARD;1;SSH OK - > OpenSSH_4.3 (protocol 2.0) > [1194969600] CURRENT SERVICE STATE: localhost;Swap > Usage;OK;HARD;1;SWAP OK - 78% free (1542 MB out of 1983 MB) > [1194969600] CURRENT SERVICE STATE: localhost;Total > Processes;OK;HARD;1;PROCS OK: 110 processes with STATE = RSZDT > > Could someone tell me what's the fields means ? > What kind of message will be log into nagios.log. Sometime I found > "SERVICE ALERT" message ... > any complete list existed for possible message ? Thanks > > Regards > KC > > > > ------------------------------ > > Message: 18 > Date: Tue, 13 Nov 2007 10:56:40 -0600 > From: "Marc Powell" > Subject: Re: [Nagios-users] nagios.log format > To: > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Kuang-Chun Cheng >> Sent: Tuesday, November 13, 2007 10:33 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] nagios.log format >> >> Hi, >> >> I want to do post-analysis of nagios.log and save the filtered result > to >> DB. >> The format look like this: > > >> >> Could someone tell me what's the fields means ? >> What kind of message will be log into nagios.log. Sometime I found >> "SERVICE ALERT" message ... >> any complete list existed for possible message ? Thanks > > The only documentation I am aware of is the source code itself > (nagios-src/base/logging.c). For anything that starts with MACRO_, you > can find more information about that in the Macros documentation. -- > > $ grep snprintf logging.c > snprintf(temp_buffer,sizeof(temp_buffer),"SERVICE ALERT: > %s;%s;%s;%s;%s;%s\n",svc->host_name,svc->description,macro_x[MACRO_SERVI > CESTATE],macro_x[MACRO_SERVICESTATETYPE],macro_x[MACRO_SERVICEATTEMPT],s > vc->plugin_output); > > [timestamp] SERVICE ALERT: > host_name;service_description;servicestate,servicestatetype,serviceattem > pt;plugin_output > > snprintf(temp_buffer,sizeof(temp_buffer),"HOST ALERT: > %s;%s;%s;%s;%s\n",hst->name,macro_x[MACRO_HOSTSTATE],macro_x[MACRO_HOSTS > TATETYPE],macro_x[MACRO_HOSTATTEMPT],hst->plugin_output); > > [timestamp] HOST ALERT: > host_name,hoststate;hoststatetype;hostattempt;plugin_output > > snprintf(temp_buffer,sizeof(temp_buffer),"%s HOST STATE: > %s;%s;%s;%s;%s\n",(type==INITIAL_STATES)?"INITIAL":"CURRENT",temp_host-> > name,macro_x[MACRO_HOSTSTATE],macro_x[MACRO_HOSTSTATETYPE],macro_x[MACRO > _HOSTATTEMPT],temp_host->plugin_output); > > [timestamp] (INITIAL|CURRENT) HOST STATE: > host_name;hoststate;hoststatetype;hostattempt;plugin_output > > snprintf(temp_buffer,sizeof(temp_buffer),"%s SERVICE > STATE: > %s;%s;%s;%s;%s;%s\n",(type==INITIAL_STATES)?"INITIAL":"CURRENT",temp_ser > vice->host_name,temp_service->description,macro_x[MACRO_SERVICESTATE],ma > cro_x[MACRO_SERVICESTATETYPE],macro_x[MACRO_SERVICEATTEMPT],temp_service > ->plugin_output); > > [timestamp] (INITIAL|CURRENT) SERVICE STATE: > host_name;service_description;servicestate;servicestatetype;serviceattem > pt;plugin_output > > snprintf(temp_buffer,sizeof(temp_buffer),"LOG ROTATION: > %s\n",method_string); > > [timestamp] LOG ROTATION (daily|weekly|monthly, etc) > > snprintf(temp_buffer,sizeof(temp_buffer),"LOG VERSION: > %s\n",LOG_VERSION_2); > > [timestamp] LOG VERION: [log version string] > > Hth, > > -- > Marc > > > > ------------------------------ > > Message: 19 > Date: Tue, 13 Nov 2007 12:50:17 -0500 > From: "Shawn Kovalchick" > Subject: [Nagios-users] Old state information randomly appearing > To: "Nagios Users Mailinglist" > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > I have 2 hosts and 4 services that I added Friday to my nagios > configuration. They were misconfigured (wrong IP addresses), and rightly > sent out notifications. I disabled notifications and active checks via > the > web interface while I was diagnosing the problem. I fixed the problems > (the > IP addresses) and reenabled the checks and notifications. Now, every once > in a while (roughly once per minute), the old data appears on the tac.cgi, > status.cgi, and extinfo.cgi pages. They will show as down/critical, and > will have the icons for disabled notifications and disabled active checks. > Then, moments later, they will show normal (OK state, with no icons for > disabled notifications/checks). I have tried purging the bad data from > the > log files, retention.dat, etc. while the Nagios daemon was stopped, but > the > bad data still shows. Is this a bug, or is there something I can do to > flush this old data? > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 20 > Date: Tue, 13 Nov 2007 12:54:02 -0500 > From: "Shawn Kovalchick" > Subject: Re: [Nagios-users] Old state information randomly appearing > To: "Nagios Users Mailinglist" > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > Actually, the timing is a bit different than what I described below. > Refreshing once per second, I was able to determining that the correct > state > shows for 5 seconds, then the incorrect state shows for 10 seconds, then > the > process repeats. > > On 11/13/07, Shawn Kovalchick wrote: >> >> I have 2 hosts and 4 services that I added Friday to my nagios >> configuration. They were misconfigured (wrong IP addresses), and rightly >> sent out notifications. I disabled notifications and active checks via >> the >> web interface while I was diagnosing the problem. I fixed the problems >> (the >> IP addresses) and reenabled the checks and notifications. Now, every >> once >> in a while (roughly once per minute), the old data appears on the >> tac.cgi, >> status.cgi, and extinfo.cgi pages. They will show as down/critical, and >> will have the icons for disabled notifications and disabled active >> checks. >> Then, moments later, they will show normal (OK state, with no icons for >> disabled notifications/checks). I have tried purging the bad data from >> the >> log files, retention.dat, etc. while the Nagios daemon was stopped, but >> the bad data still shows. Is this a bug, or is there something I can do >> to >> flush this old data? >> > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 21 > Date: Tue, 13 Nov 2007 19:03:50 +0100 > From: "SCHAER Frederic" > Subject: Re: [Nagios-users] no newlines in notification emails ? > To: "Jaimie Livingston" , > > Message-ID: > > Content-Type: text/plain; charset="us-ascii" > > Hi, > > Maybe a stupid question, but did you solve the problem ? > I upgraded to nagiosb6 beta and I still get no newlines in the service > notifications (host notifications are fine)... wondering if that's me or > something else. > > Cheers > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Jaimie Livingston >> Sent: Thursday, November 01, 2007 2:24 AM >> To: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] no newlines in notification emails ? >> >> I had the same problem when I was testing 3.0b4 on CentOS. I thought > it was just me at the time... >> >> >> - Jaimie Livingston (jaimielives) >> > > > > ------------------------------ > > Message: 22 > Date: Tue, 13 Nov 2007 12:07:06 -0600 > From: "Marc Powell" > Subject: Re: [Nagios-users] Old state information randomly appearing > To: "Nagios Users Mailinglist" > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Shawn Kovalchick >> Sent: Tuesday, November 13, 2007 11:50 AM >> To: Nagios Users Mailinglist >> Subject: [Nagios-users] Old state information randomly appearing >> >> I have 2 hosts and 4 services that I added Friday to my nagios >> configuration. They were misconfigured (wrong IP addresses), and > rightly >> sent out notifications. I disabled notifications and active checks > via >> the web interface while I was diagnosing the problem. I fixed the >> problems (the IP addresses) and reenabled the checks and > notifications. >> Now, every once in a while (roughly once per minute), the old data > appears >> on the tac.cgi, status.cgi, and extinfo.cgi pages. They will show as > > FAQ in disguise: http://www.nagios.org/faqs/viewfaq.php?faq_id=21 > > -- > Marc > > > > > > > ------------------------------ > > Message: 23 > Date: Tue, 13 Nov 2007 13:18:46 -0500 > From: "Shawn Kovalchick" > Subject: Re: [Nagios-users] Old state information randomly appearing > To: "Marc Powell" > Cc: Nagios Users Mailinglist > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > The hosts weren't disappearing, just showing inconsistant states. Anyway, > that fixed the problem. Thanks, Marc! > > > On 11/13/07, Marc Powell wrote: >> >> >> >> > -----Original Message----- >> > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> > bounces at lists.sourceforge.net] On Behalf Of Shawn Kovalchick >> > Sent: Tuesday, November 13, 2007 11:50 AM >> > To: Nagios Users Mailinglist >> > Subject: [Nagios-users] Old state information randomly appearing >> > >> > I have 2 hosts and 4 services that I added Friday to my nagios >> > configuration. They were misconfigured (wrong IP addresses), and >> rightly >> > sent out notifications. I disabled notifications and active checks >> via >> > the web interface while I was diagnosing the problem. I fixed the >> > problems (the IP addresses) and reenabled the checks and >> notifications. >> > Now, every once in a while (roughly once per minute), the old data >> appears >> > on the tac.cgi, status.cgi, and extinfo.cgi pages. They will show as >> >> FAQ in disguise: http://www.nagios.org/faqs/viewfaq.php?faq_id=21 >> >> -- >> Marc >> >> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.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... > > ------------------------------ > > Message: 24 > Date: Tue, 13 Nov 2007 13:30:33 -0600 > From: "Jerad Riggin" > Subject: [Nagios-users] Monitoring a process > To: nagios-users at lists.sourceforge.net > Message-ID: > <66955c170711131130s381655f2rfeeabbb626c3480b at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Would it be possible using Nsclient++ to monitor for a process name? > We need to make sure Outlook.exe is running on the server and if it > isn't, send out notifications. > > Thanks, > > Jerad > > > > ------------------------------ > > Message: 25 > Date: Tue, 13 Nov 2007 14:36:47 -0500 > From: Christy.New at cancer.org > Subject: [Nagios-users] Were can I find the check_snmp plugin > To: nagios-users at lists.sourceforge.net > Message-ID: > > Content-Type: text/plain; charset=US-ASCII > > > I need to download the check_snmp plugin for Ubuntu for Nagios. > > Very Respectfully, > Chris > > > > > ------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > ------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > End of Nagios-users Digest, Vol 18, Issue 20 > ******************************************** > ---------------------------------------------- Confidentiality Note: This e-mail message and any attachments to it are intended only for the named recipients and may contain legally privileged and/or confidential information. If you are not one of the intended recipients, please forward this mail to abuse at sumasoft.net and do not duplicate or forward this e-mail message and immediately delete it from your computer. ---------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 palleje at gmail.com Wed Nov 14 17:52:40 2007 From: palleje at gmail.com (Palle L Jensen) Date: Wed, 14 Nov 2007 11:52:40 -0500 Subject: Authentication question In-Reply-To: References: <000001c826cc$90390920$98ad38a6@na.dsmain.com> Message-ID: <004001c826de$c5a773a0$98ad38a6@na.dsmain.com> Thanks Marc, Working fine now. The authorized_for_* settings was what I had missed out on. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Wednesday, November 14, 2007 9:59 AM To: Nagios Users Subject: Re: [Nagios-users] Authentication question > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Palle L Jensen > Sent: Wednesday, November 14, 2007 8:42 AM > To: Nagios Users > Subject: Re: [Nagios-users] Authentication question > > Thanks Marc for your quick response, > > I've tried a few variations and the result is > I don't get the logon window (which Is good, we don't want the logon > window), but I can still not execute the cgi commands. > > I changed these sections in the cgi.cfg > use_authentication=0 (tried both 0 and 1) This should be 1. > default_user_name=guest (enabled) This is fine. > authorized_for _system_command=* (tried both * and root,nagios,guest) This only says that anyone can shutdown or restart nagios or change it from active to standby. You want more than that. You'll want to look at all the authorized_for_* settings in cgi.cfg, but specifically -- authorized_for_all_services authorized_for_all_hosts authorized_for_all_service_commands authorized_for_all_host_commands -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 dit.dash at gmail.com Wed Nov 14 17:53:40 2007 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Wed, 14 Nov 2007 11:53:40 -0500 Subject: Can Nagios implement with Expect to automate tasks when issues arise? In-Reply-To: <473B2202.1080702@garlic.com> References: <473B2202.1080702@garlic.com> Message-ID: <7f62d2420711140853y258cd6aay68551f139059d881@mail.gmail.com> Event handlers can take care of any common task but you need to be careful with them. Why is a task required to be done so frequently? Shouldn't we take care of the cause rather than the symptom? Also, scripts that "fix" known problems can be very dangerous if they inadvertantly run at times when a service/host looks critical but perhaps "critical" wasn't well enough defined, particularly if you're not using parent dependancies. So if you do go this root (pun intended), add in a LOT of checks to the expect script. On Nov 14, 2007 11:27 AM, Patrick M. wrote: > Hi all, > > I just learned what Expect was and wrote a few scripts to automate > certain tasks around the office, and now I'm wondering if Expect can be > used in conjunction with Nagios. Is this possible? > > Example: One of our servers go down at least twice a day, and we know > it's problematic. We connect to the power strip and recycle the power > on the port that machine is plugged in. I'd like to use Expect to > automate this when Nagios notices it is down. > > Has anyone else implemented something similar to what I'm describing? > > Thanks in advance. > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Wed Nov 14 17:59:13 2007 From: ae at op5.se (Andreas Ericsson) Date: Wed, 14 Nov 2007 17:59:13 +0100 Subject: LART, please (was: Re: Nagios-users Digest, Vol 18, Issue 20) In-Reply-To: <013501c826dd$1598ea30$1564a8c0@ssplsys1> References: <013501c826dd$1598ea30$1564a8c0@ssplsys1> Message-ID: <473B2961.3080208@op5.se> Mangesh Dhamale wrote: > Hi All, > I have configured nagios. Can any body file regarding nagios-plugin. > Actually i have configured windows system using nsclient++. How to monitor > remote linux boxes like cpu load,disk...etc. > Did you really have to include the *entire* digest just to ask that? Read this: http://www.catb.org/~esr/faqs/smart-questions.html It holds the solution to the most urgent of your many problems. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 patrickm at garlic.com Wed Nov 14 20:05:50 2007 From: patrickm at garlic.com (Patrick M.) Date: Wed, 14 Nov 2007 11:05:50 -0800 Subject: Can Nagios implement with Expect to automate tasks when issues arise? In-Reply-To: <7f62d2420711140853y258cd6aay68551f139059d881@mail.gmail.com> References: <473B2202.1080702@garlic.com> <7f62d2420711140853y258cd6aay68551f139059d881@mail.gmail.com> Message-ID: <473B470E.2050905@garlic.com> Until we can move the scripts off that machine onto its new home, we have to reboot this system. Sometimes it happens once, sometimes it happens multiple times a day. These aren't critical systems, so it wouldn't hurt anything if these were rebooted multiple times. Thank you very much for the information, and the pointers. And yes, I agree - we should take care of the cause rather than the symptom. Thanks again. Patrick dave stern - e-mail.pluribus.unum wrote: > Event handlers can take care of any common task but you need to > be careful with them. Why is a task required to be done so frequently? > Shouldn't we take care of the cause rather than the symptom? > > Also, scripts that "fix" known problems can be very dangerous if > they inadvertantly run at times when a service/host looks critical > but perhaps "critical" wasn't well enough defined, particularly if > you're not using parent dependancies. So if you do go this root > (pun intended), add in a LOT of checks to the expect script. > > On Nov 14, 2007 11:27 AM, Patrick M. wrote: > >> Hi all, >> >> I just learned what Expect was and wrote a few scripts to automate >> certain tasks around the office, and now I'm wondering if Expect can be >> used in conjunction with Nagios. Is this possible? >> >> Example: One of our servers go down at least twice a day, and we know >> it's problematic. We connect to the power strip and recycle the power >> on the port that machine is plugged in. I'd like to use Expect to >> automate this when Nagios notices it is down. >> >> Has anyone else implemented something similar to what I'm describing? >> >> Thanks in advance. >> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jriggin at gmail.com Wed Nov 14 21:40:02 2007 From: jriggin at gmail.com (Jerad Riggin) Date: Wed, 14 Nov 2007 14:40:02 -0600 Subject: Host monitoring In-Reply-To: References: <66955c170711121452t7725cc2do9a75acd3b88a6e4c@mail.gmail.com> Message-ID: <66955c170711141240s2903d01cj663f9eec4076d275@mail.gmail.com> I understand this part, but for example right now the service description for each host is CheckString. That way I can group all of them into a service group based on that description so we can pull availability reports for the host and the only service being monitored. If I wanted to do it your way, wouldn't I have to use the service description of each check in the servicegroups config file? On Nov 12, 2007 5:13 PM, Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Jerad Riggin > > Sent: Monday, November 12, 2007 4:52 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Host monitoring > > > > So what would be the best way to monitor in this situation? > > > > I have Host A, hosting two websites. > > > > Currently I have both websites configured as separate hosts, so in > > nagios it shows up as ServerA - site.com, and another host ServerA - > > siteb.com > > > > This doesn't seem efficient since I am pinging both sites, but it's > > the same host. Ideally I would want to just ping the host, and check > > strings on each site under that host. Any recommendations? > > Unless I'm missing something obvious, this seems pretty straightforward. > host{} definition for the web server machine, service{} definitions for > each vhost using check_http to check them. You can craft a command{} > definition to pass the variable parameters like vhost name, uri and > search string like so -- > > define command { > command_name check_http_url > command_line $USER1$/check_http -I $HOSTADDRESS$ > -H $ARG1$ -u $ARG2$ -wt 20 -ct 30 -to 35 -s $ARG3$ > } > > To check to vhosts -- > > define service { > use generic-service > host_name my_webserver > service_description HTTP VHOST site1 > check_command > check_http_url!www.site1.com!/mypage!/html > } > > define service { > use generic-service > host_name my_webserver > service_description HTTP VHOST site2 > check_command > check_http_url!www.site2.com!/someotherpage!/html > } > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 JHorowitz at looksmart.net Wed Nov 14 21:45:20 2007 From: JHorowitz at looksmart.net (Jonah Horowitz) Date: Wed, 14 Nov 2007 12:45:20 -0800 Subject: Issues with Distributed Nagios Message-ID: <3123F9D3D56CDF499431864372968D2F010B2D24@SFEX2K3-EVS1.looksmart_sf.ad.looksmart.com> Hello all, I'm running a distributed nagios installation with about 500 hosts and 4000 checks. Almost all of my checks run at five minute intervals. I'm trying to move from a centralized to a distributed situation because my latency has gotten to about 75 seconds average on the central server. I've built a new central server and two distributed nodes. My distributed nodes are having no trouble keeping up with the checks. The latency is less than 10 seconds on both of them, but the latency on the central server is really high, 350-650 seconds. I'm seeing freshness timeouts and errors. The checks are getting submitted, but there seems to be a horrible latency between the check result and when the central server gets it. Any help would be appreciated. Thanks, Jonah submit_service_check is as follows: $USER1$/eventhandlers/submit_service_check $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATEID$ '$SERVICEOUTPUT$' #!/bin/bash ########################################################### # Arguments: # $1 = host_name (Short name of host that the service is # associated with) # $2 = svc_description (Description of the service) # $3 = state_string (A string representing the status of # the given service - "OK", "WARNING", "CRITICAL" # or "UNKNOWN") # $4 = plugin_output (A text string that should be used # as the plugin output for the service checks) # ########################################################### PRINTF="/usr/bin/printf" CMD="/usr/pkg/nsca/bin/send_nsca" CFG="/usr/pkg/nsca/etc/send_nsca.cfg" HOST=$1 SRV=$2 RESULT=$3 OUTPUT=$4 # pipe the service check info into the send_nsca program, which # in turn transmits the data to the nsca daemon on the central # monitoring server # /bin/printf "%s:%s:%s:%s\n" "$1" "$2" "$RESULT" "$4" | $CMD -H plato -c $CFG -d : #$PRINTF "%b" "$HOST:$SRV:$RESULT:$OUTPUT" | $CMD -H plato -c $CFG -d : echo "$HOST:$SRV:$RESULT:$OUTPUT -- FYI: this is a distributed passive SERVICE alert fed from `hostname`" | /usr/pkg/nsca/bin/send_nsca -H central -p 5667 -c /usr/pkg/nsca/etc/send_nsca.cfg -d : ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Nov 14 22:14:36 2007 From: marc at ena.com (Marc Powell) Date: Wed, 14 Nov 2007 15:14:36 -0600 Subject: Host monitoring In-Reply-To: <66955c170711141240s2903d01cj663f9eec4076d275@mail.gmail.com> References: <66955c170711141240s2903d01cj663f9eec4076d275@mail.gmail.com> Message-ID: Because it sucks and is hard to follow conversations. Why not? Don't top-post please. > -----Original Message----- > From: Jerad Riggin [mailto:jriggin at gmail.com] > Sent: Wednesday, November 14, 2007 2:40 PM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Host monitoring > > I understand this part, but for example right now the service > description for each host is CheckString. That way I can group all of > them into a service group based on that description so we can pull > availability reports for the host and the only service being Ah, more details come to light. > monitored. If I wanted to do it your way, wouldn't I have to use the > service description of each check in the servicegroups config file? I don't use servicegroups but I expect that could easily be resolved by logical naming of the services (CheckString-vhostname) and using wildcards or regex in your servicegroup match (CheckString-*). -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Nov 14 22:52:21 2007 From: marc at ena.com (Marc Powell) Date: Wed, 14 Nov 2007 15:52:21 -0600 Subject: Issues with Distributed Nagios In-Reply-To: <3123F9D3D56CDF499431864372968D2F010B2D24@SFEX2K3-EVS1.looksmart_sf.ad.looksmart.com> References: <3123F9D3D56CDF499431864372968D2F010B2D24@SFEX2K3-EVS1.looksmart_sf.ad.looksmart.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jonah Horowitz > Sent: Wednesday, November 14, 2007 2:45 PM > To: Nagios Users Mailinglist > Subject: [Nagios-users] Issues with Distributed Nagios > > Hello all, > > I'm running a distributed nagios installation with about 500 hosts and > 4000 checks. Almost all of my checks run at five minute intervals. Pretty close to the same here... Passive Service Checks: Time Frame Checks Completed <= 1 minute: 669 (17.7%) <= 5 minutes: 3681 (97.3%) <= 15 minutes: 3782 (99.9%) <= 1 hour: 3782 (99.9%) Since program start: 3782 (99.9%) > latency is less than 10 seconds on both of them, but the latency on the > central server is really high, 350-650 seconds. I'm seeing freshness > timeouts and errors. How are you measuring the latency on the central server? Nagios doesn't report it for passive checks AFAIK. Do you see the checks come in to nsca? Do you see them in nagios.log? Are they timely in both places? Nsca debug mode might be useful. You really need to determine where the latency is appearing to give us a better idea of where to help. > The checks are getting submitted, but there seems to be a horrible > latency between the check result and when the central server gets it. The OCSP -> send_nsca -> nsca -> nagios.cmd process should be nearly instantaneous. Do you see nsca processes hanging around on your central server (besides the daemon)? Do you have nagios reaping external commands frequently enough? See the command_check_interval setting in nagios.cfg. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jchaunce at harris.com Thu Nov 15 14:22:09 2007 From: jchaunce at harris.com (Chauncey, Jeffrey) Date: Thu, 15 Nov 2007 08:22:09 -0500 Subject: Notification Delay Message-ID: <4799162F83C25748A047C01EF92ED9A9B7E9AF@mlbe2k5.cs.myharris.net> Please forgive if this question has already been answered previously, so far I have not found an answer online. I am looking for a way to delay notification when a problem occurs. When we reboot a node, we get a host down/up message and I would like to delay notification for a minute to cut down on the email traffic. Any ideas? Thanks in advance for your assistance. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 svalding at kent.edu Thu Nov 15 14:16:52 2007 From: svalding at kent.edu (svalding at kent.edu) Date: Thu, 15 Nov 2007 08:16:52 -0500 Subject: Contacting Ethen Message-ID: I'd like to get ahold of Ethen about consulting Nagios installations. I want to start doing installs of the Nagios system for businesses in my area, as there is a lot of need for it. How would be the best way to get in contact with him to discuss this? Stephen -------------- next part -------------- A non-text attachment was scrubbed... Name: svalding.vcf Type: text/x-vcard Size: 131 bytes Desc: Card for URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 gcoochey at sapphire.gi Thu Nov 15 14:34:55 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Thu, 15 Nov 2007 14:34:55 +0100 Subject: Contacting Ethen In-Reply-To: References: Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A7B82@hermes.sapphire-int.gi> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of svalding at kent.edu > Sent: 15 November 2007 14:17 > To: Nagios List > Subject: [Nagios-users] Contacting Ethen > > I'd like to get ahold of Ethen about consulting Nagios installations. I > want to start doing installs of the Nagios system for businesses in my > area, as there is a lot of need for it. How would be the best way to get > in contact with him to discuss this? > > Stephen http://www.nagios.com/contact/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 lists at nexus6.co.za Thu Nov 15 14:45:26 2007 From: lists at nexus6.co.za (Andy Ashley) Date: Thu, 15 Nov 2007 13:45:26 +0000 Subject: Granular user/group authentication and resources Message-ID: <473C4D76.6050606@nexus6.co.za> Hello, I would like to know if it is currently possible to do the following: For e.g - I have a Nagios system that monitors all of our customer servers and each customers' hosts are grouped by company name. Any alerts generated are sent to that host group's associated contact group which has that company's staff as contacts. What would be really useful, is if a customer could log in and only view and make changes to those hosts that are in their host group, i.e lock that customer down to the hosts and services that concern them, isolating them from rest of the monitored hosts and customers in the interface. As it stands now, any customer could log in and view any other customers' hosts and possibly make changes depending on permissions granted to that user. Obviously not an ideal situation and something preventing us from granting customer access to Nagios. I have read through the auth sections of the docs but as far as I can tell it only seems possible to limit use of certain commands and set privledge levels by user/group. Perhaps I misssed something.. Is this something that can be configured with a present version of Nagios or if not, will this be possible in future releases? This would be really handy for us as customers could essentially log in and deal with their own alerts instead of requesting our support team to disable an alert and re-enable when the issue is resolved. Any input would be much appreciated.. Thanks. Andy. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 danilo.perdomo at inter.com.ve Thu Nov 15 15:00:44 2007 From: danilo.perdomo at inter.com.ve (danilo.perdomo at inter.com.ve) Date: Thu, 15 Nov 2007 10:00:44 -0400 Subject: Problems with check_rrd_bw.sh plugin Message-ID: Hi all! I've been having problems with the Nagios plugin check_rrd_bw.sh. It checks the traffic of some of my links in a RRD format. The thing is that every now and then i get some results that are incorrect (-2147 Mbps) and affects the alert notifications in case some of the links are in a critical value. Has anyone used the plugin? any help? The output in Nagios: OK - Current BW in: -2147Mbps Here's the plugin: http://pastebin.com/m27ba16ad Thanks! Danilo Perdomo VP Operaciones T?cnicas Intercable Barquisimeto - MSO Ext.: 5393 Tlf.: 58-251-9355393 Cel.: 58-414-5750938 www.intercable.com.ve -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Nov 15 15:07:37 2007 From: marc at ena.com (Marc Powell) Date: Thu, 15 Nov 2007 08:07:37 -0600 Subject: Granular user/group authentication and resources In-Reply-To: <473C4D76.6050606@nexus6.co.za> References: <473C4D76.6050606@nexus6.co.za> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Andy Ashley > Sent: Thursday, November 15, 2007 7:45 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Granular user/group authentication and resources > > What would be really useful, is if a customer could log in and only view > and make changes to those hosts that are in their host group, i.e lock > that customer down to > the hosts and services that concern them, isolating them from rest of > the monitored hosts and customers in the interface. Nagios does this automagically if you enable authentication for the CGI's. Hosts and services will only be viewable/modifiable by their contacts. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jeff.perri at shaw.ca Thu Nov 15 15:56:31 2007 From: jeff.perri at shaw.ca (Jeff Perri) Date: Thu, 15 Nov 2007 09:56:31 -0500 Subject: How to monitor coldfusion through nagios Message-ID: Hi, I have been searching around looking for a plugin that allows me to monitor my coldfusion process on a Linux machine but I have yet to find one. Has anyone implemented this type of plugin yet or does anyone know how I would monitor this process via Nagios? Thanks Jeff Perri Network Administrator Ontario WorkInfoNet Sault Ste. Marie, Ontario netadmin at onwin.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 pico at cocco.biz Thu Nov 15 16:02:28 2007 From: pico at cocco.biz (PiCo) Date: Thu, 15 Nov 2007 16:02:28 +0100 Subject: using nagios via socks proxy In-Reply-To: References: Message-ID: Hi All I found the answer by myself. :-D I'm quite sure (still testing some think) that using "tsocks" ( http://tsocks.sourceforge.net/ ) for command check I can reach the host via socks proxy! Do not esitate to contact me for more details. PiCo On Tue, 06 Nov 2007 17:53:50 +0100, PiCo wrote: > Hi! > > I need to monitor some hosts that can only be accessed via a SOCKS proxy > (SSH tunneling). > > I'm using FREECAP on windows... but if I want to monitor this hosts with > nagios.... What I have to do? > > Any idea ?? > > -- ,,, /'^'\ ( o o ) ----------------------------------------oOOO--(_)--OOOo------ Pierfrancesco Cocco EMail: pico at cocco.biz Web: www.cocco.biz ICQ#: 105570291 SkypeID: cocco.biz Tel.: +39 335 1234 475 Fax.: +39 06 233 2401 88 .oooO ( ) Oooo. ------------------------------------------\ (----( )------- \_) ) / (_/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hpsekhon at googlemail.com Thu Nov 15 16:06:21 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 15 Nov 2007 15:06:21 +0000 Subject: Notification Delay In-Reply-To: <4799162F83C25748A047C01EF92ED9A9B7E9AF@mlbe2k5.cs.myharris.net> References: <4799162F83C25748A047C01EF92ED9A9B7E9AF@mlbe2k5.cs.myharris.net> Message-ID: <473C606D.1050706@googlemail.com> increase max check attempts or check interval on the host for this rebooting scenario. Notifications are sent only after the max check attempts have failed. -h Hari Sekhon Chauncey, Jeffrey wrote: > > Please forgive if this question has already been answered previously, > so far I have not found an answer online. > > I am looking for a way to delay notification when a problem occurs. > When we reboot a node, we get a host down/up message and I would like > to delay notification for a minute to cut down on the email traffic. > > Any ideas? Thanks in advance for your assistance. > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hpsekhon at googlemail.com Thu Nov 15 16:08:41 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 15 Nov 2007 15:08:41 +0000 Subject: Notification Delay In-Reply-To: <473C606D.1050706@googlemail.com> References: <4799162F83C25748A047C01EF92ED9A9B7E9AF@mlbe2k5.cs.myharris.net> <473C606D.1050706@googlemail.com> Message-ID: <473C60F9.1000403@googlemail.com> ah, need to correct myself, do not use check interval on hosts as this means to regularly check host regardless. make max check attempts a larger number to give yourself more time for a reboot so that it doesn't notify you unless the machine is really down and staying down. -h Hari Sekhon Hari Sekhon wrote: > increase max check attempts or check interval on the host for this > rebooting scenario. Notifications are sent only after the max check > attempts have failed. > > -h > > Hari Sekhon > > > > Chauncey, Jeffrey wrote: >> >> Please forgive if this question has already been answered previously, >> so far I have not found an answer online. >> >> I am looking for a way to delay notification when a problem occurs. >> When we reboot a node, we get a host down/up message and I would like >> to delay notification for a minute to cut down on the email traffic. >> Any ideas? Thanks in advance for your assistance. >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 jeff.perri at shaw.ca Thu Nov 15 16:10:24 2007 From: jeff.perri at shaw.ca (Jeff Perri) Date: Thu, 15 Nov 2007 10:10:24 -0500 Subject: How to monitor coldfusion through nagios In-Reply-To: References: Message-ID: I am using Nagios 3.0b1. My Nagios server is it's own box that I have other monitoring software on. I have 3 production coldfusion servers that I would like to monitor through my nagios server. _____ From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Thursday, November 15, 2007 10:05 AM To: Jeff Perri; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] How to monitor coldfusion through nagios Why not use the check_procs that is available in the standard plugins? You can use the -p switch to supply the PID of the process you are wanting to monitor. I don't have coldfusion installed, but I think a ps -ef | grep coldfusion would help you find that number if you are unsure of it. What version on Nagios are usings? The plugins? Is this process on the same machine as the Nagios process, or is it on a remote machine? Please provide a little more information to the list so that we may better assist you. Stephen From: Jeff Perri [mailto:jeff.perri at shaw.ca] Sent: Thursday, November 15, 2007 9:57 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] How to monitor coldfusion through nagios Hi, I have been searching around looking for a plugin that allows me to monitor my coldfusion process on a Linux machine but I have yet to find one. Has anyone implemented this type of plugin yet or does anyone know how I would monitor this process via Nagios? Thanks Jeff Perri Network Administrator Ontario WorkInfoNet Sault Ste. Marie, Ontario netadmin at onwin.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 hpsekhon at googlemail.com Thu Nov 15 16:15:09 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 15 Nov 2007 15:15:09 +0000 Subject: How to monitor coldfusion through nagios In-Reply-To: References: Message-ID: <473C627D.70305@googlemail.com> Jeff Perri wrote: > > I am using Nagios 3.0b1. My Nagios server is it?s own box that I have > other monitoring software on. I have 3 production coldfusion servers > that I would like to monitor through my nagios server. > Does look like many people know much about cold fusion, but then you are probably asking the wrong question. If you want to test a webapp, use the standard webapp testing methods, check_http, webinject etc... If you want to test other processes or something that you would check on a local machine, then use remote execution (ie nrpe,nsca) + plugins like check_procs. -h Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Nov 15 16:30:39 2007 From: marc at ena.com (Marc Powell) Date: Thu, 15 Nov 2007 09:30:39 -0600 Subject: Notification Delay In-Reply-To: <473C60F9.1000403@googlemail.com> References: <473C60F9.1000403@googlemail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon > Sent: Thursday, November 15, 2007 9:09 AM > To: Chauncey, Jeffrey > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Notification Delay > > ah, need to correct myself, do not use check interval on hosts as this > means to regularly check host regardless. > > make max check attempts a larger number to give yourself more time for a > reboot so that it doesn't notify you unless the machine is really down > and staying down. The caveat being that nagios will be doing nothing else except obsessing over this host up to max_check_attempts to don't make it an unreasonable number. Host escalations might be an alternative as well. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Garry.Cook at arcadis-us.com Thu Nov 15 17:06:29 2007 From: Garry.Cook at arcadis-us.com (Cook, Garry) Date: Thu, 15 Nov 2007 09:06:29 -0700 Subject: Problems with check_rrd_bw.sh plugin In-Reply-To: References: Message-ID: <1689390EF608584D85BA56D958A5D1E44E9EE50197@CorpExMBS1.arcadis-us.com> I've used it. In fact, I wrote it. However, the version you pointed to is an old one. Israel Brewster did a lot of work on tuning this plugin and fixing some of my original mistakes. You should check Nagios Exchange for the latest version. Thanks, Garry From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of danilo.perdomo at inter.com.ve Sent: Thursday, November 15, 2007 7:01 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problems with check_rrd_bw.sh plugin Hi all! I've been having problems with the Nagios plugin check_rrd_bw.sh. It checks the traffic of some of my links in a RRD format. The thing is that every now and then i get some results that are incorrect (-2147 Mbps) and affects the alert notifications in case some of the links are in a critical value. Has anyone used the plugin? any help? The output in Nagios: OK - Current BW in: -2147Mbps Here's the plugin: http://pastebin.com/m27ba16ad Thanks! Danilo Perdomo VP Operaciones T?cnicas Intercable Barquisimeto - MSO Ext.: 5393 Tlf.: 58-251-9355393 Cel.: 58-414-5750938 www.intercable.com.ve ________________________________ NOTICE: This e-mail and any files transmitted with it are the property of ARCADIS U.S., Inc. and its affiliates. All rights, including without limitation copyright, are reserved. The proprietary information contained in this e-mail message, and any files transmitted with it, is intended for the use of the recipient(s) named above. If the reader of this e-mail is not the intended recipient, you are hereby notified that you have received this e-mail in error and that any review, distribution or copying of this e-mail or any files transmitted with it is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the original message and any files transmitted. The unauthorized use of this e-mail or any files transmitted with it is prohibited and disclaimed by ARCADIS U.S., Inc. and its affiliates. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 rgil at liquidnet.com Thu Nov 15 17:21:24 2007 From: rgil at liquidnet.com (Robert Gil) Date: Thu, 15 Nov 2007 11:21:24 -0500 Subject: submit_check_result always critical In-Reply-To: <4AB4EC5F69C3774C875B1BD8CB658B1A02965940@ny0ech01.LNHOLDINGS.COM> References: <4AB4EC5F69C3774C875B1BD8CB658B1A02965793@ny0ech01.LNHOLDINGS.COM><473AF01A.4010505@aei.ca> <4AB4EC5F69C3774C875B1BD8CB658B1A02965940@ny0ech01.LNHOLDINGS.COM> Message-ID: <4AB4EC5F69C3774C875B1BD8CB658B1A029D6638@ny0ech01.LNHOLDINGS.COM> I still get the same results from the nagios checks. Is there some kind of debug mode that I can see the actual results from the nagios checks to see whether nagios is legitimately reporting those services as critical? Rob -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Robert Gil Sent: Wednesday, November 14, 2007 10:00 AM To: Thomas Guyot-Sionnest Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] submit_check_result always critical The setup is as follows: 1 nagios server in each datacenter would send passive check results to a central server in the NOC. Right now I am testing on two servers initially. Both servers are in the same datacenter. Both are running the same versions of nagios and plugins. Nagios01: Central Monitoring Server. Mainly just catching passive results, displaying the dashboard, and sending notifications. Nagios02: Distributed nagios server Configuration: Nagios02 has the check command defined as follows. define command{ command_name submit_check_result command_line /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$' } In nagios.cfg obsess_over_services=1 ocsp_command=submit_check_result In the submit_check_result script, the print line is as follows. /usr/bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | /usr/local/nagios/bin/send_nsca 10.0.254.248 -c /usr/local/nagios/etc/send_nsca.cfg In Nagios01 it is set up to accept passive checks. And they do come in, but are always critical and with the previous error of "No Output!" The checks from the distributed server (02) do work when they are run from the command line. Im not sure if im missing something or the implementation is being confused in some way. Thanks, Rob -----Original Message----- From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca] Sent: Wednesday, November 14, 2007 7:55 AM To: Robert Gil Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] submit_check_result always critical -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 13/11/07 10:26 PM, Robert Gil wrote: > Getting a similar error. Still critical every time. > > > Nov 13 22:16:53 SERVER nagios: EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rem5;NTP;2;(No output!) > Nov 13 22:17:02 SERVER nsca[10294]: Handling the connection... > Nov 13 22:17:03 SERVER nsca[10294]: SERVICE CHECK -> Host Name: 'rem5', > Service Description: 'Time', Return Code: '2', Output: '(No output!)' > Nov 13 22:17:03 SERVER nsca[10294]: End of connection... > Nov 13 22:17:03 SERVER nagios: EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rem5;Time;2;(No output!) > > > define command{ > command_name submit_check_result > command_line > /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ > '$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$' > } I'm not sure if you got it right. As I understand it your nagios sends the current check result back to itself, so it's obvious the state never change. If you want to do active monitoring you should use an active check, and if you want to do passive monitoring the command should run on the remote host (ex. from crontab) and use send_nsca to report back to nagios (in that case you should have active checks disabled on the service, and eventually freshness checking) If you're trying to do something else then please explain. Thanks, Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHOvAa6dZ+Kt5BchYRAtPwAJ4s7/758uxUjEiYkjsSnRhF0rMgJQCfUqob 38LblcL52iOPeqrJtRRbhoE= =oCBq -----END PGP SIGNATURE----- ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 rgil at liquidnet.com Thu Nov 15 17:45:49 2007 From: rgil at liquidnet.com (Robert Gil) Date: Thu, 15 Nov 2007 11:45:49 -0500 Subject: submit_check_result always critical In-Reply-To: References: Message-ID: <4AB4EC5F69C3774C875B1BD8CB658B1A029D667A@ny0ech01.LNHOLDINGS.COM> Yes, permissions are correct and nagios can execute the scripts. Results come back as OK. Rob -----Original Message----- From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Thursday, November 15, 2007 11:36 AM To: Robert Gil; Thomas Guyot-Sionnest Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] submit_check_result always critical You can set debugging options inside of Nagios.cfg. I think by default it spits everything it can at you though. I may have to reread that part of the documentation. Are you running the check in the command line on Nagios(02) as root or the Nagios user? Test the plugin in terminal as Nagios user and see if you get results. -----Original Message----- From: Robert Gil [mailto:rgil at liquidnet.com] Sent: Thursday, November 15, 2007 11:21 AM To: Robert Gil; Thomas Guyot-Sionnest Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] submit_check_result always critical I still get the same results from the nagios checks. Is there some kind of debug mode that I can see the actual results from the nagios checks to see whether nagios is legitimately reporting those services as critical? Rob -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Robert Gil Sent: Wednesday, November 14, 2007 10:00 AM To: Thomas Guyot-Sionnest Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] submit_check_result always critical The setup is as follows: 1 nagios server in each datacenter would send passive check results to a central server in the NOC. Right now I am testing on two servers initially. Both servers are in the same datacenter. Both are running the same versions of nagios and plugins. Nagios01: Central Monitoring Server. Mainly just catching passive results, displaying the dashboard, and sending notifications. Nagios02: Distributed nagios server Configuration: Nagios02 has the check command defined as follows. define command{ command_name submit_check_result command_line /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$' } In nagios.cfg obsess_over_services=1 ocsp_command=submit_check_result In the submit_check_result script, the print line is as follows. /usr/bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | /usr/local/nagios/bin/send_nsca 10.0.254.248 -c /usr/local/nagios/etc/send_nsca.cfg In Nagios01 it is set up to accept passive checks. And they do come in, but are always critical and with the previous error of "No Output!" The checks from the distributed server (02) do work when they are run from the command line. Im not sure if im missing something or the implementation is being confused in some way. Thanks, Rob -----Original Message----- From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca] Sent: Wednesday, November 14, 2007 7:55 AM To: Robert Gil Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] submit_check_result always critical -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 13/11/07 10:26 PM, Robert Gil wrote: > Getting a similar error. Still critical every time. > > > Nov 13 22:16:53 SERVER nagios: EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rem5;NTP;2;(No output!) > Nov 13 22:17:02 SERVER nsca[10294]: Handling the connection... > Nov 13 22:17:03 SERVER nsca[10294]: SERVICE CHECK -> Host Name: 'rem5', > Service Description: 'Time', Return Code: '2', Output: '(No output!)' > Nov 13 22:17:03 SERVER nsca[10294]: End of connection... > Nov 13 22:17:03 SERVER nagios: EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rem5;Time;2;(No output!) > > > define command{ > command_name submit_check_result > command_line > /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ > '$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$' > } I'm not sure if you got it right. As I understand it your nagios sends the current check result back to itself, so it's obvious the state never change. If you want to do active monitoring you should use an active check, and if you want to do passive monitoring the command should run on the remote host (ex. from crontab) and use send_nsca to report back to nagios (in that case you should have active checks disabled on the service, and eventually freshness checking) If you're trying to do something else then please explain. Thanks, Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHOvAa6dZ+Kt5BchYRAtPwAJ4s7/758uxUjEiYkjsSnRhF0rMgJQCfUqob 38LblcL52iOPeqrJtRRbhoE= =oCBq -----END PGP SIGNATURE----- ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 kzembowe at jhuccp.org Thu Nov 15 17:53:36 2007 From: kzembowe at jhuccp.org (Zembower, Kevin) Date: Thu, 15 Nov 2007 11:53:36 -0500 Subject: notification_interval seems to be ignored Message-ID: <2E8AE992B157C0409B18D0225D0B476306CD9166@XCH-VN01.sph.ad.jhsph.edu> I've written a custom plug-in to monitor the ambient temperature probe on my Dell PowerEdge server. It's a wrapper around the standard check_smtp plugin. It's been working correctly for months now. I pasted the code for this in at the end of this message. Yesterday at 2:00 the compressor failed in my server room and the temperature went up to 90F. My notification was correctly sent, and I was happy. However, I've received a notification every 5 minutes since then that the temperature is over 80. In the service definition, I have notification_intervals set to 0: # check that ambient temperature from Dell sensor is less than 80 and 90 degree F. # Notify the 'temp' group only. define service { hostgroup_name temp_sensor service_description Ambient Temperature check_command check_ambtempF!80!90 #For testing, set the temperature too low # check_command check_ambtempF!60!70 use generic-service notification_interval 0; set > 0 if you want to be renotified contact_groups temp } In generic-service.nagios2.cnf, the notification_interval is also set to 0. Furthermore, I don't have any escalations defined. And, I just discovered that even though I disabled notifications for this service using the nagios2 GUI, I'm still getting notified every five minutes. Can anyone suggest anything I can try to fix this behavior? Did I overlook something in how I wrote the plugin? My system is Nagios 2.6, as installed by the Debian 3.0 package system. Thanks for any advice or suggestions. -Kevin Kevin Zembower Internet Services Group manager Center for Communication Programs Bloomberg School of Public Health Johns Hopkins University 111 Market Place, Suite 310 Baltimore, Maryland 21202 410-659-6139 ======================================================== nagios at cn2://etc/nagios2/conf.d$ cat /usr/lib/nagios/plugins/check_ambtempF #! /usr/bin/perl -w # check_ambtempF is a perl wrapper around the Nagios check_snmp plugin # to check the ambient temperature sensor in Dell PowerEdge servers. # Written by Kevin Zembower, 13-Sep-2007 use strict; use Getopt::Std; my %opts; getopts('dhc:w:H:',\%opts); # Use this line below to dump the environment variables for debugging system "env|sort >/tmp/plugins_env.$$" if defined($opts{d}); my %NAGIOS_ENV = map { $_ => $ENV{$_} } grep /^NAGIOS_/, keys %ENV; if ( defined($opts{h}) ) { print </tmp/temperature.dmp") if defined($opts{d}); my $warn= $opts{w}; my $crit= $opts{c}; my $debug = $opts{d}; my $hostaddress; if (defined $opts{H}) { $hostaddress=$opts{H}; } elsif (defined($NAGIOS_ENV{NAGIOS_HOSTADDRESS})) { $hostaddress = $NAGIOS_ENV{NAGIOS_HOSTADDRESS}; } else { $hostaddress="127.0.0.1" }; print DMP "hostaddress is $hostaddress.\n" if defined($opts{d}); my $output = "Temperature "; $_ = `/usr/lib/nagios/plugins/check_snmp -H $hostaddress -o .1.3.6.1.4.1.674.10892.1.700.20.1.6.1.3`; print DMP $_ if defined($opts{d}); close(DMP) if defined($opts{d}); if ($? != 0) { #There was an error calling the check_snmp routine... $output .= "UNKNOWN: CCP server room temperature could not be determined with host $hostaddress. Probable communications or host failure.\n"; print $output; exit 3; } print "Error code: $?\n" if $debug; print $_ if $debug; (my $tempC) = /=(\d+)/; #All the digits after the equals sign are the temperature in tenths of a degree Celsius $tempC /= 10; #Divide the returned value by 10 print "${tempC}C\n" if $debug; my $tempF = (9/5*$tempC + 32); print "${tempF}F\n" if $debug; if ( defined $crit && $tempF >= $crit ) { $output .= "CRITICAL: CCP server room temperature of ${tempF}F exceeds critical temperature of $crit\n"; $output .= "Probable air conditioning failure.\n"; print $output; exit 2; } elsif ( defined $warn && $tempF >= $warn ) { $output .= "WARNING: CCP server room temperature of ${tempF}F exceeds warning temperature of $warn\n"; $output .= "Probable air conditioning failure.\n"; print $output; exit 1; } else { $output .= "OK: CCP server room temperature is ${tempF}F\n"; print $output; exit 0; } nagios at cn2://etc/nagios2/conf.d$ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 rgil at liquidnet.com Thu Nov 15 18:07:09 2007 From: rgil at liquidnet.com (Robert Gil) Date: Thu, 15 Nov 2007 12:07:09 -0500 Subject: submit_check_result always critical In-Reply-To: <4AB4EC5F69C3774C875B1BD8CB658B1A029D667A@ny0ech01.LNHOLDINGS.COM> References: <4AB4EC5F69C3774C875B1BD8CB658B1A029D667A@ny0ech01.LNHOLDINGS.COM> Message-ID: <4AB4EC5F69C3774C875B1BD8CB658B1A029D66AF@ny0ech01.LNHOLDINGS.COM> I enabled logging for the initial service state and it appears to show critical every time. So it doesn't look like an issue with nsca or any of the passive configuration. Currently freshness checking is not being used. Rob -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Robert Gil Sent: Thursday, November 15, 2007 11:46 AM To: Valdinger, Stephen (DOV, MSX); Thomas Guyot-Sionnest Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] submit_check_result always critical Yes, permissions are correct and nagios can execute the scripts. Results come back as OK. Rob -----Original Message----- From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Thursday, November 15, 2007 11:36 AM To: Robert Gil; Thomas Guyot-Sionnest Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] submit_check_result always critical You can set debugging options inside of Nagios.cfg. I think by default it spits everything it can at you though. I may have to reread that part of the documentation. Are you running the check in the command line on Nagios(02) as root or the Nagios user? Test the plugin in terminal as Nagios user and see if you get results. -----Original Message----- From: Robert Gil [mailto:rgil at liquidnet.com] Sent: Thursday, November 15, 2007 11:21 AM To: Robert Gil; Thomas Guyot-Sionnest Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] submit_check_result always critical I still get the same results from the nagios checks. Is there some kind of debug mode that I can see the actual results from the nagios checks to see whether nagios is legitimately reporting those services as critical? Rob -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Robert Gil Sent: Wednesday, November 14, 2007 10:00 AM To: Thomas Guyot-Sionnest Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] submit_check_result always critical The setup is as follows: 1 nagios server in each datacenter would send passive check results to a central server in the NOC. Right now I am testing on two servers initially. Both servers are in the same datacenter. Both are running the same versions of nagios and plugins. Nagios01: Central Monitoring Server. Mainly just catching passive results, displaying the dashboard, and sending notifications. Nagios02: Distributed nagios server Configuration: Nagios02 has the check command defined as follows. define command{ command_name submit_check_result command_line /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$' } In nagios.cfg obsess_over_services=1 ocsp_command=submit_check_result In the submit_check_result script, the print line is as follows. /usr/bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | /usr/local/nagios/bin/send_nsca 10.0.254.248 -c /usr/local/nagios/etc/send_nsca.cfg In Nagios01 it is set up to accept passive checks. And they do come in, but are always critical and with the previous error of "No Output!" The checks from the distributed server (02) do work when they are run from the command line. Im not sure if im missing something or the implementation is being confused in some way. Thanks, Rob -----Original Message----- From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca] Sent: Wednesday, November 14, 2007 7:55 AM To: Robert Gil Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] submit_check_result always critical -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 13/11/07 10:26 PM, Robert Gil wrote: > Getting a similar error. Still critical every time. > > > Nov 13 22:16:53 SERVER nagios: EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rem5;NTP;2;(No output!) > Nov 13 22:17:02 SERVER nsca[10294]: Handling the connection... > Nov 13 22:17:03 SERVER nsca[10294]: SERVICE CHECK -> Host Name: 'rem5', > Service Description: 'Time', Return Code: '2', Output: '(No output!)' > Nov 13 22:17:03 SERVER nsca[10294]: End of connection... > Nov 13 22:17:03 SERVER nagios: EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rem5;Time;2;(No output!) > > > define command{ > command_name submit_check_result > command_line > /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ > '$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$' > } I'm not sure if you got it right. As I understand it your nagios sends the current check result back to itself, so it's obvious the state never change. If you want to do active monitoring you should use an active check, and if you want to do passive monitoring the command should run on the remote host (ex. from crontab) and use send_nsca to report back to nagios (in that case you should have active checks disabled on the service, and eventually freshness checking) If you're trying to do something else then please explain. Thanks, Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHOvAa6dZ+Kt5BchYRAtPwAJ4s7/758uxUjEiYkjsSnRhF0rMgJQCfUqob 38LblcL52iOPeqrJtRRbhoE= =oCBq -----END PGP SIGNATURE----- ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Nov 15 18:31:59 2007 From: marc at ena.com (Marc Powell) Date: Thu, 15 Nov 2007 11:31:59 -0600 Subject: submit_check_result always critical In-Reply-To: <4AB4EC5F69C3774C875B1BD8CB658B1A029D6638@ny0ech01.LNHOLDINGS.COM> References: <4AB4EC5F69C3774C875B1BD8CB658B1A029D6638@ny0ech01.LNHOLDINGS.COM> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Robert Gil > Sent: Thursday, November 15, 2007 10:21 AM > To: Robert Gil; Thomas Guyot-Sionnest > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] submit_check_result always critical > > I still get the same results from the nagios checks. Is there some kind > of debug mode that I can see the actual results from the nagios checks > to see whether nagios is legitimately reporting those services as > critical? You need to be looking at your distributed nagios box when doing this but I'm quite certain it is based on what you've indicated so far. You should see that in the web interface on that box and in nagios.log. If you still want to go the debug route and you're using nagios-2, you'll need to recompile, passing debug options to ./configure. --enable-DEBUG0 shows function entry and exit --enable-DEBUG1 shows general info messages --enable-DEBUG2 shows warning messages --enable-DEBUG3 shows scheduled events (service and host checks... etc) --enable-DEBUG4 shows service and host notifications --enable-DEBUG5 shows SQL queries --enable-DEBUGALL shows all debugging messages With nagios-3, there are debug options in nagios.cfg. Instead of going this route, I'd make a simple change to the command definitions that are failing on your distributed nagios box, especially the one you previously sent that returns 'no output!'. At the end of the command line, add '2>&1' to capture STDERR from the plugin run. In the web interface/nagios log, you should then see why it's failing. For example (completely off the top of my head) -- define command { command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 10,50% -c 20,100% 2>&1 # note, the above is all one line } Alternately, running the plugins on your distributed box, as the nagios user, exactly as they're defined in the command{} definition, using appropriate substitutions, should be informative as well... You haven't shown us any actual host/server/command definitions related to your core issue yet so we can't really be specifically helpful there. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Nov 15 18:33:56 2007 From: marc at ena.com (Marc Powell) Date: Thu, 15 Nov 2007 11:33:56 -0600 Subject: notification_interval seems to be ignored In-Reply-To: <2E8AE992B157C0409B18D0225D0B476306CD9166@XCH-VN01.sph.ad.jhsph.edu> References: <2E8AE992B157C0409B18D0225D0B476306CD9166@XCH-VN01.sph.ad.jhsph.edu> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Zembower, Kevin > Sent: Thursday, November 15, 2007 10:54 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notification_interval seems to be ignored > Yesterday at 2:00 the compressor failed in my server room and the > temperature went up to 90F. My notification was correctly sent, and I > was happy. However, I've received a notification every 5 minutes since > then that the temperature is over 80. > And, I just discovered that even though I disabled notifications for > this service using the nagios2 GUI, I'm still getting notified every > five minutes. > > Can anyone suggest anything I can try to fix this behavior? Did I > overlook something in how I wrote the plugin? These symptoms are consistent with having multiple nagios daemons running at the same time. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 stava at telcotec.se Thu Nov 15 18:40:02 2007 From: stava at telcotec.se (Lars Stavholm) Date: Thu, 15 Nov 2007 18:40:02 +0100 Subject: Contacting Ethen In-Reply-To: References: Message-ID: <473C8472.2020001@telcotec.se> svalding at kent.edu wrote: > I'd like to get ahold of Ethen about consulting Nagios installations. I > want to start doing installs of the Nagios system for businesses in my > area, as there is a lot of need for it. How would be the best way to get > in contact with him to discuss this? Was it too much trouble for you to check the website? . /L ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 Nov 15 18:41:22 2007 From: marc at ena.com (Marc Powell) Date: Thu, 15 Nov 2007 11:41:22 -0600 Subject: submit_check_result always critical In-Reply-To: <4AB4EC5F69C3774C875B1BD8CB658B1A029D66AF@ny0ech01.LNHOLDINGS.COM> References: <4AB4EC5F69C3774C875B1BD8CB658B1A029D66AF@ny0ech01.LNHOLDINGS.COM> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Robert Gil > Sent: Thursday, November 15, 2007 11:07 AM > To: Robert Gil; Valdinger, Stephen (DOV, MSX); Thomas Guyot-Sionnest > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] submit_check_result always critical > > I enabled logging for the initial service state and it appears to show > critical every time. So it doesn't look like an issue with nsca or any > of the passive configuration. You were told that yesterday morning and given a direction to look. Re-quoting -- "You send -- > Nov 13 22:17:03 SERVER nsca[10294]: SERVICE CHECK -> Host Name: 'rem5', > Service Description: 'Time', Return Code: '2', Output: '(No output!)' Return Code: 2 == CRITICAL Output from the plugin == '(No output!)' In this case this means that the distributed nagios server didn't receive any output from the plugin it ran. Looks to me like the plugin being executed before it's results are sent via NSCA is failing." -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 kzembowe at jhuccp.org Thu Nov 15 18:57:18 2007 From: kzembowe at jhuccp.org (Zembower, Kevin) Date: Thu, 15 Nov 2007 12:57:18 -0500 Subject: notification_interval seems to be ignored In-Reply-To: References: <2E8AE992B157C0409B18D0225D0B476306CD9166@XCH-VN01.sph.ad.jhsph.edu> Message-ID: <2E8AE992B157C0409B18D0225D0B476306CD9168@XCH-VN01.sph.ad.jhsph.edu> Hmmm, I don't think that's the case. Wouldn't this show it: nagios at cn2://etc/nagios2/conf.d$ ps aux |grep nagios nagios 30699 0.0 0.6 22096 3364 ? SNsl Sep19 6:53 /usr/sbin/nagios2 -d /etc/nagios2/nagios.cfg nagios 29497 0.0 0.1 2528 1016 pts/0 S 10:25 0:00 su -s /bin/bash - nagios nagios 29498 0.0 0.3 3268 1868 pts/0 S 10:25 0:00 -su nagios 3034 0.0 0.1 2216 884 pts/0 R+ 12:55 0:00 ps aux nagios 3035 0.0 0.1 1644 556 pts/0 S+ 12:55 0:00 grep nagios nagios at cn2://etc/nagios2/conf.d$ I think the only instance of Nagios is PID 30699. Thanks for your suggestion. -Kevin -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Thursday, November 15, 2007 12:34 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] notification_interval seems to be ignored > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Zembower, Kevin > Sent: Thursday, November 15, 2007 10:54 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notification_interval seems to be ignored > Yesterday at 2:00 the compressor failed in my server room and the > temperature went up to 90F. My notification was correctly sent, and I > was happy. However, I've received a notification every 5 minutes since > then that the temperature is over 80. > And, I just discovered that even though I disabled notifications for > this service using the nagios2 GUI, I'm still getting notified every > five minutes. > > Can anyone suggest anything I can try to fix this behavior? Did I > overlook something in how I wrote the plugin? These symptoms are consistent with having multiple nagios daemons running at the same time. -- Marc ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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 rgil at liquidnet.com Thu Nov 15 19:46:56 2007 From: rgil at liquidnet.com (Robert Gil) Date: Thu, 15 Nov 2007 13:46:56 -0500 Su