From patrick.morris at hp.com Wed Aug 1 00:19:14 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 31 Jul 2007 15:19:14 -0700 Subject: check_sybase In-Reply-To: References: <20070731204701.GD1987@pmorris.usa.hp.com> Message-ID: <20070731221333.GG1987@pmorris.usa.hp.com> Damn. Hate when I'm just plain wrong. ;) Thanks, Marc. On Tue, 31 Jul 2007, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Patrick Morris > > Sent: Tuesday, July 31, 2007 3:47 PM > > To: Danilo Perdomo > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] check_sybase > > > > Hi Danilo! > > > > On Tue, 31 Jul 2007, Danilo Perdomo wrote: > > > > > Hi all! I'm triying to use this plugin for checking a remote Sybase > > > database. The thing is that in the usage of the script > > > i dont see any option that indicates the IP address of the server. > Here > > > is the -h for the plugin: > > > > That's because this plugin won't work as a remote check. You'll need > to > > use something like nrpe or check_via_ssh to run it on a remote box. > > I'm pretty confident it will (untested though). It just uses DBI::Sybase > which doesn't care where the database is located. -- > > sub connect > { > $dbh = > DBI->connect("dbi:Sybase:server=$dbsvr;database=$dbname;". > "timeout=$timeout,loginTimeout=$timeout", $user, > $pass) > or &ncrit("Could not connect to '$dbname' on '$dbsvr'"); > > # Report success for a check of type CONNECT > &nok("Connect okay") if $checktype ne "FREESPACE"; > } > > -- > 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 Kerry.Milestone at CacheLogic.com Wed Aug 1 00:36:28 2007 From: Kerry.Milestone at CacheLogic.com (Kerry Milestone) Date: Tue, 31 Jul 2007 23:36:28 +0100 Subject: Regex Services? In-Reply-To: <46AE6EC0.4050101@gmail.com> References: <46AE658C.3020001@CacheLogic.com> <46AE6EC0.4050101@gmail.com> Message-ID: <46AFB96C.70703@CacheLogic.com> When trying to verify with Nagios, it seems to stop reading the string on the first comma it comes accross. The Nagios documentation is a little light with how to use regex other than using wildcards. Is what I am trying to do, actually possible? Cheers. Error: Could not find any host matching '^(host|gost)\d{1' > kerry, > > note > > ^(host|gost)\d{1,2}\.\w+\.$ > > change it to > ^(host|gost)\d{1,2}\.\w+\.\w+$ > > and test again. > > Learner > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adevey at omniture.com Wed Aug 1 00:59:23 2007 From: adevey at omniture.com (Aaron Devey) Date: Tue, 31 Jul 2007 16:59:23 -0600 Subject: Regex Services? In-Reply-To: <46AFB96C.70703@CacheLogic.com> References: <46AE658C.3020001@CacheLogic.com> <46AE6EC0.4050101@gmail.com> <46AFB96C.70703@CacheLogic.com> Message-ID: <46AFBECB.6060206@omniture.com> I've never used regex in services. Assuming it's possible in this case, a workaround for the comma might be: ^(host|gost)\d\d?\.\w+\.\w+$ -Aaron Kerry Milestone wrote: > When trying to verify with Nagios, it seems to stop reading the string > on the first comma it comes accross. The Nagios documentation is a > little light with how to use regex other than using wildcards. > > Is what I am trying to do, actually possible? > > Cheers. > > > Error: Could not find any host matching '^(host|gost)\d{1' > > > >> kerry, >> >> note >> >> ^(host|gost)\d{1,2}\.\w+\.$ >> >> change it to >> ^(host|gost)\d{1,2}\.\w+\.\w+$ >> >> and test again. >> >> Learner >> >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Kerry.Milestone at CacheLogic.com Wed Aug 1 01:16:50 2007 From: Kerry.Milestone at CacheLogic.com (Kerry Milestone) Date: Wed, 01 Aug 2007 00:16:50 +0100 Subject: Regex Services? In-Reply-To: <46AFC169.6070608@gmail.com> References: <46AE658C.3020001@CacheLogic.com> <46AE6EC0.4050101@gmail.com> <46AFB96C.70703@CacheLogic.com> <46AFC169.6070608@gmail.com> Message-ID: <46AFC2E2.7080003@CacheLogic.com> hehe... no, not annoyed. I have tried much simpler matching expressions too. I am not sure its the regex, but the way Nagios incorperates it. For instance, putting a * into the expression, it matches everything even when there are [host|gost] defined. What I really want to have in, is (host|gost) but Nagios doesn't seem to like round brackets. The expression below will match also osth or ostg. Kerry. Goksie Learner wrote: > please dont be annoyed with me. > > why dont u consider changing ^[host|gost]\d{1,2}\.\w+\.\w+$ > > if in perl and other langs that i like studying... this this matches > your request. > > Learner -- Kerry Milestone Network Engineer ------------------- 1 0 ... my two bits ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From profoundmove at gmail.com Wed Aug 1 06:26:14 2007 From: profoundmove at gmail.com (Noel Dave) Date: Wed, 1 Aug 2007 12:26:14 +0800 Subject: check_apc_temp Message-ID: <908650b70707312126j65876fcbr97829be34dac2c33@mail.gmail.com> hi , can you please help me where to get check_apc_temp plugin. 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 shailesh.ofb at gmail.com Wed Aug 1 08:06:19 2007 From: shailesh.ofb at gmail.com (shailesh mishra) Date: Wed, 1 Aug 2007 11:36:19 +0530 Subject: check_cluster individual reporting Message-ID: Hi !!!! Excuse me for my poor english. I have my Nagios up and running.I have configured check_cluster to monitor Primary and Backup leased line.They are in failover mode.I want to know if it is possible to see the % wise breakup of these services activity individually?I mean if my site is up on Primary link for say 1 hour then it switched to backup line for another one hour.Then link cluster shows 100% UP which is correct but i am interested in seeing % wise break up of Primary Link and Secondary Link up time. Is it possible with link_cluster ? or do i need to work on some other plugin? -------------- 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 Wed Aug 1 09:28:22 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Wed, 1 Aug 2007 09:28:22 +0200 Subject: check_apc_temp In-Reply-To: <908650b70707312126j65876fcbr97829be34dac2c33@mail.gmail.com> References: <908650b70707312126j65876fcbr97829be34dac2c33@mail.gmail.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A57448197BB@hermes.sapphire-int.gi> The web has something called a "search engine" http://www.google.com.gi/search?hl=en&q=check_apc_temp&btnG=Google+Searc h ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Noel Dave Sent: 01 August 2007 06:26 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_apc_temp hi , can you please help me where to get check_apc_temp plugin. 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 brrab at yandex.ru Wed Aug 1 14:19:52 2007 From: brrab at yandex.ru (brom) Date: Wed, 1 Aug 2007 15:19:52 +0300 Subject: check_smartmon patching Message-ID: <20070801151952.06e6db75@brom.homemachine> Hi all!!! I try to use cneck_smartmon plugin with SCSI drives and I have this error where I say check_smartmon -d device "Traceback (most recent call last): File "./check_smartmon", line 254, in ? (healthStatus, temperature) = parseOutput(healthStatusOutput, temperatureOutput) File "./check_smartmon", line 163, in parseOutput healthStatus = parts[-1] IndexError: list index out of range" I found the patch "patch for devicetype as parameter and performance output (bems!, 27.03.2007 10:41:38)" on nagiosexchange.org but I could not apply this patch both on FreeBSD and Linux. I use the unix patch command and where i try apply this patch with that: #patch < patch_nagiosexchange.org I have this error: "Hmm... Looks like a new-style context diff to me... The text leading up to this was: -------------------------- |*** check_smartmon 2007-03-27 08:38:39.000000000 +0200 |--- check_smartmon_ata.pyt 2007-03-27 10:33:06.000000000 +0200 -------------------------- Patching file check_smartmon using Plan A... patch: **** malformed patch at line 6: parser.add_option("-d", "--device", action="store", dest="device", default="", metavar="DEVICE", " Please, tell me decision, as I can apply this patch??? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 1 14:32:36 2007 From: marc at ena.com (Marc Powell) Date: Wed, 1 Aug 2007 07:32:36 -0500 Subject: check_apc_temp In-Reply-To: <908650b70707312126j65876fcbr97829be34dac2c33@mail.gmail.com> References: <908650b70707312126j65876fcbr97829be34dac2c33@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 Noel Dave > Sent: Tuesday, July 31, 2007 11:26 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_apc_temp > > hi , > > can you please help me where to get check_apc_temp plugin. Google, of course! I'll even provide a link for you to save you some time. http://www.google.com/search?q=check_apc_temp - 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 danilo.perdomo at intercable.com.ve Wed Aug 1 16:27:51 2007 From: danilo.perdomo at intercable.com.ve (Danilo Perdomo) Date: Wed, 01 Aug 2007 10:27:51 -0400 Subject: [Fwd: Re: check_sybase] Message-ID: <46B09867.1060805@intercable.com.ve> Hi Marc! im sorry to bother you. I can't make the check_sybase plugin work. Here's the error message *./check_sybase --config=/usr/local/nagios/etc/sybase.cfg* src/tds/login.c: tds_connect: x.x.x.x:1433: Connection refused DBI connect('server=x.x.x.x;database=apricot;charset=iso_1;timeout=15;loginTimeout=15','sa',...) failed: OpenClient message: LAYER = (0) ORIGIN = (0) SEVERITY = (78) NUMBER = (41) Message String: Server is unavailable or does not exist. at ./check_sybase line 133 CRITICAL: Could not connect to 'apricot' on 'x.x.x.x' Here's the config file: USER sa PASS pcube2001 DBSVR x.x.x.x (IP) DBNAME apricot I'd appreciate any help! Marc Powell escribi?: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Patrick Morris >> Sent: Tuesday, July 31, 2007 3:47 PM >> To: Danilo Perdomo >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] check_sybase >> >> Hi Danilo! >> >> On Tue, 31 Jul 2007, Danilo Perdomo wrote: >> >> >>> Hi all! I'm triying to use this plugin for checking a remote Sybase >>> database. The thing is that in the usage of the script >>> i dont see any option that indicates the IP address of the server. >>> > Here > >>> is the -h for the plugin: >>> >> That's because this plugin won't work as a remote check. You'll need >> > to > >> use something like nrpe or check_via_ssh to run it on a remote box. >> > > I'm pretty confident it will (untested though). It just uses DBI::Sybase > which doesn't care where the database is located. -- > > sub connect > { > $dbh = > DBI->connect("dbi:Sybase:server=$dbsvr;database=$dbname;". > "timeout=$timeout,loginTimeout=$timeout", $user, > $pass) > or &ncrit("Could not connect to '$dbname' on '$dbsvr'"); > > # Report success for a check of type CONNECT > &nok("Connect okay") if $checktype ne "FREESPACE"; > } > > -- > 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 -------------- A non-text attachment was scrubbed... Name: firma-danilo.gif Type: image/gif Size: 5371 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 marc at ena.com Wed Aug 1 17:10:03 2007 From: marc at ena.com (Marc Powell) Date: Wed, 1 Aug 2007 10:10:03 -0500 Subject: [Fwd: Re: check_sybase] In-Reply-To: <46B09867.1060805@intercable.com.ve> References: <46B09867.1060805@intercable.com.ve> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Danilo Perdomo > Sent: Wednesday, August 01, 2007 9:28 AM > To: nagios-users at lists.sourceforge.net > Cc: Marc Powell > Subject: [Nagios-users] [Fwd: Re: check_sybase] > > > Hi Marc! im sorry to bother you. I can't make the check_sybase plugin > work. Here's the error message > > ./check_sybase --config=/usr/local/nagios/etc/sybase.cfg > src/tds/login.c: tds_connect: x.x.x.x:1433: Connection refused ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Looks like your Sybase database isn't allowing connections from your monitoring host. I've never used Sybase so I can't tell you how to fix it other than to verify that Sybase is listening for connections from other hosts and that your monitoring machine is allowed to connect to the database. > Here's the config file: > USER sa > PASS pcube2001 > DBSVR x.x.x.x (IP) > DBNAME apricot I presume that x.x.x.x here matches x.x.x.x above. -- 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 orz3h at tlen.pl Wed Aug 1 17:25:54 2007 From: orz3h at tlen.pl (orzeh) Date: Wed, 01 Aug 2007 17:25:54 +0200 Subject: EMC Symetrix monitoring In-Reply-To: <536053370707310744i1f1aa251kb1de6e1640c4b195@mail.gmail.com> References: <536053370707310744i1f1aa251kb1de6e1640c4b195@mail.gmail.com> Message-ID: <46B0A602.30504@tlen.pl> David Schlecht wrote: > I've seen a few questions about this here but no replies. Maybe by now > there is more information. > > I'm trying to monitor an EMC SAN with Symmetrix, but am hitting a > brick wall. EMC's ECC console has up-to-date information on the SAN > but doesn't have an SNMP interface for Nagios to query. The ECC > console has interface libraries to talk to some of the major > commercial monitoring packages, but not Nagios. > > Has anyone had any luck getting information from the ECC console? Has > anyone had any luck with any other approaches to monitoring an EMC SAN? > > -David hello David maybe i can help a little, i've cx3-20, snmp-walking is very poor (there is no standard for sps, except one little mib on fibre alliance http://www.fiberalliance.com/fb/index.htm - you can enable this in network settings on storage processor). so i've wrote the config for snmptt based on cx3 docs and configured new monitor-template in navisphere with snmp traps. here is the config for snmptt (you can bypass regex lines): [code] EVENT emcTrapInfo .1.3.6.1.4.1.1981.0.3 "Status Event" INFORMATIONAL REGEX (CX1SPA)(SP-A)ig REGEX (CX1SPB)(SP-B)ig FORMAT EMC-CX20 Informational: $1 $3 $4 $5 EXEC /usr/local/nagios/libexec/eventhandlers/submit_check_result $1 "SP Status" 0 "OK - $4 - $3" SDESC EMC CX20 Informational Trap Variables: 1: SP Name 2: Unknown 3: Error Code 4: Text 5: SP serial EDESC EVENT emcTrapWarn .1.3.6.1.4.1.1981.0.4 "Status Event" WARNING REGEX (CX1SPA)(SP-A)ig REGEX (CX1SPB)(SP-B)ig FORMAT EMC-CX20 Informational: $1 $3 $4 $5 EXEC /usr/local/nagios/libexec/eventhandlers/submit_check_result $1 "SP Status" 1 "WARNING - $4 - $3" SDESC EMC CX20 Warning Trap Variables: 1: SP Name 2: Unknown 3: Error Code 4: Text 5: SP serial EDESC EVENT emcTrapErr .1.3.6.1.4.1.1981.0.5 "Status Event" ERROR REGEX (CX1SPA)(SP-A)ig REGEX (CX1SPB)(SP-B)ig FORMAT EMC-CX20 Informational: $1 $3 $4 $5 EXEC /usr/local/nagios/libexec/eventhandlers/submit_check_result $1 "SP Status" 1 "ERROR - $4 - $3" SDESC EMC CX20 Error Trap Variables: 1: SP Name 2: Unknown 3: Error Code 4: Text 5: SP serial EDESC EVENT emcTrapCrit .1.3.6.1.4.1.1981.0.6 "Status Event" CRITICAL REGEX (CX1SPA)(SP-A)ig REGEX (CX1SPB)(SP-B)ig FORMAT EMC-CX20 Informational: $1 $3 $4 $5 EXEC /usr/local/nagios/libexec/eventhandlers/submit_check_result $1 "SP Status" 2 "CRITICAL - $4 - $3" SDESC EMC CX20 Critical Trap Variables: 1: SP Name 2: Unknown 3: Error Code 4: Text 5: SP serial EDESC [/code] and sps give me lots of data (with stalking enabled for all status) regards orzeh ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 intercable.com.ve Wed Aug 1 17:35:41 2007 From: danilo.perdomo at intercable.com.ve (Danilo Perdomo) Date: Wed, 01 Aug 2007 11:35:41 -0400 Subject: [Fwd: Re: check_sybase] In-Reply-To: References: Message-ID: <46B0A84D.7050009@intercable.com.ve> Yeap it's the same address. I'll try check the config of the database and look where i can allow the connection of my monitoring host. Thanks a lot ! Marc Powell escribi?: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Danilo Perdomo >> Sent: Wednesday, August 01, 2007 9:28 AM >> To: nagios-users at lists.sourceforge.net >> Cc: Marc Powell >> Subject: [Nagios-users] [Fwd: Re: check_sybase] >> >> >> Hi Marc! im sorry to bother you. I can't make the check_sybase plugin >> work. Here's the error message >> >> ./check_sybase --config=/usr/local/nagios/etc/sybase.cfg >> src/tds/login.c: tds_connect: x.x.x.x:1433: Connection refused >> > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Looks like your Sybase database isn't allowing connections from your > monitoring host. I've never used Sybase so I can't tell you how to fix > it other than to verify that Sybase is listening for connections from > other hosts and that your monitoring machine is allowed to connect to > the database. > > >> Here's the config file: >> USER sa >> PASS pcube2001 >> DBSVR x.x.x.x (IP) >> DBNAME apricot >> > > I presume that x.x.x.x here matches x.x.x.x above. > > -- > 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 scubacuda at gmail.com Wed Aug 1 19:03:14 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Wed, 1 Aug 2007 10:03:14 -0700 Subject: altertail + Nagios = something cool? Message-ID: <2b7af7c40708011003q16bf1a33je4abb661f2cc001@mail.gmail.com> A friend of mine just sent me a link to this program http://alerttail.sourceforge.net/index.html I'm relatively new to Nagios and am wondering how might this be of benefit to Nagios users. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MDalton at Centerline.com Wed Aug 1 20:03:06 2007 From: MDalton at Centerline.com (Michael Dalton) Date: Wed, 1 Aug 2007 14:03:06 -0400 Subject: testing list Message-ID: Testing. Michael Dalton Jr.Network Administrator | Information Technology Centerline Capital Group 8000 Towers Crescent Dr. Ste 550 Vienna, VA 22182 T 703-663-5869 | M 917-280-5460 mdalton at centerline.com | www.centerline.com Please note that my email address has changed. My new email address is mdalton at centerline.com This message is confidential and intended exclusively for the use of the individual or entity to whom it is addressed. This message is further subject to the terms of usage set forth at http://www.centerline.com/common/cards/legal.html -------------- 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 MDalton at Centerline.com Wed Aug 1 20:05:48 2007 From: MDalton at Centerline.com (Michael Dalton) Date: Wed, 1 Aug 2007 14:05:48 -0400 Subject: error code Message-ID: Hello, I am new to nagios and have been running 2.9 for about a month now without many issues, but, I am intermittently getting these errors. Return code of 139, is out of bounds (checks have worked prior to the error) Running Nagios 2.9 and the alerts are working fine except for the brief periods I get those errors on different checks. I will get the error and 10 min later its fine, I'm not quite sure what is happening. I have tried to look up what is happening but not found much on this. Anyone else experiencing this or am I doing something wrong? Thanks for the help Michael Michael Dalton Jr.Network Administrator | Information Technology Centerline Capital Group 8000 Towers Crescent Dr. Ste 550 Vienna, VA 22182 T 703-663-5869 | M 917-280-5460 mdalton at centerline.com | www.centerline.com Please note that my email address has changed. My new email address is mdalton at centerline.com This message is confidential and intended exclusively for the use of the individual or entity to whom it is addressed. This message is further subject to the terms of usage set forth at http://www.centerline.com/common/cards/legal.html -------------- 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 Aug 1 20:23:41 2007 From: marc at ena.com (Marc Powell) Date: Wed, 1 Aug 2007 13:23:41 -0500 Subject: testing list {Disarmed} {Fraud?} In-Reply-To: References: Message-ID: Test Failure. Please Reboot. -- Your Friendly Internet Testing Bunny > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Michael Dalton > Sent: Wednesday, August 01, 2007 1:03 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] testing list {Disarmed} {Fraud?} > > Testing. > > > > Michael Dalton > > Jr.Network Administrator | Information Technology > > Centerline Capital Group > > 8000 Towers Crescent Dr. Ste 550 Vienna, VA 22182 > > T 703-663-5869 | M 917-280-5460 > > mdalton at centerline.com | www.centerline.com > > > > Please note that my email address has changed. My new email address is > mdalton at centerline.com > > This message is confidential and intended exclusively for the use of the > individual or entity to whom it is addressed. This message is further > subject to the terms of usage set forth at > > http://www.centerline.com/common/cards/legal.htmlwww. > > > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MPetersen at gs1us.org Wed Aug 1 21:21:03 2007 From: MPetersen at gs1us.org (Petersen, Mark) Date: Wed, 1 Aug 2007 14:21:03 -0500 Subject: Nagios Looking Glass 1.06 Message-ID: <115F9F24033E1E4AB338024BDF9646F00AAF07@chilms1002.UCCORG.org> I'm getting the following error. The checksum I received with the feed is invalid compared to my local check. Network problems may be causing packet loss. Hint: Try increasing PHP's 'memory_limit' and/or 'max_execution_time' settings in php.ini on the polling server, and restarting the web service. I'm trying to run nlg on a client and connect to the nagios server. I tried to login to artic (bug tracking), but could not get there. Since this claims to be a checksum error, I'm not really sure where to begin. I have no significant network errors in general. I have set the memory_limit to 1024MB and max_execution_timeout to 60s. The error is returned well before 60s. Has anyone else run into this? Nagios 2.5 on Ubuntu 6.10. mark ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 1 21:38:51 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 1 Aug 2007 15:38:51 -0400 Subject: error code In-Reply-To: References: Message-ID: "Anyone else experiencing this or am I doing something wrong?" HI Michael, I think it is a bit of Both. First Make sure you Read the Manual and understand what Nagios is doing and how it does it. THe error is usually not nagios but the plugin that is running a particular check. THe reason it takes about ten min to clear is most likely due to the check being run a second time with good results ten mintes after the 139 responce. Some key questions twords you would be, you said it was on different checks however you never specified what script or plugin was running the command. even theough it is different checks, it could all boil down to the same plugin giving the bad result. Did you check the Help to that plugin? or did you do a search on that particular error, Did you review the source code, to see what could have been the source of that error code? ect... ect.... good luck in getting to the source of the problem. Tony (author of NC_NEt) On 8/1/07, Michael Dalton wrote: > > Hello, > > I am new to nagios and have been running 2.9 for about a month now without > many issues, but, I am intermittently getting these errors. > > > > Return code of 139, is out of bounds > > (checks have worked prior to the error) > > > > Running Nagios 2.9 and the alerts are working fine except for the brief > periods I get those errors on different checks. > > I will get the error and 10 min later its fine, I'm not quite sure what is > happening. I have tried to look up what is happening but not found much on > this. > > > > Anyone else experiencing this or am I doing something wrong? > > Thanks for the help > > Michael > > > > > > *Michael Dalton* > > Jr.Network Administrator | Information Technology > > Centerline Capital Group > > 8000 Towers Crescent Dr. Ste 550 Vienna, VA 22182 > > T 703-663-5869 | M 917-280-5460 > > mdalton at centerline.com | www.centerline.com > > > > Please note that my email address has changed. My new email address is* > mdalton at centerline.com* > > This message is confidential and intended exclusively for the use of the > individual or entity to whom it is addressed. This message is further > subject to the terms of usage set forth at > http://www.centerline.com/common/cards/legal.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 > -------------- 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 cpugh at pppl.gov Wed Aug 1 23:25:19 2007 From: cpugh at pppl.gov (Cassandra Pugh) Date: Wed, 1 Aug 2007 17:25:19 -0400 Subject: cgi's not working or missing Message-ID: <4E20E7F01BC85746A7A29FDFBFEC988D05885B84@MAIL-STORE-1.pppl.gov> I just installed Nagios 2.9 and when I get up to the web portion, I get my page up, the documentation shows up, but when I click on various cgis on the sidebar, I get the whoops message : now, 1 - I have verified the config options by using the command line procedure, and it comes back 0 warnings, 0 errors. 2- Nagios log shows nagios starting just fine. I have verified it is running, I see logs that tell me things are being monitored, I get emails if stuff goes down, etc. I just cannot see the web interface. #3 I am not so sure about? I just ran the make files as the documentation states, so I don't see why this would not be correct? ALSO , clicking on trends.cgi, histogram.cgi and statusmap.cgi give me a not found error. well, they are NOT in my sbin, so that's not a surprise. what is a surprise, is why did they not install in the first place? I see their .c files in the installation folders, but there is no .cgi to be found for them. running gcc statusmap.c just gives me errors. are there some .o files I should include? " Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: 1. Verify configuration options using the -v command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors. 3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). :" -- Cassandra (609) 243-2413 "From a little spark may burst a mighty flame." ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 intercable.com.ve Wed Aug 1 23:29:27 2007 From: danilo.perdomo at intercable.com.ve (Danilo Perdomo) Date: Wed, 01 Aug 2007 17:29:27 -0400 Subject: cgi's not working or missing In-Reply-To: <4E20E7F01BC85746A7A29FDFBFEC988D05885B84@MAIL-STORE-1.pppl.gov> References: <4E20E7F01BC85746A7A29FDFBFEC988D05885B84@MAIL-STORE-1.pppl.gov> Message-ID: <46B0FB37.2080604@intercable.com.ve> Maybe this link can help you: http://www.debianhelp.co.uk/nagiosinstall.htm Cassandra Pugh escribi?: > I just installed Nagios 2.9 and when I get up to the web portion, I get my > page up, the documentation shows up, but when I click on various cgis on the > sidebar, I get the whoops message : > > now, > 1 - I have verified the config options by using the command line procedure, > and it comes back 0 warnings, 0 errors. > > 2- Nagios log shows nagios starting just fine. I have verified it is running, > I see logs that tell me things are being monitored, I get emails if stuff > goes down, etc. I just cannot see the web interface. > > #3 I am not so sure about? I just ran the make files as the documentation > states, so I don't see why this would not be correct? > > ALSO , > > clicking on trends.cgi, histogram.cgi and statusmap.cgi give me a not found > error. well, they are NOT in my sbin, so that's not a surprise. what is a > surprise, is why did they not install in the first place? I see their .c > files in the installation folders, but there is no .cgi to be found for them. > > running gcc statusmap.c just gives me errors. are there some .o files I > should include? > > " Whoops! > > Error: Could not read object configuration data! > > Here are some things you should check in order to resolve this error: > > 1. Verify configuration options using the -v command-line option to check for > errors. > 2. Check the Nagios log file for messages relating to startup or status data > errors. > 3. Make sure you've compiled the main program and the CGIs to use the same > object data storage options (i.e. default text file or template-based file). > :" > > -- > Cassandra > (609) 243-2413 > > > "From a little spark may burst a mighty flame." > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 jperrin at gmail.com Wed Aug 1 23:57:20 2007 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 1 Aug 2007 17:57:20 -0400 Subject: cgi's not working or missing In-Reply-To: <4E20E7F01BC85746A7A29FDFBFEC988D05885B84@MAIL-STORE-1.pppl.gov> References: <4E20E7F01BC85746A7A29FDFBFEC988D05885B84@MAIL-STORE-1.pppl.gov> Message-ID: <302ce8b50708011457q1ec0c5cbn114effc1da2d59bb@mail.gmail.com> On 8/1/07, Cassandra Pugh wrote: > clicking on trends.cgi, histogram.cgi and statusmap.cgi give me a not found > error. well, they are NOT in my sbin, so that's not a surprise. what is a > surprise, is why did they not install in the first place? I see their .c > files in the installation folders, but there is no .cgi to be found for them. There's a FAQ on this. 99% of the time it's missing build requirements. Please see -> http://www.nagios.org/faqs/viewfaq.php?faq_id=55 -- 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 amontibello at gmail.com Thu Aug 2 00:33:57 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 1 Aug 2007 18:33:57 -0400 Subject: error code In-Reply-To: References: Message-ID: Hi Michael, I did a search and found that this error was reported before with NSClient++ search the mailing list for the past few months for the Subject lines of: * "Sybase check on windows servers*"in the *Nagios User* and *"NSClient++ plugin problem (out of bounds)"* in the *Nagios Plugin-Help * this should point you in the correct location. Since I developed NC_NEt an alternative to NSCLient++ I did not read these messages, nor have I qualified the resolutions in them, but hopefully they help you. As an alternative you could try testing NC_Net and see if it meets your needs. It's install is simple, and it is fully compatible with CHeck_nt (compile check_nc_net if you want to use the additional fnctionallity of NC_NET) Biggest issue associated to it is that it uses the Dot Net Framework 2.0 and thus is a much larger footprint on startup and testing. (Due to memory managment via Dot Net virtual Machine) NC_NEt is on sourceforge, check Nagios exchange for the link or other availible Windows solutions. Tony (Author of NC_NEt) On 8/1/07, Michael Dalton wrote: > > Tony, > > > > Thank you for replying and you are right, I did not give enough info. J > > > > I am using linux fedora core 6 checking windows 2003 servers using > check_nt > > > > I have nsclient++ installed on each host and right now this is only > happening on one host, previously this has happened on several different > hosts, nothing specific that I am aware of. The same check_nt checks are > being done on 47 other hosts without any trouble. > > > > The steps I have taken are to remove nsclient++ and reinstalled the client > on the host (same results) > > Remove the checks from the services config, restarted then readded (same > results) > > > > I have tried to look up this error and searched most of the forums and not > found a lot pertaining to this. > > > > Once again, thank you for your response > > > > *Michael Dalton* > > Jr.Network Administrator | Information Technology > > Centerline Capital Group > > 8000 Towers Crescent Dr. Ste 550 Vienna, VA 22182 > > T 703-663-5869 | M 917-280-5460 > > mdalton at centerline.com | www.centerline.com > > > > Please note that my email address has changed. My new email address is* > mdalton at centerline.com* > > This message is confidential and intended exclusively for the use of the > individual or entity to whom it is addressed. This message is further > subject to the terms of usage set forth at > http://www.centerline.com/common/cards/legal.html > > * * > > * * > > > > *From:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *Anthony > Montibello > *Sent:* Wednesday, August 01, 2007 3:39 PM > *To:* Nagios Users Mailinglist > *Subject:* Re: [Nagios-users] error code > > > > "Anyone else experiencing this or am I doing something wrong?" > > > > HI Michael, I think it is a bit of Both. > > > > First Make sure you Read the Manual and understand what Nagios is doing > and how it does it. > > > > THe error is usually not nagios but the plugin that is running a > particular check. > > THe reason it takes about ten min to clear is most likely due to the check > being run a second time with good results ten mintes after the 139 responce. > > > > Some key questions twords you would be, > > you said it was on different checks however you never specified what > script or plugin was running the command. > > even theough it is different checks, it could all boil down to the same > plugin giving the bad result. > > > > Did you check the Help to that plugin? or did you do a search on that > particular error, > > Did you review the source code, to see what could have been the source of > that error code? > > ect... > > ect.... > > good luck in getting to the source of the problem. > > Tony (author of NC_NEt) > > > > On 8/1/07, *Michael Dalton* wrote: > > Hello, > > I am new to nagios and have been running 2.9 for about a month now without > many issues, but, I am intermittently getting these errors. > > > > Return code of 139, is out of bounds > > (checks have worked prior to the error) > > > > Running Nagios 2.9 and the alerts are working fine except for the brief > periods I get those errors on different checks. > > I will get the error and 10 min later its fine, I'm not quite sure what is > happening. I have tried to look up what is happening but not found much on > this. > > > > Anyone else experiencing this or am I doing something wrong? > > Thanks for the help > > Michael > > > > > > *Michael Dalton* > > Jr.Network Administrator | Information Technology > > Centerline Capital Group > > 8000 Towers Crescent Dr. Ste 550 Vienna, VA 22182 > > T 703-663-5869 | M 917-280-5460 > > mdalton at centerline.com | www.centerline.com > > > > Please note that my email address has changed. My new email address is* > mdalton at centerline.com * > > This message is confidential and intended exclusively for the use of the > individual or entity to whom it is addressed. This message is further > subject to the terms of usage set forth at > http://www.centerline.com/common/cards/legal.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 > > > -------------- 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 amoran at apple.com Thu Aug 2 03:31:33 2007 From: amoran at apple.com (Andy Moran) Date: Wed, 1 Aug 2007 18:31:33 -0700 Subject: Question about Next Scheduled Active Check In-Reply-To: <5CF656D1-51D2-40DD-A531-9B24E5238E52@apple.com> References: <5CF656D1-51D2-40DD-A531-9B24E5238E52@apple.com> Message-ID: <4D572CC6-9AEC-4CDC-A337-78553C3E8438@apple.com> Okay I spoke too soon. I'm on Nagios 2.9, which I understand the "Check For Orphaned Services" is on by default, and yet I'm still getting services left behind which have a "Next Scheduled Check" now set in the past. Any tips on figuring out why this is happening? --Andy On Jul 23, 2007, at 4:43 PM, Andy Moran wrote: > > Thanks guys.. upgrading to 2.9 which has orphan checks on by default > fixed the problem. > > --Andy > > On Jul 23, 2007, at 11:38 AM, Hugo van der Kooij wrote: > >> On Mon, 23 Jul 2007, Andy Moran wrote: >> >>> I'm running Nagios 2.4. Is this a known issue that's fixed in >>> later >>> versions, or perhaps a configuration problem? (This is with 331 >>> service checks, one Nagios server). >> >> There are issues fixed in 2.5 .... 2.9 that you might want to look >> at. >> >> Please check out: http://www.nagios.org/development/ >> changelog.php#2x_branch >> >> Hugo. >> >> -- >> hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ >> This message is using 100% recycled electrons. >> >> Some men see computers as they are and say "Windows" >> I use computers with Linux and say "Why Windows?" >> (Thanks JFK, for the insight.) > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 amoran at apple.com Thu Aug 2 04:01:11 2007 From: amoran at apple.com (Andy Moran) Date: Wed, 1 Aug 2007 19:01:11 -0700 Subject: Question about Next Scheduled Active Check In-Reply-To: <4D572CC6-9AEC-4CDC-A337-78553C3E8438@apple.com> References: <5CF656D1-51D2-40DD-A531-9B24E5238E52@apple.com> <4D572CC6-9AEC-4CDC-A337-78553C3E8438@apple.com> Message-ID: <7A951767-8860-44AC-856B-60D21154952F@apple.com> Cancel that. PEBKAC --Andy On Aug 1, 2007, at 6:31 PM, Andy Moran wrote: > > Okay I spoke too soon. I'm on Nagios 2.9, which I understand the > "Check For Orphaned Services" is on by default, and yet I'm still > getting services left behind which have a "Next Scheduled Check" now > set in the past. > > Any tips on figuring out why this is happening? > > --Andy > > On Jul 23, 2007, at 4:43 PM, Andy Moran wrote: > >> >> Thanks guys.. upgrading to 2.9 which has orphan checks on by default >> fixed the problem. >> >> --Andy >> >> On Jul 23, 2007, at 11:38 AM, Hugo van der Kooij wrote: >> >>> On Mon, 23 Jul 2007, Andy Moran wrote: >>> >>>> I'm running Nagios 2.4. Is this a known issue that's fixed in >>>> later >>>> versions, or perhaps a configuration problem? (This is with 331 >>>> service checks, one Nagios server). >>> >>> There are issues fixed in 2.5 .... 2.9 that you might want to look >>> at. >>> >>> Please check out: http://www.nagios.org/development/ >>> changelog.php#2x_branch >>> >>> Hugo. >>> >>> -- >>> hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ >>> This message is using 100% recycled electrons. >>> >>> Some men see computers as they are and say "Windows" >>> I use computers with Linux and say "Why Windows?" >>> (Thanks JFK, for the insight.) >> >> >> --------------------------------------------------------------------- >> - >> --- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a >> browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 ccarelse at mweb.com Thu Aug 2 07:22:43 2007 From: ccarelse at mweb.com (Carinus Carelse - MWEB) Date: Thu, 2 Aug 2007 07:22:43 +0200 Subject: Question Message-ID: <6586D1F97DDEDE408BEEF44402F379780971AF39@mwmx4.mweb.com> Hi, I would like to know if it is possible to put the acknowledgement link in the alert emails and sms and if it's possible how do i go about it. Carinus MWEB brings you the freedom of Wireless 3G/HSDPA technology for only R199p/m for the first 6 months and thereafter R249p/m on 500MB package. (T&C?s apply) To join, call 08600 32000 now or click here http://www.mweb.co.za/home/join/ to find out more MWEB :-) JUST LIKE THAT -------------- 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 mike.hawley at nspire.co.nz Thu Aug 2 11:30:16 2007 From: mike.hawley at nspire.co.nz (Mike Hawley) Date: Thu, 2 Aug 2007 21:30:16 +1200 Subject: Statusmap.cgi, trends.cgi, histogram.cgi Message-ID: <022501c7d4e7$bce274c0$0502010a@nspire.co.nz> Hi I am having an issue where I can not display the "Status Map" "Trends" and "Alert Histogram" from the left slide bar of my Nagios installation. I have re-installed on a new server and applied all the "libgd" files as per the NAGIOS FAQ site. I also re-ran the ./configure with the --with-gd-lib and --with-gd-inc options, to no avail. I do not see the three .cgi files in the sbin directory, but I do see the other files required for Nagios. The site works just nicely, but it does not display these options... I am running Nagios version 2.9, on a CentOS kernel with updates applied. Any help would be awesome... Mike Hawley No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.2/931 - Release Date: 8/1/2007 4:53 PM ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldrolia at bea.com Thu Aug 2 11:55:48 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Thu, 2 Aug 2007 02:55:48 -0700 Subject: Utilization report Message-ID: <2402BA0C1F52594E8E271233F62EB6A903FC7033@repbex02.amer.bea.com> Hi, Can somebody please let me know if there is any way to get a utilization report of a server say over a month through nagios. Something like it was utilized 20% or 30%. Secondly, which plugin can we use to check how much is the cpu utilization? Is there a way to get it in percentage terms? Any help will be greatly appreciated. With thanks, Lalita Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete 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 jperrin at gmail.com Thu Aug 2 13:13:41 2007 From: jperrin at gmail.com (Jim Perrin) Date: Thu, 2 Aug 2007 07:13:41 -0400 Subject: Statusmap.cgi, trends.cgi, histogram.cgi In-Reply-To: <022501c7d4e7$bce274c0$0502010a@nspire.co.nz> References: <022501c7d4e7$bce274c0$0502010a@nspire.co.nz> Message-ID: <302ce8b50708020413p28c93d09k9af8842ab747ec89@mail.gmail.com> On 8/2/07, Mike Hawley wrote: > I do not see the three .cgi files in the sbin directory, but I do see the > other files required for Nagios. The site works just nicely, but it does > not display these options... Your help awaits -> http://www.nagios.org/faqs/viewfaq.php?faq_id=55 > I am running Nagios version 2.9, on a CentOS kernel with updates applied. If you're using centos, I'd recommend installing the nagios rpms from the rpmforge repository. All the permissioning/building/user creation dirty work is done for you. All you have to do is configure it. -- 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 james at freecharity.org.uk Thu Aug 2 13:41:30 2007 From: james at freecharity.org.uk (James Davis) Date: Thu, 02 Aug 2007 12:41:30 +0100 Subject: Changing notification command based on notification periods Message-ID: <46B1C2EA.1070808@freecharity.org.uk> Is it possible to define different notification commands for different notification periods for a single user? I'd like to have notifications sent by e-mail during our working hours and additional notification by SMS out of working hours. Presently I'm doing this by defining two contacts, james and james-mobile with different notification periods and associated commands but I can't help feel this is a little inelegant. Thanks, James -- http://www.freecharity.org.uk/ - Free IT services for charities http://www.freecharity.org.uk/wiki/ - The VCSWiki ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Itayemi.A at ng.celtel.com Thu Aug 2 14:06:27 2007 From: Itayemi.A at ng.celtel.com (Ayotunde Itayemi) Date: Thu, 2 Aug 2007 13:06:27 +0100 Subject: Utilization report Message-ID: <99487797D76C7841AEEDE4A1DCA86C70332B04@VNL-LA01EX04P.vmobile-nigeria.com> Hi, There is a check_cpu on nagiosexchange.org. Just trying it out myself. You may also want the check_ram plugin too. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Lalita Drolia Sent: Thursday, August 02, 2007 10:56 AM To: Nagios Users Mailinglist Subject: [Nagios-users] Utilization report Hi, Can somebody please let me know if there is any way to get a utilization report of a server say over a month through nagios. Something like it was utilized 20% or 30%. Secondly, which plugin can we use to check how much is the cpu utilization? Is there a way to get it in percentage terms? Any help will be greatly appreciated. With thanks, Lalita Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete 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 ldrolia at bea.com Thu Aug 2 15:02:05 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Thu, 2 Aug 2007 06:02:05 -0700 Subject: Statusmap.cgi, trends.cgi, histogram.cgi In-Reply-To: <302ce8b50708020413p28c93d09k9af8842ab747ec89@mail.gmail.com> References: <022501c7d4e7$bce274c0$0502010a@nspire.co.nz> <302ce8b50708020413p28c93d09k9af8842ab747ec89@mail.gmail.com> Message-ID: <2402BA0C1F52594E8E271233F62EB6A903FC7199@repbex02.amer.bea.com> I have been facing the same issue. I followed Faq 55. I downloaded all packes and ran configure script. This time it says it found gd library. Can someone please tell me what do I do next? I mean do I need to run make command and recompile whole of nagios again? Because that is not mentioned in the faq. I really need help on this. Kindly respond. With thanks, Lalita -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jim Perrin Sent: Thursday, August 02, 2007 4:44 PM To: Mike Hawley Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Statusmap.cgi, trends.cgi, histogram.cgi On 8/2/07, Mike Hawley wrote: > I do not see the three .cgi files in the sbin directory, but I do see the > other files required for Nagios. The site works just nicely, but it does > not display these options... Your help awaits -> http://www.nagios.org/faqs/viewfaq.php?faq_id=55 > I am running Nagios version 2.9, on a CentOS kernel with updates applied. If you're using centos, I'd recommend installing the nagios rpms from the rpmforge repository. All the permissioning/building/user creation dirty work is done for you. All you have to do is configure it. -- 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 Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete 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 jperrin at gmail.com Thu Aug 2 15:04:00 2007 From: jperrin at gmail.com (Jim Perrin) Date: Thu, 2 Aug 2007 09:04:00 -0400 Subject: Statusmap.cgi, trends.cgi, histogram.cgi In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A903FC7199@repbex02.amer.bea.com> References: <022501c7d4e7$bce274c0$0502010a@nspire.co.nz> <302ce8b50708020413p28c93d09k9af8842ab747ec89@mail.gmail.com> <2402BA0C1F52594E8E271233F62EB6A903FC7199@repbex02.amer.bea.com> Message-ID: <302ce8b50708020604p5fe5a18drbf76763605483a98@mail.gmail.com> On 8/2/07, Lalita Drolia wrote: > Can someone please tell me what do I do next? I mean do I need to run > make command and recompile whole of nagios again? Because that is not > mentioned in the faq. Yes, you need to rebuild and re-install nagios. Basically you're doing the whole install process over again, starting from ./configure -- 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 ldrolia at bea.com Thu Aug 2 15:11:16 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Thu, 2 Aug 2007 06:11:16 -0700 Subject: Statusmap.cgi, trends.cgi, histogram.cgi In-Reply-To: <302ce8b50708020604p5fe5a18drbf76763605483a98@mail.gmail.com> References: <022501c7d4e7$bce274c0$0502010a@nspire.co.nz> <302ce8b50708020413p28c93d09k9af8842ab747ec89@mail.gmail.com> <2402BA0C1F52594E8E271233F62EB6A903FC7199@repbex02.amer.bea.com> <302ce8b50708020604p5fe5a18drbf76763605483a98@mail.gmail.com> Message-ID: <2402BA0C1F52594E8E271233F62EB6A903FC71AB@repbex02.amer.bea.com> Thank you for that input. One last question( sorry for being so ignorant).i I have backed up my etc folder. So once I am done with installing nagios again, I can simply replace the etc folder right? The etc folder has nothing to do with gd libraries and the issue I was facing earlier? Thanks, Lalita -----Original Message----- From: Jim Perrin [mailto:jperrin at gmail.com] Sent: Thursday, August 02, 2007 6:34 PM To: Lalita Drolia Cc: Mike Hawley; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Statusmap.cgi, trends.cgi, histogram.cgi On 8/2/07, Lalita Drolia wrote: > Can someone please tell me what do I do next? I mean do I need to run > make command and recompile whole of nagios again? Because that is not > mentioned in the faq. Yes, you need to rebuild and re-install nagios. Basically you're doing the whole install process over again, starting from ./configure -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete 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 jperrin at gmail.com Thu Aug 2 15:14:18 2007 From: jperrin at gmail.com (Jim Perrin) Date: Thu, 2 Aug 2007 09:14:18 -0400 Subject: Statusmap.cgi, trends.cgi, histogram.cgi In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A903FC71AB@repbex02.amer.bea.com> References: <022501c7d4e7$bce274c0$0502010a@nspire.co.nz> <302ce8b50708020413p28c93d09k9af8842ab747ec89@mail.gmail.com> <2402BA0C1F52594E8E271233F62EB6A903FC7199@repbex02.amer.bea.com> <302ce8b50708020604p5fe5a18drbf76763605483a98@mail.gmail.com> <2402BA0C1F52594E8E271233F62EB6A903FC71AB@repbex02.amer.bea.com> Message-ID: <302ce8b50708020614j4d4fd88bsac31736b2be28d42@mail.gmail.com> On 8/2/07, Lalita Drolia wrote: > > Thank you for that input. One last question( sorry for being so > ignorant).i I have backed up my etc folder. So once I am done with > installing nagios again, I can simply replace the etc folder right? > The etc folder has nothing to do with gd libraries and the issue I was > facing earlier? Correct. The configs for nagios are unrelated to the gd libraries and such. You can simply re-use your previous configs. -- 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 marc at ena.com Thu Aug 2 15:36:03 2007 From: marc at ena.com (Marc Powell) Date: Thu, 2 Aug 2007 08:36:03 -0500 Subject: Statusmap.cgi, trends.cgi, histogram.cgi In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A903FC71AB@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A903FC71AB@repbex02.amer.bea.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Lalita Drolia > Sent: Thursday, August 02, 2007 8:11 AM > To: Jim Perrin > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Statusmap.cgi, trends.cgi, histogram.cgi > > > Thank you for that input. One last question( sorry for being so > ignorant).i I have backed up my etc folder. So once I am done with > installing nagios again, I can simply replace the etc folder right? > The etc folder has nothing to do with gd libraries and the issue I was > facing earlier? If you do not run 'make install-config' your existing config files will remain untouched. All you really need to do is './configure <--with your options here> && make && make install' -- 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 Thu Aug 2 15:53:27 2007 From: jriggin at gmail.com (Jerad Riggin) Date: Thu, 2 Aug 2007 08:53:27 -0500 Subject: NSClient - Memory Usage Message-ID: <66955c170708020653g315a92edm8e405715587b6064@mail.gmail.com> I noticed in Nagios (using Nsclient) that it reports that my server has 2.6GB of free memory available. However, it only has 2 gigs of physical memory and windows reports 300MB free. Does nagios/nsclient factor in the virtual memory? -------------- 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 Aug 2 15:54:27 2007 From: marc at ena.com (Marc Powell) Date: Thu, 2 Aug 2007 08:54:27 -0500 Subject: Utilization report In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A903FC7033@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A903FC7033@repbex02.amer.bea.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Lalita Drolia > Sent: Thursday, August 02, 2007 4:56 AM > To: Nagios Users Mailinglist > Subject: [Nagios-users] Utilization report > > Hi, > > Can somebody please let me know if there is any way to get a utilization > report of a server say over a month through nagios. > > Something like it was utilized 20% or 30%. Nagios is primarily an availability monitor, not a utilization monitor. It can be used to monitor current utilization levels against specified availability parameters (warning and critical levels) but it doesn't actually store the utilization information unless you use a nagios addon like n2rrd or APAN (http://www.nagiosexchange.org/Charts.42.0.html). Those addons will take the performance information returned by most plugins and store it in an RRD file for trending and graphing. You could also take that performance information and store it yourself in a manner that's convenient for your reporting (http://nagios.sourceforge.net/docs/2_0/perfdata.html) There are many other stand-alone utilities that are designed specifically for utilization reporting like Cacti and Cricket that might suit your needs 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 marc at ena.com Thu Aug 2 15:57:25 2007 From: marc at ena.com (Marc Powell) Date: Thu, 2 Aug 2007 08:57:25 -0500 Subject: Changing notification command based on notificationperiods In-Reply-To: <46B1C2EA.1070808@freecharity.org.uk> References: <46B1C2EA.1070808@freecharity.org.uk> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of James Davis > Sent: Thursday, August 02, 2007 6:42 AM > To: Nagios Users Mailinglist > Subject: [Nagios-users] Changing notification command based on > notificationperiods > > Is it possible to define different notification commands for different > notification periods for a single user? I'd like to have notifications > sent by e-mail during our working hours and additional notification by > SMS out of working hours. > > Presently I'm doing this by defining two contacts, james and > james-mobile with different notification periods and associated commands > but I can't help feel this is a little inelegant. That's the only way to do it currently unless you write a custom notification script that Does The Right Thing. -- 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 ldrolia at bea.com Thu Aug 2 16:15:58 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Thu, 2 Aug 2007 07:15:58 -0700 Subject: Statusmap.cgi, trends.cgi, histogram.cgi In-Reply-To: References: <2402BA0C1F52594E8E271233F62EB6A903FC71AB@repbex02.amer.bea.com> Message-ID: <2402BA0C1F52594E8E271233F62EB6A903FC7207@repbex02.amer.bea.com> I would like to thank everyone who helped for getting this issue resolved for me. :))))) its working now. I can see the trends and histograms and statusmaps. I was afraid to redo my nagios config but it was pretty simple. Thank you all once again. Regards, Lalita -----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, August 02, 2007 7:06 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Statusmap.cgi, trends.cgi, histogram.cgi > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Lalita Drolia > Sent: Thursday, August 02, 2007 8:11 AM > To: Jim Perrin > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Statusmap.cgi, trends.cgi, histogram.cgi > > > Thank you for that input. One last question( sorry for being so > ignorant).i I have backed up my etc folder. So once I am done with > installing nagios again, I can simply replace the etc folder right? > The etc folder has nothing to do with gd libraries and the issue I was > facing earlier? If you do not run 'make install-config' your existing config files will remain untouched. All you really need to do is './configure <--with your options here> && make && make install' -- 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 Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete 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 philc at foundation-it.com Thu Aug 2 16:28:32 2007 From: philc at foundation-it.com (Phil Costelloe) Date: Thu, 2 Aug 2007 15:28:32 +0100 Subject: NSClient - Memory Usage In-Reply-To: <66955c170708020653g315a92edm8e405715587b6064@mail.gmail.com> References: <66955c170708020653g315a92edm8e405715587b6064@mail.gmail.com> Message-ID: From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jerad Riggin > I noticed in Nagios (using Nsclient) that it reports that my server has > 2.6GB of free memory available. However, it only has 2 gigs of physical > memory and windows reports 300MB free. Does nagios/nsclient factor in > the virtual memory? The NSClient memory check does include virtual. Here's the output from three checks on the same server, the first two use SNMP and the last uses NSCLient. SNMP physical mem SNMP CRITICAL - Physical Memory at 94% with 51.50 of 1,023 MB free SNMP virtual mem SNMP OK - Virtual Memory at 44% with 1,376 of 2,473 MB free Memuse Memory usage: total:2473.56 Mb - used: 1097.36 Mb (44%) - free: 1376.20 Mb (56%) -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 2 16:39:06 2007 From: marc at ena.com (Marc Powell) Date: Thu, 2 Aug 2007 09:39:06 -0500 Subject: Question In-Reply-To: <6586D1F97DDEDE408BEEF44402F379780971AF39@mwmx4.mweb.com> References: <6586D1F97DDEDE408BEEF44402F379780971AF39@mwmx4.mweb.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Carinus Carelse - MWEB > Sent: Thursday, August 02, 2007 12:23 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Question > > Hi, > > I would like to know if it is possible to put the acknowledgement link in > the alert emails and sms and if it's possible how do i go about it. Untested but using an actual acknowledgement link and http://nagios.sourceforge.net/docs/2_0/macros.html as a reference, add a link to the following in your service notification command -- http:///nagios/cgi-bin/cmd.cgi?cmd_typ=34&host=$HOSTNA ME$&service=$SERVICEDESC$ and the following link to your host notification command -- http:///nagios/cgi-bin/cmd.cgi?cmd_typ=33&host=$HOSTNA ME$ An example service notification command might look like -- define command { command_name service-notify-by-email command_line /bin/echo -e "Subject: Service $SERVICEDESC$ $SERVICESTATE$ alert for $HOSTNAME$!\n\n***** Nagios *****\n\nNotificati on Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $SERVICESTATE$\nAddress: $HOSTADDRESS$\n\nService: $SERVICEDESC$\nInfo: $SERVICEOUTPUT$\n\nDate/Ti me: $LONGDATETIME$\n\Acknowledge Link: http:///nagios/cgi-bin/cmd.cgi?cmd_typ=34&host=$HOSTNA ME$&service=$SERVICEDESC$" | /bin/mail -s '** $NOTIFICATIONTYPE$ alert - $HOSTALIA S$/$SERVICEDESC$ is $SERVICESTATE$ **' $CONTACTEMAIL$ } -- 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 cpugh at pppl.gov Thu Aug 2 20:42:10 2007 From: cpugh at pppl.gov (Cassandra Pugh) Date: Thu, 2 Aug 2007 14:42:10 -0400 Subject: cgi's not working In-Reply-To: References: Message-ID: <4E20E7F01BC85746A7A29FDFBFEC988D05885C2B@MAIL-STORE-1.pppl.gov> I just installed Nagios 2.9 and when I get up to the web portion, I get my page up, the documentation shows up, but when I click on various cgis on the sidebar, I get the whoops message : now, 1 - I have verified the config options by using the command line procedure, and it comes back 0 warnings, 0 errors. 2- Nagios log shows nagios starting just fine. I have verified it is running, I see logs that tell me things are being monitored, I get emails if stuff goes down, etc. I just cannot see the web interface. #3 I am not so sure about? I just ran the make files as the documentation states, so I don't see why this would not be correct? " Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: 1. Verify configuration options using the -v command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors. 3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). :" -- Cassandra (609) 243-2413 "From a little spark may burst a mighty flame." ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 2 20:47:33 2007 From: marc at ena.com (Marc Powell) Date: Thu, 2 Aug 2007 13:47:33 -0500 Subject: cgi's not working In-Reply-To: <4E20E7F01BC85746A7A29FDFBFEC988D05885C2B@MAIL-STORE-1.pppl.gov> References: <4E20E7F01BC85746A7A29FDFBFEC988D05885C2B@MAIL-STORE-1.pppl.gov> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Cassandra Pugh > Sent: Thursday, August 02, 2007 1:42 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] cgi's not working > > I just installed Nagios 2.9 and when I get up to the web portion, I get my > page up, the documentation shows up, but when I click on various cgis on > the > sidebar, I get the whoops message : > > now, > 1 - I have verified the config options by using the command line > procedure, > and it comes back 0 warnings, 0 errors. > > 2- Nagios log shows nagios starting just fine. I have verified it is > running, > I see logs that tell me things are being monitored, I get emails if stuff > goes down, etc. I just cannot see the web interface. > > #3 I am not so sure about? I just ran the make files as the documentation > states, so I don't see why this would not be correct? Presuming you followed the manual on configuring the web interface and that all is ok there. Are there any errors in your web server logs? Does your web server have permission to read /path/to/nagios/var and /path/to/nagios/etc? Do you have SELinux enabled and if so, verified that there are no errors 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 patrick.morris at hp.com Thu Aug 2 20:49:20 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 2 Aug 2007 11:49:20 -0700 Subject: cgi's not working In-Reply-To: <4E20E7F01BC85746A7A29FDFBFEC988D05885C2B@MAIL-STORE-1.pppl.gov> References: <4E20E7F01BC85746A7A29FDFBFEC988D05885C2B@MAIL-STORE-1.pppl.gov> Message-ID: <20070802184920.GK9182@pmorris.usa.hp.com> On Thu, 02 Aug 2007, Cassandra Pugh wrote: > I just installed Nagios 2.9 and when I get up to the web portion, I get my > page up, the documentation shows up, but when I click on various cgis on the > sidebar, I get the whoops message : > > now, > 1 - I have verified the config options by using the command line procedure, > and it comes back 0 warnings, 0 errors. > > 2- Nagios log shows nagios starting just fine. I have verified it is running, > I see logs that tell me things are being monitored, I get emails if stuff > goes down, etc. I just cannot see the web interface. > > #3 I am not so sure about? I just ran the make files as the documentation > states, so I don't see why this would not be correct? 1. That won't check for errors in your cgi.cfg, which sounds like it's not configured correctly. 2. Yep, that matches up with a borked cgi.cfg, too. 3. Check your cgi.cfg file. :) Also, make sure that those config files have proper permissions for your webserver user to read them. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From orz3h at tlen.pl Thu Aug 2 21:15:57 2007 From: orz3h at tlen.pl (orzeh) Date: Thu, 02 Aug 2007 21:15:57 +0200 Subject: EMC Symetrix monitoring In-Reply-To: <536053370708021007k4ffa2237i5bf64a16ed54f79b@mail.gmail.com> References: <536053370707310744i1f1aa251kb1de6e1640c4b195@mail.gmail.com> <46B0A602.30504@tlen.pl> <536053370708021007k4ffa2237i5bf64a16ed54f79b@mail.gmail.com> Message-ID: <46B22D6D.4010408@tlen.pl> David Schlecht wrote: > Thanks for your reply, orzeh. no problem > > Can you give me a little more info? sure > It looks like you're getting SNMP traps from EMC that your Navisphere > is processing. Is that right? no exactly, snmp traps are only configured in navisphere, i'm not touching sps in lower level. Traps are transmitted from navisphere. > > If so, how do you get EMC to use the standard SNMP ports? It can be configured in navisphere monitors templates (port, host) > Our ECC console only uses non-standard ports and requires lots of > handshaking. Does Navisphere have an interface library so it knows how > to deal with EMC? i've thought the navisphere is part of ecc, for sure it can work with ecc. I'm not using ecc on my san environment so I'm not good help. > Thanks again. > -David please inform me about your progress! orzeh ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thansen at plurisinc.com Thu Aug 2 21:22:25 2007 From: thansen at plurisinc.com (Travis Hansen) Date: Thu, 2 Aug 2007 15:22:25 -0400 Subject: Nagios and NSClient++ memory leak issue Message-ID: Greetings, We have been using Nagios for a while now and have had NSClient installed on several boxes with Windows 2003 SP1. One of the boxes had an issue with NSClient that involved a memory leak that consistently brought the server down after approximately 2 days. We believe the issue stemmed from an error message that is generated every ~ 70 seconds. I updated the client to NSClient++ in hopes that this would fix the issue, but it appears that the issue remains. The monitoring still works (which proves we have two way communication), but the error is created nonetheless. The log file reports this error approximately every 70 seconds: 2007-08-02 15:05:12: debug:.\PDHCollector.cpp:101: Detected language: English US (0x0409) 2007-08-02 15:05:12: debug:.\NSClient++.cpp:305: Loading plugin: NRPE server... 2007-08-02 15:05:12: error:.\PDHCollector.cpp:119: Attempting to open counter... 2007-08-02 15:05:12: error:.\PDHCollector.cpp:122: Counters opend... 2007-08-02 15:05:12: debug:.\NSClient++.cpp:305: Loading plugin: NSClient server... 2007-08-02 15:05:12: debug:c:\source\nscp\trunk\include\Socket.h:515: Bound to: 0.0.0.0:1248 2007-08-02 15:05:12: debug:c:\source\nscp\trunk\include\Socket.h:515: Bound to: 0.0.0.0:5666 2007-08-02 15:05:12: debug:c:\source\nscp\trunk\include\Socket.h:521: Socket ready... 2007-08-02 15:05:12: debug:c:\source\nscp\trunk\include\Socket.h:521: Socket ready... 2007-08-02 15:05:36: debug:.\NSClientListener.cpp:141: Data: GIOP 2007-08-02 15:05:36: error:.\NSClientListener.cpp:155: Invalid password (GIOP 2007-08-02 15:06:45: debug:.\NSClientListener.cpp:141: Data: GIOP 2007-08-02 15:06:45: error:.\NSClientListener.cpp:155: Invalid password (GIOP The NSClientListener is reporting an invalid password, but we do not have a password set in our cfg file and we are not passing it from the Nagios server. Anyone seen this issue before? 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 alexus at gmail.com Thu Aug 2 21:24:14 2007 From: alexus at gmail.com (alexus) Date: Thu, 2 Aug 2007 15:24:14 -0400 Subject: check_mysql -S isn't working Message-ID: <6ae50c2d0708021224h11ea6691lb034a6b96116b424@mail.gmail.com> # ./check_mysql -H 10.52.208.99 -u xxxx -p xxxxxxxxx -S Slave IO: Yes Slave SQL: No Seconds Behind Master: (null) # how come I get "null" in "No Seconds Behind Master? anyone? -- http://alexus.org/ -------------- 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 loco at d0pefish.de Thu Aug 2 21:35:44 2007 From: loco at d0pefish.de (Peter Hinse) Date: Thu, 02 Aug 2007 21:35:44 +0200 Subject: check_mysql -S isn't working In-Reply-To: <6ae50c2d0708021224h11ea6691lb034a6b96116b424@mail.gmail.com> References: <6ae50c2d0708021224h11ea6691lb034a6b96116b424@mail.gmail.com> Message-ID: <46B23210.9040003@d0pefish.de> alexus wrote: > # ./check_mysql -H 10.52.208.99 -u xxxx > -p xxxxxxxxx -S > Slave IO: Yes Slave SQL: No Seconds Behind Master: (null) > # > > how come I get "null" in "No Seconds Behind Master? > anyone? Read it as Slave IO: Yes Slave SQL: No Seconds Behind Master: (null) Your replication does not seem to work. Try a slave stop ; slave start ; show slave status ; on your mysql console. Regards, Peter ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brady.maxwell at gmail.com Thu Aug 2 21:41:08 2007 From: brady.maxwell at gmail.com (Brady Maxwell) Date: Thu, 2 Aug 2007 15:41:08 -0400 Subject: Last Check time stamp incorrect or not updating properly? Message-ID: So when I look at the web interface for host status detail, I can see that the last check column has time values that are in correct. Many of the services will be accurate however some services will lag behind by several hours or even a day. However if I click on the service that has the incorrect time stamp and go to the details for that service I see that the last check time is wrong but the last update time is correct. Also I submit all the results on this server to another server with nsca, and the time stamp on the passive or central server might be more up to date than the time stamp on the sever doing the active check. However many of the time stamps still lag behind by an hour or more on the central server, even though they are sometimes ahead of the distributed servers checks. Again the last update time on the service status page seem to be accurate to with n 5 minutes. I have all checks set to 5 minute time frames so it seems to me that the Last Check time stamp should always be with in the last 5 minutes. Watching the logs has convinced me that the checks are actually happening and getting sent to the central server in the 5 minute time frame. Has anyone experienced this before? Anyone know why this happens? -- -- Brady Maxwell -- Biter of Dogs Ears Systems Administrator Garbage Man Bouncer Paratrooper -------------- 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 Aug 2 21:42:31 2007 From: marc at ena.com (Marc Powell) Date: Thu, 2 Aug 2007 14:42:31 -0500 Subject: check_mysql -S isn't working {Disarmed} {Fraud?} In-Reply-To: <6ae50c2d0708021224h11ea6691lb034a6b96116b424@mail.gmail.com> References: <6ae50c2d0708021224h11ea6691lb034a6b96116b424@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 alexus > Sent: Thursday, August 02, 2007 2:24 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_mysql -S isn't working {Disarmed} {Fraud?} > > # ./check_mysql -H 10.52.208.9910. -u xxxx -p > xxxxxxxxx -S > Slave IO: Yes Slave SQL: No Seconds Behind Master: (null) > # > > how come I get "null" in "No Seconds Behind Master? > anyone? Ok. I'll bite on the second time around... My GUESS- The Seconds_Behind_Master column of the of the mysql command 'show slave status' has the value 'null' or is empty. Connect to mysql, issue the 'show slave status;' command and verify if that's the case. Alternately, the version of mysql that you are using, whatever it is, changed that column such that the plugin can no longer parse it. Alternately, the slave is broken in some way. -- 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 alexus at gmail.com Thu Aug 2 22:01:13 2007 From: alexus at gmail.com (alexus) Date: Thu, 2 Aug 2007 16:01:13 -0400 Subject: check_mysql -S isn't working {Disarmed} {Fraud?} In-Reply-To: References: <6ae50c2d0708021224h11ea6691lb034a6b96116b424@mail.gmail.com> Message-ID: <6ae50c2d0708021301t2403232cn517457ac7abbdfe1@mail.gmail.com> ok, 'Seconds Behind Master' does have value of null, but where and what do i need to set, in order for it to function properly? i'm using mysql-5.0.45 On 8/2/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 alexus > > Sent: Thursday, August 02, 2007 2:24 PM > > To: Nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] check_mysql -S isn't working {Disarmed} > {Fraud?} > > > > # ./check_mysql -H 10.52.208.9910. -u xxxx -p > > xxxxxxxxx -S > > Slave IO: Yes Slave SQL: No Seconds Behind Master: (null) > > # > > > > how come I get "null" in "No Seconds Behind Master? > > anyone? > > Ok. I'll bite on the second time around... > > My GUESS- The Seconds_Behind_Master column of the of the mysql command > 'show slave status' has the value 'null' or is empty. Connect to mysql, > issue the 'show slave status;' command and verify if that's the case. > > Alternately, the version of mysql that you are using, whatever it is, > changed that column such that the plugin can no longer parse it. > > Alternately, the slave is broken in some way. > > -- > 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 > -- http://alexus.org/ -------------- 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 Thu Aug 2 22:01:56 2007 From: alexus at gmail.com (alexus) Date: Thu, 2 Aug 2007 16:01:56 -0400 Subject: check_mysql -S isn't working In-Reply-To: <46B23210.9040003@d0pefish.de> References: <6ae50c2d0708021224h11ea6691lb034a6b96116b424@mail.gmail.com> <46B23210.9040003@d0pefish.de> Message-ID: <6ae50c2d0708021301g2f36594ewcac65ba7603602a5@mail.gmail.com> my replication does work... On 8/2/07, Peter Hinse wrote: > > alexus wrote: > > # ./check_mysql -H 10.52.208.99 -u xxxx > > -p xxxxxxxxx -S > > Slave IO: Yes Slave SQL: No Seconds Behind Master: (null) > > # > > > > how come I get "null" in "No Seconds Behind Master? > > anyone? > > Read it as > > Slave IO: Yes > Slave SQL: No > Seconds Behind Master: (null) > > Your replication does not seem to work. Try a > > slave stop ; > slave start ; > show slave status ; > > on your mysql console. > > Regards, > > Peter > -- http://alexus.org/ -------------- 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 Aug 2 22:08:49 2007 From: marc at ena.com (Marc Powell) Date: Thu, 2 Aug 2007 15:08:49 -0500 Subject: check_mysql -S isn't working In-Reply-To: <6ae50c2d0708021301t2403232cn517457ac7abbdfe1@mail.gmail.com> References: <6ae50c2d0708021301t2403232cn517457ac7abbdfe1@mail.gmail.com> Message-ID: > -----Original Message----- > From: alexus [mailto:alexus at gmail.com] > Sent: Thursday, August 02, 2007 3:01 PM > To: Marc Powell > Cc: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_mysql -S isn't working {Disarmed} > {Fraud?} {Disarmed} {Fraud?} > > ok, 'Seconds Behind Master' does have value of null, but > where and what do i need to set, in order for it to function properly? > i'm using mysql-5.0.45 No clue here. The mysql-users support group will probably get you a faster, more accurate answer since it's outside the realm of 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 MJoyce at ccia.unsw.edu.au Fri Aug 3 01:41:04 2007 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Fri, 3 Aug 2007 09:41:04 +1000 Subject: SQL 2005 Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6A0286B93F@mail01.ccia.local> Hi all, Does anyone have method of determining is a database is up and accessible ? At the moment we check the server is up and services are running, but my availability reports don't show if staff can't login to a db. I'm thinking nrpe+wmi might be useful, or old fashioned vbs. Or perhaps SQL2005 have some snmp OIDs I can query ? Any ideas ? Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research -------------- 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 lists at blazestudios.com Fri Aug 3 07:53:18 2007 From: lists at blazestudios.com (Tom Ray [Lists]) Date: Fri, 03 Aug 2007 01:53:18 -0400 Subject: Timeout Limits Message-ID: <46B2C2CE.8030600@blazestudios.com> How do I raise the timeout limits from 10 seconds on things like the smtp_check, httpd_check, etc? 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 ldrolia at bea.com Fri Aug 3 09:08:25 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Fri, 3 Aug 2007 00:08:25 -0700 Subject: Hierarchical representation in hostgroups. Message-ID: <2402BA0C1F52594E8E271233F62EB6A903FC7530@repbex02.amer.bea.com> Hi, I have configured nagios to monitor about 800 servers. I have made various hostgroups on the basis of operating systems, databases installed, teams using the machines etc. Now I want to view them in hostgroups on web interface in the form of a tree. For example, I want one broad category of operating systems, under that windows, linux solaris etc and again under windows, 2000 and 2003. Is it possible to have any such kind of view for hostgroups? Because right now it just shows a number of hostgroups in a table which is not very useful to me. Kindly help. Lalita Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete 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 kmenard at servprise.com Fri Aug 3 13:45:27 2007 From: kmenard at servprise.com (Kevin Menard) Date: Fri, 3 Aug 2007 07:45:27 -0400 Subject: Request for Feedback: Nagios Plugin Message-ID: <384329B8D7108B45A3064FB38FCF267B0E1B10@aristotle.servprise.office> Hi all, I'm looking for some feedback on a plugin developed for our WebReboot Enterprise products. It won't require you to download anything, to install anything, or to purchase anything. The details on the plugin thus far can be found at: http://plato/nagios/index.html Really what I'm looking for is feedback on the overall design. Certain decisions had to be made with what constitutes a host check versus a service check or a host event handler versus a service one. Likewise, when a corrective action is taken is fairly subjective too. E.g., HARD only? Soft but after 3 attempts? I'm looking for help with a few of the following: 1) The password to the WebReboot Enterprise has to be stored somewhere. How would you like to see this done? For simplicity, it's specified as a command argument right now. Obviously, anyone with permissions to open your host and service configs can see it. One suggestion had been to push this off into a plugin configuration file and restrict access to that. 2) How would you like to see when plugins perform actions? Should it be configurable, yielding flexibility at the expense of usability? Should it just be hard-coded with notes on how to change it (it's ASL-licensed Python code, so not too hard)? 3) Event handlers are currently non-blocking. That is, if you choose to power on a host, the event handler issues the command to the WebReboot Enterprise and then returns control to Nagios. The WebReboot Enterprise then takes care of powering on the host. This means the script may return in seconds while it may take orders of magnitude longer for the host to power up. The consequence of this is that if your max attempts is too low or timing is too tight, host checks may continue to execute while the host is powering up and could put it into an erroneous HARD DOWN state. How should this be handled? Documentation for the user on changing timing & attempt values? Or should the event handler insert a configurable artificial delay? The downside of the latter being that it requires fine tuning for each host, as some boot to the OS quickly while others do not. Anyway, any help this list could provide would be great. Ultimately, the plugin is for Nagios users and we want to make sure we're building something that meets your expectations. -- Kevin Menard Servprise International, Inc. 800.832.3823 x308 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kmenard at servprise.com Fri Aug 3 14:03:58 2007 From: kmenard at servprise.com (Kevin Menard) Date: Fri, 3 Aug 2007 08:03:58 -0400 Subject: Request for Feedback: Nagios Plugin In-Reply-To: <46B316A5.4080806@pictura-dp.nl> References: <384329B8D7108B45A3064FB38FCF267B0E1B10@aristotle.servprise.office> <46B316A5.4080806@pictura-dp.nl> Message-ID: <384329B8D7108B45A3064FB38FCF267B0E1B11@aristotle.servprise.office> Argh. Guess I need to double-check my URLs. The correct one is: http://dev.servprise.com/nagios/ Thanks for the correction. -- Kevin > -----Original Message----- > From: Sander Klein [mailto:sander at pictura-dp.nl] > Sent: Friday, August 03, 2007 7:51 AM > To: Kevin Menard > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Request for Feedback: Nagios Plugin > > Hi, > > looking at http://plato/nagios/index.html is kind of hard. > > Greets, > > Sander > > > > Kevin Menard wrote: > > Hi all, > > > > I'm looking for some feedback on a plugin developed for our WebReboot > > Enterprise products. It won't require you to download anything, to > > install anything, or to purchase anything. The details on the plugin > > thus far can be found at: http://plato/nagios/index.html > > > > Really what I'm looking for is feedback on the overall design. > Certain > > decisions had to be made with what constitutes a host check versus a > > service check or a host event handler versus a service one. > Likewise, > > when a corrective action is taken is fairly subjective too. E.g., > HARD > > only? Soft but after 3 attempts? > > > > I'm looking for help with a few of the following: > > > > 1) The password to the WebReboot Enterprise has to be stored > somewhere. > > How would you like to see this done? For simplicity, it's specified > as > > a command argument right now. Obviously, anyone with permissions to > > open your host and service configs can see it. One suggestion had > been > > to push this off into a plugin configuration file and restrict access > to > > that. > > > > 2) How would you like to see when plugins perform actions? Should it > be > > configurable, yielding flexibility at the expense of usability? > Should > > it just be hard-coded with notes on how to change it (it's ASL- > licensed > > Python code, so not too hard)? > > > > 3) Event handlers are currently non-blocking. That is, if you choose > to > > power on a host, the event handler issues the command to the > WebReboot > > Enterprise and then returns control to Nagios. The WebReboot > Enterprise > > then takes care of powering on the host. This means the script may > > return in seconds while it may take orders of magnitude longer for > the > > host to power up. The consequence of this is that if your max > attempts > > is too low or timing is too tight, host checks may continue to > execute > > while the host is powering up and could put it into an erroneous HARD > > DOWN state. > > > > How should this be handled? Documentation for the user on changing > > timing & attempt values? Or should the event handler insert a > > configurable artificial delay? The downside of the latter being that > it > > requires fine tuning for each host, as some boot to the OS quickly > while > > others do not. > > > > Anyway, any help this list could provide would be great. Ultimately, > > the plugin is for Nagios users and we want to make sure we're > building > > something that meets your expectations. > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kmenard at servprise.com Fri Aug 3 14:05:28 2007 From: kmenard at servprise.com (Kevin Menard) Date: Fri, 3 Aug 2007 08:05:28 -0400 Subject: Request for Feedback: Nagios Plugin In-Reply-To: <384329B8D7108B45A3064FB38FCF267B0E1B10@aristotle.servprise.office> References: <384329B8D7108B45A3064FB38FCF267B0E1B10@aristotle.servprise.office> Message-ID: <384329B8D7108B45A3064FB38FCF267B0E1B12@aristotle.servprise.office> Sorry for the self-reply, but the URL posted is incorrect (thanks Sander for pointing this out). It should be: http://dev.servprise.com/nagios/ Thanks, Kevin > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Kevin Menard > Sent: Friday, August 03, 2007 7:45 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Request for Feedback: Nagios Plugin > > Hi all, > > I'm looking for some feedback on a plugin developed for our WebReboot > Enterprise products. It won't require you to download anything, to > install anything, or to purchase anything. The details on the plugin > thus far can be found at: http://plato/nagios/index.html > > Really what I'm looking for is feedback on the overall design. Certain > decisions had to be made with what constitutes a host check versus a > service check or a host event handler versus a service one. Likewise, > when a corrective action is taken is fairly subjective too. E.g., HARD > only? Soft but after 3 attempts? > > I'm looking for help with a few of the following: > > 1) The password to the WebReboot Enterprise has to be stored somewhere. > How would you like to see this done? For simplicity, it's specified as > a command argument right now. Obviously, anyone with permissions to > open your host and service configs can see it. One suggestion had been > to push this off into a plugin configuration file and restrict access > to > that. > > 2) How would you like to see when plugins perform actions? Should it > be > configurable, yielding flexibility at the expense of usability? Should > it just be hard-coded with notes on how to change it (it's ASL-licensed > Python code, so not too hard)? > > 3) Event handlers are currently non-blocking. That is, if you choose > to > power on a host, the event handler issues the command to the WebReboot > Enterprise and then returns control to Nagios. The WebReboot > Enterprise > then takes care of powering on the host. This means the script may > return in seconds while it may take orders of magnitude longer for the > host to power up. The consequence of this is that if your max attempts > is too low or timing is too tight, host checks may continue to execute > while the host is powering up and could put it into an erroneous HARD > DOWN state. > > How should this be handled? Documentation for the user on changing > timing & attempt values? Or should the event handler insert a > configurable artificial delay? The downside of the latter being that > it > requires fine tuning for each host, as some boot to the OS quickly > while > others do not. > > Anyway, any help this list could provide would be great. Ultimately, > the plugin is for Nagios users and we want to make sure we're building > something that meets your expectations. > > -- > Kevin Menard > Servprise International, Inc. > 800.832.3823 x308 > > ----------------------------------------------------------------------- > -- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 ton.voon at altinity.com Fri Aug 3 14:09:59 2007 From: ton.voon at altinity.com (Ton Voon) Date: Fri, 3 Aug 2007 13:09:59 +0100 Subject: Hierarchical representation in hostgroups. In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A903FC7530@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A903FC7530@repbex02.amer.bea.com> Message-ID: <647680E6-38DE-4BA0-9E9F-AA436BC0410A@altinity.com> On 3 Aug 2007, at 08:08, Lalita Drolia wrote: > I have configured nagios to monitor about 800 servers. I have made > various hostgroups on the basis of operating systems, databases > installed, teams using the machines etc. > > Now I want to view them in hostgroups on web interface in the form > of a tree. For example, I want one broad category of operating > systems, under that windows, linux solaris etc and again under > windows, 2000 and 2003. > > > Is it possible to have any such kind of view for hostgroups? > > Because right now it just shows a number of hostgroups in a table > which is not very useful to me. This sounds like Hostgroup Hierarchy. Opsview has a feature where we group hostgroups in a hierarchical fashion and then the /status/hostgroup link shows you the complete summary of all those hostgroups and all the host/service states underneath. We do this by utilising the NDO information and running some complex SQL. More information here: http://opsview.org/hostgrouphierarchy Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldrolia at bea.com Fri Aug 3 14:26:09 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Fri, 3 Aug 2007 05:26:09 -0700 Subject: Hierarchical representation in hostgroups. In-Reply-To: <647680E6-38DE-4BA0-9E9F-AA436BC0410A@altinity.com> References: <2402BA0C1F52594E8E271233F62EB6A903FC7530@repbex02.amer.bea.com> <647680E6-38DE-4BA0-9E9F-AA436BC0410A@altinity.com> Message-ID: <2402BA0C1F52594E8E271233F62EB6A903FC779E@repbex02.amer.bea.com> But Opsview is a separate software in itself. Is there any way to aceive this in Nagios? Basically a tree like structure to see all the hosts in? -----Original Message----- From: Ton Voon [mailto:ton.voon at altinity.com] Sent: Friday, August 03, 2007 5:40 PM To: Lalita Drolia Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Hierarchical representation in hostgroups. On 3 Aug 2007, at 08:08, Lalita Drolia wrote: > I have configured nagios to monitor about 800 servers. I have made > various hostgroups on the basis of operating systems, databases > installed, teams using the machines etc. > > Now I want to view them in hostgroups on web interface in the form > of a tree. For example, I want one broad category of operating > systems, under that windows, linux solaris etc and again under > windows, 2000 and 2003. > > > Is it possible to have any such kind of view for hostgroups? > > Because right now it just shows a number of hostgroups in a table > which is not very useful to me. This sounds like Hostgroup Hierarchy. Opsview has a feature where we group hostgroups in a hierarchical fashion and then the /status/hostgroup link shows you the complete summary of all those hostgroups and all the host/service states underneath. We do this by utilising the NDO information and running some complex SQL. More information here: http://opsview.org/hostgrouphierarchy Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete 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 marc at ena.com Fri Aug 3 14:36:32 2007 From: marc at ena.com (Marc Powell) Date: Fri, 3 Aug 2007 07:36:32 -0500 Subject: Timeout Limits In-Reply-To: <46B2C2CE.8030600@blazestudios.com> References: <46B2C2CE.8030600@blazestudios.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Tom Ray [Lists] > Sent: Friday, August 03, 2007 12:53 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Timeout Limits > > How do I raise the timeout limits from 10 seconds on things like the > smtp_check, httpd_check, etc? 1) if the plugin has a timeout option, typically -t but you can use --help to verify, modify your command{} definitions to pass it. 2) modify the host and service check timeout options in nagios.cfg to be greater than your highest plugin specific timeout. 3) reload 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 marc at ena.com Fri Aug 3 14:42:00 2007 From: marc at ena.com (Marc Powell) Date: Fri, 3 Aug 2007 07:42:00 -0500 Subject: Hierarchical representation in hostgroups. In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A903FC779E@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A903FC779E@repbex02.amer.bea.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Lalita Drolia > Sent: Friday, August 03, 2007 7:26 AM > To: Ton Voon > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Hierarchical representation in hostgroups. > > > > But Opsview is a separate software in itself. Is there any way to aceive > this in Nagios? Basically a tree like structure to see all the hosts in? No. Nagios has no notion of nested hostgroups outside of creative use of template inheritance. -- 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 cpugh at pppl.gov Fri Aug 3 16:47:28 2007 From: cpugh at pppl.gov (Cassandra Pugh) Date: Fri, 3 Aug 2007 10:47:28 -0400 Subject: cgi's not working In-Reply-To: References: Message-ID: <4E20E7F01BC85746A7A29FDFBFEC988D05885C94@MAIL-STORE-1.pppl.gov> Ok, so I disabled SELinux, and all of a sudden, everything works fine. SELinux = the bane of my existence. So thanks Marc for mentioning SELinux. -- Cassandra (609) 243-2413 "From a little spark may burst a mighty flame." Message: 7 Date: Thu, 2 Aug 2007 14:42:10 -0400 From: "Cassandra Pugh" Subject: [Nagios-users] cgi's not working To: Message-ID: <4E20E7F01BC85746A7A29FDFBFEC988D05885C2B at MAIL-STORE-1.pppl.gov> Content-Type: text/plain; charset="us-ascii" I just installed Nagios 2.9 and when I get up to the web portion, I get my page up, the documentation shows up, but when I click on various cgis on the sidebar, I get the whoops message : now, 1 - I have verified the config options by using the command line procedure, and it comes back 0 warnings, 0 errors. 2- Nagios log shows nagios starting just fine. I have verified it is running, I see logs that tell me things are being monitored, I get emails if stuff goes down, etc. I just cannot see the web interface. #3 I am not so sure about? I just ran the make files as the documentation states, so I don't see why this would not be correct? " Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: 1. Verify configuration options using the -v command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors. 3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). :" -- Cassandra (609) 243-2413 "From a little spark may burst a mighty flame." ------------------------------ Message: 8 Date: Thu, 2 Aug 2007 13:47:33 -0500 From: "Marc Powell" Subject: Re: [Nagios-users] cgi's not working 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 Cassandra Pugh > Sent: Thursday, August 02, 2007 1:42 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] cgi's not working > > I just installed Nagios 2.9 and when I get up to the web portion, I get my > page up, the documentation shows up, but when I click on various cgis on > the > sidebar, I get the whoops message : > > now, > 1 - I have verified the config options by using the command line > procedure, > and it comes back 0 warnings, 0 errors. > > 2- Nagios log shows nagios starting just fine. I have verified it is > running, > I see logs that tell me things are being monitored, I get emails if stuff > goes down, etc. I just cannot see the web interface. > > #3 I am not so sure about? I just ran the make files as the documentation > states, so I don't see why this would not be correct? Presuming you followed the manual on configuring the web interface and that all is ok there. Are there any errors in your web server logs? Does your web server have permission to read /path/to/nagios/var and /path/to/nagios/etc? Do you have SELinux enabled and if so, verified that there are no errors there? -- Marc ------------------------------ Message: 9 Date: Thu, 2 Aug 2007 11:49:20 -0700 From: Patrick Morris Subject: Re: [Nagios-users] cgi's not working To: Cassandra Pugh Cc: nagios-users at lists.sourceforge.net Message-ID: <20070802184920.GK9182 at pmorris.usa.hp.com> Content-Type: text/plain; charset=us-ascii On Thu, 02 Aug 2007, Cassandra Pugh wrote: > I just installed Nagios 2.9 and when I get up to the web portion, I get my > page up, the documentation shows up, but when I click on various cgis on the > sidebar, I get the whoops message : > > now, > 1 - I have verified the config options by using the command line procedure, > and it comes back 0 warnings, 0 errors. > > 2- Nagios log shows nagios starting just fine. I have verified it is running, > I see logs that tell me things are being monitored, I get emails if stuff > goes down, etc. I just cannot see the web interface. > > #3 I am not so sure about? I just ran the make files as the documentation > states, so I don't see why this would not be correct? 1. That won't check for errors in your cgi.cfg, which sounds like it's not configured correctly. 2. Yep, that matches up with a borked cgi.cfg, too. 3. Check your cgi.cfg file. :) Also, make sure that those config files have proper permissions for your webserver user to read them. ------------------------------ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of 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 15, Issue 4 ******************************************* ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steveg at qis.net Fri Aug 3 16:53:55 2007 From: steveg at qis.net (Steve Gregory) Date: Fri, 03 Aug 2007 10:53:55 -0400 Subject: cgi issues Message-ID: <46B34183.7090604@qis.net> I have upgraded nagios from version 1.4 to 2.9 using the Debian packages.. I've been trying to configure the new installation and keep getting "Error: Could not read object configuration data!" when I try to run any of the cgi's. I have double checked all my config files and made sure the paths were correct. Has anyone else come across this problem? Steve ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.frost1 at pepsi.com Fri Aug 3 20:25:18 2007 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Fri, 3 Aug 2007 14:25:18 -0400 Subject: Scaling a Nagios Server Message-ID: <7F477BD26F545A4C8E4779754A38EFB30219DF58@PEPWMV00043.corp.pep.pvt> Hello. We've got a single Nagios server with the following stats 2 x Intel Xeon 2.4Ghz CPUs (hyperthreaded) 3.6Gb of memory Red Hat AS 3 Linux Nagios 2.9 Host Checks: 451 Service Checks: 2358 Average OS load level: 3 Service Check Execution Time (min/max/avg): 0.03 sec 30.04 sec 0.500 sec Service Check Latency (min/max/avg): 0.01 sec 33.67 sec 5.516 sec Host Check Execution Time: 0.00 sec 26.78 sec 0.722 sec Host Check Latency: 0.00 sec 3.68 sec 0.008 sec This box is almost exclusively doing active service checks. It is almost dedicated to Nagios (it does a couple of other things, all very low-volume). This server has grown considerably over time to encompass quite a lot more Nagios activity than it had when I took over Nagios admin. Now it seems active enough to start planning on scaling it somehow. While there will definitely be growth, I'm not really sure how I should break this architecture out. Our Nagios growth is a bit unpredictable as people ask us to monitor their stuff, but I might guess it at 20% per year. I assume I'd want to start looking at the distributed models for Nagios. My problem is that I feel like any architecture I try to plan out is really just a guess for this load (and predicted future load). Can anyone suggest where I should go from here in terms of planning out a Nagios-for-the-future architecture? How many hosts, for example? We looked at possibly going VM with Nagios, but it appears that at least with this configuration, Nagios is taking up too many resources. We could probably scale out with VM's, but I imagine we'd need more VM's (hosts) than we'd need with physical boxes. Any help is greatly appreciated. Thanks Mark ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Fri Aug 3 20:30:52 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Fri, 3 Aug 2007 11:30:52 -0700 Subject: odd "Nagios->check_smtp->Watchguard SOHO->MS Exchange" problem Message-ID: <2b7af7c40708031130y4b464b11pe3268f9580996aab@mail.gmail.com> I have an interesting Nagios question, and I'm wondering if it is a problem with Nagios, Watchguard SOHO, or Exchange. I am monitoring approximately 30 Exchange servers with no problem. Since I cannot ping them (b/c they're behind firewalls), I typically set the check_smtp plugin as the test to see if the host is alive. All is well for all of them (running just about every firewall imaginable, but mostly Cisco PIX), except for this Watchguard SOHO. My friend said that he was experiencing problems with what he expected was his firewall (Exchange queues and netstat showed nothing wrong), and I suggested that he run Kiwisyslogger on the Exchange box to have it view in real time what was going on. He called me back and said that there were all sorts of bad packet errors from my Nagios host. e.g. 2007-08-03 09:58:21 Local0.Warning 192.168.1.254 IP: Packet discarded from x.y.z.34 port 46302 to a.b.c.234 port 25 (TCP)(incorrect state) @2007-08-03-10:58:28 I had him send me the syslog dump, and shortly after I killed Nagios, mail started coming in ok and hasn't missed a beat. Looking through the logs, I'm only hitting his Exchange server like once every couple of minutes. Any ideas on what the problem could be? Unfortunately, I can't easily replicate the problem, lest I risk disrupting their connectity again. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 blazestudios.com Fri Aug 3 20:46:35 2007 From: lists at blazestudios.com (Tom Ray [Lists]) Date: Fri, 03 Aug 2007 14:46:35 -0400 Subject: Timeout Limits In-Reply-To: References: Message-ID: <46B3780B.1060506@blazestudios.com> Marc Powell wrote: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Tom Ray [Lists] >> Sent: Friday, August 03, 2007 12:53 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Timeout Limits >> >> How do I raise the timeout limits from 10 seconds on things like the >> smtp_check, httpd_check, etc? >> > > 1) if the plugin has a timeout option, typically -t but you can use > --help to verify, modify your command{} definitions to pass it. > 2) modify the host and service check timeout options in nagios.cfg to be > greater than your highest plugin specific timeout. > 3) reload nagios. > > -- > Marc > > Thanks, that worked great. I'm still getting a timeout error though even at 30 seconds....what do you recommend for a busy mail server? 60? 120? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 3 20:55:43 2007 From: marc at ena.com (Marc Powell) Date: Fri, 3 Aug 2007 13:55:43 -0500 Subject: Timeout Limits In-Reply-To: <46B3780B.1060506@blazestudios.com> References: <46B3780B.1060506@blazestudios.com> Message-ID: > -----Original Message----- > From: Tom Ray [Lists] [mailto:lists at blazestudios.com] > Sent: Friday, August 03, 2007 1:47 PM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Timeout Limits > > > Thanks, that worked great. I'm still getting a timeout error though even > at 30 seconds....what do you recommend for a busy mail server? 60? 120? My environment != your environment. My highest timeout is 45 seconds and I have some very busy mail servers but I might not be doing the same tests as you and I might have better hardware. Really, it depends on what you're testing and how long it takes for your servers to complete it. I'm sure you'll be able to tune it to suit your environment. -- 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 Fri Aug 3 21:15:24 2007 From: marc at ena.com (Marc Powell) Date: Fri, 3 Aug 2007 14:15:24 -0500 Subject: cgi issues In-Reply-To: <46B34183.7090604@qis.net> References: <46B34183.7090604@qis.net> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Steve Gregory > Sent: Friday, August 03, 2007 9:54 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] cgi issues > > I have upgraded nagios from version 1.4 to 2.9 using the Debian > packages.. I've been trying to configure the new installation and keep > getting "Error: Could not read object configuration data!" when I try to > run any of the cgi's. I have double checked all my config files and made > sure the paths were correct. Has anyone else come across this problem? And the other suggestions that were displayed? -- printf("
  • Verify configuration options using the -v command-line option to check for errors.\n"); printf("
  • Check the Nagios log file for messages relating to startup or status data errors.\n"); printf("
  • Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file).\n"); Is nagios actually running? Is your web server able to read files in /path/to/nagios/etc and /path/to/nagios/var? Any errors in your web server logs? Do you have SELinux enabled and providing proper access rights to your web server? There were configuration changes required in the conversion from 1.x to 2.x documented in the ChangeLog/What's New files. Did you make those changes? -- Marc with a sense of deja-vu ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tmblue at gmail.com Fri Aug 3 21:30:37 2007 From: tmblue at gmail.com (Tory M Blue) Date: Fri, 3 Aug 2007 12:30:37 -0700 Subject: cgi issues In-Reply-To: References: <46B34183.7090604@qis.net> Message-ID: <8a547c840708031230p40a1abbco753a8a299aad1d16@mail.gmail.com> > > I have upgraded nagios from version 1.4 to 2.9 using the Debian > > packages.. I've been trying to configure the new installation and keep > > getting "Error: Could not read object configuration data!" when I try > to > > run any of the cgi's. I have double checked all my config files and > made Check ownership of the file, not just permissions. Nagios:apache as the webserver needs access to it. That bit me before Tory ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 3 21:48:20 2007 From: marc at ena.com (Marc Powell) Date: Fri, 3 Aug 2007 14:48:20 -0500 Subject: cgi issues In-Reply-To: <8a547c840708031230p40a1abbco753a8a299aad1d16@mail.gmail.com> References: <8a547c840708031230p40a1abbco753a8a299aad1d16@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 Tory M Blue > Sent: Friday, August 03, 2007 2:31 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] cgi issues > > > > I have upgraded nagios from version 1.4 to 2.9 using the Debian > > > packages.. I've been trying to configure the new installation and keep > > > getting "Error: Could not read object configuration data!" when I try > > to > > > run any of the cgi's. I have double checked all my config files and > > made > > > Check ownership of the file, not just permissions. Nagios:apache as > the webserver needs access to it. That bit me before Read permissions for other is standard practice and sufficient. The external command file is the only file that needs special group association for security reasons. -- 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 termx23 at gmail.com Sat Aug 4 01:06:47 2007 From: termx23 at gmail.com (Peter Edmonds) Date: Sat, 4 Aug 2007 09:06:47 +1000 Subject: SQL 2005 In-Reply-To: <2A67EA781EC7F949A2AB0A0D07A86C6A0286B93F@mail01.ccia.local> References: <2A67EA781EC7F949A2AB0A0D07A86C6A0286B93F@mail01.ccia.local> Message-ID: <6b8cee7e0708031606o73ef9b3fy443062add5f72665@mail.gmail.com> Hi Matthew Install the freetds package, then use bsqldb to query your SQL2005 from the command line using a bash script. I have this setup under Groundwork Monitor Open Source and it works sensationally. I can query a SQL 2005 database, dump the results to a text file in my htdocs directory then use check_http to do a content check. Peter Edmonds On 8/3/07, Matthew Joyce wrote: > > > > > Hi all, > > Does anyone have method of determining is a database is up and accessible ? > > At the moment we check the server is up and services are running, but my > availability reports don't show if staff can't login to a db. > > I'm thinking nrpe+wmi might be useful, or old fashioned vbs. > > Or perhaps SQL2005 have some snmp OIDs I can query ? > > Any ideas ? > > Matthew Joyce > 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for > Medical Research > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 juanbabi at yahoo.com Sun Aug 5 09:22:07 2007 From: juanbabi at yahoo.com (Juan B) Date: Sun, 5 Aug 2007 00:22:07 -0700 (PDT) Subject: begginer with nagios Message-ID: <584823.21981.qm@web36807.mail.mud.yahoo.com> Hi list !! My name is juan, a security consultant, For one of my clients I want to implement a tool such as nagios which will monitor all of his switches throw SNMP traps. can nagios chatch snmp traps from swithces and show ports shut down etc..?? thanks, Juan ____________________________________________________________________________________ Got a little couch potato? Check out fun summer activities for kids. http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sun Aug 5 15:39:43 2007 From: marc at ena.com (Marc Powell) Date: Sun, 5 Aug 2007 08:39:43 -0500 Subject: begginer with nagios In-Reply-To: <584823.21981.qm@web36807.mail.mud.yahoo.com> References: <584823.21981.qm@web36807.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 Juan B > Sent: Sunday, August 05, 2007 2:22 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] begginer with nagios > > Hi list !! > > My name is juan, a security consultant, For one of my > clients I want to implement a tool such as nagios > which will monitor all of his switches throw SNMP > traps. > > can nagios chatch snmp traps from swithces and show > ports shut down etc..?? Yes to SNMP traps -- http://nagios.sourceforge.net/docs/2_0/toc.html Unsure about what you mean by 'show ports shut down'. Generally, if you can determine good/bad from a command line script or snmp, nagios can monitor it. For example, nagios can easily determine if a port is open when it should be closed. -- 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 nagios at ayksolutions.com Mon Aug 6 03:01:42 2007 From: nagios at ayksolutions.com (nagios) Date: Sun, 05 Aug 2007 21:01:42 -0400 Subject: global notification off? Message-ID: <46B672F6.80708@ayksolutions.com> Hello, Is there a way to turn off notifications in Nagios on a slave server globally? 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 paul at dugas.cc Mon Aug 6 03:49:22 2007 From: paul at dugas.cc (Paul Dugas) Date: Sun, 05 Aug 2007 21:49:22 -0400 Subject: Trap Handling Scheme Message-ID: <1186364962.30432.14.camel@pcpad.dugas.cc> I've been fiddling with services that are updated via snmptrapd and a handler script and the mechanics are working. I'm now running into a bit of confusion about handling some of the traps I'm getting. I'm wondering of I could hear how others are using this capability. Consider a UPS. My APCs are generating traps when they loose main power and when they return. I have a handler in snmptrapd's configs that sets that UPS's "POWER" service to "CRITICAL" and back to "OK" in response. What happens if the power is off long enough to discharge the battery and shutdown? No "OK" trap. What about all the other "pending doom" traps the UPS can send? Temperatures, bad batteries, etc.? Do I have a corresponding service for every one and manually clear them when they fire? Or, could I have a single generic "TRAP" service that logged and send notifications for them? I guess I'm asking "how do I use it" instead of "how do I do it" for SNMP trap handling. TIA, pd -- Paul Dugas Dugas Enterprises, LLC -------------- 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 nagios at ayksolutions.com Mon Aug 6 04:00:41 2007 From: nagios at ayksolutions.com (nagios) Date: Sun, 05 Aug 2007 22:00:41 -0400 Subject: global notification off? In-Reply-To: <46B672F6.80708@ayksolutions.com> References: <46B672F6.80708@ayksolutions.com> Message-ID: <46B680C9.3000707@ayksolutions.com> nagios wrote: > Hello, > > Is there a way to turn off notifications in Nagios on a slave server > globally? > > 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 > > Hmm...nevermind, it seems that I have figured this out. I just set the contacts.cfg email to :blackhole: and used the --exclude flag in the rsync cron so it doesn't copy over that file from master, since it never changes. Should work fine now. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 6 05:01:57 2007 From: marc at ena.com (Marc Powell) Date: Sun, 5 Aug 2007 22:01:57 -0500 Subject: global notification off? In-Reply-To: <46B680C9.3000707@ayksolutions.com> References: <46B680C9.3000707@ayksolutions.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of nagios > Sent: Sunday, August 05, 2007 9:01 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] global notification off? > > nagios wrote: > > Hello, > > > > Is there a way to turn off notifications in Nagios on a slave server > > globally? > > > > > Hmm...nevermind, it seems that I have figured this out. I just set the > contacts.cfg email to :blackhole: and used the --exclude flag in the > rsync cron so it doesn't copy over that file from master, since it never > changes. Should work fine now. There are better ways to do this. Enable_notifications option in nagios.cfg or templates with notification period of none for your contacts or hosts and services come to mind immediately. The first option is best since nagios won't have to go through all the notification logic just to end up sending an e-mail that goes to a blackhole address. -- 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 ldrolia at bea.com Mon Aug 6 07:48:44 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Sun, 5 Aug 2007 22:48:44 -0700 Subject: two notifications everytime Message-ID: <2402BA0C1F52594E8E271233F62EB6A904066CF2@repbex02.amer.bea.com> Hi, I have been using nagios for a long time now. But suddenly since a couple of days, all email notifications are being sent out twice. Be it recovery or problem or anything. Immediately one after another everyone in contact group is receiving two mails. I cant figure out why this is happening, kindly help. With thanks, Lalita Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete 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 shivkumar at outbackwifi.com Mon Aug 6 08:02:16 2007 From: shivkumar at outbackwifi.com (Shivkumar) Date: Mon, 06 Aug 2007 11:32:16 +0530 Subject: two notifications everytime In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A904066CF2@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A904066CF2@repbex02.amer.bea.com> Message-ID: <46B6B968.6020202@outbackwifi.com> Do your notification logs also show two emails being sent out? Regards, Lalita Drolia said the following: > > Hi, > > I have been using nagios for a long time now. But suddenly since a > couple of days, all email notifications are being sent out twice. > > Be it recovery or problem or anything. Immediately one after another > everyone in contact group is receiving two mails. > > > > I cant figure out why this is happening, kindly help. > > > > With thanks, > > Lalita > > > > > > > > > Notice: This email message, together with any attachments, may contain > information of BEA Systems, Inc., its subsidiaries and affiliated > entities, that may be confidential, proprietary, copyrighted and/or > legally privileged, and is intended solely for the use of the > individual or entity named in this message. If you are not the > intended recipient, and have received this message in error, please > immediately return this by email and then delete 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 -------------- 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 ldrolia at bea.com Mon Aug 6 08:05:15 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Sun, 5 Aug 2007 23:05:15 -0700 Subject: two notifications everytime In-Reply-To: <46B6B968.6020202@outbackwifi.com> References: <2402BA0C1F52594E8E271233F62EB6A904066CF2@repbex02.amer.bea.com> <46B6B968.6020202@outbackwifi.com> Message-ID: <2402BA0C1F52594E8E271233F62EB6A904066D23@repbex02.amer.bea.com> Yes, logs also show two mails being sent out. From: Shivkumar [mailto:shivkumar at outbackwifi.com] Sent: Monday, August 06, 2007 11:32 AM To: Nagios Users Mailinglist Cc: Lalita Drolia Subject: Re: [Nagios-users] two notifications everytime Do your notification logs also show two emails being sent out? Regards, Lalita Drolia said the following: Hi, I have been using nagios for a long time now. But suddenly since a couple of days, all email notifications are being sent out twice. Be it recovery or problem or anything. Immediately one after another everyone in contact group is receiving two mails. I cant figure out why this is happening, kindly help. With thanks, Lalita Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete 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 Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete 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 huenseler at twt.de Mon Aug 6 08:13:25 2007 From: huenseler at twt.de (Dennis Huenseler) Date: Mon, 6 Aug 2007 08:13:25 +0200 Subject: two notifications everytime References: <2402BA0C1F52594E8E271233F62EB6A904066CF2@repbex02.amer.bea.com><46B6B968.6020202@outbackwifi.com> <2402BA0C1F52594E8E271233F62EB6A904066D23@repbex02.amer.bea.com> Message-ID: <8A793F1AC3ED7447B580082FCF608CF9C04A18@twtexchange1.twt.intern> Good morning, did you change anything in your configuration? Or did you define some new contacts/contactgroups or something similar? Could you give us a part of your notification log to take a look at? Maybe we can see something abnormal... Kind regards, Dennis H?nseler _________________________________________________________ Dennis H?nseler | System-Administrator TWT Interactive GmbH | Martinstra?e 47-55 | D-40223 D?sseldorf Tel: +49 (0)211 601 601-0 | Fax: +49 (0)211 601 601-19 TWT Niederlassung Berlin | Friedrichstra?e 90 | D-10117 Berlin Tel: +49 (0)30 20 25 3562 | Fax: +49 (0)30 20 25 3333 huenseler at twt.de | www.twt.de TWT - your eValue Partner Gesch?ftsf?hrung: Marcel Kreuter; Hans J. Even Sitz der Gesellschaft und Gerichtstand: D?sseldorf, Amtsgericht D?sseldorf, HRB 42097 www.salescatalog.de - Kunden begeistern, Ums?tze steigern mit bl?tterbaren Online-Katalogen www.digitalnext.de - Informationsportal f?r die digitale Wirtschaft OMD 2007 - Online Marketing D?sseldorf - Der internationale Dreh- und Angelpunkt f?r digitales Marketing Besuchen Sie uns auf der OMD 25./26.09.07 Stand E28, Halle 10 Terminvereinbarung und weitere Informationen unter http://www.twt.de/omd Wir freuen uns auf Ihren Besuch From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Lalita Drolia Sent: Monday, August 06, 2007 8:05 AM To: Shivkumar; Nagios Users Mailinglist Subject: Re: [Nagios-users] two notifications everytime Yes, logs also show two mails being sent out. From: Shivkumar [mailto:shivkumar at outbackwifi.com] Sent: Monday, August 06, 2007 11:32 AM To: Nagios Users Mailinglist Cc: Lalita Drolia Subject: Re: [Nagios-users] two notifications everytime Do your notification logs also show two emails being sent out? Regards, Lalita Drolia said the following: Hi, I have been using nagios for a long time now. But suddenly since a couple of days, all email notifications are being sent out twice. Be it recovery or problem or anything. Immediately one after another everyone in contact group is receiving two mails. I cant figure out why this is happening, kindly help. With thanks, Lalita Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete 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 Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete 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 ldrolia at bea.com Mon Aug 6 08:26:49 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Sun, 5 Aug 2007 23:26:49 -0700 Subject: two notifications everytime In-Reply-To: <8A793F1AC3ED7447B580082FCF608CF9C04A18@twtexchange1.twt.intern> References: <2402BA0C1F52594E8E271233F62EB6A904066CF2@repbex02.amer.bea.com><46B6B968.6020202@outbackwifi.com><2402BA0C1F52594E8E271233F62EB6A904066D23@repbex02.amer.bea.com> <8A793F1AC3ED7447B580082FCF608CF9C04A18@twtexchange1.twt.intern> Message-ID: <2402BA0C1F52594E8E271233F62EB6A904066D5A@repbex02.amer.bea.com> Services.cfg- define service{ name local-service use generic-service check_period 24x7 max_check_attempts 2 normal_check_interval 5 retry_check_interval 6 contact_groups admins notification_options w,u,c,r notification_interval 0 notification_period 24x7 register 0 } I have ssh and ping checks defined on hostgroups for which I am receiving double notifications. I have services check configured in such a way that it sends out only one notification (notification_interval 0) and waits for 6 minutes before sending out a notification (retry_check_interval 6). the only change I have made is that I have been adding new hostgroups in my hostgroups.cfg. but I haven't defined any checks on them yet. Thanks, Lalita From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dennis Huenseler Sent: Monday, August 06, 2007 11:43 AM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] two notifications everytime Good morning, did you change anything in your configuration? Or did you define some new contacts/contactgroups or something similar? Could you give us a part of your notification log to take a look at? Maybe we can see something abnormal... Kind regards, Dennis H?nseler _________________________________________________________ Dennis H?nseler | System-Administrator TWT Interactive GmbH | Martinstra?e 47-55 | D-40223 D?sseldorf Tel: +49 (0)211 601 601-0 | Fax: +49 (0)211 601 601-19 TWT Niederlassung Berlin | Friedrichstra?e 90 | D-10117 Berlin Tel: +49 (0)30 20 25 3562 | Fax: +49 (0)30 20 25 3333 huenseler at twt.de | www.twt.de TWT - your eValue Partner Gesch?ftsf?hrung: Marcel Kreuter; Hans J. Even Sitz der Gesellschaft und Gerichtstand: D?sseldorf, Amtsgericht D?sseldorf, HRB 42097 www.salescatalog.de - Kunden begeistern, Ums?tze steigern mit bl?tterbaren Online-Katalogen www.digitalnext.de - Informationsportal f?r die digitale Wirtschaft OMD 2007 - Online Marketing D?sseldorf - Der internationale Dreh- und Angelpunkt f?r digitales Marketing Besuchen Sie uns auf der OMD 25./26.09.07 Stand E28, Halle 10 Terminvereinbarung und weitere Informationen unter http://www.twt.de/omd Wir freuen uns auf Ihren Besuch From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Lalita Drolia Sent: Monday, August 06, 2007 8:05 AM To: Shivkumar; Nagios Users Mailinglist Subject: Re: [Nagios-users] two notifications everytime Yes, logs also show two mails being sent out. From: Shivkumar [mailto:shivkumar at outbackwifi.com] Sent: Monday, August 06, 2007 11:32 AM To: Nagios Users Mailinglist Cc: Lalita Drolia Subject: Re: [Nagios-users] two notifications everytime Do your notification logs also show two emails being sent out? Regards, Lalita Drolia said the following: Hi, I have been using nagios for a long time now. But suddenly since a couple of days, all email notifications are being sent out twice. Be it recovery or problem or anything. Immediately one after another everyone in contact group is receiving two mails. I cant figure out why this is happening, kindly help. With thanks, Lalita Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete 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 Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete 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 sujith.linux at gmail.com Mon Aug 6 09:15:48 2007 From: sujith.linux at gmail.com (sujith h) Date: Mon, 6 Aug 2007 12:45:48 +0530 Subject: check_nt default port Message-ID: Can any one help me to find the default port used by nagios for the plugin check_nt(not NSClient). Cheers, Sujith Haridasan -- ?????? ??????? -------------- 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 mark.frost1 at pepsi.com Mon Aug 6 09:22:33 2007 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Mon, 6 Aug 2007 03:22:33 -0400 Subject: check_nt default port In-Reply-To: References: Message-ID: <7F477BD26F545A4C8E4779754A38EFB30219E2C1@PEPWMV00043.corp.pep.pvt> Sujith, If you run "check_nt --help" you'll see a bunch of output including the following: -p, --port=INTEGER Optional port number (default: 1248) Mark ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of sujith h Sent: Monday, August 06, 2007 3:16 AM To: Nagios Users mailinglist Subject: [Nagios-users] check_nt default port Can any one help me to find the default port used by nagios for the plugin check_nt(not NSClient). Cheers, Sujith Haridasan -- ?????? ??????? -------------- 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 Aug 6 14:09:17 2007 From: marc at ena.com (Marc Powell) Date: Mon, 6 Aug 2007 07:09:17 -0500 Subject: two notifications everytime In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A904066CF2@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A904066CF2@repbex02.amer.bea.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Lalita Drolia > Sent: Monday, August 06, 2007 12:49 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] two notifications everytime > > Hi, > > I have been using nagios for a long time now. But suddenly since a couple > of days, all email notifications are being sent out twice. Sounds like you may have 2 copies of nagios 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 ldrolia at bea.com Mon Aug 6 14:14:28 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Mon, 6 Aug 2007 05:14:28 -0700 Subject: two notifications everytime In-Reply-To: References: <2402BA0C1F52594E8E271233F62EB6A904066CF2@repbex02.amer.bea.com> Message-ID: <2402BA0C1F52594E8E271233F62EB6A904067080@repbex02.amer.bea.com> I didn't know that was possible. If it is, then that must be the case. Please tell me how can I check and stop that? Regards, Lalita -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Monday, August 06, 2007 5:39 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] two notifications everytime > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Lalita Drolia > Sent: Monday, August 06, 2007 12:49 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] two notifications everytime > > Hi, > > I have been using nagios for a long time now. But suddenly since a couple > of days, all email notifications are being sent out twice. Sounds like you may have 2 copies of nagios 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 Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete 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 ldrolia at bea.com Mon Aug 6 14:25:01 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Mon, 6 Aug 2007 05:25:01 -0700 Subject: two notifications everytime In-Reply-To: References: <2402BA0C1F52594E8E271233F62EB6A904066CF2@repbex02.amer.bea.com> Message-ID: <2402BA0C1F52594E8E271233F62EB6A90406708B@repbex02.amer.bea.com> I grepped for nagios process and killed one instance. I will see if I still get two instances. Thank you very much Marc for your help, as always. :) Lalita -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Monday, August 06, 2007 5:39 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] two notifications everytime > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Lalita Drolia > Sent: Monday, August 06, 2007 12:49 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] two notifications everytime > > Hi, > > I have been using nagios for a long time now. But suddenly since a couple > of days, all email notifications are being sent out twice. Sounds like you may have 2 copies of nagios 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 Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete 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 marc at ena.com Mon Aug 6 14:28:56 2007 From: marc at ena.com (Marc Powell) Date: Mon, 6 Aug 2007 07:28:56 -0500 Subject: two notifications everytime In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A904067080@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A904067080@repbex02.amer.bea.com> Message-ID: > -----Original Message----- > From: Lalita Drolia [mailto:ldrolia at bea.com] > Sent: Monday, August 06, 2007 7:14 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] two notifications everytime > > > I didn't know that was possible. If it is, then that must be the case. > Please tell me how can I check and stop that? The best way is to stop nagios then see if there are any that remain. If so, kill them and restart 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 mattia at sinapto.net Mon Aug 6 14:57:06 2007 From: mattia at sinapto.net (Mattia) Date: Mon, 6 Aug 2007 14:57:06 +0200 (CEST) Subject: N2rrd problem References: In-Reply-To: Message-ID: <36537.217.221.111.31.1186405026.squirrel@webmail.sinapto.net> Hi all, I've got a working Nagios 2.9 installation running on Red Hat Enterprise Linux 4. Now I'm trying to setup n2rrd and rrd2graph, to get performance and availability reports from within the web interface. I've installed and configured n2rrd 1.2, and configured Nagios to process performance data in nagios.cfg process_performance_data=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata this two commands are defined as follow define command{ command_name process-host-perfdata command_line /usr/local/bin/n2rrd.pl -d -c /etc/n2rrd/n2rrd.conf -T $LASTHOSTCHECK$ -H $HOSTNAME$ -s "check_icmp" -o "$HOSTOUTPUT$" } define command{ command_name process-service-perfdata command_line /usr/local/bin/n2rrd.pl -d -c /etc/n2rrd/n2rrd.conf -T $LASTSERVICECHECK$ -H $HOSTNAME$ -s "$SERVICEDESC$" -o "$SERVICEPERFDATA$" } however rrd are generated, but never updated, and in n2rrd logs I see n2rrd:mailallarm: Host = mailallarm, Service name = check_icmp, Check result = PING OK - Packet loss = 0%, RTA = 0.23 ms n2rrd:mailallarm: Updating ds_names: loss:RTA, ds_values: 0:0.23 in file: /var/log/nagios/rra/mailallarm/mailallarm_icmp.rrd n2rrd:mailallarm: ERROR while updating /var/log/nagios/rra/mailallarm/mailallarm_icmp.rrd: unknown DS name 'loss' has anyone any clue? Thanks Cheers Mattia ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcus at rejas.se Mon Aug 6 14:48:00 2007 From: marcus at rejas.se (Marcus =?iso-8859-1?Q?Rej=E5s?=) Date: Mon, 6 Aug 2007 14:48:00 +0200 Subject: CGIs path to css is wrong Message-ID: <20070806124800.GA20041@rejas.se> Hello! Before the upcoming Nagios 3 release we have started to test the cvs-version. But in our CGI-scripts we have this header. Nagios Tactical Monitoring Overview However the stylesheets are in /stylesheets. There are several work-arounds for this at our site but I'm wondering if this is a configuration error we made or is something currently broken? Regards. /Marcus -- Marcus Rej?s jabber: marcus at jabber.rejas.se ,= ,-_-. =. Rej?s Datakonsult e-mail: marcus at rejas.se ((_/)o o(\_)) Kaserngatan 1 web: http://www.rejas.se `-'(. .)`-' s-761 46 Norrt?lje gpg-key: http://www.rejas.se/rejas.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 From jim at jimavery.me.uk Mon Aug 6 16:15:13 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 6 Aug 2007 15:15:13 +0100 Subject: dont want notification when machine reboots In-Reply-To: <765d77c80707271103h1f463c5eu3367eeb75e2d4c73@mail.gmail.com> References: <2402BA0C1F52594E8E271233F62EB6A903EA9C30@repbex02.amer.bea.com> <200707271950.31038.dani@tydnet.org> <765d77c80707271103h1f463c5eu3367eeb75e2d4c73@mail.gmail.com> Message-ID: <765d77c80708060715y73a5b951m287316b46b72afac@mail.gmail.com> On 27/07/07, Jim Avery wrote: > I've been having a similar problem and have thought about the solution > but haven't gotten around to implementing it yet. Mark Powell's > suggestion to rely on the service check notification is absolutely > right when you want to ignore brief bounces or lost pings. I'm going > to do just that, but I will still have a host notification enabled > too... > > I'll configure things so that the on-call engineers get the ping > service notification rather than the host notification - they don't > want to know about servers briefly bounced. The host notifications > I'll send only to me by email so I will know the next day which > servers have bounced overnight. I'm hoping that will bring me the > best of both worlds. For the record, I tried my variation of Mark's suggestion and it didn't work because I hadn't taken the trouble to understand it properly. If I leave host checks enabled (contrary to Mark's advice), then as soon as any service check fails, Nagios will try the host check which will fail too and will immediately set the service check to a HARD status. Mark's suggestion works because host checks are disabled. The possible down-side is that you don't then see hosts go down in Nagios as such. The host up/down status is important to me because it is used in the Nexsm status map display. I think unfortunately I'm going to use escalations instead, although it's going to be a bit messy. Cheers, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 6 16:40:44 2007 From: marc at ena.com (Marc Powell) Date: Mon, 6 Aug 2007 09:40:44 -0500 Subject: dont want notification when machine reboots In-Reply-To: <765d77c80708060715y73a5b951m287316b46b72afac@mail.gmail.com> References: <765d77c80708060715y73a5b951m287316b46b72afac@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 Jim Avery > Sent: Monday, August 06, 2007 9:15 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] dont want notification when machine reboots > > Mark's suggestion works because host checks are disabled. The > possible down-side is that you don't then see hosts go down in Nagios > as such. The host up/down status is important to me because it is > used in the Nexsm status map display. I think unfortunately I'm going > to use escalations instead, although it's going to be a bit messy. Yup. The good news is that nagios-3 addresses this kind of situation by making host checks work like service checks. -- 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 dani at tydnet.org Mon Aug 6 17:15:35 2007 From: dani at tydnet.org (Dani) Date: Mon, 6 Aug 2007 17:15:35 +0200 Subject: N2rrd problem In-Reply-To: <36537.217.221.111.31.1186405026.squirrel@webmail.sinapto.net> References: <36537.217.221.111.31.1186405026.squirrel@webmail.sinapto.net> Message-ID: <200708061715.35277.dani@tydnet.org> A Dilluns 06 Agost 2007, Mattia va escriure: > Hi all, Hi Mattia, > n2rrd:mailallarm: Host = mailallarm, Service name = check_icmp, Check > result = PING OK - Packet loss = 0%, RTA = 0.23 ms > n2rrd:mailallarm: Updating ds_names: loss:RTA, ds_values: 0:0.23 in > file: /var/log/nagios/rra/mailallarm/mailallarm_icmp.rrd > n2rrd:mailallarm: ERROR while updating > /var/log/nagios/rra/mailallarm/mailallarm_icmp.rrd: unknown DS name > 'loss' > > has anyone any clue? Is telling you that found loss = sth but you did not defined this in icmp.t under templates/rra/. just define it even when you are not to finally graph it -s 300 # 5minutes DS:rta:GAUGE:600:0:U -> DS:loss:GAUGE:600:0:U RRA:AVERAGE:0.5:1:1440 #day RRA:AVERAGE:0.5:30:336 #week RRA:AVERAGE:0.5:120:360 #month RRA:AVERAGE:0.5:1440:365 #year RRA:MAX:0.5:1:1440 #day RRA:MAX:0.5:30:336 #week RRA:MAX:0.5:120:360 #month RRA:MAX:0.5:1440:365 #year RRA:MIN:0.5:1:1440 #day RRA:MIN:0.5:30:336 #week RRA:MIN:0.5:120:360 #month RRA:MIN:0.5:1440:365 #year This comes from "Packet Loss" but rrd is taken the last word... use code.t to convert packet loss to Packet_Loss for instance. > Thanks > Cheers > Mattia good luck, dani -------------- 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 jim at jimavery.me.uk Mon Aug 6 17:32:50 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 6 Aug 2007 16:32:50 +0100 Subject: Trap Handling Scheme In-Reply-To: <1186364962.30432.14.camel@pcpad.dugas.cc> References: <1186364962.30432.14.camel@pcpad.dugas.cc> Message-ID: <765d77c80708060832t1188fb83t1dd9fe03e72edc97@mail.gmail.com> On 06/08/07, Paul Dugas wrote: > What about all the other "pending doom" traps the UPS can send? > Temperatures, bad batteries, etc.? Do I have a corresponding service > for every one and manually clear them when they fire? Or, could I have > a single generic "TRAP" service that logged and send notifications for > them? I have a bit of a mixture. For most, I just have a generic "SNMP" service for the host and have it always go "Critical" regardless of what the trap is. So long as the traps are few and far between, this is no problem, I just manually reset the status to OK by sending a passive check result once I've investigated what the problem is. I only bother to configure specific named trap services in Nagios where it makes sense to do so. If you have a setup where you let Nagios process the trap which sets status back to OK, it may make sense to have Nagios notify by email so these traps won't go unnoticed. A danger, though, is that if you get a storm of traps from a system, you could be inundated with emails. I have configured the event handler script so that if any traps arrive from hosts which I don't know about, they go to the generic "SNMP" service for localhost. That way, if someone is setting up a new device and points traps at my Nagios system, I will know about it as soon as any trap arrives and can retrospectively configure Nagios to recognise that host. I also have a line in snmptt.ini like so: unknown_trap_exec = /usr/local/nagios/libexec/eventhandler/submit_unknown_check_result this writes the trap information to a log file if snmptt comes across a trap which isn't defined in the snmptt.conf file. I have a Nagios service defined to check this log file so I will know if any unknown traps come in - I can then go find the relevant MIB and add it to the snmptt.conf file. I can't pretend I'm entirely happy with the way my system works, as it's not entirely intuitive, but it is catch-all so I'm unlikely to miss anything! hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 6 19:32:00 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 6 Aug 2007 19:32:00 +0200 (CEST) Subject: check_nt default port In-Reply-To: References: Message-ID: On Mon, 6 Aug 2007, sujith h wrote: > Can any one help me to find the default port used by nagios for the plugin check_nt(not NSClient). Use the command `netstat -na` to detect all listening ports. Do this with and without the service running. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gjp at gpnet.nl Mon Aug 6 19:44:46 2007 From: gjp at gpnet.nl (GJP) Date: Mon, 06 Aug 2007 19:44:46 +0200 Subject: Redudant checks (but also two notifies) Message-ID: <200708061944.46723.gjp@gpnet.nl> Hi All, I have setup an off-site client under nagios to do redundant checks on a webserver. However if something goes wrong I also get two notifies. This is correct but I would like only one. Anybody solved this before? I am thinking of (well, want to examine) the two following scenarios. Create a bogus service with a dependancy to two http checks. So if either one fails have the bogus one fail and notify? And maybe I could use the check_cluster plugin. Define a cluster (with the two services) and make it only send notifies if both nodes (services) decide a service failure. Any pointers are very welcome. Regards, Gerard. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nigel.Heaney at bgfl.org Mon Aug 6 21:24:50 2007 From: Nigel.Heaney at bgfl.org (Nigel Heaney) Date: Mon, 6 Aug 2007 20:24:50 +0100 Subject: automated response Message-ID: <10708062024.AA34146@bgfl.org> I am out of the office until 10th August 2007. I will respond to your email then. ************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify postmaster at bgfl.org The views expressed within this email are those of the individual, and not necessarily those of the organisation ************************************************************* ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From szhang at 8x8.com Tue Aug 7 02:52:55 2007 From: szhang at 8x8.com (Siwei Zhang) Date: Mon, 6 Aug 2007 17:52:55 -0700 Subject: trend not working Message-ID: An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- 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 mike.hawley at nspire.co.nz Tue Aug 7 03:04:37 2007 From: mike.hawley at nspire.co.nz (Mike Hawley) Date: Tue, 7 Aug 2007 13:04:37 +1200 Subject: trend not working In-Reply-To: References: Message-ID: <003801c7d88e$ed355700$0502010a@nspire.co.nz> Have you got the .cgi files on your /usr/local/nagios/sbin directory? Mike Hawley _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Siwei Zhang Sent: Tuesday, August 07, 2007 12:53 PM To: nagios-users Subject: [Nagios-users] trend not working Hi there, I am using Nagios 2.0.6b on Debian 3.1. The Trend and Alerts Histogram are not working. Anyone can help? Thanks. Kevin SZ No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/940 - Release Date: 8/6/2007 4:53 PM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/940 - Release Date: 8/6/2007 4:53 PM -------------- 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 Tue Aug 7 03:50:47 2007 From: marc at ena.com (Marc Powell) Date: Mon, 6 Aug 2007 20:50:47 -0500 Subject: trend not working 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 Siwei Zhang > Sent: Monday, August 06, 2007 7:53 PM > To: nagios-users > Subject: [Nagios-users] trend not working > > Hi there, > > > > I am using Nagios 2.0.6b on Debian 3.1. The Trend and Alerts Histogram are > not working. Depending on what you mean by 'not working', this is most likely in the FAQ. Search 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 Nicholas.Magers at lands.nsw.gov.au Tue Aug 7 05:01:36 2007 From: Nicholas.Magers at lands.nsw.gov.au (Nicholas Magers) Date: Tue, 7 Aug 2007 13:01:36 +1000 Subject: Plugin check_by_ssh: On a particular server using check_by_ssh I get 'Remote command execution failed:' Message-ID: <818F31EB6E5F99459894BE97B94639D5015FE2F4@lands.nsw.gov.au> I have been using the check_by_ssh command on some linux servers and was attempting to use it on a Solaris server. But I get: Remote command execution failed: Below is the output from the command line: -sh-3.00$ ./check_by_ssh -v -H -C "/usr/local/nagios/libexec/check_swap -w 20% -c 10%" /usr/bin/ssh '/usr/local/nagios/libexec/check_swap -w 20% -c 10%' Remote command execution failed: Below is the output from ssh: -sh-3.00$ /usr/bin/ssh '/usr/local/nagios/libexec/check_swap -w 20% -c 10%' |----------------------------------------------------------------- | | This system is for the use of authorized users only. | | Individuals using this computer system without authority, or in | | excess of their authority, are subject to having all of their | | activities on this system monitored and recorded by system | | personnel. | | | | In the course of monitoring individuals improperly using this | | system, or in the course of system maintenance, the activities | | of authorized users may also be monitored. | | | | Anyone using this system expressly consents to such monitoring | | and is advised that if such monitoring reveals possible | | evidence of criminal activity, system personnel may provide the | | evidence of such monitoring to law enforcement officials. | |----------------------------------------------------------------- | SWAP OK - 100% free (16371 MB out of 16386 MB) |swap=16371MB;3277;1638;0;16386 Is it the banner? The banner does not come up on the linux servers. Nagios server plugins version: -sh-3.00$ ./check_by_ssh -V check_by_ssh (nagios-plugins 1.4.8) 1.41 Remote server plugins version: bash-2.05$ check_by_ssh -V check_by_ssh (nagios-plugins 1.4.9) 1.43 Nicholas Magers *************************************************************** This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of the Department of Lands. This email message has been swept by MIMEsweeper for the presence of computer viruses. *************************************************************** -------------- 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 devans3428 at gmail.com Tue Aug 7 05:03:33 2007 From: devans3428 at gmail.com (Drex) Date: Mon, 6 Aug 2007 22:03:33 -0500 Subject: Problems with nagios and nagiosgraph Message-ID: <530649890708062003t7828aebas2070919dfc074ba3@mail.gmail.com> I am having problems with nagiosgraph sporadicly plotting. I am running nagios 3.0b1 and nagiosgraph on solaris10. Also nagiosgraph is leaving these files in /tmp...thus filling up my filesystem. If i restart nagios, things work great for a little while. Then it goes back to sporadic plotting. Does anyone know whats going on. Could it be a solaris10 deal or resource problem. Or is this a config issue? If you need more info, i will be glad to provide screen shots, etc.... check.IGqeo check6lJqeo checkHAFqeo checkREGqeo check_HDqeo checkjJGqeo checktjIqeo check.SGqeo check6sEqeo checkHhIqeo checkRKGqeo check_IGqeo checkjaHqeo checku2Gqeo check.dIqeo check7HIqeo checkI9Gqeo checkRWFqeo check_jHqeo checkjfGqeo checkuDIqeo check0IGqeo -- Drex -------------- 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 holger at CIS.FU-Berlin.DE Tue Aug 7 05:22:06 2007 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Tue, 7 Aug 2007 05:22:06 +0200 Subject: Plugin check_by_ssh: On a particular server using check_by_ssh I get 'Remote command execution failed:' In-Reply-To: <818F31EB6E5F99459894BE97B94639D5015FE2F4@lands.nsw.gov.au> References: <818F31EB6E5F99459894BE97B94639D5015FE2F4@lands.nsw.gov.au> Message-ID: <20070807032206.GE20076131@CIS.FU-Berlin.DE> * Nicholas Magers [2007-08-07 13:01]: > Is it the banner? Most probably, yes. You could try check_by_ssh's "--quiet" option or (with check_by_ssh from the 1.4.9 release) "--skip-stderr": | -q, --quiet | Tell ssh to suppress warning and diagnostic messages [optional] | -E, --skip-stderr[=n] | Ignore all or (if specified) first n lines on STDERR [optional] Holger -- PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian.silenzi at gmail.com Tue Aug 7 10:23:28 2007 From: christian.silenzi at gmail.com (Christian Silenzi) Date: Tue, 7 Aug 2007 10:23:28 +0200 Subject: Web Interface for nagios configuration Message-ID: <20070807102328.aa44baa4.christian.silenzi@gmail.com> Hi, I am trying a way in order to configure Nagios through interface web. what advised to me? Thanks -- Christian Silenzi -------------------------------------------------- Registered Linux User #393743 Registered Linux Machine: 1- portatile #295118 2- fisso #301222 Linux User Group Piacenza: www.lugpiacenza.org Associazione Italiana Contro il TC: www.no1984.org Blog: www.dynamicduo.it/ilfornaio ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From profoundmove at gmail.com Tue Aug 7 11:09:28 2007 From: profoundmove at gmail.com (Noel Dave) Date: Tue, 7 Aug 2007 17:09:28 +0800 Subject: Nagios-users Digest, Vol 15, Issue 10 In-Reply-To: References: Message-ID: <908650b70708070209y36c093dco2c96120805e1e308@mail.gmail.com> On 8/7/07, nagios-users-request at lists.sourceforge.net < nagios-users-request at lists.sourceforge.net> wrote: > > Send Nagios-users mailing list submissions to > nagios-users at lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/nagios-users > or, via email, send a message with subject or body 'help' to > nagios-users-request at lists.sourceforge.net > > You can reach the person managing the list at > nagios-users-owner at lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Nagios-users digest..." > > > Today's Topics: > > 1. check_nt default port (sujith h) > 2. Re: check_nt default port (Frost, Mark {PBG}) > 3. Re: two notifications everytime (Marc Powell) > 4. Re: two notifications everytime (Lalita Drolia) > 5. Re: two notifications everytime (Lalita Drolia) > 6. Re: two notifications everytime (Marc Powell) > 7. N2rrd problem (Mattia) > 8. CGIs path to css is wrong (Marcus Rej?s) > 9. Re: dont want notification when machine reboots (Jim Avery) > 10. Re: dont want notification when machine reboots (Marc Powell) > 11. Re: N2rrd problem (Dani) > 12. Re: Trap Handling Scheme (Jim Avery) > 13. Re: check_nt default port (Hugo van der Kooij) > 14. Redudant checks (but also two notifies) (GJP) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 6 Aug 2007 12:45:48 +0530 > From: "sujith h" > Subject: [Nagios-users] check_nt default port > To: "Nagios Users mailinglist" > Message-ID: > > Content-Type: text/plain; charset="utf-8" > > Can any one help me to find the default port used by nagios for the > plugin check_nt(not NSClient). > > Cheers, > > Sujith Haridasan > > -- > ?????? ??????? > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 2 > Date: Mon, 6 Aug 2007 03:22:33 -0400 > From: "Frost, Mark {PBG}" > Subject: Re: [Nagios-users] check_nt default port > To: "sujith h" > Cc: Nagios Users mailinglist > Message-ID: > <7F477BD26F545A4C8E4779754A38EFB30219E2C1 at PEPWMV00043.corp.pep.pvt> > Content-Type: text/plain; charset="utf-8" > > Sujith, > > If you run "check_nt --help" you'll see a bunch of output including the > following: > > -p, --port=INTEGER > Optional port number (default: 1248) > > Mark Sujith, try port 5667 ________________________________ > > From: nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] On Behalf Of sujith h > Sent: Monday, August 06, 2007 3:16 AM > To: Nagios Users mailinglist > Subject: [Nagios-users] check_nt default port > > > Can any one help me to find the default port used by nagios for the > plugin check_nt(not NSClient). > > Cheers, > > Sujith Haridasan > > -- > ?????? ??????? > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 3 > Date: Mon, 6 Aug 2007 07:09:17 -0500 > From: "Marc Powell" > Subject: Re: [Nagios-users] two notifications everytime > 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 Lalita Drolia > > Sent: Monday, August 06, 2007 12:49 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] two notifications everytime > > > > Hi, > > > > I have been using nagios for a long time now. But suddenly since a > couple > > of days, all email notifications are being sent out twice. > > Sounds like you may have 2 copies of nagios running at the same time. > > -- > Marc > > > > ------------------------------ > > Message: 4 > Date: Mon, 6 Aug 2007 05:14:28 -0700 > From: "Lalita Drolia" > Subject: Re: [Nagios-users] two notifications everytime > To: "Marc Powell" , > Message-ID: > <2402BA0C1F52594E8E271233F62EB6A904067080 at repbex02.amer.bea.com> > Content-Type: text/plain; charset=us-ascii > > > I didn't know that was possible. If it is, then that must be the case. > Please tell me how can I check and stop that? > > Regards, > Lalita > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc > Powell > Sent: Monday, August 06, 2007 5:39 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] two notifications everytime > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Lalita Drolia > > Sent: Monday, August 06, 2007 12:49 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] two notifications everytime > > > > Hi, > > > > I have been using nagios for a long time now. But suddenly since a > couple > > of days, all email notifications are being sent out twice. > > Sounds like you may have 2 copies of nagios 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 > > Notice: This email message, together with any attachments, may contain > information of BEA Systems, Inc., its subsidiaries and affiliated > entities, that may be confidential, proprietary, copyrighted and/or > legally privileged, and is intended solely for the use of the individual or > entity named in this message. If you are not the intended recipient, and > have received this message in error, please immediately return this by email > and then delete it. > > > > ------------------------------ > > Message: 5 > Date: Mon, 6 Aug 2007 05:25:01 -0700 > From: "Lalita Drolia" > Subject: Re: [Nagios-users] two notifications everytime > To: "Marc Powell" , > Message-ID: > <2402BA0C1F52594E8E271233F62EB6A90406708B at repbex02.amer.bea.com> > Content-Type: text/plain; charset=us-ascii > > I grepped for nagios process and killed one instance. I will see if I > still get two instances. > > Thank you very much Marc for your help, as always. :) > > Lalita > > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc > Powell > Sent: Monday, August 06, 2007 5:39 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] two notifications everytime > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Lalita Drolia > > Sent: Monday, August 06, 2007 12:49 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] two notifications everytime > > > > Hi, > > > > I have been using nagios for a long time now. But suddenly since a > couple > > of days, all email notifications are being sent out twice. > > Sounds like you may have 2 copies of nagios 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 > > Notice: This email message, together with any attachments, may contain > information of BEA Systems, Inc., its subsidiaries and affiliated > entities, that may be confidential, proprietary, copyrighted and/or > legally privileged, and is intended solely for the use of the individual or > entity named in this message. If you are not the intended recipient, and > have received this message in error, please immediately return this by email > and then delete it. > > > > ------------------------------ > > Message: 6 > Date: Mon, 6 Aug 2007 07:28:56 -0500 > From: "Marc Powell" > Subject: Re: [Nagios-users] two notifications everytime > To: > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > > > > -----Original Message----- > > From: Lalita Drolia [mailto:ldrolia at bea.com] > > Sent: Monday, August 06, 2007 7:14 AM > > To: Marc Powell; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] two notifications everytime > > > > > > I didn't know that was possible. If it is, then that must be the case. > > Please tell me how can I check and stop that? > > The best way is to stop nagios then see if there are any that remain. If > so, kill them and restart nagios. > > -- > Marc > > > > ------------------------------ > > Message: 7 > Date: Mon, 6 Aug 2007 14:57:06 +0200 (CEST) > From: "Mattia" > Subject: [Nagios-users] N2rrd problem > To: nagios-users at lists.sourceforge.net > Message-ID: > <36537.217.221.111.31.1186405026.squirrel at webmail.sinapto.net> > Content-Type: text/plain;charset=iso-8859-1 > > Hi all, > > I've got a working Nagios 2.9 installation running on Red Hat Enterprise > Linux 4. > Now I'm trying to setup n2rrd and rrd2graph, to get performance and > availability reports from within the web interface. > > I've installed and configured n2rrd 1.2, and configured Nagios to process > performance data in nagios.cfg > > process_performance_data=1 > host_perfdata_command=process-host-perfdata > service_perfdata_command=process-service-perfdata > > this two commands are defined as follow > > define command{ > command_name process-host-perfdata > command_line /usr/local/bin/n2rrd.pl -d -c > /etc/n2rrd/n2rrd.conf -T $LASTHOSTCHECK$ -H $HOSTNAME$ -s > "check_icmp" -o "$HOSTOUTPUT$" > } > > define command{ > command_name process-service-perfdata > command_line /usr/local/bin/n2rrd.pl -d -c > /etc/n2rrd/n2rrd.conf -T $LASTSERVICECHECK$ -H $HOSTNAME$ -s > "$SERVICEDESC$" -o "$SERVICEPERFDATA$" > } > > however rrd are generated, but never updated, and in n2rrd logs I see > > n2rrd:mailallarm: Host = mailallarm, Service name = check_icmp, Check > result = PING OK - Packet loss = 0%, RTA = 0.23 ms > n2rrd:mailallarm: Updating ds_names: loss:RTA, ds_values: 0:0.23 in file: > /var/log/nagios/rra/mailallarm/mailallarm_icmp.rrd > n2rrd:mailallarm: ERROR while updating > /var/log/nagios/rra/mailallarm/mailallarm_icmp.rrd: unknown DS name 'loss' > > has anyone any clue? > > Thanks > > Cheers > > Mattia > > > > > > > > ------------------------------ > > Message: 8 > Date: Mon, 6 Aug 2007 14:48:00 +0200 > From: Marcus Rej?s > Subject: [Nagios-users] CGIs path to css is wrong > To: nagios-users at lists.sourceforge.net > Message-ID: <20070806124800.GA20041 at rejas.se> > Content-Type: text/plain; charset=iso-8859-1 > > Hello! > > Before the upcoming Nagios 3 release we have started to test the > cvs-version. But in our CGI-scripts we have this header. > > > > Nagios Tactical Monitoring Overview > > > > > > However the stylesheets are in /stylesheets. There are several > work-arounds for this at our site but I'm wondering if this is a > configuration error we made or is something currently broken? > > Regards. > > /Marcus > > -- > Marcus Rej?s jabber: marcus at jabber.rejas.se ,= ,-_-. =. > Rej?s Datakonsult e-mail: marcus at rejas.se ((_/)o o(\_)) > Kaserngatan 1 web: http://www.rejas.se `-'(. .)`-' > s-761 46 Norrt?lje gpg-key: http://www.rejas.se/rejas.asc \_/ > > > > ------------------------------ > > Message: 9 > Date: Mon, 6 Aug 2007 15:15:13 +0100 > From: "Jim Avery" > Subject: Re: [Nagios-users] dont want notification when machine > reboots > To: nagios-users at lists.sourceforge.net > Message-ID: > <765d77c80708060715y73a5b951m287316b46b72afac at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > On 27/07/07, Jim Avery wrote: > > I've been having a similar problem and have thought about the solution > > but haven't gotten around to implementing it yet. Mark Powell's > > suggestion to rely on the service check notification is absolutely > > right when you want to ignore brief bounces or lost pings. I'm going > > to do just that, but I will still have a host notification enabled > > too... > > > > I'll configure things so that the on-call engineers get the ping > > service notification rather than the host notification - they don't > > want to know about servers briefly bounced. The host notifications > > I'll send only to me by email so I will know the next day which > > servers have bounced overnight. I'm hoping that will bring me the > > best of both worlds. > > For the record, I tried my variation of Mark's suggestion and it > didn't work because I hadn't taken the trouble to understand it > properly. > > If I leave host checks enabled (contrary to Mark's advice), then as > soon as any service check fails, Nagios will try the host check which > will fail too and will immediately set the service check to a HARD > status. > > Mark's suggestion works because host checks are disabled. The > possible down-side is that you don't then see hosts go down in Nagios > as such. The host up/down status is important to me because it is > used in the Nexsm status map display. I think unfortunately I'm going > to use escalations instead, although it's going to be a bit messy. > > Cheers, > > Jim > > > > ------------------------------ > > Message: 10 > Date: Mon, 6 Aug 2007 09:40:44 -0500 > From: "Marc Powell" > Subject: Re: [Nagios-users] dont want notification when machine > reboots > 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 Jim Avery > > Sent: Monday, August 06, 2007 9:15 AM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] dont want notification when machine > reboots > > > > > > Mark's suggestion works because host checks are disabled. The > > possible down-side is that you don't then see hosts go down in Nagios > > as such. The host up/down status is important to me because it is > > used in the Nexsm status map display. I think unfortunately I'm going > > to use escalations instead, although it's going to be a bit messy. > > Yup. The good news is that nagios-3 addresses this kind of situation by > making host checks work like service checks. > > -- > Marc > > > > ------------------------------ > > Message: 11 > Date: Mon, 6 Aug 2007 17:15:35 +0200 > From: Dani > Subject: Re: [Nagios-users] N2rrd problem > To: nagios-users at lists.sourceforge.net > Message-ID: <200708061715.35277.dani at tydnet.org> > Content-Type: text/plain; charset="iso-8859-1" > > A Dilluns 06 Agost 2007, Mattia va escriure: > > Hi all, > > Hi Mattia, > > > n2rrd:mailallarm: Host = mailallarm, Service name = check_icmp, Check > > result = PING OK - Packet loss = 0%, RTA = 0.23 ms > > n2rrd:mailallarm: Updating ds_names: loss:RTA, ds_values: 0:0.23 in > > file: /var/log/nagios/rra/mailallarm/mailallarm_icmp.rrd > > n2rrd:mailallarm: ERROR while updating > > /var/log/nagios/rra/mailallarm/mailallarm_icmp.rrd: unknown DS name > > 'loss' > > > > has anyone any clue? > > Is telling you that found loss = sth but you did not defined this in > icmp.t under templates/rra/. > > just define it even when you are not to finally graph it > > -s 300 # 5minutes > DS:rta:GAUGE:600:0:U > -> DS:loss:GAUGE:600:0:U > RRA:AVERAGE:0.5:1:1440 #day > RRA:AVERAGE:0.5:30:336 #week > RRA:AVERAGE:0.5:120:360 #month > RRA:AVERAGE:0.5:1440:365 #year > RRA:MAX:0.5:1:1440 #day > RRA:MAX:0.5:30:336 #week > RRA:MAX:0.5:120:360 #month > RRA:MAX:0.5:1440:365 #year > RRA:MIN:0.5:1:1440 #day > RRA:MIN:0.5:30:336 #week > RRA:MIN:0.5:120:360 #month > RRA:MIN:0.5:1440:365 #year > > This comes from "Packet Loss" but rrd is taken the last word... use code.tto convert packet loss to Packet_Loss for instance. > > > Thanks > > Cheers > > Mattia > > good luck, > > dani > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 12 > Date: Mon, 6 Aug 2007 16:32:50 +0100 > From: "Jim Avery" > Subject: Re: [Nagios-users] Trap Handling Scheme > To: nagios-users at lists.sourceforge.net > Message-ID: > <765d77c80708060832t1188fb83t1dd9fe03e72edc97 at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > On 06/08/07, Paul Dugas wrote: > > What about all the other "pending doom" traps the UPS can send? > > Temperatures, bad batteries, etc.? Do I have a corresponding service > > for every one and manually clear them when they fire? Or, could I have > > a single generic "TRAP" service that logged and send notifications for > > them? > > I have a bit of a mixture. For most, I just have a generic "SNMP" > service for the host and have it always go "Critical" regardless of > what the trap is. So long as the traps are few and far between, this > is no problem, I just manually reset the status to OK by sending a > passive check result once I've investigated what the problem is. I > only bother to configure specific named trap services in Nagios where > it makes sense to do so. > > If you have a setup where you let Nagios process the trap which sets > status back to OK, it may make sense to have Nagios notify by email so > these traps won't go unnoticed. A danger, though, is that if you get > a storm of traps from a system, you could be inundated with emails. > > I have configured the event handler script so that if any traps arrive > from hosts which I don't know about, they go to the generic "SNMP" > service for localhost. That way, if someone is setting up a new > device and points traps at my Nagios system, I will know about it as > soon as any trap arrives and can retrospectively configure Nagios to > recognise that host. > > I also have a line in snmptt.ini like so: > unknown_trap_exec = > /usr/local/nagios/libexec/eventhandler/submit_unknown_check_result > > this writes the trap information to a log file if snmptt comes across > a trap which isn't defined in the snmptt.conf file. I have a Nagios > service defined to check this log file so I will know if any unknown > traps come in - I can then go find the relevant MIB and add it to the > snmptt.conf file. > > I can't pretend I'm entirely happy with the way my system works, as > it's not entirely intuitive, but it is catch-all so I'm unlikely to > miss anything! > > hth, > > Jim > > > > ------------------------------ > > Message: 13 > Date: Mon, 6 Aug 2007 19:32:00 +0200 (CEST) > From: Hugo van der Kooij > Subject: Re: [Nagios-users] check_nt default port > To: sujith h > Cc: Nagios Users mailinglist > Message-ID: > > Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed > > On Mon, 6 Aug 2007, sujith h wrote: > > > Can any one help me to find the default port used by nagios for the > plugin check_nt(not NSClient). > > Use the command `netstat -na` to detect all listening ports. Do this with > and without the service running. > > Hugo. > > -- > hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ > This message is using 100% recycled electrons. > > Some men see computers as they are and say "Windows" > I use computers with Linux and say "Why Windows?" > (Thanks JFK, for the insight.) > > > > ------------------------------ > > Message: 14 > Date: Mon, 06 Aug 2007 19:44:46 +0200 > From: GJP > Subject: [Nagios-users] Redudant checks (but also two notifies) > To: nagios-users at lists.sourceforge.net > Message-ID: <200708061944.46723.gjp at gpnet.nl> > Content-Type: text/plain; charset=utf-8 > > Hi All, > > I have setup an off-site client under nagios to do redundant checks on a > webserver. However if something goes wrong I also get two notifies. This > is > correct but I would like only one. Anybody solved this before? > > I am thinking of (well, want to examine) the two following scenarios. > > Create a bogus service with a dependancy to two http checks. So if either > one > fails have the bogus one fail and notify? > > And maybe I could use the check_cluster plugin. Define a cluster (with the > two > services) and make it only send notifies if both nodes (services) decide a > service failure. > > Any pointers are very welcome. > > Regards, > > Gerard. > > > > ------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of 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 15, Issue 10 > ******************************************** > -------------- 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 unkie at cox.net Tue Aug 7 12:21:46 2007 From: unkie at cox.net (Samuel V. Green III) Date: Tue, 7 Aug 2007 03:21:46 -0700 Subject: installation question Message-ID: <187726C7-B6A0-4071-9723-29BE885D70A4@cox.net> I installed Nagios via macports. In sub section 2) Configure the Nagios sample files in /opt/local/etc/ nagios. b) Then rename the sample files for use. sudo for i in *cfg-sample; do mv $i `echo $i | sed -e s/cfg- sample/cfg/`; done; I get this terminal error: syntax error near unexpected token `do' is there another way I can rename these sample files? thanks for any help, Samuel. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue Aug 7 12:23:24 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 7 Aug 2007 11:23:24 +0100 Subject: installation question In-Reply-To: <187726C7-B6A0-4071-9723-29BE885D70A4@cox.net> References: <187726C7-B6A0-4071-9723-29BE885D70A4@cox.net> Message-ID: <765d77c80708070323s7b1b65ek74dc4fd6d7d12611@mail.gmail.com> On 07/08/07, Samuel V. Green III wrote: > is there another way I can rename these sample files? Yes. I wouldn't rename them though because they are useful to refer back to if you mess up your config files. I would copy them instead, for example: sudo -s cd /opt/local/etc cp nagios.cfg-sample nagios.cfg cp cgi.cfg-sample cgi.cfg and so on.. I didn't know Nagios was available on macports - thanks for that, it might come in handy one day. Cheers, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From narendran.neelamegam at wipro.com Tue Aug 7 13:26:04 2007 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Tue, 7 Aug 2007 16:56:04 +0530 Subject: Nagios check_nt causing segfault In-Reply-To: <187726C7-B6A0-4071-9723-29BE885D70A4@cox.net> References: <187726C7-B6A0-4071-9723-29BE885D70A4@cox.net> Message-ID: OS: RHEL 4 EM64T Plug-in Version: nagios-plugins-1.4.9 Nagios Version: 2.5 I'm monitoring over 200 Wintel servers using check_nt. I see lot of these error messages (Segmentation Faults) in the log file Aug 7 11:21:03 kernel: check_nt[2799]: segfault at 0000000000000000 rip 0000003ae8e35273 rsp 0000007fbfffe680 error 4 Is this a known bug? Thanks and Regards, Naren ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bbongcac at fcpp.fujitsu.com Tue Aug 7 13:41:24 2007 From: bbongcac at fcpp.fujitsu.com (Bobby) Date: Tue, 7 Aug 2007 19:41:24 +0800 Subject: Web Interface for nagios configuration References: <20070807102328.aa44baa4.christian.silenzi@gmail.com> Message-ID: <05be01c7d8e7$e21a7c20$4d8f10ac@netscan> Hi Christian Silenzi, Good day, What exacty do you mean by configure it through interface web? If you mean adding host, services, etc. I think its all in the CLI or the conf files of Nagios. It normally resides here *.conf files on your /usr/local/nagios/etc directory. But doing some config changes are also can be done by web thru FRUITY... Try to dig deeper here: http://fruity.sourceforge.net/ Ja ne... ----- Original Message ----- From: "Christian Silenzi" To: Sent: Tuesday, August 07, 2007 4:23 PM Subject: [Nagios-users] Web Interface for nagios configuration > Hi, > I am trying a way in order to configure Nagios through interface web. > > what advised to me? > > Thanks > -- > > Christian Silenzi > > -------------------------------------------------- > Registered Linux User #393743 > Registered Linux Machine: 1- portatile #295118 > 2- fisso #301222 > > Linux User Group Piacenza: www.lugpiacenza.org > Associazione Italiana Contro il TC: www.no1984.org > Blog: www.dynamicduo.it/ilfornaio > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vanas at erpsuites.com Tue Aug 7 16:50:51 2007 From: josh.vanas at erpsuites.com (Josh Van As) Date: Tue, 7 Aug 2007 10:50:51 -0400 Subject: Checks failing for no aparent reason v3a1 Message-ID: On both V3b5 and V3a1 I have had a strange problem where check_icmp is returning high packet loss - in the 30% - 50%. While performing a continuous ping from the same box to the same destination yields 0% - 1%. Is anyone else seeing this? It seems to get worse as the services runs longer, eventually with near continuous failures for every device. Sometimes it gets better after I restart the Nagios service TIA! -Josh -------------- 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 richardsolid at gmail.com Tue Aug 7 19:53:40 2007 From: richardsolid at gmail.com (Jake Solid) Date: Tue, 7 Aug 2007 13:53:40 -0400 Subject: nagios.cmd Permissions. Message-ID: Everytime I restart nagios the permission for /var/log/nagios/rw/nagios.cmd change to 660 and if i try to acknowledge a warning I get the following message: Error: Could not open command file '/var/log/nagios/rw/nagios.cmd' for update! The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions. An error occurred while attempting to commit your command for processing. How can I avoid getting this error? -------------- 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 Tue Aug 7 20:49:44 2007 From: marc at ena.com (Marc Powell) Date: Tue, 7 Aug 2007 13:49:44 -0500 Subject: nagios.cmd Permissions. 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 Jake Solid > Sent: Tuesday, August 07, 2007 12:54 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios.cmd Permissions. > > Everytime I restart nagios the permission for > /var/log/nagios/rw/nagios.cmd change to 660 and if i try to acknowledge a > warning I get the following message: > > Error: Could not open command file '/var/log/nagios/rw/nagios.cmd' for > update! > The permissions on the external command file and/or directory may be > incorrect. Read the FAQs on how to setup proper permissions. > An error occurred while attempting to commit your command for processing. > > How can I avoid getting this error? Read the documentation on External Commands. It provides specific instructions on how to configure proper permissions on the directory containing the external command file and group membership for your web server. -- 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 mike.hawley at nspire.co.nz Wed Aug 8 03:00:02 2007 From: mike.hawley at nspire.co.nz (Mike Hawley) Date: Wed, 8 Aug 2007 13:00:02 +1200 Subject: OneOrZero integration Message-ID: <00c401c7d957$73db9120$0502010a@nspire.co.nz> Hi has anyone tried to integrate Nagios alerts with OneOrZero help desk system??? Thanks in advance... Mike Hawley No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nicholas.Magers at lands.nsw.gov.au Wed Aug 8 03:00:55 2007 From: Nicholas.Magers at lands.nsw.gov.au (Nicholas Magers) Date: Wed, 8 Aug 2007 11:00:55 +1000 Subject: FW: Plugin check_by_ssh: On a particular server using check_by_ssh I get 'Remote command execution failed:' Message-ID: <818F31EB6E5F99459894BE97B94639D5015FE2FC@SRV-QS-MAIL5.lands.nsw> I have been using the check_by_ssh command on some linux servers and was attempting to use it on a Solaris server. But I get: Remote command execution failed: Below is the output from the command line: -sh-3.00$ ./check_by_ssh -v -H -C "/usr/local/nagios/libexec/check_swap -w 20% -c 10%" /usr/bin/ssh '/usr/local/nagios/libexec/check_swap -w 20% -c 10%' Remote command execution failed: Below is the output from ssh: -sh-3.00$ /usr/bin/ssh '/usr/local/nagios/libexec/check_swap -w 20% -c 10%' |----------------------------------------------------------------- | | This system is for the use of authorized users only. | | Individuals using this computer system without authority, or in | | excess of their authority, are subject to having all of their | | activities on this system monitored and recorded by system | | personnel. | | | | In the course of monitoring individuals improperly using this | | system, or in the course of system maintenance, the activities | | of authorized users may also be monitored. | | | | Anyone using this system expressly consents to such monitoring | | and is advised that if such monitoring reveals possible | | evidence of criminal activity, system personnel may provide the | | evidence of such monitoring to law enforcement officials. | |----------------------------------------------------------------- | SWAP OK - 100% free (16371 MB out of 16386 MB) |swap=16371MB;3277;1638;0;16386 Is it the banner? The banner does not come up on the linux servers. Nagios server plugins version: -sh-3.00$ ./check_by_ssh -V check_by_ssh (nagios-plugins 1.4.8) 1.41 Remote server plugins version: bash-2.05$ check_by_ssh -V check_by_ssh (nagios-plugins 1.4.9) 1.43 Nicholas Magers *************************************************************** This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of the Department of Lands. This email message has been swept by MIMEsweeper for the presence of computer viruses. *************************************************************** -------------- 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 holger at CIS.FU-Berlin.DE Wed Aug 8 03:11:15 2007 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Wed, 8 Aug 2007 03:11:15 +0200 Subject: FW: Plugin check_by_ssh: On a particular server using check_by_ssh I get 'Remote command execution failed:' In-Reply-To: <818F31EB6E5F99459894BE97B94639D5015FE2FC@SRV-QS-MAIL5.lands.nsw> References: <818F31EB6E5F99459894BE97B94639D5015FE2FC@SRV-QS-MAIL5.lands.nsw> Message-ID: <20070808011114.GH20076131@CIS.FU-Berlin.DE> * Nicholas Magers [2007-08-08 11:00]: > I have been using the check_by_ssh command on some linux servers and was > attempting to use it on a Solaris server. http://thread.gmane.org/gmane.network.nagios.user/48468/focus=48470 Holger -- PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From profoundmove at gmail.com Wed Aug 8 06:16:50 2007 From: profoundmove at gmail.com (Noel Dave) Date: Wed, 8 Aug 2007 12:16:50 +0800 Subject: Nagios-users Digest, Vol 15, Issue 5 In-Reply-To: References: Message-ID: <908650b70708072116w7497390dv95d5545b88fe0e84@mail.gmail.com> On 8/4/07, nagios-users-request at lists.sourceforge.net < nagios-users-request at lists.sourceforge.net> wrote: > > Send Nagios-users mailing list submissions to > nagios-users at lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/nagios-users > or, via email, send a message with subject or body 'help' to > nagios-users-request at lists.sourceforge.net > > You can reach the person managing the list at > nagios-users-owner at lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Nagios-users digest..." > > > Today's Topics: > > 1. Re: EMC Symetrix monitoring (orzeh) > 2. Nagios and NSClient++ memory leak issue (Travis Hansen) > 3. check_mysql -S isn't working (alexus) > 4. Re: check_mysql -S isn't working (Peter Hinse) > 5. Last Check time stamp incorrect or not updating properly? > (Brady Maxwell) > 6. Re: check_mysql -S isn't working {Disarmed} {Fraud?} (Marc Powell) > 7. Re: check_mysql -S isn't working {Disarmed} {Fraud?} (alexus) > 8. Re: check_mysql -S isn't working (alexus) > 9. Re: check_mysql -S isn't working (Marc Powell) > 10. SQL 2005 (Matthew Joyce) > 11. Timeout Limits (Tom Ray [Lists]) > 12. Hierarchical representation in hostgroups. (Lalita Drolia) > 13. Request for Feedback: Nagios Plugin (Kevin Menard) > 14. Re: Request for Feedback: Nagios Plugin (Kevin Menard) > 15. Re: Request for Feedback: Nagios Plugin (Kevin Menard) > 16. Re: Hierarchical representation in hostgroups. (Ton Voon) > 17. Re: Hierarchical representation in hostgroups. (Lalita Drolia) > 18. Re: Timeout Limits (Marc Powell) > 19. Re: Hierarchical representation in hostgroups. (Marc Powell) > 20. Re: cgi's not working (Cassandra Pugh) > 21. cgi issues (Steve Gregory) > 22. Scaling a Nagios Server (Frost, Mark {PBG}) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 02 Aug 2007 21:15:57 +0200 > From: orzeh > Subject: Re: [Nagios-users] EMC Symetrix monitoring > To: David Schlecht > Cc: nagios > Message-ID: <46B22D6D.4010408 at tlen.pl> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > David Schlecht wrote: > > Thanks for your reply, orzeh. > no problem > > > > > Can you give me a little more info? > > sure > > > It looks like you're getting SNMP traps from EMC that your Navisphere > > is processing. Is that right? > > no exactly, snmp traps are only configured in navisphere, i'm not > touching sps in lower level. Traps are transmitted from navisphere. > > > > > If so, how do you get EMC to use the standard SNMP ports? > > It can be configured in navisphere monitors templates (port, host) > > > Our ECC console only uses non-standard ports and requires lots of > > handshaking. Does Navisphere have an interface library so it knows how > > to deal with EMC? > > i've thought the navisphere is part of ecc, for sure it can work with > ecc. I'm not using ecc on my san > environment so I'm not good help. > > > Thanks again. > > -David > > please inform me about your progress! > orzeh > > > > > ------------------------------ > > Message: 2 > Date: Thu, 2 Aug 2007 15:22:25 -0400 > From: "Travis Hansen" > Subject: [Nagios-users] Nagios and NSClient++ memory leak issue > To: > Message-ID: > > Content-Type: text/plain; charset="us-ascii" > > Greetings, > > We have been using Nagios for a while now and have had > NSClient installed on several boxes with Windows 2003 SP1. One of the > boxes had an issue with NSClient that involved a memory leak that > consistently brought the server down after approximately 2 days. We > believe the issue stemmed from an error message that is generated every > ~ 70 seconds. > > > > I updated the client to NSClient++ in hopes that this would > fix the issue, but it appears that the issue remains. The monitoring > still works (which proves we have two way communication), but the error > is created nonetheless. The log file reports this error approximately > every 70 seconds: > > > > 2007-08-02 15:05:12: debug:.\PDHCollector.cpp:101: Detected language: > English US (0x0409) > > 2007-08-02 15:05:12: debug:.\NSClient++.cpp:305: Loading plugin: NRPE > server... > > 2007-08-02 15:05:12: error:.\PDHCollector.cpp:119: Attempting to open > counter... > > 2007-08-02 15:05:12: error:.\PDHCollector.cpp:122: Counters opend... > > 2007-08-02 15:05:12: debug:.\NSClient++.cpp:305: Loading plugin: > NSClient server... > > 2007-08-02 15:05:12: debug:c:\source\nscp\trunk\include\Socket.h:515: > Bound to: 0.0.0.0:1248 > > 2007-08-02 15:05:12: debug:c:\source\nscp\trunk\include\Socket.h:515: > Bound to: 0.0.0.0:5666 > > 2007-08-02 15:05:12: debug:c:\source\nscp\trunk\include\Socket.h:521: > Socket ready... > > 2007-08-02 15:05:12: debug:c:\source\nscp\trunk\include\Socket.h:521: > Socket ready... > > 2007-08-02 15:05:36: debug:.\NSClientListener.cpp:141: Data: GIOP > > 2007-08-02 15:05:36: error:.\NSClientListener.cpp:155: Invalid password > (GIOP > > 2007-08-02 15:06:45: debug:.\NSClientListener.cpp:141: Data: GIOP > > 2007-08-02 15:06:45: error:.\NSClientListener.cpp:155: Invalid password > (GIOP > > > > The NSClientListener is reporting an invalid password, but we do not > have a password set in our cfg file and we are not passing it from the > Nagios server. Anyone seen this issue before? > > > > Thanks > > Hi, Can you please give us which version of NSClient++ you're using.? Thanks in Advance -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 3 > Date: Thu, 2 Aug 2007 15:24:14 -0400 > From: alexus > Subject: [Nagios-users] check_mysql -S isn't working > To: Nagios-users at lists.sourceforge.net > Message-ID: > <6ae50c2d0708021224h11ea6691lb034a6b96116b424 at mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > # ./check_mysql -H 10.52.208.99 -u xxxx -p xxxxxxxxx -S > Slave IO: Yes Slave SQL: No Seconds Behind Master: (null) > # > > how come I get "null" in "No Seconds Behind Master? > anyone? > > > -- > http://alexus.org/ > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 4 > Date: Thu, 02 Aug 2007 21:35:44 +0200 > From: Peter Hinse > Subject: Re: [Nagios-users] check_mysql -S isn't working > To: alexus > Cc: Nagios-users at lists.sourceforge.net > Message-ID: <46B23210.9040003 at d0pefish.de> > Content-Type: text/plain; charset=ISO-8859-1 > > alexus wrote: > > # ./check_mysql -H 10.52.208.99 -u xxxx > > -p xxxxxxxxx -S > > Slave IO: Yes Slave SQL: No Seconds Behind Master: (null) > > # > > > > how come I get "null" in "No Seconds Behind Master? > > anyone? > > Read it as > > Slave IO: Yes > Slave SQL: No > Seconds Behind Master: (null) > > Your replication does not seem to work. Try a > > slave stop ; > slave start ; > show slave status ; > > on your mysql console. > > Regards, > > Peter > > > > ------------------------------ > > Message: 5 > Date: Thu, 2 Aug 2007 15:41:08 -0400 > From: "Brady Maxwell" > Subject: [Nagios-users] Last Check time stamp incorrect or not > updating properly? > To: Nagios-users at lists.sourceforge.net > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > So when I look at the web interface for host status detail, I can see that > the last check column has time values that are in correct. Many of the > services will be accurate however some services will lag behind by several > hours or even a day. However if I click on the service that has the > incorrect time stamp and go to the details for that service I see that the > last check time is wrong but the last update time is correct. > Also I submit all the results on this server to another server with nsca, > and the time stamp on the passive or central server might be more up to > date > than the time stamp on the sever doing the active check. However many of > the > time stamps still lag behind by an hour or more on the central server, > even > though they are sometimes ahead of the distributed servers checks. Again > the > last update time on the service status page seem to be accurate to with n > 5 > minutes. I have all checks set to 5 minute time frames so it seems to me > that the Last Check time stamp should always be with in the last 5 > minutes. > Watching the logs has convinced me that the checks are actually happening > and getting sent to the central server in the 5 minute time frame. > > > Has anyone experienced this before? Anyone know why this happens? > > > -- > -- Brady Maxwell -- > Biter of Dogs Ears > Systems Administrator > Garbage Man > Bouncer > Paratrooper > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 6 > Date: Thu, 2 Aug 2007 14:42:31 -0500 > From: "Marc Powell" > Subject: Re: [Nagios-users] check_mysql -S isn't working {Disarmed} > {Fraud?} > 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 alexus > > Sent: Thursday, August 02, 2007 2:24 PM > > To: Nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] check_mysql -S isn't working {Disarmed} > {Fraud?} > > > > # ./check_mysql -H 10.52.208.9910. -u xxxx -p > > xxxxxxxxx -S > > Slave IO: Yes Slave SQL: No Seconds Behind Master: (null) > > # > > > > how come I get "null" in "No Seconds Behind Master? > > anyone? > > Ok. I'll bite on the second time around... > > My GUESS- The Seconds_Behind_Master column of the of the mysql command > 'show slave status' has the value 'null' or is empty. Connect to mysql, > issue the 'show slave status;' command and verify if that's the case. > > Alternately, the version of mysql that you are using, whatever it is, > changed that column such that the plugin can no longer parse it. > > Alternately, the slave is broken in some way. > > -- > Marc > > > > ------------------------------ > > Message: 7 > Date: Thu, 2 Aug 2007 16:01:13 -0400 > From: alexus > Subject: Re: [Nagios-users] check_mysql -S isn't working {Disarmed} > {Fraud?} > To: "Marc Powell" > Cc: Nagios-users at lists.sourceforge.net > Message-ID: > <6ae50c2d0708021301t2403232cn517457ac7abbdfe1 at mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > ok, 'Seconds Behind Master' does have value of null, but > where and what do i need to set, in order for it to function properly? > i'm using mysql-5.0.45 > > > > On 8/2/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 alexus > > > Sent: Thursday, August 02, 2007 2:24 PM > > > To: Nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] check_mysql -S isn't working {Disarmed} > > {Fraud?} > > > > > > # ./check_mysql -H 10.52.208.9910. -u xxxx -p > > > xxxxxxxxx -S > > > Slave IO: Yes Slave SQL: No Seconds Behind Master: (null) > > > # > > > > > > how come I get "null" in "No Seconds Behind Master? > > > anyone? > > > > Ok. I'll bite on the second time around... > > > > My GUESS- The Seconds_Behind_Master column of the of the mysql command > > 'show slave status' has the value 'null' or is empty. Connect to mysql, > > issue the 'show slave status;' command and verify if that's the case. > > > > Alternately, the version of mysql that you are using, whatever it is, > > changed that column such that the plugin can no longer parse it. > > > > Alternately, the slave is broken in some way. > > > > -- > > 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 > > > > > > -- > http://alexus.org/ > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 8 > Date: Thu, 2 Aug 2007 16:01:56 -0400 > From: alexus > Subject: Re: [Nagios-users] check_mysql -S isn't working > To: "Peter Hinse" > Cc: Nagios-users at lists.sourceforge.net > Message-ID: > <6ae50c2d0708021301g2f36594ewcac65ba7603602a5 at mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > my replication does work... > > On 8/2/07, Peter Hinse wrote: > > > > alexus wrote: > > > # ./check_mysql -H 10.52.208.99 -u xxxx > > > -p xxxxxxxxx -S > > > Slave IO: Yes Slave SQL: No Seconds Behind Master: (null) > > > # > > > > > > how come I get "null" in "No Seconds Behind Master? > > > anyone? > > > > Read it as > > > > Slave IO: Yes > > Slave SQL: No > > Seconds Behind Master: (null) > > > > Your replication does not seem to work. Try a > > > > slave stop ; > > slave start ; > > show slave status ; > > > > on your mysql console. > > > > Regards, > > > > Peter > > > > > > -- > http://alexus.org/ > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 9 > Date: Thu, 2 Aug 2007 15:08:49 -0500 > From: "Marc Powell" > Subject: Re: [Nagios-users] check_mysql -S isn't working > To: > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > > > > -----Original Message----- > > From: alexus [mailto:alexus at gmail.com] > > Sent: Thursday, August 02, 2007 3:01 PM > > To: Marc Powell > > Cc: Nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] check_mysql -S isn't working {Disarmed} > > {Fraud?} {Disarmed} {Fraud?} > > > > ok, 'Seconds Behind Master' does have value of null, but > > where and what do i need to set, in order for it to function properly? > > i'm using mysql-5.0.45 > > No clue here. The mysql-users support group will probably get you a > faster, more accurate answer since it's outside the realm of nagios. > > -- > Marc > > > > ------------------------------ > > Message: 10 > Date: Fri, 3 Aug 2007 09:41:04 +1000 > From: "Matthew Joyce" > Subject: [Nagios-users] SQL 2005 > To: > Message-ID: > <2A67EA781EC7F949A2AB0A0D07A86C6A0286B93F at mail01.ccia.local> > Content-Type: text/plain; charset="us-ascii" > > > Hi all, > > Does anyone have method of determining is a database is up and > accessible ? > > At the moment we check the server is up and services are running, but my > availability reports don't show if staff can't login to a db. > I'm thinking nrpe+wmi might be useful, or old fashioned vbs. > > Or perhaps SQL2005 have some snmp OIDs I can query ? > > Any ideas ? > > Matthew Joyce > 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for > Medical Research > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 11 > Date: Fri, 03 Aug 2007 01:53:18 -0400 > From: "Tom Ray [Lists]" > Subject: [Nagios-users] Timeout Limits > To: nagios-users at lists.sourceforge.net > Message-ID: <46B2C2CE.8030600 at blazestudios.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > How do I raise the timeout limits from 10 seconds on things like the > smtp_check, httpd_check, etc? > > Thanks! > > > > ------------------------------ > > Message: 12 > Date: Fri, 3 Aug 2007 00:08:25 -0700 > From: "Lalita Drolia" > Subject: [Nagios-users] Hierarchical representation in hostgroups. > To: > Message-ID: > <2402BA0C1F52594E8E271233F62EB6A903FC7530 at repbex02.amer.bea.com> > Content-Type: text/plain; charset="us-ascii" > > Hi, > > I have configured nagios to monitor about 800 servers. I have made > various hostgroups on the basis of operating systems, databases > installed, teams using the machines etc. > > Now I want to view them in hostgroups on web interface in the form of a > tree. For example, I want one broad category of operating systems, under > that windows, linux solaris etc and again under windows, 2000 and 2003. > > > > Is it possible to have any such kind of view for hostgroups? > > Because right now it just shows a number of hostgroups in a table which > is not very useful to me. > > > > Kindly help. > > Lalita > > > > > > > Notice: This email message, together with any attachments, may contain > information of BEA Systems, Inc., its subsidiaries and affiliated > entities, that may be confidential, proprietary, copyrighted and/or > legally privileged, and is intended solely for the use of the individual or > entity named in this message. If you are not the intended recipient, and > have received this message in error, please immediately return this by email > and then delete it. > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 13 > Date: Fri, 3 Aug 2007 07:45:27 -0400 > From: "Kevin Menard" > Subject: [Nagios-users] Request for Feedback: Nagios Plugin > To: > Message-ID: > <384329B8D7108B45A3064FB38FCF267B0E1B10 at aristotle.servprise.office> > Content-Type: text/plain; charset="US-ASCII" > > Hi all, > > I'm looking for some feedback on a plugin developed for our WebReboot > Enterprise products. It won't require you to download anything, to > install anything, or to purchase anything. The details on the plugin > thus far can be found at: http://plato/nagios/index.html > > Really what I'm looking for is feedback on the overall design. Certain > decisions had to be made with what constitutes a host check versus a > service check or a host event handler versus a service one. Likewise, > when a corrective action is taken is fairly subjective too. E.g., HARD > only? Soft but after 3 attempts? > > I'm looking for help with a few of the following: > > 1) The password to the WebReboot Enterprise has to be stored somewhere. > How would you like to see this done? For simplicity, it's specified as > a command argument right now. Obviously, anyone with permissions to > open your host and service configs can see it. One suggestion had been > to push this off into a plugin configuration file and restrict access to > that. > > 2) How would you like to see when plugins perform actions? Should it be > configurable, yielding flexibility at the expense of usability? Should > it just be hard-coded with notes on how to change it (it's ASL-licensed > Python code, so not too hard)? > > 3) Event handlers are currently non-blocking. That is, if you choose to > power on a host, the event handler issues the command to the WebReboot > Enterprise and then returns control to Nagios. The WebReboot Enterprise > then takes care of powering on the host. This means the script may > return in seconds while it may take orders of magnitude longer for the > host to power up. The consequence of this is that if your max attempts > is too low or timing is too tight, host checks may continue to execute > while the host is powering up and could put it into an erroneous HARD > DOWN state. > > How should this be handled? Documentation for the user on changing > timing & attempt values? Or should the event handler insert a > configurable artificial delay? The downside of the latter being that it > requires fine tuning for each host, as some boot to the OS quickly while > others do not. > > Anyway, any help this list could provide would be great. Ultimately, > the plugin is for Nagios users and we want to make sure we're building > something that meets your expectations. > > -- > Kevin Menard > Servprise International, Inc. > 800.832.3823 x308 > > > > ------------------------------ > > Message: 14 > Date: Fri, 3 Aug 2007 08:03:58 -0400 > From: "Kevin Menard" > Subject: Re: [Nagios-users] Request for Feedback: Nagios Plugin > To: > Cc: nagios-users at lists.sourceforge.net > Message-ID: > <384329B8D7108B45A3064FB38FCF267B0E1B11 at aristotle.servprise.office> > Content-Type: text/plain; charset="US-ASCII" > > Argh. Guess I need to double-check my URLs. > > The correct one is: http://dev.servprise.com/nagios/ > > Thanks for the correction. > > -- > Kevin > > > -----Original Message----- > > From: Sander Klein [mailto:sander at pictura-dp.nl] > > Sent: Friday, August 03, 2007 7:51 AM > > To: Kevin Menard > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Request for Feedback: Nagios Plugin > > > > Hi, > > > > looking at http://plato/nagios/index.html is kind of hard. > > > > Greets, > > > > Sander > > > > > > > > Kevin Menard wrote: > > > Hi all, > > > > > > I'm looking for some feedback on a plugin developed for our > WebReboot > > > Enterprise products. It won't require you to download anything, to > > > install anything, or to purchase anything. The details on the > plugin > > > thus far can be found at: http://plato/nagios/index.html > > > > > > Really what I'm looking for is feedback on the overall design. > > Certain > > > decisions had to be made with what constitutes a host check versus a > > > service check or a host event handler versus a service one. > > Likewise, > > > when a corrective action is taken is fairly subjective too. E.g., > > HARD > > > only? Soft but after 3 attempts? > > > > > > I'm looking for help with a few of the following: > > > > > > 1) The password to the WebReboot Enterprise has to be stored > > somewhere. > > > How would you like to see this done? For simplicity, it's specified > > as > > > a command argument right now. Obviously, anyone with permissions to > > > open your host and service configs can see it. One suggestion had > > been > > > to push this off into a plugin configuration file and restrict > access > > to > > > that. > > > > > > 2) How would you like to see when plugins perform actions? Should > it > > be > > > configurable, yielding flexibility at the expense of usability? > > Should > > > it just be hard-coded with notes on how to change it (it's ASL- > > licensed > > > Python code, so not too hard)? > > > > > > 3) Event handlers are currently non-blocking. That is, if you > choose > > to > > > power on a host, the event handler issues the command to the > > WebReboot > > > Enterprise and then returns control to Nagios. The WebReboot > > Enterprise > > > then takes care of powering on the host. This means the script may > > > return in seconds while it may take orders of magnitude longer for > > the > > > host to power up. The consequence of this is that if your max > > attempts > > > is too low or timing is too tight, host checks may continue to > > execute > > > while the host is powering up and could put it into an erroneous > HARD > > > DOWN state. > > > > > > How should this be handled? Documentation for the user on changing > > > timing & attempt values? Or should the event handler insert a > > > configurable artificial delay? The downside of the latter being > that > > it > > > requires fine tuning for each host, as some boot to the OS quickly > > while > > > others do not. > > > > > > Anyway, any help this list could provide would be great. > Ultimately, > > > the plugin is for Nagios users and we want to make sure we're > > building > > > something that meets your expectations. > > > > > > > > > > > ------------------------------ > > Message: 15 > Date: Fri, 3 Aug 2007 08:05:28 -0400 > From: "Kevin Menard" > Subject: Re: [Nagios-users] Request for Feedback: Nagios Plugin > To: "Kevin Menard" , > > Message-ID: > <384329B8D7108B45A3064FB38FCF267B0E1B12 at aristotle.servprise.office> > Content-Type: text/plain; charset="US-ASCII" > > Sorry for the self-reply, but the URL posted is incorrect (thanks Sander > for pointing this out). > > It should be: > > http://dev.servprise.com/nagios/ > > Thanks, > Kevin > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Kevin Menard > > Sent: Friday, August 03, 2007 7:45 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Request for Feedback: Nagios Plugin > > > > Hi all, > > > > I'm looking for some feedback on a plugin developed for our WebReboot > > Enterprise products. It won't require you to download anything, to > > install anything, or to purchase anything. The details on the plugin > > thus far can be found at: http://plato/nagios/index.html > > > > Really what I'm looking for is feedback on the overall design. > Certain > > decisions had to be made with what constitutes a host check versus a > > service check or a host event handler versus a service one. Likewise, > > when a corrective action is taken is fairly subjective too. E.g., > HARD > > only? Soft but after 3 attempts? > > > > I'm looking for help with a few of the following: > > > > 1) The password to the WebReboot Enterprise has to be stored > somewhere. > > How would you like to see this done? For simplicity, it's specified > as > > a command argument right now. Obviously, anyone with permissions to > > open your host and service configs can see it. One suggestion had > been > > to push this off into a plugin configuration file and restrict access > > to > > that. > > > > 2) How would you like to see when plugins perform actions? Should it > > be > > configurable, yielding flexibility at the expense of usability? > Should > > it just be hard-coded with notes on how to change it (it's > ASL-licensed > > Python code, so not too hard)? > > > > 3) Event handlers are currently non-blocking. That is, if you choose > > to > > power on a host, the event handler issues the command to the WebReboot > > Enterprise and then returns control to Nagios. The WebReboot > > Enterprise > > then takes care of powering on the host. This means the script may > > return in seconds while it may take orders of magnitude longer for the > > host to power up. The consequence of this is that if your max > attempts > > is too low or timing is too tight, host checks may continue to execute > > while the host is powering up and could put it into an erroneous HARD > > DOWN state. > > > > How should this be handled? Documentation for the user on changing > > timing & attempt values? Or should the event handler insert a > > configurable artificial delay? The downside of the latter being that > > it > > requires fine tuning for each host, as some boot to the OS quickly > > while > > others do not. > > > > Anyway, any help this list could provide would be great. Ultimately, > > the plugin is for Nagios users and we want to make sure we're building > > something that meets your expectations. > > > > -- > > Kevin Menard > > Servprise International, Inc. > > 800.832.3823 x308 > > > > > ----------------------------------------------------------------------- > > -- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a > browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: Fri, 3 Aug 2007 13:09:59 +0100 > From: Ton Voon > Subject: Re: [Nagios-users] Hierarchical representation in hostgroups. > To: Lalita Drolia > Cc: nagios-users at lists.sourceforge.net > Message-ID: <647680E6-38DE-4BA0-9E9F-AA436BC0410A at altinity.com> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > > On 3 Aug 2007, at 08:08, Lalita Drolia wrote: > > > I have configured nagios to monitor about 800 servers. I have made > > various hostgroups on the basis of operating systems, databases > > installed, teams using the machines etc. > > > > Now I want to view them in hostgroups on web interface in the form > > of a tree. For example, I want one broad category of operating > > systems, under that windows, linux solaris etc and again under > > windows, 2000 and 2003. > > > > > > Is it possible to have any such kind of view for hostgroups? > > > > Because right now it just shows a number of hostgroups in a table > > which is not very useful to me. > This sounds like Hostgroup Hierarchy. > > Opsview has a feature where we group hostgroups in a hierarchical > fashion and then the /status/hostgroup link shows you the complete > summary of all those hostgroups and all the host/service states > underneath. > > We do this by utilising the NDO information and running some complex > SQL. > > More information here: http://opsview.org/hostgrouphierarchy > > Ton > > http://www.altinity.com > T: +44 (0)870 787 9243 > F: +44 (0)845 280 1725 > Skype: tonvoon > > > > > > ------------------------------ > > Message: 17 > Date: Fri, 3 Aug 2007 05:26:09 -0700 > From: "Lalita Drolia" > Subject: Re: [Nagios-users] Hierarchical representation in hostgroups. > To: "Ton Voon" > Cc: nagios-users at lists.sourceforge.net > Message-ID: > <2402BA0C1F52594E8E271233F62EB6A903FC779E at repbex02.amer.bea.com> > Content-Type: text/plain; charset=us-ascii > > > > But Opsview is a separate software in itself. Is there any way to aceive > this in Nagios? Basically a tree like structure to see all the hosts in? > > > -----Original Message----- > From: Ton Voon [mailto:ton.voon at altinity.com] > Sent: Friday, August 03, 2007 5:40 PM > To: Lalita Drolia > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Hierarchical representation in hostgroups. > > > On 3 Aug 2007, at 08:08, Lalita Drolia wrote: > > > I have configured nagios to monitor about 800 servers. I have made > > various hostgroups on the basis of operating systems, databases > > installed, teams using the machines etc. > > > > Now I want to view them in hostgroups on web interface in the form > > of a tree. For example, I want one broad category of operating > > systems, under that windows, linux solaris etc and again under > > windows, 2000 and 2003. > > > > > > Is it possible to have any such kind of view for hostgroups? > > > > Because right now it just shows a number of hostgroups in a table > > which is not very useful to me. > This sounds like Hostgroup Hierarchy. > > Opsview has a feature where we group hostgroups in a hierarchical > fashion and then the /status/hostgroup link shows you the complete > summary of all those hostgroups and all the host/service states > underneath. > > We do this by utilising the NDO information and running some complex > SQL. > > More information here: http://opsview.org/hostgrouphierarchy > > Ton > > http://www.altinity.com > T: +44 (0)870 787 9243 > F: +44 (0)845 280 1725 > Skype: tonvoon > > > > Notice: This email message, together with any attachments, may contain > information of BEA Systems, Inc., its subsidiaries and affiliated > entities, that may be confidential, proprietary, copyrighted and/or > legally privileged, and is intended solely for the use of the individual or > entity named in this message. If you are not the intended recipient, and > have received this message in error, please immediately return this by email > and then delete it. > > > > ------------------------------ > > Message: 18 > Date: Fri, 3 Aug 2007 07:36:32 -0500 > From: "Marc Powell" > Subject: Re: [Nagios-users] Timeout Limits > 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 Tom Ray [Lists] > > Sent: Friday, August 03, 2007 12:53 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Timeout Limits > > > > How do I raise the timeout limits from 10 seconds on things like the > > smtp_check, httpd_check, etc? > > 1) if the plugin has a timeout option, typically -t but you can use > --help to verify, modify your command{} definitions to pass it. > 2) modify the host and service check timeout options in nagios.cfg to be > greater than your highest plugin specific timeout. > 3) reload nagios. > > -- > Marc > > > > ------------------------------ > > Message: 19 > Date: Fri, 3 Aug 2007 07:42:00 -0500 > From: "Marc Powell" > Subject: Re: [Nagios-users] Hierarchical representation in hostgroups. > 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 Lalita Drolia > > Sent: Friday, August 03, 2007 7:26 AM > > To: Ton Voon > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Hierarchical representation in hostgroups. > > > > > > > > But Opsview is a separate software in itself. Is there any way to > aceive > > this in Nagios? Basically a tree like structure to see all the hosts > in? > > No. Nagios has no notion of nested hostgroups outside of creative use of > template inheritance. > > -- > Marc > > > > ------------------------------ > > Message: 20 > Date: Fri, 3 Aug 2007 10:47:28 -0400 > From: "Cassandra Pugh" > Subject: Re: [Nagios-users] cgi's not working > To: > Message-ID: > <4E20E7F01BC85746A7A29FDFBFEC988D05885C94 at MAIL-STORE-1.pppl.gov> > Content-Type: text/plain; charset="us-ascii" > > Ok, so I disabled SELinux, and all of a sudden, everything works fine. > > SELinux = the bane of my existence. So thanks Marc for mentioning > SELinux. > > -- > Cassandra > (609) 243-2413 > > > "From a little spark may burst a mighty flame." > > > Message: 7 > Date: Thu, 2 Aug 2007 14:42:10 -0400 > From: "Cassandra Pugh" > Subject: [Nagios-users] cgi's not working > To: > Message-ID: > <4E20E7F01BC85746A7A29FDFBFEC988D05885C2B at MAIL-STORE-1.pppl.gov> > Content-Type: text/plain; charset="us-ascii" > > I just installed Nagios 2.9 and when I get up to the web portion, I get my > page up, the documentation shows up, but when I click on various cgis on > the > sidebar, I get the whoops message : > > now, > 1 - I have verified the config options by using the command line > procedure, > and it comes back 0 warnings, 0 errors. > > 2- Nagios log shows nagios starting just fine. I have verified it is > running, > I see logs that tell me things are being monitored, I get emails if stuff > goes down, etc. I just cannot see the web interface. > > #3 I am not so sure about? I just ran the make files as the documentation > states, so I don't see why this would not be correct? > > > " Whoops! > > Error: Could not read object configuration data! > > Here are some things you should check in order to resolve this error: > > 1. Verify configuration options using the -v command-line option to check > for > errors. > 2. Check the Nagios log file for messages relating to startup or status > data > errors. > 3. Make sure you've compiled the main program and the CGIs to use the same > object data storage options (i.e. default text file or template-based > file). > :" > > -- > Cassandra > (609) 243-2413 > > > "From a little spark may burst a mighty flame." > > > > > > ------------------------------ > > Message: 8 > Date: Thu, 2 Aug 2007 13:47:33 -0500 > From: "Marc Powell" > Subject: Re: [Nagios-users] cgi's not working > 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 Cassandra Pugh > > Sent: Thursday, August 02, 2007 1:42 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] cgi's not working > > > > I just installed Nagios 2.9 and when I get up to the web portion, I > get my > > page up, the documentation shows up, but when I click on various cgis > on > > the > > sidebar, I get the whoops message : > > > > now, > > 1 - I have verified the config options by using the command line > > procedure, > > and it comes back 0 warnings, 0 errors. > > > > 2- Nagios log shows nagios starting just fine. I have verified it is > > running, > > I see logs that tell me things are being monitored, I get emails if > stuff > > goes down, etc. I just cannot see the web interface. > > > > #3 I am not so sure about? I just ran the make files as the > documentation > > states, so I don't see why this would not be correct? > > Presuming you followed the manual on configuring the web interface and > that all is ok there. Are there any errors in your web server logs? Does > your web server have permission to read /path/to/nagios/var and > /path/to/nagios/etc? > > Do you have SELinux enabled and if so, verified that there are no errors > there? > > -- > Marc > > > > ------------------------------ > > Message: 9 > Date: Thu, 2 Aug 2007 11:49:20 -0700 > From: Patrick Morris > Subject: Re: [Nagios-users] cgi's not working > To: Cassandra Pugh > Cc: nagios-users at lists.sourceforge.net > Message-ID: <20070802184920.GK9182 at pmorris.usa.hp.com> > Content-Type: text/plain; charset=us-ascii > > On Thu, 02 Aug 2007, Cassandra Pugh wrote: > > > I just installed Nagios 2.9 and when I get up to the web portion, I get > my > > page up, the documentation shows up, but when I click on various cgis on > the > > sidebar, I get the whoops message : > > > > now, > > 1 - I have verified the config options by using the command line > procedure, > > and it comes back 0 warnings, 0 errors. > > > > 2- Nagios log shows nagios starting just fine. I have verified it is > running, > > I see logs that tell me things are being monitored, I get emails if > stuff > > goes down, etc. I just cannot see the web interface. > > > > #3 I am not so sure about? I just ran the make files as the > documentation > > states, so I don't see why this would not be correct? > > 1. That won't check for errors in your cgi.cfg, which sounds like it's > not configured correctly. > > 2. Yep, that matches up with a borked cgi.cfg, too. > > 3. Check your cgi.cfg file. :) Also, make sure that those config files > have proper permissions for your webserver user to read them. > > > > ------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of 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 15, Issue 4 > ******************************************* > > > > ------------------------------ > > Message: 21 > Date: Fri, 03 Aug 2007 10:53:55 -0400 > From: Steve Gregory > Subject: [Nagios-users] cgi issues > To: nagios-users at lists.sourceforge.net > Message-ID: <46B34183.7090604 at qis.net> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > I have upgraded nagios from version 1.4 to 2.9 using the Debian > packages.. I've been trying to configure the new installation and keep > getting "Error: Could not read object configuration data!" when I try to > run any of the cgi's. I have double checked all my config files and made > sure the paths were correct. Has anyone else come across this problem? > > Steve > > > > > ------------------------------ > > Message: 22 > Date: Fri, 3 Aug 2007 14:25:18 -0400 > From: "Frost, Mark {PBG}" > Subject: [Nagios-users] Scaling a Nagios Server > To: "Nagios Users mailinglist" > Message-ID: > <7F477BD26F545A4C8E4779754A38EFB30219DF58 at PEPWMV00043.corp.pep.pvt> > Content-Type: text/plain; charset="US-ASCII" > > > Hello. We've got a single Nagios server with the following stats > > 2 x Intel Xeon 2.4Ghz CPUs (hyperthreaded) > 3.6Gb of memory > Red Hat AS 3 Linux > Nagios 2.9 > Host Checks: 451 > Service Checks: 2358 > Average OS load level: 3 > > Service Check Execution Time (min/max/avg): 0.03 sec 30.04 > sec 0.500 sec > Service Check Latency (min/max/avg): 0.01 sec 33.67 sec > 5.516 sec > > Host Check Execution Time: 0.00 sec 26.78 sec 0.722 > sec > Host Check Latency: 0.00 sec 3.68 sec 0.008 sec > > This box is almost exclusively doing active service checks. It is > almost dedicated to Nagios (it does a couple of other things, all very > low-volume). > > This server has grown considerably over time to encompass quite a lot > more Nagios activity than it had when I took over Nagios admin. Now it > seems active enough to start planning on scaling it somehow. While > there will definitely be growth, I'm not really sure how I should break > this architecture out. Our Nagios growth is a bit unpredictable as > people ask us to monitor their stuff, but I might guess it at 20% per > year. > > I assume I'd want to start looking at the distributed models for Nagios. > My problem is that I feel like any architecture I try to plan out is > really just a guess for this load (and predicted future load). > > Can anyone suggest where I should go from here in terms of planning out > a Nagios-for-the-future architecture? How many hosts, for example? We > looked at possibly going VM with Nagios, but it appears that at least > with this configuration, Nagios is taking up too many resources. We > could probably scale out with VM's, but I imagine we'd need more VM's > (hosts) than we'd need with physical boxes. > > Any help is greatly appreciated. > > Thanks > > Mark > > > > ------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of 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 15, Issue 5 > ******************************************* > -------------- 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 Wed Aug 8 07:35:51 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 8 Aug 2007 07:35:51 +0200 (CEST) Subject: Mailinglist proposal: Block digest reactions Message-ID: Hi, May I suggest to block reactions to digests on the mailinglist? I have never seen people do the proper thing and react to individual messages. The messages are usual just a waste of time and bandwidth as there is in fact no reaction at all in them. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 8 07:51:12 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 8 Aug 2007 01:51:12 -0400 Subject: Mailinglist proposal: Block digest reactions In-Reply-To: References: Message-ID: I would agree, many will not even open responce since the Subject is for the digest, and half the time it is hard to even find the question. I actualy feel bad for those people who are putting one line question in the middle of the digest. Tony (author of NC_Net) On 8/8/07, Hugo van der Kooij wrote: > > Hi, > > May I suggest to block reactions to digests on the mailinglist? > > I have never seen people do the proper thing and react to individual > messages. The messages are usual just a waste of time and bandwidth as > there is in fact no reaction at all in them. > > Hugo. > > -- > hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ > This message is using 100% recycled electrons. > > Some men see computers as they are and say "Windows" > I use computers with Linux and say "Why Windows?" > (Thanks JFK, for the insight.) > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 mkellermann at net-com.de Wed Aug 8 09:09:38 2007 From: mkellermann at net-com.de (Matthias Kellermann) Date: Wed, 08 Aug 2007 09:09:38 +0200 Subject: Issues with check_by_ssh Message-ID: <46B96C32.6080808@net-com.de> Hello list, tonight I got lots of false-positive messages from Nagios. All these messages came from services checked with check_by_ssh. Strange thing is that SSH was running on all servers and there were no problems with the network connectivity. All other services on these servers had no errors. After 20 minutes or so check_by_ssh worked fine again. I've got no errors in the logs (i.e. auth.log) - whether on the Nagios server nor on the servers to be monitored. The only error I got from check_by_ssh is: Plugin timed out while executing system call While this is not very meaningful I'm trying to use check_by_ssh with a higher timeout. I also wonder about the following check_by_ssh option: -f tells ssh to fork rather than create a tty What does this option mean? Is it possible to log the exact output from check_by_ssh to a logfile? Did anyone have similar false-positives with check_by_ssh? Best regards, 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 hvdkooij at vanderkooij.org Wed Aug 8 13:02:27 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 8 Aug 2007 13:02:27 +0200 (CEST) Subject: Issues with check_by_ssh In-Reply-To: <46B96C32.6080808@net-com.de> References: <46B96C32.6080808@net-com.de> Message-ID: On Wed, 8 Aug 2007, Matthias Kellermann wrote: > tonight I got lots of false-positive messages from Nagios. All these > messages came from services checked with check_by_ssh. Strange thing is > that SSH was running on all servers and there were no problems with the > network connectivity. All other services on these servers had no errors. > After 20 minutes or so check_by_ssh worked fine again. > > I've got no errors in the logs (i.e. auth.log) - whether on the Nagios > server nor on the servers to be monitored. The only error I got from > check_by_ssh is: > > Plugin timed out while executing system call Check for DNS issues. You may have had an issue with reverse DNS entries resulting in the extra delay on each ssh connection. It is an educated guess but it would explain the behaviour. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sujith.linux at gmail.com Wed Aug 8 13:46:43 2007 From: sujith.linux at gmail.com (sujith h) Date: Wed, 8 Aug 2007 17:16:43 +0530 Subject: check_nt Message-ID: Hi, I am Sujith H. I have a doubt regaurding the plugin check_nt. If am using check_nt to monitor the CPULOAD of a windows machine and not specifying the warning and critical thresholds, i.e, ./check_nt -H -v CPULOAD What will the threshold value for the warning state and the critical state here? Can any one help me? Cheers, Sujith Haridasan -- ?????? ??????? -------------- 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 Aug 8 14:29:40 2007 From: marc at ena.com (Marc Powell) Date: Wed, 8 Aug 2007 07:29:40 -0500 Subject: Nagios-users Digest, Vol 15, Issue 5 In-Reply-To: <908650b70708072116w7497390dv95d5545b88fe0e84@mail.gmail.com> References: <908650b70708072116w7497390dv95d5545b88fe0e84@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 Noel Dave > Sent: Tuesday, August 07, 2007 11:17 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios-users Digest, Vol 15, Issue 5 > {Disarmed} {Fraud?} > > > > On 8/4/07, nagios-users-request at lists.sourceforge.net < nagios-users- > request at lists.sourceforge.net request at lists.sourceforge.net> > wrote: Hi Noel! When replying to digest postings, please trim out all the irrelevant parts of the digest that you're not responding to. That way, the entire last digest isn't sent with the new digest and people don't have to weed through the entire thing just to try to figure out what you're contributing. It would also be helpful to change the subject to something relevant as well. Thanks! -- 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 Aug 8 14:43:59 2007 From: marc at ena.com (Marc Powell) Date: Wed, 8 Aug 2007 07:43:59 -0500 Subject: check_nt 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 sujith h > Sent: Wednesday, August 08, 2007 6:47 AM > To: Nagios Users mailinglist > Subject: [Nagios-users] check_nt > > Hi, > > I am Sujith H. I have a doubt regaurding the plugin check_nt. > If am using check_nt to monitor the CPULOAD of a windows > machine and not specifying the warning and critical thresholds, > i.e, > ./check_nt -H -v CPULOAD > > What will the threshold value for the warning state and the critical > state here? Nothing seemingly... > Can any one help me? $ ~nagios/libexec/check_nt -H myhost -v CPULOAD missing -l parameters $ Nagios-plugins-1.4.3. source code looks the same in 1.4.9... -- 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 Wed Aug 8 16:41:34 2007 From: mkellermann at net-com.de (Matthias Kellermann) Date: Wed, 08 Aug 2007 16:41:34 +0200 Subject: Issues with check_by_ssh In-Reply-To: References: <46B96C32.6080808@net-com.de> Message-ID: <46B9D61E.9090706@net-com.de> Hugo, thanks for your answer. Hugo van der Kooij schrieb: > On Wed, 8 Aug 2007, Matthias Kellermann wrote: > >> tonight I got lots of false-positive messages from Nagios. All these >> messages came from services checked with check_by_ssh. Strange thing is >> that SSH was running on all servers and there were no problems with the >> network connectivity. All other services on these servers had no errors. >> After 20 minutes or so check_by_ssh worked fine again. >> >> I've got no errors in the logs (i.e. auth.log) - whether on the Nagios >> server nor on the servers to be monitored. The only error I got from >> check_by_ssh is: >> >> Plugin timed out while executing system call > > Check for DNS issues. You may have had an issue with reverse DNS entries > resulting in the extra delay on each ssh connection. It is an educated > guess but it would explain the behaviour. I've checked this. All DNS server were available and working fine when that error occured. All other services with the same timeout (10s) had no errors at all. But maybe I can disable SSH's reverse DNS resolving "feature" to get rid of possible errors caused by DNS errors. Regards, 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 amontibello at gmail.com Wed Aug 8 18:04:24 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 8 Aug 2007 12:04:24 -0400 Subject: check_nt In-Reply-To: References: Message-ID: That is correct, all standard versions of check_nt and check_nc_net Require a -l for the CPULOAD. Check_nt will give you the error. As for the result from the window plugin (NC_Net, NS_Clinet, NS_Client++) they may/may not give a result if using a custom plugin. for example NC_Net would respond with the 10 min average if it was given a CPULOAD command without the threshold values. Most results and threshold values in CHECK_NT are calculated in check_NT (not in the Windows client side.) Tony (Author of NC_Net) On 8/8/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 sujith h > > Sent: Wednesday, August 08, 2007 6:47 AM > > To: Nagios Users mailinglist > > Subject: [Nagios-users] check_nt > > > > Hi, > > > > I am Sujith H. I have a doubt regaurding the plugin check_nt. > > If am using check_nt to monitor the CPULOAD of a windows > > machine and not specifying the warning and critical thresholds, > > i.e, > > ./check_nt -H -v CPULOAD > > > > What will the threshold value for the warning state and the critical > > state here? > > Nothing seemingly... > > > Can any one help me? > > $ ~nagios/libexec/check_nt -H myhost -v CPULOAD > missing -l parameters > $ > > Nagios-plugins-1.4.3. source code looks the same in 1.4.9... > > -- > 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 rtanner at linfield.edu Wed Aug 8 23:24:22 2007 From: rtanner at linfield.edu (Rob Tanner) Date: Wed, 08 Aug 2007 14:24:22 -0700 Subject: Getting state retention to work Message-ID: <46BA3486.2080806@linfield.edu> Hi, I'm trying to get state retention to work, but it doesn't seem to like me very much. I've set the options in nagios.cfg the way I think they are supposed to be set (see below) but the retention file continues to have a size of 0 bytes and state is not retained between restarts. I am using v2.9. Any ideas? Here's what I think are the pertinent configuration options from nagios.cfg: retain_state_information=1 state_retention_file=/etc/nagios/state.dat retention_update_interval=1 use_retained_program_state=1 Since I don't seem to be even able to get to first base here, I'm rather at a loss of what to do next. -- 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 From marc at ena.com Wed Aug 8 23:31:53 2007 From: marc at ena.com (Marc Powell) Date: Wed, 8 Aug 2007 16:31:53 -0500 Subject: Getting state retention to work In-Reply-To: <46BA3486.2080806@linfield.edu> References: <46BA3486.2080806@linfield.edu> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Rob Tanner > Sent: Wednesday, August 08, 2007 4:24 PM > To: Nagios Users Mailinglist > Subject: [Nagios-users] Getting state retention to work > > Hi, > > I'm trying to get state retention to work, but it doesn't seem to like > me very much. I've set the options in nagios.cfg the way I think they > > Here's what I think are the pertinent configuration options from > nagios.cfg: > > retain_state_information=1 > state_retention_file=/etc/nagios/state.dat > retention_update_interval=1 > use_retained_program_state=1 You also need to specify retention directives on per-host and per-service basis -- retain_status_information: This directive is used to determine whether or not status-related information about the host is retained across program restarts. This is only useful if you have enabled state retention using the retain_state_information directive. Value: 0 = disable status information retention, 1 = enable status information retention. retain_nonstatus_information: This directive is used to determine whether or not non-status information about the host is retained across program restarts. This is only useful if you have enabled state retention using the retain_state_information directive. Value: 0 = disable non-status information retention, 1 = enable non-status information retention. -- 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 rtanner at linfield.edu Thu Aug 9 00:21:27 2007 From: rtanner at linfield.edu (Rob Tanner) Date: Wed, 08 Aug 2007 15:21:27 -0700 Subject: Getting state retention to work In-Reply-To: References: Message-ID: <46BA41E7.7020904@linfield.edu> Marc, The retain_status_information and retain_nonstatus_information options are both set to 1 in the default templates at the top of the hosts.cfg and services.cfg files and I am specifying those default templates for almost all of the service and host entries. Something else must still be missing. -- Rob Marc Powell said the following on 08/08/2007 02:31 PM: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Rob Tanner >> Sent: Wednesday, August 08, 2007 4:24 PM >> To: Nagios Users Mailinglist >> Subject: [Nagios-users] Getting state retention to work >> >> Hi, >> >> I'm trying to get state retention to work, but it doesn't seem to like >> me very much. I've set the options in nagios.cfg the way I think they >> > > >> Here's what I think are the pertinent configuration options from >> nagios.cfg: >> >> retain_state_information=1 >> state_retention_file=/etc/nagios/state.dat >> retention_update_interval=1 >> use_retained_program_state=1 >> > > You also need to specify retention directives on per-host and > per-service basis -- > > retain_status_information: This directive is used to determine > whether or not status-related information about the host is retained > across program restarts. This is only useful if you have enabled state > retention using the retain_state_information directive. Value: 0 = > disable status information retention, 1 = enable status information > retention. > retain_nonstatus_information: This directive is used to determine > whether or not non-status information about the host is retained across > program restarts. This is only useful if you have enabled state > retention using the retain_state_information directive. Value: 0 = > disable non-status information retention, 1 = enable non-status > information retention. > > -- > 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 msugano at uolinc.com Thu Aug 9 00:19:27 2007 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Wed, 08 Aug 2007 19:19:27 -0300 Subject: Getting state retention to work In-Reply-To: <46BA41E7.7020904@linfield.edu> References: <46BA41E7.7020904@linfield.edu> Message-ID: <1186611567.32424.44.camel@localhost> Probably a typo on your config, the directive is: retain_status_information, and you are using retain_state_information. HTH, Marcel On Wed, 2007-08-08 at 15:21 -0700, Rob Tanner wrote: > Marc, > > The retain_status_information and retain_nonstatus_information options > are both set to 1 in the default templates at the top of the hosts.cfg > and services.cfg files and I am specifying those default templates for > almost all of the service and host entries. > > Something else must still be missing. > > -- Rob > > > > Marc Powell said the following on 08/08/2007 02:31 PM: > > > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > > bounces at lists.sourceforge.net] On Behalf Of Rob Tanner > > > Sent: Wednesday, August 08, 2007 4:24 PM > > > To: Nagios Users Mailinglist > > > Subject: [Nagios-users] Getting state retention to work > > > > > > Hi, > > > > > > I'm trying to get state retention to work, but it doesn't seem to like > > > me very much. I've set the options in nagios.cfg the way I think they > > > > > > > > > > Here's what I think are the pertinent configuration options from > > > nagios.cfg: > > > > > > retain_state_information=1 > > > state_retention_file=/etc/nagios/state.dat > > > retention_update_interval=1 > > > use_retained_program_state=1 > > > > > > > You also need to specify retention directives on per-host and > > per-service basis -- > > > > retain_status_information: This directive is used to determine > > whether or not status-related information about the host is retained > > across program restarts. This is only useful if you have enabled state > > retention using the retain_state_information directive. Value: 0 = > > disable status information retention, 1 = enable status information > > retention. > > retain_nonstatus_information: This directive is used to determine > > whether or not non-status information about the host is retained across > > program restarts. This is only useful if you have enabled state > > retention using the retain_state_information directive. Value: 0 = > > disable non-status information retention, 1 = enable non-status > > information retention. > > > > -- > > 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 AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hayward.nick.j at gmail.com Thu Aug 9 01:07:20 2007 From: hayward.nick.j at gmail.com (Nick Hayward) Date: Wed, 8 Aug 2007 16:07:20 -0700 Subject: Configuration Errors Message-ID: <22796e620708081607x7b012129y42aa6aa682bb97a2@mail.gmail.com> Hi, any help you can give would be greatly appreciated. I receive this output: root at dc2-storage-01:/usr/local/nagios/bin# ./nagios -v /usr/local/nagios/etc/nagios.cfg Nagios 2.9 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 04-10-2007 License: GPL Reading configuration data... Warning: Duplicate definition found for host 'generic-host' (config file '/usr/local/nagios/etc/hosts.cfg', starting on line 140) Warning: Duplicate definition found for host 'linux-server' (config file '/usr/local/nagios/etc/hosts.cfg', starting on line 156) Warning: Duplicate definition found for service 'generic-service' (config file '/usr/local/nagios/etc/hosts.cfg', starting on line 215) Warning: Duplicate definition found for service 'local-service' (config file '/usr/local/nagios/etc/hosts.cfg', starting on line 236) Error: Timeperiod '24x7' has already been defined Error: Could not register timeperiod (config file '/usr/local/nagios/etc/hosts.cfg', starting on line 24) I assumed there was anther configuration file somewhere that defined the 24x7 time period, but: root at dc2-storage-01:/usr/local/nagios# grep -r "timeperiod_name 24x7" * etc/hosts.cfg: timeperiod_name 24x7 I am only finding the one file. Oddly if I comment out the 24x7 timeperiod segment it then complains about this time period not being defined. I am not sure where to go from here. This is on a slack 10 system with a newer kernel and packages pretty much the same as slack 11. let me know if you need any additional info. -------------- 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 lavalamp at spiritual-machines.org Thu Aug 9 04:07:48 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Wed, 08 Aug 2007 22:07:48 -0400 Subject: Configuration Errors In-Reply-To: <22796e620708081607x7b012129y42aa6aa682bb97a2@mail.gmail.com> References: <22796e620708081607x7b012129y42aa6aa682bb97a2@mail.gmail.com> Message-ID: <1186625268.33422.83.camel@soundwave.pitbpa0.priv.collaborativefusion.com> Maybe one .cfg file is recursively including itself or another file that has a cfg_dir or cfg_file directive. Some kind of recursion? ~~BAS On Wed, 2007-08-08 at 16:07 -0700, Nick Hayward wrote: > Hi, any help you can give would be greatly appreciated. > > I receive this output: > root at dc2-storage-01:/usr/local/nagios/bin# ./nagios > -v /usr/local/nagios/etc/nagios.cfg > > Nagios 2.9 > Copyright (c) 1999-2007 Ethan Galstad ( http://www.nagios.org) > Last Modified: 04-10-2007 > License: GPL > > Reading configuration data... > > Warning: Duplicate definition found for host 'generic-host' (config > file '/usr/local/nagios/etc/hosts.cfg', starting on line 140) > Warning: Duplicate definition found for host 'linux-server' (config > file '/usr/local/nagios/etc/hosts.cfg', starting on line 156) > Warning: Duplicate definition found for service > 'generic-service' (config file '/usr/local/nagios/etc/hosts.cfg', > starting on line 215) > Warning: Duplicate definition found for service > 'local-service' (config file '/usr/local/nagios/etc/hosts.cfg', > starting on line 236) > Error: Timeperiod '24x7' has already been defined > Error: Could not register timeperiod (config file > '/usr/local/nagios/etc/hosts.cfg', starting on line 24) > > I assumed there was anther configuration file somewhere that defined > the 24x7 time period, but: > root at dc2-storage-01:/usr/local/nagios# grep -r "timeperiod_name 24x7" > * > etc/hosts.cfg: timeperiod_name 24x7 > I am only finding the one file. Oddly if I comment out the 24x7 > timeperiod segment it then complains about this time period not being > defined. I am not sure where to go from here. This is on a slack 10 > system with a newer kernel and packages pretty much the same as slack > 11. let me know if you need any additional info. > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 tony.delov at gribbles.com.au Thu Aug 9 04:50:35 2007 From: tony.delov at gribbles.com.au (Tony Delov) Date: Thu, 9 Aug 2007 12:50:35 +1000 Subject: Event handler Message-ID: <1186627835.28961.2.camel@melittdelov.gribbles.com.au> An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- 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 shivkumar at outbackwifi.com Thu Aug 9 06:01:24 2007 From: shivkumar at outbackwifi.com (Shivkumar) Date: Thu, 09 Aug 2007 09:31:24 +0530 Subject: Getting state retention to work In-Reply-To: <46BA41E7.7020904@linfield.edu> References: <46BA41E7.7020904@linfield.edu> Message-ID: <46BA9194.7040009@outbackwifi.com> Rob Tanner said the following: > Marc, > > The retain_status_information and retain_nonstatus_information options > are both set to 1 in the default templates at the top of the hosts.cfg > and services.cfg files and I am specifying those default templates for > almost all of the service and host entries. > > Something else must still be missing. > Could it be the permissions on the state.dat file? Regards, Shiv -------------- 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 dirk.westfal at frankfurter-verein.de Thu Aug 9 11:18:30 2007 From: dirk.westfal at frankfurter-verein.de (Dirk Westfal) Date: Thu, 9 Aug 2007 11:18:30 +0200 Subject: NDO: ndoutils-1.4b4 and nagios 2.9 - Could not open datasink Message-ID: <200708091118.31542.dirk.westfal@frankfurter-verein.de> Hi all, I`m trying to get ndoutils-1.4b4 to run with nagios 2.9, but regardless what i try, i get the dreaded "could not open datasink" message from the ndomod module. The ndo2db deamon is running, login to the mysql database successfull. The error occurs when using a unxisocket but also when using tcp - very strange. System is centos 5 with selinux disabled. Does anyone have an idea how i can debug this? I`m currently reading through the source code of ndomod.c but so far have no clue why i`m getting the "CNOD" - Message... tia, Dirk ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 9 14:44:04 2007 From: marc at ena.com (Marc Powell) Date: Thu, 9 Aug 2007 07:44:04 -0500 Subject: Event handler In-Reply-To: <1186627835.28961.2.camel@melittdelov.gribbles.com.au> References: <1186627835.28961.2.camel@melittdelov.gribbles.com.au> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Tony Delov > Sent: Wednesday, August 08, 2007 9:51 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Event handler > > Hi, > I'm trying to differentiate in my event handler script between a recover > from a critical state and one from an unknown state. > I need to run a script upon a recovery, but only a recovery from a > critical hard state? > Is there a way to do this? Not by a simple macro but you could probable get it by inference. My approach would be to pass the $LASTSERVICEWARNING,CRITICAL,UNKNOWN$ macros to the script and see which one was most recent. That might get you the information you need. -- 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 radhiilu at yahoo.com Thu Aug 9 14:59:14 2007 From: radhiilu at yahoo.com (Sekhar) Date: Thu, 9 Aug 2007 05:59:14 -0700 (PDT) Subject: Nagios project help required Message-ID: <896984.21811.qm@web90501.mail.mud.yahoo.com> Hi Guys, I have a new monitoring project now i am planning to implement nagios with some good GUI for configuration files. Can someone help me which web interface is good for configuration files like adding hosts,hostgroups etc Thanks for your help --------------------------------- Need a vacation? Get great deals to amazing places on Yahoo! Travel. -------------- 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 dirk.westfal at frankfurter-verein.de Thu Aug 9 15:18:37 2007 From: dirk.westfal at frankfurter-verein.de (Dirk Westfal) Date: Thu, 9 Aug 2007 15:18:37 +0200 Subject: NDO: ndoutils-1.4b4 and nagios 2.9 - Could not open datasink - SOLVED In-Reply-To: <200708091118.31542.dirk.westfal@frankfurter-verein.de> References: <200708091118.31542.dirk.westfal@frankfurter-verein.de> Message-ID: <200708091518.37878.dirk.westfal@frankfurter-verein.de> Hi all, On Thursday 09 August 2007 11:18, Dirk Westfal wrote: > Hi all, > > I`m trying to get ndoutils-1.4b4 to run with nagios 2.9, but regardless > what i try, i get the dreaded "could not open datasink" message from the > ndomod module. I found it... after i added debug code to ndomod_open_sink in ndomod.c to print out all variables used by ndo_sink_open. It turned out they were "(null)". All of them. And you might guess it now: it was an error in the path to the ndomod.cfg - file in nagios.cfg. Function "ndomod_process_config_file" should really give an appropiate warning, returning just NDO_ERROR isn`t sufficient. Patch: diff /root/ndoutils-1.4b4/src/ndomod.c ndomod.c 322c322 < --- > char temp_buffer[NDOMOD_MAX_BUFLEN]; 324c324,328 < if((thefile=ndo_mmap_fopen(filename))==NULL) --- > if((thefile=ndo_mmap_fopen(filename))==NULL) { > /* log a message to the Nagios log file */ > snprintf(temp_buffer,sizeof(temp_buffer)-1,"ndomod: error opening configfile %s\n",filename); > temp_buffer[sizeof(temp_buffer)-1]='\x0'; > ndomod_write_to_logs(temp_buffer,NSLOG_INFO_MESSAGE); 326c330 < --- > } ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brie.gordon at gmail.com Thu Aug 9 15:30:02 2007 From: brie.gordon at gmail.com (Brie Gordon) Date: Thu, 9 Aug 2007 09:30:02 -0400 Subject: Nagios project help required In-Reply-To: <896984.21811.qm@web90501.mail.mud.yahoo.com> References: <896984.21811.qm@web90501.mail.mud.yahoo.com> Message-ID: Nagios provides a GUI. If that doesn't meet your needs, you might want to look into Groundwork or Fruity. Both are on sourceforge and ohloh also (I think). http://sourceforge.net/projects/gwmos/ http://fruity.sourceforge.net/ They are developed by the same people. Groundwork just incorporates more apps and stuff than Fruity which is dedicated to Nagios. I've had great success with Groundwork thus far. 2007/8/9, Sekhar : > > Hi Guys, > > I have a new monitoring project now i am planning to implement nagios with > some good GUI for configuration files. > > Can someone help me which web interface is good for configuration files > like adding hosts,hostgroups etc > > Thanks for your help > > ------------------------------ > Need a vacation? Get great deals to amazing places > on > Yahoo! Travel. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Brie Gordon "The more you sweat in peace, the less you bleed in war." --Hyman G Rickover -------------- 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 antoine.rocher at musiwave.com Thu Aug 9 17:01:14 2007 From: antoine.rocher at musiwave.com (Antoine Rocher) Date: Thu, 9 Aug 2007 17:01:14 +0200 Subject: Notifications problem Message-ID: Hi all, I got a problem with nagios last night. I don't get notifications after the state type (SOFT or HARD) changed on one check. Here are these options'check : max_check_attempts 2 normal_check_interval 1 retry_check_interval 1 notification_options w,u,c,r notification_interval 15 In my logs I got : [1186626921] SERVICE ALERT: serveur;Check Services;CRITICAL;SOFT;1;Status : 2 - service problem 1 [1186626981] SERVICE ALERT: serveur;Check Services;CRITICAL;HARD;2;Status : 2 - service problem 1 [1186626981] SERVICE NOTIFICATION: Pager;serveur;Check Services;CRITICAL;notify-by-epager;Status : 2 - service problem 1 [1186626981] SERVICE NOTIFICATION: AlertesNagios;serveur;Check Services;CRITICAL;notify-by-email;Status : 2 - service problem 1 [1186627041] SERVICE ALERT: serveur;Check Services;WARNING;HARD;2;Status : 1 - service problem 1 [1186627041] SERVICE NOTIFICATION: Pager;serveur;Check Services;WARNING;notify-by-epager;Status : 1 - service problem 1 [1186627041] SERVICE NOTIFICATION: AlertesNagios;serveur;Check Services;WARNING;notify-by-email;Status : 1 - service problem 1 [1186627415] EXTERNAL COMMAND: ACKNOWLEDGE_SVC_PROBLEM;serveur;Check Services;2;0;0;burton;ack [1186628915] SERVICE ALERT: serveur;Check Services;CRITICAL;HARD;2;Status : 2 - service problem 1,2 [1186628975] SERVICE ALERT: serveur;Check Services;WARNING;HARD;2;Status : 1 - service problem 1 [1186629345] SERVICE ALERT: serveur;Check Services;CRITICAL;HARD;2;Status : 2 - service problem 1,3 [1186629470] SERVICE ALERT: serveur;Check Services;WARNING;HARD;2;Status : 1 - service problem 1,3 [1186636253] SERVICE ALERT: serveur;Check Services;OK;HARD;2;Status : 0 - Where "Statut" is the exit value of the script (0,1 or 2 = OK,WARNING or CRIT). This check should reflect the change of what the script checks. I mean, the two first checks in error should put the alert in CRIT state (SOFT then HARD), and the third one in WARNING state (HARD). If the thing checked changes one more time, the alert should be back in CRIT state (HARD)before going back to WARNING state (HARD) . Let's go with an example as I have difficulties to explain what my script do : 1rst check : the script check a page, which should be empty, but which has things on it, then the script exits with 2 (and in body of alert I have "service problem 1") => nagios CRIT (SOFT) and no notify 2nd check : the script exits with 2 (service problem 1) => nagios CRIT (HARD) and notify 3rd check : the scripts exits with 1 (service problem 1)=> nagios WARN (HARD) and notify 4th check : the scripts exits with 2 (service problem 1,2) => nagios CRIT (HARD) and notify ... But as you can see in my logs, at the 4th check nagios didn't notify, nor the next HARD changes of state. An other problem is that I acknowledged a WARNING state (HARD) but when the alert changed to CRITICAL state (HARD) the acknowledgment was in place. The same for the next changes of state. Acknowledgment was effective only 4 changes of state after. Hope I am clear enough. Anybody has an idea ? Thanks for your help. (and sorry for my poor english) Antoine ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From antoine.rocher at musiwave.com Thu Aug 9 17:24:01 2007 From: antoine.rocher at musiwave.com (Antoine Rocher) Date: Thu, 9 Aug 2007 17:24:01 +0200 Subject: Notifications problem In-Reply-To: References: Message-ID: Hi again, My problem seems to be an acknowledgment stickyness problem : in nagios doc : "If the "sticky" option is set to one (1), the acknowledgement will remain until the service returns to an OK state. Otherwise the acknowledgement will automatically be removed when the service changes state" but in my logs : [1186627415] EXTERNAL COMMAND: ACKNOWLEDGE_SVC_PROBLEM;serveur;Check Services;2;0;0;burton;ack So it seems that the (2) puts stickyness on, and not (1). Is this an error in the nagios documentation ? Thanks. Antoine -----Message d'origine----- De : nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Antoine Rocher Envoy? : jeudi 9 ao?t 2007 17:01 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] Notifications problem Hi all, I got a problem with nagios last night. I don't get notifications after the state type (SOFT or HARD) changed on one check. Here are these options'check : max_check_attempts 2 normal_check_interval 1 retry_check_interval 1 notification_options w,u,c,r notification_interval 15 In my logs I got : [1186626921] SERVICE ALERT: serveur;Check Services;CRITICAL;SOFT;1;Status : 2 - service problem 1 [1186626981] SERVICE ALERT: serveur;Check Services;CRITICAL;HARD;2;Status : 2 - service problem 1 [1186626981] SERVICE NOTIFICATION: Pager;serveur;Check Services;CRITICAL;notify-by-epager;Status : 2 - service problem 1 [1186626981] SERVICE NOTIFICATION: AlertesNagios;serveur;Check Services;CRITICAL;notify-by-email;Status : 2 - service problem 1 [1186627041] SERVICE ALERT: serveur;Check Services;WARNING;HARD;2;Status : 1 - service problem 1 [1186627041] SERVICE NOTIFICATION: Pager;serveur;Check Services;WARNING;notify-by-epager;Status : 1 - service problem 1 [1186627041] SERVICE NOTIFICATION: AlertesNagios;serveur;Check Services;WARNING;notify-by-email;Status : 1 - service problem 1 [1186627415] EXTERNAL COMMAND: ACKNOWLEDGE_SVC_PROBLEM;serveur;Check Services;2;0;0;burton;ack [1186628915] SERVICE ALERT: serveur;Check Services;CRITICAL;HARD;2;Status : 2 - service problem 1,2 [1186628975] SERVICE ALERT: serveur;Check Services;WARNING;HARD;2;Status : 1 - service problem 1 [1186629345] SERVICE ALERT: serveur;Check Services;CRITICAL;HARD;2;Status : 2 - service problem 1,3 [1186629470] SERVICE ALERT: serveur;Check Services;WARNING;HARD;2;Status : 1 - service problem 1,3 [1186636253] SERVICE ALERT: serveur;Check Services;OK;HARD;2;Status : 0 - Where "Statut" is the exit value of the script (0,1 or 2 = OK,WARNING or CRIT). This check should reflect the change of what the script checks. I mean, the two first checks in error should put the alert in CRIT state (SOFT then HARD), and the third one in WARNING state (HARD). If the thing checked changes one more time, the alert should be back in CRIT state (HARD)before going back to WARNING state (HARD) . Let's go with an example as I have difficulties to explain what my script do : 1rst check : the script check a page, which should be empty, but which has things on it, then the script exits with 2 (and in body of alert I have "service problem 1") => nagios CRIT (SOFT) and no notify 2nd check : the script exits with 2 (service problem 1) => nagios CRIT (HARD) and notify 3rd check : the scripts exits with 1 (service problem 1)=> nagios WARN (HARD) and notify 4th check : the scripts exits with 2 (service problem 1,2) => nagios CRIT (HARD) and notify ... But as you can see in my logs, at the 4th check nagios didn't notify, nor the next HARD changes of state. An other problem is that I acknowledged a WARNING state (HARD) but when the alert changed to CRITICAL state (HARD) the acknowledgment was in place. The same for the next changes of state. Acknowledgment was effective only 4 changes of state after. Hope I am clear enough. Anybody has an idea ? Thanks for your help. (and sorry for my poor english) Antoine ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 melanie_pfefer at yahoo.co.uk Thu Aug 9 18:20:30 2007 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Thu, 9 Aug 2007 17:20:30 +0100 (BST) Subject: check_snmp Message-ID: <494492.70566.qm@web26202.mail.ukl.yahoo.com> Hi I installed nagios plugin but I do not see check_snmp command under libexec directory. Am I missing something? many thanks ___________________________________________________________ Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.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 ton.voon at altinity.com Thu Aug 9 18:58:06 2007 From: ton.voon at altinity.com (Ton Voon) Date: Thu, 9 Aug 2007 17:58:06 +0100 Subject: Nagios project help required In-Reply-To: <896984.21811.qm@web90501.mail.mud.yahoo.com> References: <896984.21811.qm@web90501.mail.mud.yahoo.com> Message-ID: <281B6F72-0C0A-426E-AEAB-84C068520B34@altinity.com> Hi Sekhar, On 9 Aug 2007, at 13:59, Sekhar wrote: > I have a new monitoring project now i am planning to implement > nagios with some good GUI for configuration files. > > Can someone help me which web interface is good for configuration > files like adding hosts,hostgroups etc You might like to try Opsview - http://opsview.org. Configuration via the web interface, reload via a web page, Nagios CGIs that refresh inline (using AJAX) and a great new Hostgroup Hierarchy page to see the status of everything in a hierarchical fashion with drill down. You can get a downloadable VM, redhat RPMs or debian packages. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ingo.lists at vum.at Thu Aug 9 19:04:55 2007 From: ingo.lists at vum.at (Ingo Lantschner) Date: Thu, 9 Aug 2007 19:04:55 +0200 Subject: OpsMgr Framework: Talking with Microsofts System Center Operations Manager 2007 Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, if you are interested in developing a Framework for Nagios-OpsMgr (Microsoft System Center Operations Manager 2007) Interoperability, pls. check out these sites or get in in contact with me. Nagios-Exchange (English): http://www.nagiosexchange.org/Communication.41.0.html? &tx_netnagext_pi1[p_view]=1055&tx_netnagext_pi1[page]=10%3A10 Blog (German): http://lanti.wordpress.com/2007/08/09/opsmgr-an-nagios/ - -- Ingo Lantschner Vienna/Austria Mob (+43-664) 143 84 18 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFGu0k4encxbxkaIHoRAiHvAJ9bxHN4GTtSNxyX+kHifIkx3PlcYQCfdm54 8fwUc45LC1pxVE4ikPCeNcg= =3Fdg -----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 marc at ena.com Thu Aug 9 19:13:53 2007 From: marc at ena.com (Marc Powell) Date: Thu, 9 Aug 2007 12:13:53 -0500 Subject: check_snmp In-Reply-To: <494492.70566.qm@web26202.mail.ukl.yahoo.com> References: <494492.70566.qm@web26202.mail.ukl.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 Melanie Pfefer > Sent: Thursday, August 09, 2007 11:21 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_snmp > > Hi > I installed nagios plugin but I do not see check_snmp > command under libexec directory. > > Am I missing something? Probably. ./configure would have complained about missing requirements. Did you see anything? >From the REQUIREMENTS file distributed with the plugins -- check_snmp: - Requires the NET-SNMP package available from http://net-snmp.sourceforge.net -- 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 cmadams at hiwaay.net Thu Aug 9 19:29:08 2007 From: cmadams at hiwaay.net (Chris Adams) Date: Thu, 9 Aug 2007 12:29:08 -0500 Subject: Problem with servicedependency and groups Message-ID: <20070809172908.GB1566119@hiwaay.net> I am configuring Nagios 2.9 on Fedora 7. I see in the docs: http://nagios.sourceforge.net/docs/2_0/templatetricks.html "All Services In Multiple Servicegroups: If you want to create service dependencies for all services that belong in one or more servicegroups, you can do use the servicegroup_name and/or dependent_servicegroup_name directive as follows: define servicedependency{ servicegroup_name SERVICEGROUP1,SERVICEGROUP2,...,SERVICEGROUPN dependent_servicegroup_name SERVICEGROUP3,SERVICEGROUP4,...SERVICEGROUPN other escalation directives ... } However, when I try this format with: define servicedependency { dependent_servicegroup_name hsvrouter-ifs servicegroup_name hsvrouter-re execution_failure_criteria w,u,c } (both service groups are defined and have members) and check my config with nagios -s, I get: Error: NULL service description/host name in service dependency definition Error: Could not register service execution dependency (config file '/etc/nagios/cfg/hiwaay-snoc/network/hsvrouter.cfg', starting on line 30) I tried adding "host_name" and "dependent_host_name" but that didn't change anything. -- Chris Adams Systems and Network Administrator - HiWAAY Internet Services I don't speak for anybody but myself - that's enough trouble. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rtanner at linfield.edu Thu Aug 9 23:07:28 2007 From: rtanner at linfield.edu (Rob Tanner) Date: Thu, 09 Aug 2007 14:07:28 -0700 Subject: Getting state retention to work In-Reply-To: <46BA9194.7040009@outbackwifi.com> References: <46BA41E7.7020904@linfield.edu> <46BA9194.7040009@outbackwifi.com> Message-ID: <46BB8210.50801@linfield.edu> Shiv, That was it. I was staring at it all along and then it suddenly dawned on me -- nagios runs as the nagios user and not as root. Changed ownership of the file and it works now. -- Rob Shivkumar said the following on 08/08/2007 09:01 PM: > > Rob Tanner said the following: >> Marc, >> >> The retain_status_information and retain_nonstatus_information >> options are both set to 1 in the default templates at the top of the >> hosts.cfg and services.cfg files and I am specifying those default >> templates for almost all of the service and host entries. >> >> Something else must still be missing. >> > Could it be the permissions on the state.dat file? > > Regards, > Shiv -------------- 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 cmadams at hiwaay.net Thu Aug 9 23:46:42 2007 From: cmadams at hiwaay.net (Chris Adams) Date: Thu, 9 Aug 2007 16:46:42 -0500 Subject: Make a host depend on a service on another host? Message-ID: <20070809214641.GC1566119@hiwaay.net> Is it possible to specify that a host depends on a particular service on another host? I am monitoring routers, and monitoring the router links via SNMP. If I know that a link to another city is down, I don't also need to know that the router in the other city is unreachable (it'd be nice if checking stopped while the link was down). -- Chris Adams Systems and Network Administrator - HiWAAY Internet Services I don't speak for anybody but myself - that's enough trouble. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shivkumar at outbackwifi.com Fri Aug 10 06:17:37 2007 From: shivkumar at outbackwifi.com (Shivkumar) Date: Fri, 10 Aug 2007 09:47:37 +0530 Subject: Make a host depend on a service on another host? In-Reply-To: <20070809214641.GC1566119@hiwaay.net> References: <20070809214641.GC1566119@hiwaay.net> Message-ID: <46BBE6E1.3050207@outbackwifi.com> Chris Adams said the following: > If I know that a link to another city is down, I don't also need to know that > the router in the other city is unreachable > > IMHO, the general practice is to use the parent-child hierarchy to prevent unreachable hosts/services from being checked. Regards, Shiv ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MJoyce at ccia.unsw.edu.au Fri Aug 10 07:51:46 2007 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Fri, 10 Aug 2007 15:51:46 +1000 Subject: Ndomod v1.4 b4 - no worky Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6A029A8260@mail01.ccia.local> Using nagios 2.9, and wanting NDOMOD (sockets) with mysql. Error: Could not load module '/usr/local/nagios/bin/ndomod.o' -> /usr/local/nagios/bin/ndomod.o: cannot open shared object file: No such file or directory Any idea, I'm not sure how to proceed ? Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research -------------- 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 risto.vaarandi at seb.ee Fri Aug 10 13:43:25 2007 From: risto.vaarandi at seb.ee (Risto Vaarandi) Date: Fri, 10 Aug 2007 14:43:25 +0300 Subject: passive service checks with 1 second interval Message-ID: <46BC4F5D.8020103@seb.ee> hi all, yesterday I attempted to implement passive checks for a volatile service with 1 second interval (i.e., once a second, the status of a service is written to Nagios command file), but I am experiencing some problems with how the service status is displayed (and notifications). Since I haven't implemented such checks before, I'd like to consult with more experienced users if Nagios alone is suitable for monitoring externally submitted checks with such a short interval. If the service is up, the Nagios log shows that it reads the status without any delay from its command file: [1186719368] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;node03;NodeState;0;node03 up at 1186719368 [1186719369] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;node03;NodeState;0;node03 up at 1186719369 [1186719370] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;node03;NodeState;0;node03 up at 1186719370 [1186719371] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;node03;NodeState;0;node03 up at 1186719371 [1186719372] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;node03;NodeState;0;node03 up at 1186719372 However, then the service goes to a critical state: [1186719373] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;node03;NodeState;2;node03 DOWN at 1186719373 and starting from this moment, external checks are read from command file with 9-10 second intervals, with a "service alert" and notification at the end of each activity burst: [1186719384] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;node03;NodeState;2;node03 DOWN at 1186719374 [1186719384] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;node03;NodeState;2;node03 DOWN at 1186719375 [1186719384] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;node03;NodeState;2;node03 DOWN at 1186719376 [1186719384] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;node03;NodeState;2;node03 DOWN at 1186719377 [1186719384] SERVICE ALERT: node03;NodeState;CRITICAL;HARD;1;node03 DOWN at 1186719373 Then the service goes up, and the after a while I am seeing the following log entries: [1186719447] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;node03;NodeState;node03 up at 1186719447 [1186719447] Warning: The results of service 'NodeState' on host 'node03' are stale by 11 seconds (threshold=60 seconds). I'm forcing an immediate check of the service. I am the freshness checks enabled, and the the service status is reported as stale, although it was reported as normal shortly before. As a result, I am seeing service notifications with wrong timestamps - the notifications appear after 18 second intervals, although the DOWN service checks are submitted after 1 second intervals. In addition, the service status is reported as stale after it has gone up. Is there a way to speed up the processing of CRITICAL service checks? I'd like to get a notification within the same second. br, risto ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 10 14:25:25 2007 From: marc at ena.com (Marc Powell) Date: Fri, 10 Aug 2007 07:25:25 -0500 Subject: Ndomod v1.4 b4 - no worky In-Reply-To: <2A67EA781EC7F949A2AB0A0D07A86C6A029A8260@mail01.ccia.local> References: <2A67EA781EC7F949A2AB0A0D07A86C6A029A8260@mail01.ccia.local> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Matthew Joyce > Sent: Friday, August 10, 2007 12:52 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Ndomod v1.4 b4 - no worky > > > Using nagios 2.9, and wanting NDOMOD (sockets) with mysql. > > Error: Could not load module '/usr/local/nagios/bin/ndomod.o' -> > /usr/local/nagios/bin/ndomod.o: cannot open shared object file: No such > file or directory > > Any idea, I'm not sure how to proceed ? Looks like you need to install NDOUtils. "No such file" means what it says. If you think you did, make sure you have the paths correct and followed the "INSTALLING THE NDOMOD BROKER MODULE" instructions in the README. -- 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 Fri Aug 10 14:37:54 2007 From: marc at ena.com (Marc Powell) Date: Fri, 10 Aug 2007 07:37:54 -0500 Subject: passive service checks with 1 second interval In-Reply-To: <46BC4F5D.8020103@seb.ee> References: <46BC4F5D.8020103@seb.ee> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Risto Vaarandi > Sent: Friday, August 10, 2007 6:43 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] passive service checks with 1 second interval > > > However, then the service goes to a critical state: > > [1186719373] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;node03;NodeState;2;node03 DOWN at 1186719373 > > and starting from this moment, external checks are read from command > file with 9-10 second intervals, with a "service alert" and notification > at the end of each activity burst: This is probably a result of your host check. When a service initially returns a non-ok state, nagios stops everything to perform the host check, up to max_check_attempts for that host. Once that is complete, nagios will start performing other tasks again. You'll most like want to remove your host's check_command entirely. > Then the service goes up, and the after a while I am seeing the > following log entries: > > [1186719447] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;node03;NodeState;node03 up at 1186719447 > [1186719447] Warning: The results of service 'NodeState' on host > 'node03' are stale by 11 seconds (threshold=60 seconds). I'm forcing an > immediate check of the service. I don't know about this one. > > Is there a way to speed up the processing of CRITICAL service checks? > I'd like to get a notification within the same second. I won't say it's not possible but it feels very aggressive to me based on my experience. I know there are/were others on the list trying to monitor at or close to that resolution but I don't know how successful they've been. Perhaps they'll chime in if they're still around. -- 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 risto.vaarandi at seb.ee Fri Aug 10 15:04:27 2007 From: risto.vaarandi at seb.ee (Risto Vaarandi) Date: Fri, 10 Aug 2007 16:04:27 +0300 Subject: passive service checks with 1 second interval In-Reply-To: References: Message-ID: <46BC625B.2030008@seb.ee> Marc Powell wrote: > >> Is there a way to speed up the processing of CRITICAL service checks? >> I'd like to get a notification within the same second. > > I won't say it's not possible but it feels very aggressive to me based > on my experience. I know there are/were others on the list trying to > monitor at or close to that resolution but I don't know how successful > they've been. Perhaps they'll chime in if they're still around. > ok... I was suspecting as well that such a small interval might be inconvenient for Nagios. Thanks for the explanation about host checks! br, risto ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri Aug 10 16:13:12 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 10 Aug 2007 15:13:12 +0100 Subject: passive service checks with 1 second interval In-Reply-To: <46BC4F5D.8020103@seb.ee> References: <46BC4F5D.8020103@seb.ee> Message-ID: <765d77c80708100713p6ac52d5dh46cfcf9237b9131d@mail.gmail.com> On 10/08/07, Risto Vaarandi wrote: > Is there a way to speed up the processing of CRITICAL service checks? > I'd like to get a notification within the same second. > > br, > risto I think I would script something only to write to the command file only if the state changes or once a minute to reassure Nagios that the script is still working. The logic would go something like this: while : do sleep 1 if testserviceisok then # all is ok # if state has just changed from critical, send the OK to Nagios if [ $state = 'CRITICAL' ] then (write an OK result command to the command file) fi state=OK else # something is wrong # if state has just changed from ok, send the CRITICAL to Nagios if [ $state = 'OK' ] then (write a CRITICAL result command to the command file) fi state='CRITICAL' fi count=`expr $count + 1` if [ $count = 60 ] then count = 0 (write the appropriate result command to the command file based on $state) fi done hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From melanie_pfefer at yahoo.co.uk Fri Aug 10 16:44:06 2007 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Fri, 10 Aug 2007 15:44:06 +0100 (BST) Subject: check_snmp In-Reply-To: References: Message-ID: <195581.99220.qm@web26202.mail.ukl.yahoo.com> Hi, I installed these RPMs: net-snmp-5.4.1-1.fc6.i386.rpm net-snmp-debuginfo-5.4.1-1.fc6.i386.rpm net-snmp-devel-5.4.1-1.fc6.i386.rpm net-snmp-perlmods-5.4.1-1.fc6.i386.rpm The ./configure of the nagios-plugins-1.4.5 mentions this now: configure: WARNING: Tried /usr/bin/perl - install Net::SNMP perl module if you want to use the perl snmp plugins Could you please advise? thanks. ___________________________________________________________ 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 mwlucas at blackhelicopters.org Fri Aug 10 15:17:35 2007 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Fri, 10 Aug 2007 09:17:35 -0400 Subject: DBOUtils and Nagios 3 beta? Message-ID: <20070810131735.GA36498@bewilderbeast.blackhelicopters.org> Hi, Can anyone comment on using the nagios 3 betas with NDOUtils and NagViz? I'm looking at moving to nagios3 to get the new host check behavior (where the system can recheck host state after a few minutes before issuing a critical alert). I also need to deploy NagViz, which means I need NDOUtils. I'd rather deploy the new version than upgrade later. Is the NDOUtils/Nagios3 interface finalized yet? How likely is an internal change that would break my setup? Thanks, ==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 marc at ena.com Fri Aug 10 16:52:22 2007 From: marc at ena.com (Marc Powell) Date: Fri, 10 Aug 2007 09:52:22 -0500 Subject: check_snmp In-Reply-To: <195581.99220.qm@web26202.mail.ukl.yahoo.com> References: <195581.99220.qm@web26202.mail.ukl.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 Melanie Pfefer > Sent: Friday, August 10, 2007 9:44 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_snmp > configure: WARNING: Tried /usr/bin/perl - install > Net::SNMP perl module if you want to use the perl snmp > plugins > > > Could you please advise? Install the perl-Net-SNMP rpm for your distribution. -- 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 melanie_pfefer at yahoo.co.uk Fri Aug 10 17:38:03 2007 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Fri, 10 Aug 2007 16:38:03 +0100 (BST) Subject: check_snmp In-Reply-To: References: Message-ID: <206245.48110.qm@web26211.mail.ukl.yahoo.com> Thanks. that worked fine. I also saw this in the ./configure output: checking for mysql_config... no configure: WARNING: Skipping mysql plugin configure: WARNING: install mysql client libs to compile this plugin (see REQUIREMENTS). I am using LAMPP (integrated apache/mysql/php) and used --with-mysql in ./configure: ./configure --with-mysql=/opt/lampp/lib/mysql/ Could you please advise? thanks again. --- Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of > Melanie Pfefer > > Sent: Friday, August 10, 2007 9:44 AM > > To: Marc Powell; > nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] check_snmp > > > > configure: WARNING: Tried /usr/bin/perl - install > > Net::SNMP perl module if you want to use the perl > snmp > > plugins > > > > > > Could you please advise? > > Install the perl-Net-SNMP rpm for your distribution. > > -- > 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 > ___________________________________________________________ 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 marc at ena.com Fri Aug 10 18:11:30 2007 From: marc at ena.com (Marc Powell) Date: Fri, 10 Aug 2007 11:11:30 -0500 Subject: check_snmp In-Reply-To: <206245.48110.qm@web26211.mail.ukl.yahoo.com> References: <206245.48110.qm@web26211.mail.ukl.yahoo.com> Message-ID: > -----Original Message----- > From: Melanie Pfefer [mailto:melanie_pfefer at yahoo.co.uk] > Sent: Friday, August 10, 2007 10:38 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_snmp > > Thanks. that worked fine. > I also saw this in the ./configure output: > > checking for mysql_config... no > configure: WARNING: Skipping mysql plugin > configure: WARNING: install mysql client libs to > compile this plugin (see REQUIREMENTS). > > I am using LAMPP (integrated apache/mysql/php) and > used --with-mysql in ./configure: > > ./configure --with-mysql=/opt/lampp/lib/mysql/ > > Could you please advise? Try with --with-mysql=/opt/lampp. You might need to install the mysql-dev(el) rpms but I'm not familiar with lampp. -- 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 trevor_obba at yahoo.co.uk Fri Aug 10 18:51:53 2007 From: trevor_obba at yahoo.co.uk (trevor obba) Date: Fri, 10 Aug 2007 16:51:53 +0000 (GMT) Subject: Nagios availability statistic report an incorrect figure Message-ID: <795625.49571.qm@web23306.mail.ird.yahoo.com> I am running nagios version 2.5, it mornitor 230 hosts and 1500 services, it works fine however after my nagios server has been power down including hosts it monitoring. The nagios availability report still report 100% availability, the client machines were shutdown first. How can I configure nagios to reflect any power down in the availability report. Basically, I would like to configure nagios so that any power down on nagios server or it client does not report 100% availability Can you help? Please ___________________________________________________________ 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 vadi.ksdba at gmail.com Fri Aug 10 20:41:58 2007 From: vadi.ksdba at gmail.com (vadi) Date: Sat, 11 Aug 2007 00:11:58 +0530 Subject: I need a Nagios client for Windows Server 2003 64 bit edition. Message-ID: <5f6b57ee0708101141m2da23530p7959bf29c5707f80@mail.gmail.com> Dear Friends, I need a Nagios client[ NSClient 2.01 ] for Windows Server 200364 bit edition. Please kindly give me the link for this tool ASAP. Thanks, Vadiraj -------------- 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 mike.hawley at nspire.co.nz Fri Aug 10 21:10:24 2007 From: mike.hawley at nspire.co.nz (Mike Hawley) Date: Sat, 11 Aug 2007 07:10:24 +1200 Subject: check_snmp In-Reply-To: <206245.48110.qm@web26211.mail.ukl.yahoo.com> References: <206245.48110.qm@web26211.mail.ukl.yahoo.com> Message-ID: <004b01c7db82$1bc18fd0$0502010a@nspire.co.nz> I tried to install using LAMMP (XAMMP) and it doesn't seem to like it. I tried running "PS -ef |grep MySQL" and you can not see the running process when using LAMMP. I have since used a FreePBX Distro, removed Asterisk and FreePBX files and now Nagios works a treat... Mike -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Melanie Pfefer Sent: Saturday, August 11, 2007 3:38 AM To: Marc Powell; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_snmp Thanks. that worked fine. I also saw this in the ./configure output: checking for mysql_config... no configure: WARNING: Skipping mysql plugin configure: WARNING: install mysql client libs to compile this plugin (see REQUIREMENTS). I am using LAMPP (integrated apache/mysql/php) and used --with-mysql in ./configure: ./configure --with-mysql=/opt/lampp/lib/mysql/ Could you please advise? thanks again. --- Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of > Melanie Pfefer > > Sent: Friday, August 10, 2007 9:44 AM > > To: Marc Powell; > nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] check_snmp > > > > configure: WARNING: Tried /usr/bin/perl - install Net::SNMP perl > > module if you want to use the perl > snmp > > plugins > > > > > > Could you please advise? > > Install the perl-Net-SNMP rpm for your distribution. > > -- > 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 > ___________________________________________________________ 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.11/944 - Release Date: 8/9/2007 2:44 PM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.11/944 - Release Date: 8/9/2007 2:44 PM ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cristiano.ness at opservices.com.br Fri Aug 10 21:13:26 2007 From: cristiano.ness at opservices.com.br (Cristiano Ness) Date: Fri, 10 Aug 2007 16:13:26 -0300 Subject: I need a Nagios client for Windows Server 2003 64 bit edition. In-Reply-To: <5f6b57ee0708101141m2da23530p7959bf29c5707f80@mail.gmail.com> References: <5f6b57ee0708101141m2da23530p7959bf29c5707f80@mail.gmail.com> Message-ID: <46BCB8D6.7050405@opservices.com.br> 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 Fri Aug 10 22:58:12 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 10 Aug 2007 16:58:12 -0400 Subject: I need a Nagios client for Windows Server 2003 64 bit edition. In-Reply-To: <5f6b57ee0708101141m2da23530p7959bf29c5707f80@mail.gmail.com> References: <5f6b57ee0708101141m2da23530p7959bf29c5707f80@mail.gmail.com> Message-ID: Hi Vadiraj, Just to clarify, there are many plugins availible for windows hosts. If interested in your options, you should go and checkout nagiosexchange.orgfor a comprehensive list of options. http://www.nagiosexchange.org/Windows.49.0.html NSClient 2.01 although still used by many has not had an update from the original authors for several years. There are also several active projects that are compatible with CHECK_NT, that picked up where NSClient 2.01 left off. Each of these three should all work on and work on Windows 64bit editions. --NS_Client 2.2; Cristiano has pointed out that they have picked that project back up, and it looks like it is based on the original implemantation. --NC_NEt (my project) also works with check_nt and has many additional enhancements including Passive checks and Runscripts. It was implemented using dot net framework 2.0. and is availible on sourceforege. http://sourceforge.net/projects/nc-net --NSClient++ Also works with check_nt and offers other enhancements like NRPE. it is also on sourceforge and the link is availible in the NAgios Docs (v3.x) I believe that was implemted in C++. Good Luck, Tony (Author of NC_Net) On 8/10/07, vadi wrote: > > Dear Friends, > > I need a Nagios client[ NSClient 2.01 > ] for Windows Server 200364 bit edition. > > Please kindly give me the link for this tool ASAP. > > Thanks, > Vadiraj > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 oboissard at free.fr Fri Aug 10 23:39:42 2007 From: oboissard at free.fr (oboissard at free.fr) Date: Fri, 10 Aug 2007 23:39:42 +0200 Subject: event_handler with Nagios 3 beta ? Message-ID: <46BCDB1E.40505@free.fr> Hello Did anyone succeded in implementing event_handler for services with the new Nagios 3 version ? I tried to use them but It didn't work So I tried the example in nagios 3 documentation (http-restart) but It didn't work too. Maybe I made something wrong because I didn't see anything in nagios.log referring EVENT handler parts of conf : nagios.cfg ---------- => log events , but I don't know where log_event_handlers=1 =>I comment it because I wanted specific handler for each services #global_host_event_handler=somecommand #global_service_event_handler=somecommand => dont think it's the problem : event_handler_timeout=30 =>enable event handlers enable_event_handlers=1 commands.cfg define service{ host_name 127.0.0.1 service_description check HTTP max_check_attempts 3 event_handler restart-httpd ... } define command{ command_name restart-httpd command_line /usr/local/nagios/libexec/eventhandlers/restart-httpd $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ } //usr/local/nagios/libexec/eventhandlers/restart-httpd/ script( from nagios.org) #!/bin/sh # # Event handler script for restarting the web server on the local machine # # Note: This script will only restart the web server if the service is # retried 3 times (in a "soft" state) or if the web service somehow # manages to fall into a "hard" error state. # # What state is the HTTP service in? case "$1" in OK) # The service just came back up, so don't do anything... ;; WARNING) # We don't really care about warning states, since the service is probably still running... ;; UNKNOWN) # We don't know what might be causing an unknown error, so don't do anything... ;; CRITICAL) # Aha! The HTTP service appears to have a problem - perhaps we should restart the server... # Is this a "soft" or a "hard" state? case "$2" in # We're in a "soft" state, meaning that Nagios is in the middle of retrying the # check before it turns into a "hard" state and contacts get notified... SOFT) # What check attempt are we on? We don't want to restart the web server on the first # check, because it may just be a fluke! case "$3" in # Wait until the check has been tried 3 times before restarting the web server. # If the check fails on the 4th time (after we restart the web server), the state # type will turn to "hard" and contacts will be notified of the problem. # Hopefully this will restart the web server successfully, so the 4th check will # result in a "soft" recovery. If that happens no one gets notified because we # fixed the problem! 3) echo -n "Restarting HTTP service (3rd soft critical state)..." # Call the init script to restart the HTTPD server /etc/rc.d/init.d/httpd restart ;; esac ;; # The HTTP service somehow managed to turn into a hard error without getting fixed. # It should have been restarted by the code above, but for some reason it didn't. # Let's give it one last try, shall we? # Note: Contacts have already been notified of a problem with the service at this # point (unless you disabled notifications for this service) HARD) echo -n "Restarting HTTP service..." # Call the init script to restart the HTTPD server /etc/rc.d/init.d/httpd restart ;; esac ;; esac exit 0 Regards Olivier ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oboissard at free.fr Sat Aug 11 00:19:38 2007 From: oboissard at free.fr (oboissard at free.fr) Date: Sat, 11 Aug 2007 00:19:38 +0200 Subject: event_handler with Nagios 3 beta ? In-Reply-To: <46BCDB1E.40505@free.fr> References: <46BCDB1E.40505@free.fr> Message-ID: <46BCE47A.6020906@free.fr> I forgot system informations : OS : Redhat ES4 nagios 3.01 beta compiled from tar.gz file I used previously nagios 1.x versions Olivier oboissard at free.fr a ?crit : > Hello > > > Did anyone succeded in implementing event_handler for services with the > new Nagios 3 version ? > I tried to use them but It didn't work > So I tried the example in nagios 3 documentation (http-restart) but It > didn't work too. > Maybe I made something wrong because I didn't see anything in > nagios.log referring EVENT handler > > parts of conf : > > nagios.cfg > ---------- > => log events , but I don't know where > log_event_handlers=1 > > =>I comment it because I wanted specific handler for each services > #global_host_event_handler=somecommand > #global_service_event_handler=somecommand > > => dont think it's the problem : > event_handler_timeout=30 > > =>enable event handlers > enable_event_handlers=1 > > > commands.cfg > > define service{ > host_name 127.0.0.1 > service_description check HTTP > max_check_attempts 3 > event_handler restart-httpd > ... > } > > define command{ > command_name restart-httpd > command_line /usr/local/nagios/libexec/eventhandlers/restart-httpd $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ > } > > //usr/local/nagios/libexec/eventhandlers/restart-httpd/ script( from > nagios.org) > > > #!/bin/sh > # > # Event handler script for restarting the web server on the local machine > # > # Note: This script will only restart the web server if the service is > # retried 3 times (in a "soft" state) or if the web service somehow > # manages to fall into a "hard" error state. > # > > > # What state is the HTTP service in? > case "$1" in > OK) > # The service just came back up, so don't do anything... > ;; > WARNING) > # We don't really care about warning states, since the service is probably still running... > ;; > UNKNOWN) > # We don't know what might be causing an unknown error, so don't do anything... > ;; > CRITICAL) > # Aha! The HTTP service appears to have a problem - perhaps we should restart the server... > > # Is this a "soft" or a "hard" state? > case "$2" in > > # We're in a "soft" state, meaning that Nagios is in the middle of retrying the > # check before it turns into a "hard" state and contacts get notified... > SOFT) > > # What check attempt are we on? We don't want to restart the web server on the first > # check, because it may just be a fluke! > case "$3" in > > # Wait until the check has been tried 3 times before restarting the web server. > # If the check fails on the 4th time (after we restart the web server), the state > # type will turn to "hard" and contacts will be notified of the problem. > # Hopefully this will restart the web server successfully, so the 4th check will > # result in a "soft" recovery. If that happens no one gets notified because we > # fixed the problem! > 3) > echo -n "Restarting HTTP service (3rd soft critical state)..." > # Call the init script to restart the HTTPD server > /etc/rc.d/init.d/httpd restart > ;; > esac > ;; > > # The HTTP service somehow managed to turn into a hard error without getting fixed. > # It should have been restarted by the code above, but for some reason it didn't. > # Let's give it one last try, shall we? > # Note: Contacts have already been notified of a problem with the service at this > # point (unless you disabled notifications for this service) > HARD) > echo -n "Restarting HTTP service..." > # Call the init script to restart the HTTPD server > /etc/rc.d/init.d/httpd restart > ;; > esac > ;; > esac > exit 0 > > > > > Regards > > Olivier > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 cmadams at hiwaay.net Sat Aug 11 02:36:47 2007 From: cmadams at hiwaay.net (Chris Adams) Date: Fri, 10 Aug 2007 19:36:47 -0500 Subject: Problem with servicedependency and groups In-Reply-To: <20070809172908.GB1566119@hiwaay.net> References: <20070809172908.GB1566119@hiwaay.net> Message-ID: <20070811003647.GB1402759@hiwaay.net> Once upon a time, Chris Adams said: > define servicedependency{ > servicegroup_name SERVICEGROUP1,SERVICEGROUP2,...,SERVICEGROUPN > dependent_servicegroup_name SERVICEGROUP3,SERVICEGROUP4,...SERVICEGROUPN > other escalation directives ... > } Is anyone using this format successfully? -- Chris Adams Systems and Network Administrator - HiWAAY Internet Services I don't speak for anybody but myself - that's enough trouble. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kelly.terry.jones at gmail.com Sat Aug 11 04:41:03 2007 From: kelly.terry.jones at gmail.com (Kelly Jones) Date: Fri, 10 Aug 2007 20:41:03 -0600 Subject: Nagios and MRTG: together at last? Message-ID: <26face530708101941p32803440sce0e2a679e86e295@mail.gmail.com> Nagios and MRTG seem to perform similar (though not identical) functions, and it seems silly to run both. MRTG gets a stream of (real) numbers from a source and graphs them. Nagios runs tests to get a (natural) number between 0 and 3, and takes action if the number is non-0. It seems like you could combine these. Example: monitor and graph disk space usage; if usage over 90%, warn; if usage over 95%, critical. Has anyone integrated Nagios and MRTG (seems silly to get the same data twice: once to graph it + once to check it). I know about check_mrtg + I realize there's not a 100% match here (some tests are purely binary, and graphing them would be dull), but it still seems like a good idea in general? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 11 05:58:51 2007 From: marc at ena.com (Marc Powell) Date: Fri, 10 Aug 2007 22:58:51 -0500 Subject: Nagios and MRTG: together at last? In-Reply-To: <26face530708101941p32803440sce0e2a679e86e295@mail.gmail.com> References: <26face530708101941p32803440sce0e2a679e86e295@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 Kelly Jones > Sent: Friday, August 10, 2007 9:41 PM > To: mrtg at lists.oetiker.ch; nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios and MRTG: together at last? > > Nagios and MRTG seem to perform similar (though not identical) > functions, and it seems silly to run both. > It seems like you could combine these. Example: monitor and graph disk > space usage; if usage over 90%, warn; if usage over 95%, critical. > > Has anyone integrated Nagios and MRTG (seems silly to get the same > data twice: once to graph it + once to check it). There are a number of packages that integrate Nagios and RRDTool for graphing performance data. That sounds like what you are looking for. -- http://www.nagiosexchange.org/Charts.42.0.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 rashmi83 at gmail.com Sat Aug 11 10:11:43 2007 From: rashmi83 at gmail.com (Rashmi Mahadevaiah) Date: Sat, 11 Aug 2007 08:11:43 +0000 (GMT) Subject: Talk for free using jaxtr? Message-ID: <25736538.117451186819903188.JavaMail.tomcat@media1.jaxtr.com> I got jaxtr to make international calls to other jaxtr users using local numbers. Can you please sign up, so I can call you for free using jaxtr? -Rashmi P.S. Here is the link to sign up: http://www.jaxtr.com/user/ticket?n=T1cme5g5tgcjnk&type=joininvite --- Delivered by jaxtr, Inc., 855 Oak Grove Avenue, Suite 100, Menlo Park, California 94025. To stop receiving messages from this sender go to http://www.jaxtr.com/user/reportabuse.jsp?it=T1cme5g5tgcjnk -------------- 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 jim at jimavery.me.uk Sat Aug 11 17:06:53 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Sat, 11 Aug 2007 16:06:53 +0100 Subject: Nagios and MRTG: together at last? In-Reply-To: <26face530708101941p32803440sce0e2a679e86e295@mail.gmail.com> References: <26face530708101941p32803440sce0e2a679e86e295@mail.gmail.com> Message-ID: <765d77c80708110806m7f877b00o88d8733d67485a@mail.gmail.com> On 11/08/07, Kelly Jones wrote: > Nagios and MRTG seem to perform similar (though not identical) > functions, and it seems silly to run both. Indeed. I found PNP works for me - http://www.ederdrom.de/doku.php/nagios/pnp_en so I haven't tried any of the other popular alternatives. hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Aug 12 13:47:45 2007 From: moshesharon at gmail.com (moshe sharon) Date: Sun, 12 Aug 2007 14:47:45 +0300 Subject: Nagios reporting Load Usage In-Reply-To: References: Message-ID: <88ad29240708120447r1fb28005p2bb47db911f24a1f@mail.gmail.com> Hello I can suggest check top process from nagiosexchange it does an excellent job of finding which process consumes the most memory and cpu Hope it helped Moshe Sharon 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 yesiko0nz at gmail.com Sun Aug 12 17:02:45 2007 From: yesiko0nz at gmail.com (ko0nz) Date: Sun, 12 Aug 2007 17:02:45 +0200 Subject: [nagios-users] load and size of log Message-ID: <1f7e0c110708120802u79b8cb6n6bb36a4b13f2e299@mail.gmail.com> hi, i'd like to have informations about monitoring: the load, the memory, the cpu... it's just for some 20 servers. i use a Debian. is it possible that Nagios works fine with just 20 Go of space hard disk, 256 Mo of RAM, with Core Duo that i use with Xen Virtualisation? and what's about the size of the log? do i need a lot? what is the speed of the size of the log? thanks in advance for 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 jim at jimavery.me.uk Sun Aug 12 21:03:40 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Sun, 12 Aug 2007 20:03:40 +0100 Subject: [nagios-users] load and size of log In-Reply-To: <1f7e0c110708120802u79b8cb6n6bb36a4b13f2e299@mail.gmail.com> References: <1f7e0c110708120802u79b8cb6n6bb36a4b13f2e299@mail.gmail.com> Message-ID: <765d77c80708121203h10cea610red07cd8e43e90575@mail.gmail.com> On 12/08/07, ko0nz wrote: > hi, > > i'd like to have informations about monitoring: the load, the memory, the cpu... > it's just for some 20 servers. > i use a Debian. > is it possible that Nagios works fine with just 20 Go of space hard > disk, 256 Mo of RAM, with Core Duo that i use with Xen Virtualisation? > > and what's about the size of the log? > do i need a lot? > what is the speed of the size of the log? > > > thanks in advance for any suggestions. I have run a Nagios system with Fedora Core 5 having only 250mb RAM on a single-processor system. It ran okay just pinging 200 or so hosts, but I had to make sure I wasn't running anything which wasn't needed. For example, I only ran the Gnome GUI when I felt I needed it. I am not sure what you mean by 'the log'. The Nagios log files normally don't occupy much space. How much space they occupy depends on how many events there are, how much logging you configure Nagios to do and how long you keep them. I should think if you're only monitoring 20 servers then 20gb will last you a good few years or even decades. Cheers, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MJoyce at ccia.unsw.edu.au Mon Aug 13 02:01:57 2007 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Mon, 13 Aug 2007 10:01:57 +1000 Subject: Ndomod v1.4 b4 - no worky Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6A029A82C3@mail01.ccia.local> Thanks Marc. I had renamed ndomod-2x.o to ndomod, the config was referring to ndomod.o I'm appropriately embarrassed. Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Marc Powell > Sent: Friday, 10 August 2007 10:25 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Ndomod v1.4 b4 - no worky > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Matthew Joyce > > Sent: Friday, August 10, 2007 12:52 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Ndomod v1.4 b4 - no worky > > > > > > Using nagios 2.9, and wanting NDOMOD (sockets) with mysql. > > > > Error: Could not load module '/usr/local/nagios/bin/ndomod.o' -> > > /usr/local/nagios/bin/ndomod.o: cannot open shared object file: No > such > > file or directory > > > > Any idea, I'm not sure how to proceed ? > > Looks like you need to install NDOUtils. "No such file" means > what it says. > > If you think you did, make sure you have the paths correct > and followed the "INSTALLING THE NDOMOD BROKER MODULE" > instructions in the README. > > -- > 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 xavier at rootshell.be Mon Aug 13 10:11:39 2007 From: xavier at rootshell.be (Xavier Mertens) Date: Mon, 13 Aug 2007 10:11:39 +0200 Subject: Services dependencies on the same host? Message-ID: <01ee01c7dd81$93755b50$060f000a@mc.ccure.be> Hi *, I'm trying to reduce the number of notifications when a host is down. Basically, I'm monitoring: icmp,ssh checks, snmp OIDs I would like to setup some dependencies like: icmp | +---> tcp_ssh | | | +------> ssh checks | +---> SNMP OIDs But I read in the documentation: 1. A service can be dependent on one or more other services 2. A service can be dependent on services which are not associated with the same host How can I achieve this? If the server is down (no reply to ICMP requests, do not perform the other checks) Regards, Xavier ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Aug 13 11:49:57 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Mon, 13 Aug 2007 11:49:57 +0200 Subject: png2gd2 - Where is this utility? Message-ID: <9D30659ABCA7FB428CF91E386C3A57448E0B86@hermes.sapphire-int.gi> Hi, I came across the following in the FAQ: Best regards Giles Coochey Technical Department Sapphire Networks -------------- 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 Mon Aug 13 11:53:14 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Mon, 13 Aug 2007 11:53:14 +0200 Subject: png2gd2 - Where is this utility? In-Reply-To: <9D30659ABCA7FB428CF91E386C3A57448E0B86@hermes.sapphire-int.gi> References: <9D30659ABCA7FB428CF91E386C3A57448E0B86@hermes.sapphire-int.gi> Message-ID: <9D30659ABCA7FB428CF91E386C3A57448E0B88@hermes.sapphire-int.gi> Sorry, ignore this thread... outlook sent the message accidentally when I tried to paste the FAQ question, and when retyping the message I realized what was wrong anyway... Best regards ? Giles Coochey Technical Department Sapphire?Networks ________________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Giles Coochey Sent: 13 August 2007 11:50 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] png2gd2 - Where is this utility? Hi, I came across the following in the FAQ: Best regards ? Giles Coochey Technical Department Sapphire?Networks ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 13 14:20:25 2007 From: marc at ena.com (Marc Powell) Date: Mon, 13 Aug 2007 07:20:25 -0500 Subject: Services dependencies on the same host? In-Reply-To: <01ee01c7dd81$93755b50$060f000a@mc.ccure.be> References: <01ee01c7dd81$93755b50$060f000a@mc.ccure.be> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Xavier Mertens > Sent: Monday, August 13, 2007 3:12 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Services dependencies on the same host? > > Hi *, > > I'm trying to reduce the number of notifications when a host is down. > > How can I achieve this? If the server is down (no reply to ICMP requests, > do > not perform the other checks) Nagios does this by default. It will still check to see if it's recovered but it will suppress notifications for services on the down host. See the first section of http://nagios.sourceforge.net/docs/2_0/networkreachability.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 shuff at hmdc.harvard.edu Mon Aug 13 21:51:08 2007 From: shuff at hmdc.harvard.edu (Steve Huff) Date: Mon, 13 Aug 2007 15:51:08 -0400 Subject: Nagios best practices? Message-ID: <9B9F13E0-53FF-497A-81DD-47865C8CB852@hmdc.harvard.edu> Hello folks! I'd like to roll out Nagios to replace our aging Mon installation; however, setting up Nagios has been more difficult than I had expected, which makes me wonder if I'm going about it the wrong way. Can you recommend a Nagios best practices document or howto? Essentially, I'd like to do as little per-host configuration as possible; I'd like to be able to define service templates for each of the services I'll need to monitor, then arrange hosts into groups such that all the machines in each group have a certain service template assigned to them (e.g. all the web servers get a web_server template, which tells Nagios to monitor HTTP and HTTPS service; when we bring a new web server into production, I create a host entry for the new web server which says that it's part of the web_server group, and Nagios starts monitoring HTTP and HTTPS service on it). I specifically want to avoid the situation where every time we bring a new machine online, I have to define all the services on it individually, then go through all the various host group and service group definitions and add entries to them one by one. Is this a reasonable scheme, or should I be approaching this problem a different way? thanks, -Steve P.S. I have tried a couple of web-based Nagios configurators (Fruity, NagiosQL); in each case I end up with invalid Nagios configurations, which again leads me to suspect that I'm trying to set up Nagios in a configuration for which it was not designed. -- Steve Huff - Systems Administrator, Harvard-MIT Data Center - shuff at hmdc.harvard.edu ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BowdenB at scc-fl.edu Mon Aug 13 22:14:58 2007 From: BowdenB at scc-fl.edu (Brendan Bowden) Date: Mon, 13 Aug 2007 16:14:58 -0400 Subject: Services inherit contacts from host? (3.0b1) Message-ID: <46C08383.E590.00E0.0@scc-fl.edu> The short version: Is there any way to get services to inherit their contacts/contact-groups from their parent host? The long version: Let's say I have a server defined as (simple example from my config): define host{ use linux-server host_name Nagios alias Nagios Server address 192.168.60.68 parents VMserver hostgroups +slm,virtual contact_groups +slm-admins,virtual-admins } define service{ use http host_name Nagios } I have a server template called 'linux-server' with generic options for those, including a contact group for people who know how to fix Linux servers. Additional host/contact groups are sometimes added in the individual host definition as shown above. For the services, I have a few generic services (http,smtp,etc) with check commands, etc defined in each. I don't really want to define a contact group for smtp-admins, etc. because there isn't a group of those people in reality; what I want to happen is (for example) if the SMTP service fails on the Linux host, the Linux admins get notified. Notifications on host failures work perfectly according to the defined contact groups. But since there aren't any contacts defined on the service (or service template), no notifications are generated. I couldn't find anything even close in the macros list to get a list of contacts or contact groups for a host. Any ideas, without going into a few hundred service definitions and pasting in the same contact groups as the host? Thanks, -- Brendan Bowden Computing and Telecom Services Seminole Community College 407.708.2753 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BowdenB at scc-fl.edu Mon Aug 13 22:22:09 2007 From: BowdenB at scc-fl.edu (Brendan Bowden) Date: Mon, 13 Aug 2007 16:22:09 -0400 Subject: Services inherit contacts from host? (3.0b1) - disregard Message-ID: <46C08532.E590.00E0.0@scc-fl.edu> Umm... disregard this question. Apparently in 3.0 this works automatically by default (very cool) and I just didn't see it happening because of something odd going on with the CGI. Sorry about that! Brendan >>> On 8/13/2007 at 4:14 PM, "Brendan Bowden" wrote: > The short version: Is there any way to get services to inherit their > contacts/contact-groups from their parent host? > > The long version: Let's say I have a server defined as (simple example from > my config): > > define host{ > use linux-server > host_name Nagios > alias Nagios Server > address 192.168.60.68 > parents VMserver > hostgroups +slm,virtual > contact_groups +slm-admins,virtual-admins > } > > define service{ > use http > host_name Nagios > } > > I have a server template called 'linux-server' with generic options for > those, including a contact group for people who know how to fix Linux > servers. Additional host/contact groups are sometimes added in the > individual host definition as shown above. For the services, I have a few > generic services (http,smtp,etc) with check commands, etc defined in each. I > don't really want to define a contact group for smtp-admins, etc. because > there isn't a group of those people in reality; what I want to happen is (for > example) if the SMTP service fails on the Linux host, the Linux admins get > notified. > > Notifications on host failures work perfectly according to the defined > contact groups. But since there aren't any contacts defined on the service > (or service template), no notifications are generated. > I couldn't find anything even close in the macros list to get a list of > contacts or contact groups for a host. Any ideas, without going into a few > hundred service definitions and pasting in the same contact groups as the > host? > > 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 jim at jimavery.me.uk Mon Aug 13 22:30:19 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 13 Aug 2007 21:30:19 +0100 Subject: Nagios best practices? In-Reply-To: <9B9F13E0-53FF-497A-81DD-47865C8CB852@hmdc.harvard.edu> References: <9B9F13E0-53FF-497A-81DD-47865C8CB852@hmdc.harvard.edu> Message-ID: <765d77c80708131330k46803e25i6e9efea77ee7ebab@mail.gmail.com> On 13/08/07, Steve Huff wrote: > Hello folks! > > I'd like to roll out Nagios to replace our aging Mon installation; > however, setting up Nagios has been more difficult than I had > expected, which makes me wonder if I'm going about it the wrong way. > > Can you recommend a Nagios best practices document or howto? The relevant page in the official Nagios documentation you need to look for is "Time-Saving Tricks For Object Definitions". I would give you the url, but for some reason I can't get to that page just at the moment. An excellent introduction to Nagios which goes through how to configure it is the book 'Nagios' by Wolfgang Barth published by NoStarch Press. You can buy it online in .pdf form, printed form or both. It's getting slightly dated now, but IMO it's an easier read than some of the alternatives if you're just starting out. Using hostgroups and templates judiciously you should be able to achieve what you want pretty easily. My recommendation would be to start with a simple config and expand from there rather than trying to do everything at once. hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From syd at ittagteam.com Mon Aug 13 22:14:57 2007 From: syd at ittagteam.com (Syd Alsobrook) Date: Mon, 13 Aug 2007 16:14:57 -0400 Subject: Nagios best practices? In-Reply-To: <9B9F13E0-53FF-497A-81DD-47865C8CB852@hmdc.harvard.edu> References: <9B9F13E0-53FF-497A-81DD-47865C8CB852@hmdc.harvard.edu> Message-ID: <200708131614.58053.syd@ittagteam.com> On Monday 13 August 2007 15:51, Steve Huff wrote: > Essentially, I'd like to do as little per-host configuration as > possible; I use templates only for the base config options such as check frequency and such. To minimize service definition duplication I use service and host groups. One example is that I have a host group for any debian servers and in the config I assign all the services that should be a part of what I call the base os including a combonation of snmp and nrpe services to that host group. Now when I stand up a new debian server I add it to the debian host group and it automatically get 8 services assigned to it. As for the web based config tools. I have never found one that worked the way I like to config Nagios and I have been doing it for almost 10 years. Hope this helps, Syd -- Syd Alsobrook IT Tag Team, Inc. 518-598-6025 http://www.ittagteam.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 GMcKinney at cucbc.com Mon Aug 13 23:58:56 2007 From: GMcKinney at cucbc.com (George McKinney) Date: Mon, 13 Aug 2007 14:58:56 -0700 Subject: check_http behaviour question. Message-ID: <8B3BBB4C9E9CC4469CC7A2010A46BF5E55580C@c2kp01mail.cucbc.com> I've written a Java application that our operations team wants to monitor via Nagios ( version 1.2 of Nagios ). Because my app is non-http, I used thecom.sun.net.httpserver.HttpServer class ( a lightweight http server ) to provide the information that ops wants. when ops uses wget to call the appropriate url , it returns immediately, with the expected output. when ops uses check_http, it hangs until it gets a SocketTimeout. I have seen a bug report re HttpServer that suggests that it doesn't immediately close the connection when it is told to ( as I am telling it to ), so that may be the problem, but wonder if there might be something about Nagios that is causing this. Thanks, -- George McKinney Senior Software Developer/Analyst MemberDirect(r) Product Development phone: 604 737 5900 email: gmckinney at memberdirect.ca website: memberdirect.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 MJoyce at ccia.unsw.edu.au Tue Aug 14 01:57:13 2007 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Tue, 14 Aug 2007 09:57:13 +1000 Subject: Nagios best practices? Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6A029A8412@mail01.ccia.local> I think you do have the right idea except I wouldn't define templates for each service, instead only for distinct service types. Define Hosts Assign Host to Hostgroups Define Services based on Service Templates + tweaks. Assign Services to Hostgroups Assign Services to Servicegroups There may always be specific scenarios where certain services are only for specific hosts. You have to decide whether to define a host group for a single host, I don't. I'm no keen on the web based config interfaces, I was scared off by the problems I read in the forums, and the bugs in the bug trackers. I'm happy carving stuff from ascii. Though, if there was a rock solid offering I might try it. I have written a couple of scripts to help fabricate service dependencies, useful for NRPE and SNMP dependant checks. Also, consider using Bazaar (http://bazaar-vcs.org/) for config file version control. It's a breeze to setup, requires python. After any significant changes I just run `bzr commit -m 'tweaked foo'` and a new revision is created. Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Steve Huff > Sent: Tuesday, 14 August 2007 5:51 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios best practices? > > Hello folks! > > I'd like to roll out Nagios to replace our aging Mon > installation; however, setting up Nagios has been more > difficult than I had expected, which makes me wonder if I'm > going about it the wrong way. > > Can you recommend a Nagios best practices document or howto? > > Essentially, I'd like to do as little per-host configuration > as possible; I'd like to be able to define service templates > for each of the services I'll need to monitor, then arrange > hosts into groups such that all the machines in each group > have a certain service template assigned to them (e.g. all > the web servers get a web_server template, which tells Nagios > to monitor HTTP and HTTPS service; when we bring a new web > server into production, I create a host entry for the new web > server which says that it's part of the web_server group, and > Nagios starts monitoring HTTP and HTTPS service on it). > > I specifically want to avoid the situation where every time > we bring a new machine online, I have to define all the > services on it individually, then go through all the various > host group and service group definitions and add entries to > them one by one. > > Is this a reasonable scheme, or should I be approaching this > problem a different way? > > thanks, > -Steve > > P.S. I have tried a couple of web-based Nagios configurators > (Fruity, NagiosQL); in each case I end up with invalid Nagios > configurations, which again leads me to suspect that I'm > trying to set up Nagios in a configuration for which it was > not designed. > > -- > Steve Huff - Systems Administrator, Harvard-MIT Data Center - > shuff at hmdc.harvard.edu > > > > > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and > a browser. > Download your FREE copy of Splunk now >> > http://get.splunk.com/ _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 RLAdams at AdamsInfoServ.Com Tue Aug 14 02:16:59 2007 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Mon, 13 Aug 2007 19:16:59 -0500 Subject: Nagios best practices? In-Reply-To: <765d77c80708131330k46803e25i6e9efea77ee7ebab@mail.gmail.com> References: <9B9F13E0-53FF-497A-81DD-47865C8CB852@hmdc.harvard.edu> <765d77c80708131330k46803e25i6e9efea77ee7ebab@mail.gmail.com> Message-ID: <20070814001659.GA27324@odin.demosthenes.org> My $0.02: Use a text editor and version control. Minimize and automate as much as practical. Try out NACE. Make a template, setup a query to find systems to apply it to. Don't be the administrative bottleneck when systems need to be added, or they won't be. Set standards and let automation do the work for you. Make sure you have two methods for notification. Email is good, backup IXO/TAP/SMS via modem on POTS is better (Sendpage). Have a dedicated UPS on your Nagios system. Power's out, notifications continue. Use a trending (Torrus) and log monitoring (Syslog-ng & Logmuncher) tool in conjunction with Nagios to ensure all your bases are covered. Tie them in to use Nagios notification engine as needed. Consider using SNMP for common checks on platforms with decent snmpd's (Linux, Windows 2000+, AIX 5.3, etc). This saves you from deploying NRPE everywhere, minimizing the client side software. (This'll start a flame war, so I'll point out you should only use SNMP on an internal network and use host ACL's to confine SNMP to read only queries from the Nagios server and one alternate for upgrades. ) Check out Patrick Proy's snmp plugins, http://nagios.manubulon.com/ . Choose what you monitor and how you notify carefully. Apathy caused by too many off hours notifications is a real problem when that important message goes out. I'd suggest email for all notifications, but SMS only for critical services in a critical state. Good luck! On Mon, Aug 13, 2007 at 09:30:19PM +0100, Jim Avery wrote: > On 13/08/07, Steve Huff wrote: > > Hello folks! > > > > I'd like to roll out Nagios to replace our aging Mon installation; > > however, setting up Nagios has been more difficult than I had > > expected, which makes me wonder if I'm going about it the wrong way. > > > > Can you recommend a Nagios best practices document or howto? > > The relevant page in the official Nagios documentation you need to > look for is "Time-Saving Tricks For Object Definitions". I would give > you the url, but for some reason I can't get to that page just at the > moment. > > An excellent introduction to Nagios which goes through how to > configure it is the book 'Nagios' by Wolfgang Barth published by > NoStarch Press. You can buy it online in .pdf form, printed form or > both. It's getting slightly dated now, but IMO it's an easier read > than some of the alternatives if you're just starting out. > > Using hostgroups and templates judiciously you should be able to > achieve what you want pretty easily. My recommendation would be to > start with a simple config and expand from there rather than trying to > do everything at once. > > hth, > > Jim > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: 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 MJoyce at ccia.unsw.edu.au Tue Aug 14 06:08:01 2007 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Tue, 14 Aug 2007 14:08:01 +1000 Subject: Nagios best practices? Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6A029A84B4@mail01.ccia.local> Good advice. I'm happy to say we can tick most of those boxes. For logs I've been using the free Splunk, quite handy for post incident forensics. I'd also add : Pay attention to host parents and service dependencies. Getting them right can be the difference between knowing what is going on and a notification blizzard. I'd also propose only monitoring what you need to, seems obvious but it's easy to start monitoring because you can. Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Russell Adams > Sent: Tuesday, 14 August 2007 10:17 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios best practices? > > My $0.02: > > Use a text editor and version control. > > Minimize and automate as much as practical. > > Try out NACE. Make a template, setup a query to find systems to > apply it to. Don't be the administrative bottleneck when systems > need to be added, or they won't be. Set standards and let > automation do the work for you. > > Make sure you have two methods for notification. Email is good, > backup IXO/TAP/SMS via modem on POTS is better (Sendpage). > > Have a dedicated UPS on your Nagios system. Power's out, > notifications continue. > > Use a trending (Torrus) and log monitoring (Syslog-ng & Logmuncher) > tool in conjunction with Nagios to ensure all your bases are > covered. Tie them in to use Nagios notification engine as needed. > > Consider using SNMP for common checks on platforms with decent > snmpd's (Linux, Windows 2000+, AIX 5.3, etc). This saves you from > deploying NRPE everywhere, minimizing the client side software. > (This'll start a flame war, so I'll point out you should only use > SNMP on an internal network and use host ACL's to confine SNMP to > read only queries from the Nagios server and one alternate for > upgrades. ) Check out Patrick Proy's snmp plugins, > http://nagios.manubulon.com/ . > > Choose what you monitor and how you notify carefully. Apathy caused > by too many off hours notifications is a real problem when that > important message goes out. I'd suggest email for all > notifications, but SMS only for critical services in a critical > state. > > Good luck! > > On Mon, Aug 13, 2007 at 09:30:19PM +0100, Jim Avery wrote: > > On 13/08/07, Steve Huff wrote: > > > Hello folks! > > > > > > I'd like to roll out Nagios to replace our aging Mon > installation; > > > however, setting up Nagios has been more difficult than I had > > > expected, which makes me wonder if I'm going about it the > wrong way. > > > > > > Can you recommend a Nagios best practices document or howto? > > > > The relevant page in the official Nagios documentation you need to > > look for is "Time-Saving Tricks For Object Definitions". I > would give > > you the url, but for some reason I can't get to that page > just at the > > moment. > > > > An excellent introduction to Nagios which goes through how to > > configure it is the book 'Nagios' by Wolfgang Barth published by > > NoStarch Press. You can buy it online in .pdf form, > printed form or > > both. It's getting slightly dated now, but IMO it's an easier read > > than some of the alternatives if you're just starting out. > > > > Using hostgroups and templates judiciously you should be able to > > achieve what you want pretty easily. My recommendation would be to > > start with a simple config and expand from there rather > than trying to > > do everything at once. > > > > hth, > > > > Jim > > > > > ---------------------------------------------------------------------- > > --- This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX > and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > ------------------------------------------------------------------ > Russell Adams RLAdams at AdamsInfoServ.com > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike.hawley at nspire.co.nz Tue Aug 14 06:26:51 2007 From: mike.hawley at nspire.co.nz (Mike Hawley) Date: Tue, 14 Aug 2007 16:26:51 +1200 Subject: Nagios best practices? In-Reply-To: <2A67EA781EC7F949A2AB0A0D07A86C6A029A84B4@mail01.ccia.local> References: <2A67EA781EC7F949A2AB0A0D07A86C6A029A84B4@mail01.ccia.local> Message-ID: <00cb01c7de2b$5622cdf0$0502010a@nspire.co.nz> Has anyone tried using the Oreon installation for Nagios? I have installed it and I have found it to be very difficult to add devices for monitoring... It also does not help that most of the support pages/documents are in French!!! I have reverted back to the tried and true method of .cfg files. Mike Hawley -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Matthew Joyce Sent: Tuesday, August 14, 2007 4:08 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios best practices? Good advice. I'm happy to say we can tick most of those boxes. For logs I've been using the free Splunk, quite handy for post incident forensics. I'd also add : Pay attention to host parents and service dependencies. Getting them right can be the difference between knowing what is going on and a notification blizzard. I'd also propose only monitoring what you need to, seems obvious but it's easy to start monitoring because you can. Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Russell Adams > Sent: Tuesday, 14 August 2007 10:17 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios best practices? > > My $0.02: > > Use a text editor and version control. > > Minimize and automate as much as practical. > > Try out NACE. Make a template, setup a query to find systems to > apply it to. Don't be the administrative bottleneck when systems > need to be added, or they won't be. Set standards and let > automation do the work for you. > > Make sure you have two methods for notification. Email is good, > backup IXO/TAP/SMS via modem on POTS is better (Sendpage). > > Have a dedicated UPS on your Nagios system. Power's out, > notifications continue. > > Use a trending (Torrus) and log monitoring (Syslog-ng & Logmuncher) > tool in conjunction with Nagios to ensure all your bases are > covered. Tie them in to use Nagios notification engine as needed. > > Consider using SNMP for common checks on platforms with decent > snmpd's (Linux, Windows 2000+, AIX 5.3, etc). This saves you from > deploying NRPE everywhere, minimizing the client side software. > (This'll start a flame war, so I'll point out you should only use > SNMP on an internal network and use host ACL's to confine SNMP to > read only queries from the Nagios server and one alternate for > upgrades. ) Check out Patrick Proy's snmp plugins, > http://nagios.manubulon.com/ . > > Choose what you monitor and how you notify carefully. Apathy caused > by too many off hours notifications is a real problem when that > important message goes out. I'd suggest email for all > notifications, but SMS only for critical services in a critical > state. > > Good luck! > > On Mon, Aug 13, 2007 at 09:30:19PM +0100, Jim Avery wrote: > > On 13/08/07, Steve Huff wrote: > > > Hello folks! > > > > > > I'd like to roll out Nagios to replace our aging Mon > installation; > > > however, setting up Nagios has been more difficult than I had > > > expected, which makes me wonder if I'm going about it the > wrong way. > > > > > > Can you recommend a Nagios best practices document or howto? > > > > The relevant page in the official Nagios documentation you need to > > look for is "Time-Saving Tricks For Object Definitions". I > would give > > you the url, but for some reason I can't get to that page > just at the > > moment. > > > > An excellent introduction to Nagios which goes through how to > > configure it is the book 'Nagios' by Wolfgang Barth published by > > NoStarch Press. You can buy it online in .pdf form, > printed form or > > both. It's getting slightly dated now, but IMO it's an easier read > > than some of the alternatives if you're just starting out. > > > > Using hostgroups and templates judiciously you should be able to > > achieve what you want pretty easily. My recommendation would be to > > start with a simple config and expand from there rather > than trying to > > do everything at once. > > > > hth, > > > > Jim > > > > > ---------------------------------------------------------------------- > > --- This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX > and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > ------------------------------------------------------------------ > Russell Adams RLAdams at AdamsInfoServ.com > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.17/951 - Release Date: 8/13/2007 10:15 AM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.17/951 - Release Date: 8/13/2007 10:15 AM ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ajitabhpandey at gmail.com Tue Aug 14 11:38:44 2007 From: ajitabhpandey at gmail.com (Ajitabh Pandey) Date: Tue, 14 Aug 2007 15:08:44 +0530 Subject: Using check_udp plugin for checking SNMP service Message-ID: <46C17824.6070702@gmail.com> Hi, I want to use check_udp plugin to check whether SNMP service is listening on target host or not. How do we do that? I think we need to specify an "expect string". What will be the expect string in case of SNMP. Is port 161 to be used or 162? check_udp -H my_win_server -p 161 -e ...... Regards. Ajitabh Pandey ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ajitabhpandey at gmail.com Tue Aug 14 11:50:15 2007 From: ajitabhpandey at gmail.com (Ajitabh Pandey) Date: Tue, 14 Aug 2007 15:20:15 +0530 Subject: Physical Memory checks in Windows 2000 Message-ID: <46C17AD7.6030604@gmail.com> Hi, We are setting up monitoring quite a lot Windows servers (2003 and 2000 server) using Nagios. We are using check_snmp_storage.pl for this. This is working on all Windows 2003 servers but on Windows 2000 servers we are getting a response: ERROR: Description/Type table : No response from remote host A snmpwalk and bit of search in google revealed that Win2k host-resource MIB does not have the same OID for physical memory as Win 2003 server. Win2k uses hrStorage.2.0 to provide total available physical memory in KB and hrStorageUsed.2 to give total used physical memory in KB. Can someone please advise on how to monitor win2k physical memory? The command and service definition we are using are as below: define command{ command_name check_win_storage command_line $USER3$/check_snmp_storage.pl -H $HOSTADDRESS$ -C $ARG1$ -T pu -m $ARG2$ -w $ARG3$ -c $ARG4$ } Service definition being used is: define service { use generic-service hostgroup_name websrvs, mssql, altiris, aventerprise, domino-backbone, domino-lite, note-web-iface service_description Windows Physical Memory check_command check_win_storage!$USER2$!"Physical Memory"!90!98 } Regards. Ajitabh Pandey ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 14 12:26:54 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Tue, 14 Aug 2007 12:26:54 +0200 Subject: Using check_udp plugin for checking SNMP service In-Reply-To: <46C17824.6070702@gmail.com> References: <46C17824.6070702@gmail.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A57448E0C14@hermes.sapphire-int.gi> I believe you use 162 for a SNMP trap receiver and 161 for a SNMPD daemon service. Best regards Giles Coochey > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Ajitabh Pandey > Sent: 14 August 2007 11:39 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Using check_udp plugin for checking SNMP service > > Hi, > > I want to use check_udp plugin to check whether SNMP service is > listening on target host or not. How do we do that? I think we need to > specify an "expect string". What will be the expect string in case of > SNMP. > > Is port 161 to be used or 162? > > check_udp -H my_win_server -p 161 -e ...... > > Regards. > Ajitabh Pandey > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Stuart.England at orr.gsi.gov.uk Tue Aug 14 13:34:12 2007 From: Stuart.England at orr.gsi.gov.uk (England, Stuart) Date: Tue, 14 Aug 2007 12:34:12 +0100 Subject: Wildcard host groups? Message-ID: <8269FC9F24F9AD4EA090B303F80409367ACAD0@LKSMX006.orr.gov.uk> Hi, I was wondering if its possible to create hostgroups using wildcards that include the first bit of the hostname as defined in the hosts.cfg For example, I would like to make a host group of all windows servers. All my windows server hostname begin with the following three letters "LKS" so I would like to create a host group containing LKS* however complains about this syntax The same could be used to create a hostgroup of all my email servers who's hostnames all begin with "LKSMX" Thanks, Stuart The original of this email was scanned for viruses by the Government Secure Intranet Anti-Virus service supplied by Cable&Wireless in partnership with MessageLabs. (CCTM Certificate Number 2006/04/0007.) On leaving the GSi this email was certified virus free. Communications via the GSi may be automatically logged, monitored and/or recorded for legal purposes. -------------- 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 Tue Aug 14 14:37:26 2007 From: marc at ena.com (Marc Powell) Date: Tue, 14 Aug 2007 07:37:26 -0500 Subject: Wildcard host groups? In-Reply-To: <8269FC9F24F9AD4EA090B303F80409367ACAD0@LKSMX006.orr.gov.uk> References: <8269FC9F24F9AD4EA090B303F80409367ACAD0@LKSMX006.orr.gov.uk> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of England, Stuart > Sent: Tuesday, August 14, 2007 6:34 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Wildcard host groups? > > Hi, I was wondering if its possible to create hostgroups using wildcards > that include the first bit of the hostname as defined in the hosts.cfg > > > > For example, I would like to make a host group of all windows servers. All > my windows server hostname begin with the following three letters "LKS" so > I would like to create a host group containing LKS* however complains > about this syntax Did you enable regular expression matching in nagios.cfg? http://nagios.sourceforge.net/docs/2_0/configmain.html#use_regexp_matchi ng http://nagios.sourceforge.net/docs/2_0/templatetricks.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 paul at dugas.cc Tue Aug 14 14:49:20 2007 From: paul at dugas.cc (Paul Dugas) Date: Tue, 14 Aug 2007 08:49:20 -0400 Subject: Handle unknown host in PROCESS_SERVICE_CHECK_RESULT Message-ID: <1187095760.30085.10.camel@ltpad.localdomain> Per an earlier suggestion from the mailing-list (thanks!), I have a default SNMP trap handler setup to send a PROCESS_SERVICE_CHECK_RESULT command for the "TRAP" service for the IP of the device that sent the trap. In some cases, the "TRAP" service doesn't exist for the host or the host doesn't exist in my configs yet. I'd like to know if there is a way to determine this ahead of time and instead update a TRAP-FROM-UNKNOWN-HOST or NO-TRAP-SERVICE-FOR-HOST service that I keep on my Nagios host. The idea is to kick me, the admin, when I start getting traps from new devices or those I've not yet fully configured. Alternatively, is there a way to have Nagios fire off another plugin when an attempt is made to update an invalid host or service? Any ideas would be appreciated. TIA, pd -- Paul Dugas, Computer Engineer Dugas Enterprises, LLC paul at dugas.cc phone: 404-932-1355 522 Black Canyon Park http://dugas.cc fax: 866-751-6494 Canton, GA 30114 USA -- This e-mail and any attachments are confidential. If you receive this message in error or are not the intended recipient, you should not retain, distribute, disclose or use any of this information and you should destroy the e-mail and any attachments or copies. -------------- 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 cmadams at hiwaay.net Tue Aug 14 15:26:05 2007 From: cmadams at hiwaay.net (Chris Adams) Date: Tue, 14 Aug 2007 08:26:05 -0500 Subject: Using check_udp plugin for checking SNMP service In-Reply-To: <46C17824.6070702@gmail.com> References: <46C17824.6070702@gmail.com> Message-ID: <20070814132604.GA664319@hiwaay.net> Once upon a time, Ajitabh Pandey said: > I want to use check_udp plugin to check whether SNMP service is > listening on target host or not. How do we do that? I think we need to > specify an "expect string". What will be the expect string in case of SNMP. I believe SNMP is a binary protocol, so a simple send/expect may not work. You could probably use check_snmp and check for a variable that is used pretty much everywhere; I use system.sysUpTime.0 (the numeric OID is 1.3.6.1.2.1.1.3.0) in a few places. Something like: define command { command_name check_snmp command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -w $ARG2$ -c $ARG3$ -o $ARG4$ } define service { service_description SNMP uptime check_command check_snmp!community!1:!1:!1.3.6.1.2.1.1.3.0 ... } -- Chris Adams Systems and Network Administrator - HiWAAY Internet Services I don't speak for anybody but myself - that's enough trouble. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue Aug 14 15:31:38 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 14 Aug 2007 14:31:38 +0100 Subject: Handle unknown host in PROCESS_SERVICE_CHECK_RESULT In-Reply-To: <1187095760.30085.10.camel@ltpad.localdomain> References: <1187095760.30085.10.camel@ltpad.localdomain> Message-ID: <765d77c80708140631u67ec156bg50a6539fd049e951@mail.gmail.com> On 14/08/07, Paul Dugas wrote: > Per an earlier suggestion from the mailing-list (thanks!), I have a > default SNMP trap handler setup to send a PROCESS_SERVICE_CHECK_RESULT > command for the "TRAP" service for the IP of the device that sent the > trap. In some cases, the "TRAP" service doesn't exist for the host or > the host doesn't exist in my configs yet. I'd like to know if there is > a way to determine this ahead of time and instead update a > TRAP-FROM-UNKNOWN-HOST or NO-TRAP-SERVICE-FOR-HOST service that I keep > on my Nagios host. The idea is to kick me, the admin, when I start > getting traps from new devices or those I've not yet fully configured. > > Alternatively, is there a way to have Nagios fire off another plugin > when an attempt is made to update an invalid host or service? I followed the examples in Wolfgang Barth's book (page 262), and have a case statement in the event handler script. Expanding a little on what Barth suggests, I set up the "* )" case so that traps for any host name for which there is no specific case get submitted as if for localhost. for example case $hostnamefromtrap in server001 | 10.10.0.1 ) hostnameinnagios="server1" ;; server002 | 10.10.0.2 ) hostnameinnagios="server2" ;; * ) hostnameinnagios="localhost" ;; esac Without the case statement, you have to make sure that all your hosts defined in Nagios have names precisely matching the ones found in the traps. I find that in practice, the trap information will sometimes contain just the hostname, sometimes the fully-qualified domain name, and sometimes the IP address depending on what part of the boot process the host has completed at the time. The case statement is, IMO, essential to getting this working reliably although it would be a bit of a pain to maintain it for hundreds of hosts I admit. I believe there is a trap handling system available which stores the trap information in a MySQL database and has a web front-end for examining them - this might be the way to go if your requirements are much more complicated than mine. Forgive me, but I can't recall the name of the project. hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Tue Aug 14 15:44:43 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Tue, 14 Aug 2007 09:44:43 -0400 Subject: ** PROBLEM alert - localhost/Current Load is WARNING ** Message-ID: <7abcf48e0708140644sdf98cb9v18c54e39f0595c89@mail.gmail.com> What is causing this warning? Is it becuase its set to low on the server ? Or is it because i have 500+ devices that is monitoring its sending out emails every day durning midnight How can avoid this ( and i mean not by ignoring or raising the threshold) is it due to server performance 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 jperrin at gmail.com Tue Aug 14 15:53:35 2007 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 14 Aug 2007 09:53:35 -0400 Subject: ** PROBLEM alert - localhost/Current Load is WARNING ** In-Reply-To: <7abcf48e0708140644sdf98cb9v18c54e39f0595c89@mail.gmail.com> References: <7abcf48e0708140644sdf98cb9v18c54e39f0595c89@mail.gmail.com> Message-ID: <302ce8b50708140653s2d6fd6bfr2e078557faa5973a@mail.gmail.com> On 8/14/07, Nedim Bicic wrote: > What is causing this warning? Is it becuase its set to low on the server ? You might try providing some useful details. Say like which version of nagios, how your check is defined, or really anything else we could use to assist you. > Or is it because i have 500+ devices that is monitoring its sending out > emails every day durning midnight No idea, you haven't told us anything useful yet. > How can avoid this ( and i mean not by ignoring or raising the threshold) is > it due to server performance You have to tell us how it's set up first. -- 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 weinerm at ccf.org Tue Aug 14 15:54:56 2007 From: weinerm at ccf.org (Weiner, Michael) Date: Tue, 14 Aug 2007 09:54:56 -0400 Subject: ** PROBLEM alert - localhost/Current Load is WARNING ** In-Reply-To: <7abcf48e0708140644sdf98cb9v18c54e39f0595c89@mail.gmail.com> References: <7abcf48e0708140644sdf98cb9v18c54e39f0595c89@mail.gmail.com> Message-ID: That looks like the samew error I get if I fail to restart NRPE on the host I am watching. HTH Michael Weiner -- Sent: Tuesday, August 14, 2007 9:45 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] ** PROBLEM alert - localhost/Current Load is WARNING ** What is causing this warning? Is it becuase its set to low on the server ? ? Or is it because i have 500+ devices that is monitoring its sending out emails every day durning midnight ? How can avoid this ( and i mean not by ignoring or raising the threshold) is it due to server performance ? ? thanks =================================== Cleveland Clinic is ranked one of the top hospitals in America by U.S. News & World Report (2007). Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. 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 marc at ena.com Tue Aug 14 16:06:36 2007 From: marc at ena.com (Marc Powell) Date: Tue, 14 Aug 2007 09:06:36 -0500 Subject: check_http behaviour question. In-Reply-To: <8B3BBB4C9E9CC4469CC7A2010A46BF5E55580C@c2kp01mail.cucbc.com> References: <8B3BBB4C9E9CC4469CC7A2010A46BF5E55580C@c2kp01mail.cucbc.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of George McKinney > Sent: Monday, August 13, 2007 4:59 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_http behaviour question. > > I have seen a bug report re HttpServer that suggests that it doesn't > immediately close the connection when it is told to ( as I am telling it > to ), so that may be the problem, but wonder if there might be something > about Nagios that is causing this. Nothing that I am aware of. If your http server is standards compliant in pretty much the most basic sense then check_http should work with it. I'd suggest making sure that the URL's and methods are the same between wget and check_http; enable debug logging in your application to watch the transaction more closely; use the -v option to check_http to watch the transaction and see where it's failing and finally, use tcpdump if you need deep level inspection of the transaction. -- 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 jperrin at gmail.com Tue Aug 14 16:43:38 2007 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 14 Aug 2007 10:43:38 -0400 Subject: ** PROBLEM alert - localhost/Current Load is WARNING ** In-Reply-To: <7abcf48e0708140705m6eb502ddo1a7df84a690403a9@mail.gmail.com> References: <7abcf48e0708140644sdf98cb9v18c54e39f0595c89@mail.gmail.com> <302ce8b50708140653s2d6fd6bfr2e078557faa5973a@mail.gmail.com> <7abcf48e0708140705m6eb502ddo1a7df84a690403a9@mail.gmail.com> Message-ID: <302ce8b50708140743h6cceebf2r6d30cca8ec98763a@mail.gmail.com> On 8/14/07, Nedim Bicic wrote: > Ok i forgot Nagios 2.4 > > Basically all i am using it for is simple ping services monitors if host are > up or down > thats all That's not what it would appear to be from the check result in your subject. > I might add that i am aslo running cacti on that same server if that helps > with clues Are you sure that the report is coming from nagios and not cacti? A ping check wouldn't care about load, or even get load information. You STILL have not provided any description on how your check is set up, or where this might be coming from. What check is returning this result? is it from nagios or cacti? How have you defined this check? -- 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 men.makaron at gmail.com Tue Aug 14 17:42:44 2007 From: men.makaron at gmail.com (Gerard Marcel) Date: Tue, 14 Aug 2007 11:42:44 -0400 Subject: n2rrd error! Message-ID: Does anyone know why I am getting this error - Premature end of script headers: rrd2graph.cgi, referer: https://blu.com/nagios/cgi-bin/status.cgi?host=all? /GM -------------- 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 Aug 14 18:36:31 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 14 Aug 2007 12:36:31 -0400 Subject: ** PROBLEM alert - localhost/Current Load is WARNING ** In-Reply-To: <7abcf48e0708140644sdf98cb9v18c54e39f0595c89@mail.gmail.com> References: <7abcf48e0708140644sdf98cb9v18c54e39f0595c89@mail.gmail.com> Message-ID: Like other peoples responce, Your issue lacks some details that would help clarify your situation. If you issue is every night the LOAD of the Nagios host is rising to a Warning level at a particular time, Then mostl likely the fact is the system is stressed at that time, It could be due to a lot of issues. At midnight Nagios usually does a log rotation. If at the same time the Nagios Host is also preforming other high load activities (like backups, or log rotations of other software, DB stuff ect..Check CRON for all users) then it is reasonable that their really is a High load on the host. If this is the problem there are several solutions: 1) offset other things that are ussing the load to happen at different times. this way the load of each process does not build on eachother. 2) Increase the threshold to accomadate the load (I would not recomend this if the typical load is very low in comparison) 3) if the typical load of the machine is very low, and only at that time there is a spike in the LOAD, AND you choose not to upgrade, reduce load some other way, or change the threshold. Then put the service check in downtime for the 10 minutes every night to avoid the service warning alert. IF the host stays in warning longer then your duration then you know there is an unusual problem that needs to be adressed. setting downtime can be implemented via a script there should be some examples off nagiosexchange. 4) I am sure there are other options that others will point out. Tony (author of NC_Net) On 8/14/07, Nedim Bicic wrote: > > What is causing this warning? Is it becuase its set to low on the server ? > > Or is it because i have 500+ devices that is monitoring its sending out > emails every day durning midnight > > How can avoid this ( and i mean not by ignoring or raising the threshold) > is it due to server performance > > > 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 > -------------- 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 dlopez at humnet.ucla.edu Tue Aug 14 21:18:47 2007 From: dlopez at humnet.ucla.edu (Lopez, Denise) Date: Tue, 14 Aug 2007 12:18:47 -0700 Subject: Nagios - SNMP v3 Message-ID: I am in the process of rebuilding our Nagios server from RHEL AS 4 to RHEL 5. The version of net-snmp on the older server is net-snmp 5.1.2 and the build for RHEL 5 is net-snmp 5.3.1. I can get SNMP version 2 working on the new server but I keep getting 'No response from Host' when query using the same credentials as I am using for the old server that is getting a response back. We have verified that all ACL's are allowing the traffic and there is no ACL on the device I am querying that would be blocking the response. We also observed that the traffic pattern from the older server is different from the newer server. I can see a one for one packet response from the older server to the device but from the newer server there is about 6 requests and finally we see a packet response from the device. I was just wondering if net-snmp version 3 works differently in the newer version and how I can resolve this issue? Thanks Denise Lopez UCLA Center for Digital Humanities 337 Charles E. Young Drive East PPB 1020 Los Angeles, CA 90095 dlopez at humnet.ucla.edu -------------- 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 throck at duke.edu Tue Aug 14 21:38:27 2007 From: throck at duke.edu (Tom Throckmorton) Date: Tue, 14 Aug 2007 15:38:27 -0400 Subject: Nagios - SNMP v3 In-Reply-To: References: Message-ID: <20070814193827.GA22513@duke.edu> On Aug 14 12:18, Lopez, Denise wrote: > I am in the process of rebuilding our Nagios server from RHEL AS 4 to > RHEL 5. The version of net-snmp on the older server is net-snmp 5.1.2 > and the build for RHEL 5 is net-snmp 5.3.1. > > I can get SNMP version 2 working on the new server but I keep getting > 'No response from Host' when query using the same credentials as I am > using for the old server that is getting a response back. > > We have verified that all ACL's are allowing the traffic and there is no > ACL on the device I am querying that would be blocking the response. We > also observed that the traffic pattern from the older server is > different from the newer server. I can see a one for one packet response > from the older server to the device but from the newer server there is > about 6 requests and finally we see a packet response from the device. > > I was just wondering if net-snmp version 3 works differently in the > newer version and how I can resolve this issue? Are you having a problem with check_snmp, or SNMP in general? It's likely this bug in net-snmp: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=251332 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=228066 The fc6 patch works on rhel5, so you could wait for the upstream patch, or rebuild with the patch from fc6. -tt -- Tom Throckmorton OIT - CSI Duke University ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 14 21:39:09 2007 From: marc at ena.com (Marc Powell) Date: Tue, 14 Aug 2007 14:39:09 -0500 Subject: n2rrd error! 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 Gerard Marcel > Sent: Tuesday, August 14, 2007 10:43 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] n2rrd error! > > Does anyone know why I am getting this error - Premature end of script > headers: rrd2graph.cgi, referer: https://blu.com/nagios/cgi- > bin/status.cgi?host=all? No, but I'll bet your web server error logs do. -- 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 dlopez at humnet.ucla.edu Tue Aug 14 22:04:35 2007 From: dlopez at humnet.ucla.edu (Lopez, Denise) Date: Tue, 14 Aug 2007 13:04:35 -0700 Subject: Nagios - SNMP v3 In-Reply-To: <20070814193827.GA22513@duke.edu> References: <20070814193827.GA22513@duke.edu> Message-ID: It is definitely something with net-snmp since it is my snmpwalk command that times out. I will try the patch you suggested. Thank you very much! Denise Lopez UCLA Center for Digital Humanities 337 Charles E. Young Drive East PPB 1020 Los Angeles, CA 90095 dlopez at humnet.ucla.edu -----Original Message----- From: Tom Throckmorton [mailto:throck at duke.edu] Sent: Tuesday, August 14, 2007 12:38 PM To: Lopez, Denise Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios - SNMP v3 Importance: High On Aug 14 12:18, Lopez, Denise wrote: > I am in the process of rebuilding our Nagios server from RHEL AS 4 to > RHEL 5. The version of net-snmp on the older server is net-snmp 5.1.2 > and the build for RHEL 5 is net-snmp 5.3.1. > > I can get SNMP version 2 working on the new server but I keep getting > 'No response from Host' when query using the same credentials as I am > using for the old server that is getting a response back. > > We have verified that all ACL's are allowing the traffic and there is no > ACL on the device I am querying that would be blocking the response. We > also observed that the traffic pattern from the older server is > different from the newer server. I can see a one for one packet response > from the older server to the device but from the newer server there is > about 6 requests and finally we see a packet response from the device. > > I was just wondering if net-snmp version 3 works differently in the > newer version and how I can resolve this issue? Are you having a problem with check_snmp, or SNMP in general? It's likely this bug in net-snmp: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=251332 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=228066 The fc6 patch works on rhel5, so you could wait for the upstream patch, or rebuild with the patch from fc6. -tt -- Tom Throckmorton OIT - CSI Duke University ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rtanner at linfield.edu Wed Aug 15 02:48:37 2007 From: rtanner at linfield.edu (Rob Tanner) Date: Tue, 14 Aug 2007 17:48:37 -0700 Subject: How do I cancel scheduled downtime? Message-ID: <46C24D65.1080504@linfield.edu> Hi, How do I cancel scheduled downtime on a host or service in Nagios when the actual scheduled downtime has been canceled? Thanks, Rob -- Rob Tanner UNIX Services Manager Linfield College, McMinnville OR -------------- 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 Aug 15 05:15:06 2007 From: marc at ena.com (Marc Powell) Date: Tue, 14 Aug 2007 22:15:06 -0500 Subject: How do I cancel scheduled downtime? In-Reply-To: <46C24D65.1080504@linfield.edu> References: <46C24D65.1080504@linfield.edu> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Rob Tanner > Sent: Tuesday, August 14, 2007 7:49 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How do I cancel scheduled downtime? > > Hi, > > How do I cancel scheduled downtime on a host or service in Nagios when the > actual scheduled downtime has been canceled? > Click the Downtime link from the left menu, then the trash for the entry you want to remove. -- 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 sampinar at gmail.com Wed Aug 15 08:05:40 2007 From: sampinar at gmail.com (Sam Pinar) Date: Wed, 15 Aug 2007 16:05:40 +1000 Subject: Nagios Log Message-ID: <4aa215380708142305j43c30245vc502730bc5083e0a@mail.gmail.com> Hi all, Just wondering if there is any way we can change the format of the Nagios log. Had a look at doco, couldn't find anything. Cheers, Sam. -------------- 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 huenseler at twt.de Wed Aug 15 08:19:44 2007 From: huenseler at twt.de (Dennis Huenseler) Date: Wed, 15 Aug 2007 08:19:44 +0200 Subject: Nagios Log References: <4aa215380708142305j43c30245vc502730bc5083e0a@mail.gmail.com> Message-ID: <8A793F1AC3ED7447B580082FCF608CF9CE56D4@twtexchange1.twt.intern> Hi Sam, I think the only options that you can take influence on is the method of logging (use syslog or not) and which events will occur in the logs like event handlers or notifications etc. Did you think of parsing the logfile with a little script after logrotation, so that you get your own format ? Mit freundlichen Gr??en Dennis H?nseler _________________________________________________________ Dennis H?nseler | System-Administrator TWT Interactive GmbH | Martinstra?e 47-55 | D-40223 D?sseldorf Tel: +49 (0)211 601 601-0 | Fax: +49 (0)211 601 601-19 TWT Niederlassung Berlin | Friedrichstra?e 90 | D-10117 Berlin Tel: +49 (0)30 20 25 3562 | Fax: +49 (0)30 20 25 3333 huenseler at twt.de | www.twt.de TWT - your eValue Partner Gesch?ftsf?hrung: Marcel Kreuter; Hans J. Even Sitz der Gesellschaft und Gerichtstand: D?sseldorf, Amtsgericht D?sseldorf, HRB 42097 www.salescatalog.de - Kunden begeistern, Ums?tze steigern mit bl?tterbaren Online-Katalogen www.digitalnext.de - Informationsportal f?r die digitale Wirtschaft OMD 2007 - Online Marketing D?sseldorf - Der internationale Dreh- und Angelpunkt f?r digitales Marketing Besuchen Sie uns auf der OMD 25./26.09.07 Stand E28, Halle 10 Terminvereinbarung und weitere Informationen unter http://www.twt.de/omd Wir freuen uns auf Ihren Besuch From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Sam Pinar Sent: Wednesday, August 15, 2007 8:06 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Log Hi all, Just wondering if there is any way we can change the format of the Nagios log. Had a look at doco, couldn't find anything. Cheers, Sam. -------------- 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 Wed Aug 15 10:08:32 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Wed, 15 Aug 2007 10:08:32 +0200 Subject: ** PROBLEM alert - localhost/Current Load isWARNING ** In-Reply-To: <302ce8b50708140743h6cceebf2r6d30cca8ec98763a@mail.gmail.com> References: <7abcf48e0708140644sdf98cb9v18c54e39f0595c89@mail.gmail.com><302ce8b50708140653s2d6fd6bfr2e078557faa5973a@mail.gmail.com><7abcf48e0708140705m6eb502ddo1a7df84a690403a9@mail.gmail.com> <302ce8b50708140743h6cceebf2r6d30cca8ec98763a@mail.gmail.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A57448E0C66@hermes.sapphire-int.gi> > > On 8/14/07, Nedim Bicic wrote: > > Ok i forgot Nagios 2.4 > > > > Basically all i am using it for is simple ping services monitors if host > are > > up or down > > thats all > > That's not what it would appear to be from the check result in your > subject. > If that is the case, I am guessing that you started with the provided sample-config files and edited them for your PING services. If all you want is ping services then stop monitoring the load on the localhost. I would recommend you simply remove the following lines from your sample-config: define service{ use local-service ; Name of service template to use host_name localhost service_description Current Load check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 } On the other hand if you are concerned about the load on your system then Nagios has done it's job and identified that you have a problem with the system - Now it's time for you to identify the cause of the problem and get more processors, memory, faster disk arrays and what not, or, schedule your jobs over a longer time, diagnose the issue and generally fix it. There is nothing wrong with a system experiencing load at times, far more efficient than CPU idle time... ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwolfe at shatterit.com Wed Aug 15 12:16:52 2007 From: rwolfe at shatterit.com (Robert Wolfe) Date: Wed, 15 Aug 2007 06:16:52 -0400 Subject: Return Code 126 Out of Bounds Message-ID: <20070815061652.922051bf.rwolfe@shatterit.com> Greetings all, this is my first posting to the mailing list so please bear with me :) We use a modified version of Nagios here at work and I wrote a small program that is a plugin for Nagios. Unfortunately, if I run the check manually it works fine, however, when Nagios goes to run it it gives a message showing that return code of 126 is out of bounds. The check is written in Pascal and I tried to conform to the Nagios coding standards as best I could. If anyone could shed a little light on this, it would be greatly appreciated. Thanks! -- Robert Wolfe ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ajitabhpandey at gmail.com Wed Aug 15 14:47:46 2007 From: ajitabhpandey at gmail.com (Ajitabh Pandey) Date: Wed, 15 Aug 2007 18:17:46 +0530 Subject: Nagios fails the SNMP check, command line works fine Message-ID: <46C2F5F2.2020409@gmail.com> Hi, I am facing a very strange problem. This problem is only on certain hosts. The monitored hosts are a mix of win2k and win2003 servers with SNMP enabled. When I run the plugins from command line (see below): /usr/lib/nagios/plugins/contrib/check_snmp_storage.pl -H myhost01.tld.com -C public -2 -T pu -m ^C -w 80 -c 90 C:\ Label:System Serial Number d04cc42c: 59%used(6524MB/11112MB) (<80%) : OK [ajitabhp at nagios01 services]$ /usr/lib/nagios/plugins/contrib/check_snmp_storage.pl -H myhost01.tld.com -C public -2 -T pu -m ^D -w 80 -c 90 D:\ Label:Data Serial Number 1442142f: 71%used(364130MB/514064MB) (<80%) : OK [ajitabhp at nagios01 services]$ /usr/lib/nagios/plugins/contrib/check_snmp_storage.pl -H myhost01.tld.com -C public -2 -T pu -m Physical -w 80 -c 90 Physical Memory: 88%used(3168MB/3582MB) (>80%) : WARNING [ajitabhp at nagios01 services]$ /usr/lib/nagios/plugins/contrib/check_snmp_storage.pl -H myhost01.tld.com -C public -2 -T pu -m Virtual -w 80 -c 90 Virtual Memory: 52%used(3871MB/7428MB) (<80%) : OK They all work. But the same plugins commands when run by nagios gives me error: ERROR: Description/Type table : No response from remote host '192.168.0.110' This problem is on certain hosts (around 10-15) and is working fine on some other 300+ servers. I have listed only few checks, but the fact is all SNMP checks are giving exactly the same problems. Other checks viz direct TCP port connections, HTTPD service checks etc are working fine. What could be the reason? Nagios version is 2.8 and all plugins are downloaded from nagiosexchange website. I dont have any reason to suspect my command and service definitions as the same checks are working ok for other similarly configured hosts. I am in a sort of urgent need of a solution, so an early reply will be appreciated Regards. Ajitabh Pandey ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 15 15:49:30 2007 From: marc at ena.com (Marc Powell) Date: Wed, 15 Aug 2007 08:49:30 -0500 Subject: Nagios Log In-Reply-To: <4aa215380708142305j43c30245vc502730bc5083e0a@mail.gmail.com> References: <4aa215380708142305j43c30245vc502730bc5083e0a@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 Sam Pinar > Sent: Wednesday, August 15, 2007 1:06 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios Log > > Hi all, > > Just wondering if there is any way we can change the format of the Nagios > log. Had a look at doco, couldn't find anything. It's open source, there's always a way. It just depends on how complex you want your project to be ;) Nagios doesn't provide config options to change the logging format and relies on the current format for historical reporting. You'd have to edit the source to modify the log format. If you care about historical reports you'd need to modify those CGI's as well to understand your new format. -- 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 Aug 15 15:53:39 2007 From: marc at ena.com (Marc Powell) Date: Wed, 15 Aug 2007 08:53:39 -0500 Subject: Return Code 126 Out of Bounds In-Reply-To: <20070815061652.922051bf.rwolfe@shatterit.com> References: <20070815061652.922051bf.rwolfe@shatterit.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 Wolfe > Sent: Wednesday, August 15, 2007 5:17 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Return Code 126 Out of Bounds > > Greetings all, this is my first posting to the mailing list so please bear > with me :) > > We use a modified version of Nagios here at work and I wrote a small > program that is a plugin for Nagios. > > Unfortunately, if I run the check manually it works fine, however, when > Nagios goes to run it it gives a message showing that return code of 126 > is out of bounds. The check is written in Pascal and I tried to conform to > the Nagios coding standards as best I could. > > If anyone could shed a little light on this, it would be greatly > appreciated. http://209.85.165.104/search?q=cache:ucTlUXKIkLsJ:www.nagios.org/faqs/vi ewfaq.php%3Ffaq_id%3D17+return+code+of+126+is+out+of+bounds&hl=en&ct=cln k&cd=1&gl=us&client=firefox-a Also verify that you're using full paths for any files/programs you reference from within the script. Also verify that you're testing it as the nagios user. -- 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 jmkeller at houseofzen.org Wed Aug 15 16:40:30 2007 From: jmkeller at houseofzen.org (James Michael Keller) Date: Wed, 15 Aug 2007 10:40:30 -0400 Subject: Availability report problem Message-ID: <46C3105E.3000707@houseofzen.org> Running Nagios 2.6 I'm trying to run an availability report for a host group over a custom time period (July 1st to July 31 this year). It's not pulling in any of the host check data. So if I tell it to assume up, it's just showing 100% up. If I run a 'last 31 days' stock report, I do see there are host check returns within the time frame of 7/1 to 7/31 that get pulled into this report. If I run a 'last month' report it sets the range to 7/1 to 8/1 and I get the same issue of no host checks being included in the report. I can run a year and see the host checks logs are included as well. I can run a 6/1 to 8/1 report and they get pulled in as well. Any ideas? -- James Michael Keller ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Aug 15 18:19:47 2007 From: trevor_obba at yahoo.co.uk (trevor obba) Date: Wed, 15 Aug 2007 16:19:47 +0000 (GMT) Subject: status changing to Pending Message-ID: <765010.7752.qm@web23310.mail.ird.yahoo.com> I am running nagios version 2.5, monitoring 240 hosts and 2500 services however every time I stop and start nagios or reload nagios configuration.10 hosts recheck and it service status changes to ?PENDING? Those hosts are acting like are they have just be added to nagios for the first time but they have being added 6 month ago. How can I fix this so that it does not recheck or the service status change to ?PENDING? every time nagios is restarted. ___________________________________________________________ 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 stava at telcotec.se Wed Aug 15 18:27:52 2007 From: stava at telcotec.se (Lars Stavholm) Date: Wed, 15 Aug 2007 18:27:52 +0200 Subject: status changing to Pending In-Reply-To: <765010.7752.qm@web23310.mail.ird.yahoo.com> References: <765010.7752.qm@web23310.mail.ird.yahoo.com> Message-ID: <46C32988.6010507@telcotec.se> trevor obba wrote: > I am running nagios version 2.5, monitoring 240 hosts and 2500 > services however every time I stop and start nagios or reload nagios configuration.10 > hosts recheck and it service status changes to ?PENDING? > > Those hosts are acting like are they have just be added to nagios > for the first time but they have being added 6 month ago. > > How can I fix this so that it does not recheck or the service > status change to ?PENDING? every time nagios is restarted. Look for the word retention in the nagios.cfg. Or, check out: /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 kyle.odonnell at gmail.com Wed Aug 15 19:09:39 2007 From: kyle.odonnell at gmail.com (Kyle O'Donnell) Date: Wed, 15 Aug 2007 13:09:39 -0400 Subject: nsca apis Message-ID: <2274b9c30708151009y612bdbb7uf427f7a820b12ca2@mail.gmail.com> Hi, Does anyone know if any perl, java, or python nsca APIs are available? Thanks, Kyle ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ajitabhpandey at gmail.com Wed Aug 15 19:23:19 2007 From: ajitabhpandey at gmail.com (Ajitabh Pandey) Date: Wed, 15 Aug 2007 22:53:19 +0530 Subject: status changing to Pending In-Reply-To: <765010.7752.qm@web23310.mail.ird.yahoo.com> References: <765010.7752.qm@web23310.mail.ird.yahoo.com> Message-ID: <46C33687.5020700@gmail.com> trevor obba wrote: > > I am running nagios version 2.5, monitoring 240 hosts and 2500 > services however every time I stop and start nagios or reload nagios configuration.10 > hosts recheck and it service status changes to ?PENDING? > > Those hosts are acting like are they have just be added to nagios > for the first time but they have being added 6 month ago. > > How can I fix this so that it does not recheck or the service > status change to ?PENDING? every time nagios is restarted. > In nagios.cfg set * retain_state_information=1 restart nagios and let it perform the checks. After that whenever you will restart Nagios you will find that the state of hosts and services which was there when nagios was restarted is retained. Regards. Ajitabh Pandey ** * ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 15 19:25:35 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 15 Aug 2007 13:25:35 -0400 Subject: nsca apis In-Reply-To: <2274b9c30708151009y612bdbb7uf427f7a820b12ca2@mail.gmail.com> References: <2274b9c30708151009y612bdbb7uf427f7a820b12ca2@mail.gmail.com> Message-ID: Hi Kyle, Look at nagios exchange, under categories --> Addon Projects --> comunication --> I am not sure how well the perl version works, but I think there is a java version somewhere as well. I have used the windows exe version and that one works well. http://www.nagiosexchange.org/Communication.41.0.html?&tx_netnagext_pi1[page]=10%3A10 Good Luck, Tony (author of NC_Net) On 8/15/07, Kyle O'Donnell wrote: > > Hi, > > Does anyone know if any perl, java, or python nsca APIs are available? > > Thanks, > Kyle > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 fabio at netwall.com.br Wed Aug 15 20:38:46 2007 From: fabio at netwall.com.br (Fabio Martins) Date: Wed, 15 Aug 2007 15:38:46 -0300 Subject: output plugin Message-ID: <46C34836.7010606@netwall.com.br> Hi, would like to know as increase the output of plugin. I am using nagios 1.4 with postgres (status, downtime and comments). I modified variavel #define MAX_PLUGINOUTPUT_LENGTH for 50000 in file common/objects.h, but it did not have effect. Thanks, Fabio Martins ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 15 21:25:14 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 15 Aug 2007 15:25:14 -0400 Subject: output plugin In-Reply-To: <46C34836.7010606@netwall.com.br> References: <46C34836.7010606@netwall.com.br> Message-ID: hi Fabio, I had a simmilar issue with check_nt. the issue was the netutils.c had a limit of about 1k on the process_tcp_request function. then when I went to use process_tcp_request2 it had another limit changing variables and DEFINES did not seem to work, my problem was the way the function was implemented. to elaborate In the current version of check_nc_net.c that is built off of check_nt.c I tweeked the process_tcp_request2 funciton to continue recieving. The original process_tcp_request2 would only read till the recieve array was full. so I added an 'if' that prints to stdout via printf and then empties the rec array array and its character count. This solution may work for your needs. Download the source code, Check_nc_net.c is availible as its own download at NC_Net on sourceforge: http://sourceforge.net/projects/nc-net You would be interested in the function added to the end of the source code. process_tcp_request3. please note, I chose to direct the output to stdout since in check_nc_net this option is only meant to be used with the ENUMERATION commands that should be used to output to CONSOLE or some other application and not for input to nagios. Good Luck Tony (Author of NC_Net) On 8/15/07, Fabio Martins wrote: > Hi, would like to know as increase the output of plugin. > I am using nagios 1.4 with postgres (status, downtime and comments). > I modified variavel > #define MAX_PLUGINOUTPUT_LENGTH for 50000 > in file common/objects.h, but it did not have effect. > > Thanks, Fabio Martins > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 lavalamp at spiritual-machines.org Wed Aug 15 21:41:26 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Wed, 15 Aug 2007 15:41:26 -0400 Subject: Monitoring Entrust IdentityGuard Message-ID: <1187206886.35704.21.camel@soundwave.pitbpa0.priv.collaborativefusion.com> Has anyone written a SOAP-XML client to check the health of the Entrust IdentityGuard SOAP-XML Services? Google says my chances are grim. Thanks, ~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 hvdkooij at vanderkooij.org Wed Aug 15 21:45:27 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 15 Aug 2007 21:45:27 +0200 (CEST) Subject: Monitoring Entrust IdentityGuard In-Reply-To: <1187206886.35704.21.camel@soundwave.pitbpa0.priv.collaborativefusion.com> References: <1187206886.35704.21.camel@soundwave.pitbpa0.priv.collaborativefusion.com> Message-ID: On Wed, 15 Aug 2007, Brian A. Seklecki wrote: > Has anyone written a SOAP-XML client to check the health of the Entrust > IdentityGuard SOAP-XML Services? > > Google says my chances are grim. Google is an optmist ;-) But if you speak SOAP-XML fluently you might start by cloning something allready doing parts of the stuff and add your own creative programming to finish it. This pretty much depends on your exact skills and how much you can find to give you a head start. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 15 21:53:19 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Wed, 15 Aug 2007 15:53:19 -0400 Subject: Monitoring Entrust IdentityGuard In-Reply-To: References: <1187206886.35704.21.camel@soundwave.pitbpa0.priv.collaborativefusion.com> Message-ID: <1187207599.35704.23.camel@soundwave.pitbpa0.priv.collaborativefusion.com> Yep! -- I'll share on NagiosExcahnge.org when I'm done. ~BAS On Wed, 2007-08-15 at 21:45 +0200, Hugo van der Kooij wrote: > On Wed, 15 Aug 2007, Brian A. Seklecki wrote: > > > Has anyone written a SOAP-XML client to check the health of the Entrust > > IdentityGuard SOAP-XML Services? > > > > Google says my chances are grim. > > Google is an optmist ;-) > > But if you speak SOAP-XML fluently you might start by cloning something > allready doing parts of the stuff and add your own creative programming to > finish it. > > This pretty much depends on your exact skills and how much you can find to > give you a head start. > > Hugo. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.nail at amd.com Wed Aug 15 22:46:20 2007 From: tom.nail at amd.com (Tom Nail) Date: Wed, 15 Aug 2007 15:46:20 -0500 Subject: Nagios fails the SNMP check, command line works fine In-Reply-To: <46C2F5F2.2020409@gmail.com> References: <46C2F5F2.2020409@gmail.com> Message-ID: <46C3661C.7010001@amd.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ajitabh, does your target machine have an SNMP v3 secName/password set up for the nagios user? This sounds suspiciously like a permissions problem. Try this: su -l nagios -c "snmpwalk -v 3 -u nagios -X target_host" And see what it returns. cheers, - -=Tom Nail Ajitabh Pandey wrote: > Hi, > > I am facing a very strange problem. This problem is only on certain > hosts. The monitored hosts are a mix of win2k and win2003 servers with > SNMP enabled. > > When I run the plugins from command line (see below): > > /usr/lib/nagios/plugins/contrib/check_snmp_storage.pl -H > myhost01.tld.com -C public -2 -T pu -m ^C -w 80 -c 90 > C:\ Label:System Serial Number d04cc42c: 59%used(6524MB/11112MB) (<80%) > : OK > > [ajitabhp at nagios01 services]$ > /usr/lib/nagios/plugins/contrib/check_snmp_storage.pl -H > myhost01.tld.com -C public -2 -T pu -m ^D -w 80 -c 90 > D:\ Label:Data Serial Number 1442142f: 71%used(364130MB/514064MB) > (<80%) : OK > > [ajitabhp at nagios01 services]$ > /usr/lib/nagios/plugins/contrib/check_snmp_storage.pl -H > myhost01.tld.com -C public -2 -T pu -m Physical -w 80 -c 90 > Physical Memory: 88%used(3168MB/3582MB) (>80%) : WARNING > > [ajitabhp at nagios01 services]$ > /usr/lib/nagios/plugins/contrib/check_snmp_storage.pl -H > myhost01.tld.com -C public -2 -T pu -m Virtual -w 80 -c 90 > Virtual Memory: 52%used(3871MB/7428MB) (<80%) : OK > > They all work. But the same plugins commands when run by nagios gives me > error: > ERROR: Description/Type table : No response from remote host '192.168.0.110' > > This problem is on certain hosts (around 10-15) and is working fine on > some other 300+ servers. I have listed only few checks, but the fact is > all SNMP checks are giving exactly the same problems. Other checks viz > direct TCP port connections, HTTPD service checks etc are working fine. > > What could be the reason? Nagios version is 2.8 and all plugins are > downloaded from nagiosexchange website. I dont have any reason to > suspect my command and service definitions as the same checks are > working ok for other similarly configured hosts. > > I am in a sort of urgent need of a solution, so an early reply will be > appreciated > > Regards. > Ajitabh Pandey > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGw2Yc1zsLRjt/NQ0RAoJqAJ4v1s1NOjVUqxUwOJMMMNh8IJW+3ACfTYj5 wDRwOOQmUJ1touiPvM9KvmA= =TUQB -----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 RLAdams at AdamsInfoServ.Com Thu Aug 16 00:07:36 2007 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Wed, 15 Aug 2007 17:07:36 -0500 Subject: Nagios best practices? In-Reply-To: <2A67EA781EC7F949A2AB0A0D07A86C6A029A84B4@mail01.ccia.local> References: <2A67EA781EC7F949A2AB0A0D07A86C6A029A84B4@mail01.ccia.local> Message-ID: <20070815220736.GA19830@odin.demosthenes.org> We should start a list of these on the Wiki (we do have a wiki now, right?). I'd be curious to see what feedback is received and what other ideas are proposed. On Tue, Aug 14, 2007 at 02:08:01PM +1000, Matthew Joyce wrote: > Good advice. > > > I'm happy to say we can tick most of those boxes. > For logs I've been using the free Splunk, quite handy for post incident > forensics. > > I'd also add : > Pay attention to host parents and service dependencies. > Getting them right can be the difference between knowing what is going > on and a notification blizzard. > > I'd also propose only monitoring what you need to, seems obvious but > it's easy to start monitoring because you can. > > Matthew Joyce > 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for > Medical Research > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > > Of Russell Adams > > Sent: Tuesday, 14 August 2007 10:17 AM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Nagios best practices? > > > > My $0.02: > > > > Use a text editor and version control. > > > > Minimize and automate as much as practical. > > > > Try out NACE. Make a template, setup a query to find systems to > > apply it to. Don't be the administrative bottleneck when systems > > need to be added, or they won't be. Set standards and let > > automation do the work for you. > > > > Make sure you have two methods for notification. Email is good, > > backup IXO/TAP/SMS via modem on POTS is better (Sendpage). > > > > Have a dedicated UPS on your Nagios system. Power's out, > > notifications continue. > > > > Use a trending (Torrus) and log monitoring (Syslog-ng & Logmuncher) > > tool in conjunction with Nagios to ensure all your bases are > > covered. Tie them in to use Nagios notification engine as needed. > > > > Consider using SNMP for common checks on platforms with decent > > snmpd's (Linux, Windows 2000+, AIX 5.3, etc). This saves you from > > deploying NRPE everywhere, minimizing the client side software. > > (This'll start a flame war, so I'll point out you should only use > > SNMP on an internal network and use host ACL's to confine SNMP to > > read only queries from the Nagios server and one alternate for > > upgrades. ) Check out Patrick Proy's snmp plugins, > > http://nagios.manubulon.com/ . > > > > Choose what you monitor and how you notify carefully. Apathy caused > > by too many off hours notifications is a real problem when that > > important message goes out. I'd suggest email for all > > notifications, but SMS only for critical services in a critical > > state. > > > > Good luck! > > > > On Mon, Aug 13, 2007 at 09:30:19PM +0100, Jim Avery wrote: > > > On 13/08/07, Steve Huff wrote: > > > > Hello folks! > > > > > > > > I'd like to roll out Nagios to replace our aging Mon > > installation; > > > > however, setting up Nagios has been more difficult than I had > > > > expected, which makes me wonder if I'm going about it the > > wrong way. > > > > > > > > Can you recommend a Nagios best practices document or howto? > > > > > > The relevant page in the official Nagios documentation you need to > > > look for is "Time-Saving Tricks For Object Definitions". I > > would give > > > you the url, but for some reason I can't get to that page > > just at the > > > moment. > > > > > > An excellent introduction to Nagios which goes through how to > > > configure it is the book 'Nagios' by Wolfgang Barth published by > > > NoStarch Press. You can buy it online in .pdf form, > > printed form or > > > both. It's getting slightly dated now, but IMO it's an easier read > > > than some of the alternatives if you're just starting out. > > > > > > Using hostgroups and templates judiciously you should be able to > > > achieve what you want pretty easily. My recommendation would be to > > > start with a simple config and expand from there rather > > than trying to > > > do everything at once. > > > > > > hth, > > > > > > Jim > > > > > > > > ---------------------------------------------------------------------- > > > --- This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX > > and a browser. > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and > > OS when reporting any issue. > > > ::: Messages without supporting info will risk being sent > > to /dev/null > > ------------------------------------------------------------------ > > Russell Adams RLAdams at AdamsInfoServ.com > > > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mitchbarney at yahoo.com Thu Aug 16 00:21:54 2007 From: mitchbarney at yahoo.com (Mitch Barney) Date: Wed, 15 Aug 2007 15:21:54 -0700 (PDT) Subject: CGI Banners Message-ID: <711711.38317.qm@web90601.mail.mud.yahoo.com> Does anybody have any experience in putting headers and footers on Nagios generated web pages? I have a security requirement to label each page based on its content and can't seem to get the .ssi capability to work. I am running 2.7. 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 ajitabhpandey at gmail.com Thu Aug 16 03:18:34 2007 From: ajitabhpandey at gmail.com (Ajitabh Pandey) Date: Thu, 16 Aug 2007 06:48:34 +0530 Subject: Nagios fails the SNMP check, command line works fine In-Reply-To: <46C3661C.7010001@amd.com> References: <46C2F5F2.2020409@gmail.com> <46C3661C.7010001@amd.com> Message-ID: <46C3A5EA.3010509@gmail.com> Tom Nail wrote: > Ajitabh, > does your target machine have an SNMP v3 secName/password set up for the > nagios user? This sounds suspiciously like a permissions problem. Try this: > > su -l nagios -c "snmpwalk -v 3 -u nagios -X target_host" > I will try that today though I doubt that it will work. I am not sure whether windows supports SNMP 3 or not. I have verifiedin the security tab on SNMP services properties dialogue that the nagios hosts is allowed to connect using 'public' read-only community string. All the monitored machines are windows 2003 and 2000 servers. Running windows SNMP service and Domino SNMP agent. > And see what it returns. > cheers, > - -=Tom Nail > Ajitabh Pandey wrote: > >> Hi, >> I am facing a very strange problem. This problem is only on certain >> hosts. The monitored hosts are a mix of win2k and win2003 servers with >> SNMP enabled. >> >> When I run the plugins from command line (see below): >> ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MJoyce at ccia.unsw.edu.au Thu Aug 16 03:51:49 2007 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Thu, 16 Aug 2007 11:51:49 +1000 Subject: Nagios best practices? Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6A029A8763@mail01.ccia.local> I agree and would be happy to contribute. Also, v3 is going to bring some changes regarding config options and strategies, having some best practices available will be useful for the transition. I'm not saying BPs will necessarily change, but ways to achieve them might. I for one hope service dependencies will become less long winded and more flexible. (grumble) Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Russell Adams > Sent: Thursday, 16 August 2007 8:08 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios best practices? > > We should start a list of these on the Wiki (we do have a > wiki now, right?). > > I'd be curious to see what feedback is received and what > other ideas are proposed. > > On Tue, Aug 14, 2007 at 02:08:01PM +1000, Matthew Joyce wrote: > > Good advice. > > > > > > I'm happy to say we can tick most of those boxes. > > For logs I've been using the free Splunk, quite handy for post > > incident forensics. > > > > I'd also add : > > Pay attention to host parents and service dependencies. > > Getting them right can be the difference between knowing > what is going > > on and a notification blizzard. > > > > I'd also propose only monitoring what you need to, seems > obvious but > > it's easy to start monitoring because you can. > > > > Matthew Joyce > > 02 9382 0051 | IT Manager | Children's Cancer Institute > Australia for > > Medical Research > > > > > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net > > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of > > > Russell Adams > > > Sent: Tuesday, 14 August 2007 10:17 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Nagios best practices? > > > > > > My $0.02: > > > > > > Use a text editor and version control. > > > > > > Minimize and automate as much as practical. > > > > > > Try out NACE. Make a template, setup a query to find systems to > > > apply it to. Don't be the administrative bottleneck > when systems > > > need to be added, or they won't be. Set standards and let > > > automation do the work for you. > > > > > > Make sure you have two methods for notification. Email is good, > > > backup IXO/TAP/SMS via modem on POTS is better (Sendpage). > > > > > > Have a dedicated UPS on your Nagios system. Power's out, > > > notifications continue. > > > > > > Use a trending (Torrus) and log monitoring (Syslog-ng > & Logmuncher) > > > tool in conjunction with Nagios to ensure all your bases are > > > covered. Tie them in to use Nagios notification engine > as needed. > > > > > > Consider using SNMP for common checks on platforms with decent > > > snmpd's (Linux, Windows 2000+, AIX 5.3, etc). This > saves you from > > > deploying NRPE everywhere, minimizing the client side software. > > > (This'll start a flame war, so I'll point out you > should only use > > > SNMP on an internal network and use host ACL's to > confine SNMP to > > > read only queries from the Nagios server and one alternate for > > > upgrades. ) Check out Patrick Proy's snmp plugins, > > > http://nagios.manubulon.com/ . > > > > > > Choose what you monitor and how you notify carefully. > Apathy caused > > > by too many off hours notifications is a real problem when that > > > important message goes out. I'd suggest email for all > > > notifications, but SMS only for critical services in a critical > > > state. > > > > > > Good luck! > > > > > > On Mon, Aug 13, 2007 at 09:30:19PM +0100, Jim Avery wrote: > > > > On 13/08/07, Steve Huff wrote: > > > > > Hello folks! > > > > > > > > > > I'd like to roll out Nagios to replace our aging Mon > > > installation; > > > > > however, setting up Nagios has been more difficult than I had > > > > > expected, which makes me wonder if I'm going about it the > > > wrong way. > > > > > > > > > > Can you recommend a Nagios best practices document or howto? > > > > > > > > The relevant page in the official Nagios documentation > you need to > > > > look for is "Time-Saving Tricks For Object Definitions". I > > > would give > > > > you the url, but for some reason I can't get to that page > > > just at the > > > > moment. > > > > > > > > An excellent introduction to Nagios which goes through how to > > > > configure it is the book 'Nagios' by Wolfgang Barth > published by > > > > NoStarch Press. You can buy it online in .pdf form, > > > printed form or > > > > both. It's getting slightly dated now, but IMO it's an easier > > > > read than some of the alternatives if you're just starting out. > > > > > > > > Using hostgroups and templates judiciously you should > be able to > > > > achieve what you want pretty easily. My recommendation > would be > > > > to start with a simple config and expand from there rather > > > than trying to > > > > do everything at once. > > > > > > > > hth, > > > > > > > > Jim > > > > > > > > > > > > -------------------------------------------------------------------- > > > -- > > > > --- This SF.net email is sponsored by: Splunk Inc. > > > > Still grepping through log files to find problems? Stop. > > > > Now Search log events and configuration files using AJAX > > > and a browser. > > > > Download your FREE copy of Splunk now >> > http://get.splunk.com/ > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and > > > OS when reporting any issue. > > > > ::: Messages without supporting info will risk being sent > > > to /dev/null > > > ------------------------------------------------------------------ > > > Russell Adams RLAdams at AdamsInfoServ.com > > > > > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > > > > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > > > > > > > > ---------------------------------------------------------------------- > > --- This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX > and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > ------------------------------------------------------------------ > Russell Adams RLAdams at AdamsInfoServ.com > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and > a browser. > Download your FREE copy of Splunk now >> > http://get.splunk.com/ _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 RLAdams at AdamsInfoServ.Com Thu Aug 16 04:48:59 2007 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Wed, 15 Aug 2007 21:48:59 -0500 Subject: Nagios best practices? In-Reply-To: <20070815220736.GA19830@odin.demosthenes.org> References: <2A67EA781EC7F949A2AB0A0D07A86C6A029A84B4@mail01.ccia.local> <20070815220736.GA19830@odin.demosthenes.org> Message-ID: <20070816024859.GA21057@odin.demosthenes.org> So, there's a wiki on NagiosExchange, and NagiosCommunity. Does someone have a preference? Which is more popular? I'd be happy to start a topic. On Wed, Aug 15, 2007 at 05:07:36PM -0500, Russell Adams wrote: > We should start a list of these on the Wiki (we do have a wiki now, > right?). > > I'd be curious to see what feedback is received and what other ideas > are proposed. > > On Tue, Aug 14, 2007 at 02:08:01PM +1000, Matthew Joyce wrote: > > Good advice. > > > > > > I'm happy to say we can tick most of those boxes. > > For logs I've been using the free Splunk, quite handy for post incident > > forensics. > > > > I'd also add : > > Pay attention to host parents and service dependencies. > > Getting them right can be the difference between knowing what is going > > on and a notification blizzard. > > > > I'd also propose only monitoring what you need to, seems obvious but > > it's easy to start monitoring because you can. > > > > Matthew Joyce > > 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for > > Medical Research > > > > > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net > > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > > > Of Russell Adams > > > Sent: Tuesday, 14 August 2007 10:17 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Nagios best practices? > > > > > > My $0.02: > > > > > > Use a text editor and version control. > > > > > > Minimize and automate as much as practical. > > > > > > Try out NACE. Make a template, setup a query to find systems to > > > apply it to. Don't be the administrative bottleneck when systems > > > need to be added, or they won't be. Set standards and let > > > automation do the work for you. > > > > > > Make sure you have two methods for notification. Email is good, > > > backup IXO/TAP/SMS via modem on POTS is better (Sendpage). > > > > > > Have a dedicated UPS on your Nagios system. Power's out, > > > notifications continue. > > > > > > Use a trending (Torrus) and log monitoring (Syslog-ng & Logmuncher) > > > tool in conjunction with Nagios to ensure all your bases are > > > covered. Tie them in to use Nagios notification engine as needed. > > > > > > Consider using SNMP for common checks on platforms with decent > > > snmpd's (Linux, Windows 2000+, AIX 5.3, etc). This saves you from > > > deploying NRPE everywhere, minimizing the client side software. > > > (This'll start a flame war, so I'll point out you should only use > > > SNMP on an internal network and use host ACL's to confine SNMP to > > > read only queries from the Nagios server and one alternate for > > > upgrades. ) Check out Patrick Proy's snmp plugins, > > > http://nagios.manubulon.com/ . > > > > > > Choose what you monitor and how you notify carefully. Apathy caused > > > by too many off hours notifications is a real problem when that > > > important message goes out. I'd suggest email for all > > > notifications, but SMS only for critical services in a critical > > > state. > > > > > > Good luck! > > > > > > On Mon, Aug 13, 2007 at 09:30:19PM +0100, Jim Avery wrote: > > > > On 13/08/07, Steve Huff wrote: > > > > > Hello folks! > > > > > > > > > > I'd like to roll out Nagios to replace our aging Mon > > > installation; > > > > > however, setting up Nagios has been more difficult than I had > > > > > expected, which makes me wonder if I'm going about it the > > > wrong way. > > > > > > > > > > Can you recommend a Nagios best practices document or howto? > > > > > > > > The relevant page in the official Nagios documentation you need to > > > > look for is "Time-Saving Tricks For Object Definitions". I > > > would give > > > > you the url, but for some reason I can't get to that page > > > just at the > > > > moment. > > > > > > > > An excellent introduction to Nagios which goes through how to > > > > configure it is the book 'Nagios' by Wolfgang Barth published by > > > > NoStarch Press. You can buy it online in .pdf form, > > > printed form or > > > > both. It's getting slightly dated now, but IMO it's an easier read > > > > than some of the alternatives if you're just starting out. > > > > > > > > Using hostgroups and templates judiciously you should be able to > > > > achieve what you want pretty easily. My recommendation would be to > > > > start with a simple config and expand from there rather > > > than trying to > > > > do everything at once. > > > > > > > > hth, > > > > > > > > Jim > > > > > > > > > > > ---------------------------------------------------------------------- > > > > --- This SF.net email is sponsored by: Splunk Inc. > > > > Still grepping through log files to find problems? Stop. > > > > Now Search log events and configuration files using AJAX > > > and a browser. > > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and > > > OS when reporting any issue. > > > > ::: Messages without supporting info will risk being sent > > > to /dev/null > > > ------------------------------------------------------------------ > > > Russell Adams RLAdams at AdamsInfoServ.com > > > > > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > > > > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------ > Russell Adams RLAdams at AdamsInfoServ.com > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 16 08:15:47 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Thu, 16 Aug 2007 02:15:47 -0400 Subject: Nagios best practices? In-Reply-To: <20070816024859.GA21057@odin.demosthenes.org> References: <2A67EA781EC7F949A2AB0A0D07A86C6A029A84B4@mail01.ccia.local> <20070815220736.GA19830@odin.demosthenes.org> <20070816024859.GA21057@odin.demosthenes.org> Message-ID: Personally, I would like to see the NagiosCommunity wiki become more populated. I would assume it would be moderated by at least Ethan which would assist keeping high integrety. and he has been keeping the Blog updated with some interesting articals and events. I am hoping to find some time in the next few weeks to put together some overview documentation on NC_net and Windows monitoring to contribute. I think it would be nice if any SNMP experts could contribute something to help SNMP beginers get there feet wet. tony (author of NC_Net) On 8/15/07, Russell Adams wrote: > So, there's a wiki on NagiosExchange, and NagiosCommunity. > > Does someone have a preference? Which is more popular? > > I'd be happy to start a topic. > > On Wed, Aug 15, 2007 at 05:07:36PM -0500, Russell Adams wrote: > > We should start a list of these on the Wiki (we do have a wiki now, > > right?). > > > > I'd be curious to see what feedback is received and what other ideas > > are proposed. > > > > On Tue, Aug 14, 2007 at 02:08:01PM +1000, Matthew Joyce wrote: > > > Good advice. > > > > > > > > > I'm happy to say we can tick most of those boxes. > > > For logs I've been using the free Splunk, quite handy for post > incident > > > forensics. > > > > > > I'd also add : > > > Pay attention to host parents and service dependencies. > > > Getting them right can be the difference between knowing what is going > > > on and a notification blizzard. > > > > > > I'd also propose only monitoring what you need to, seems obvious but > > > it's easy to start monitoring because you can. > > > > > > Matthew Joyce > > > 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for > > > Medical Research > > > > > > > > > > -----Original Message----- > > > > From: nagios-users-bounces at lists.sourceforge.net > > > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > > > > Of Russell Adams > > > > Sent: Tuesday, 14 August 2007 10:17 AM > > > > To: nagios-users at lists.sourceforge.net > > > > Subject: Re: [Nagios-users] Nagios best practices? > > > > > > > > My $0.02: > > > > > > > > Use a text editor and version control. > > > > > > > > Minimize and automate as much as practical. > > > > > > > > Try out NACE. Make a template, setup a query to find systems to > > > > apply it to. Don't be the administrative bottleneck when systems > > > > need to be added, or they won't be. Set standards and let > > > > automation do the work for you. > > > > > > > > Make sure you have two methods for notification. Email is good, > > > > backup IXO/TAP/SMS via modem on POTS is better (Sendpage). > > > > > > > > Have a dedicated UPS on your Nagios system. Power's out, > > > > notifications continue. > > > > > > > > Use a trending (Torrus) and log monitoring (Syslog-ng & > Logmuncher) > > > > tool in conjunction with Nagios to ensure all your bases are > > > > covered. Tie them in to use Nagios notification engine as needed. > > > > > > > > Consider using SNMP for common checks on platforms with decent > > > > snmpd's (Linux, Windows 2000+, AIX 5.3, etc). This saves you from > > > > deploying NRPE everywhere, minimizing the client side software. > > > > (This'll start a flame war, so I'll point out you should only use > > > > SNMP on an internal network and use host ACL's to confine SNMP to > > > > read only queries from the Nagios server and one alternate for > > > > upgrades. ) Check out Patrick Proy's snmp plugins, > > > > http://nagios.manubulon.com/ . > > > > > > > > Choose what you monitor and how you notify carefully. Apathy > caused > > > > by too many off hours notifications is a real problem when that > > > > important message goes out. I'd suggest email for all > > > > notifications, but SMS only for critical services in a critical > > > > state. > > > > > > > > Good luck! > > > > > > > > On Mon, Aug 13, 2007 at 09:30:19PM +0100, Jim Avery wrote: > > > > > On 13/08/07, Steve Huff wrote: > > > > > > Hello folks! > > > > > > > > > > > > I'd like to roll out Nagios to replace our aging Mon > > > > installation; > > > > > > however, setting up Nagios has been more difficult than I had > > > > > > expected, which makes me wonder if I'm going about it the > > > > wrong way. > > > > > > > > > > > > Can you recommend a Nagios best practices document or howto? > > > > > > > > > > The relevant page in the official Nagios documentation you need to > > > > > look for is "Time-Saving Tricks For Object Definitions". I > > > > would give > > > > > you the url, but for some reason I can't get to that page > > > > just at the > > > > > moment. > > > > > > > > > > An excellent introduction to Nagios which goes through how to > > > > > configure it is the book 'Nagios' by Wolfgang Barth published by > > > > > NoStarch Press. You can buy it online in .pdf form, > > > > printed form or > > > > > both. It's getting slightly dated now, but IMO it's an easier > read > > > > > than some of the alternatives if you're just starting out. > > > > > > > > > > Using hostgroups and templates judiciously you should be able to > > > > > achieve what you want pretty easily. My recommendation would be > to > > > > > start with a simple config and expand from there rather > > > > than trying to > > > > > do everything at once. > > > > > > > > > > hth, > > > > > > > > > > Jim > > > > > > > > > > > > > > > ---------------------------------------------------------------------- > > > > > --- This SF.net email is sponsored by: Splunk Inc. > > > > > Still grepping through log files to find problems? Stop. > > > > > Now Search log events and configuration files using AJAX > > > > and a browser. > > > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ::: Please include Nagios version, plugin version (-v) and > > > > OS when reporting any issue. > > > > > ::: Messages without supporting info will risk being sent > > > > to /dev/null > > > > ------------------------------------------------------------------ > > > > Russell Adams RLAdams at AdamsInfoServ.com > > > > > > > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > > > > > > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > > > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a > browser. > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------ > > Russell Adams RLAdams at AdamsInfoServ.com > > > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------ > Russell Adams RLAdams at AdamsInfoServ.com > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 sukesh.v at jigrahak.com Thu Aug 16 08:27:20 2007 From: sukesh.v at jigrahak.com (Sukesh /IT/BLR/JIG/IN) Date: Thu, 16 Aug 2007 11:57:20 +0530 Subject: SMTP problem Message-ID: Hi Please let me know how to configure SMTP settings in Nagios. Unable to receive e-mail alerts in nagios. -------------- 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 sukesh.v at jigrahak.com Thu Aug 16 08:33:14 2007 From: sukesh.v at jigrahak.com (Sukesh /IT/BLR/JIG/IN) Date: Thu, 16 Aug 2007 12:03:14 +0530 Subject: SMTP problem In-Reply-To: References: Message-ID: Hi Please let me know how to configure SMTP settings in Nagios. Unable to receive e-mail alerts in nagios. Using this version nagios-3.0a4. -------------- 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 lev at ivt.com.au Thu Aug 16 08:30:22 2007 From: lev at ivt.com.au (Lev Lafayette) Date: Thu, 16 Aug 2007 16:30:22 +1000 Subject: SMTP problem In-Reply-To: References: Message-ID: <1187245822.5913.27.camel@ubuntu> On Thu, 2007-08-16 at 12:03 +0530, Sukesh /IT/BLR/JIG/IN wrote: > Hi Please let me know how to configure SMTP settings in Nagios. > > Unable to receive e-mail alerts in nagios. Using this version > > > > nagios-3.0a4. > Edit /etc/nagios/contacs.cfg and follow the sample. # 'nagios' contact definition #define contact{ # contact_name nagios # alias Nagios Admin # service_notification_period 24x7 # host_notification_period 24x7 # service_notification_options w,u,c,r # host_notification_options d,u,r # service_notification_commands notify-by-email,notify-by-epager # host_notification_commands host-notify-by-email,host-notify-by-epager # email nagios-admin at localhost.localdomain # pager pagenagios-admin at localhost.localdomain # } -- Lev Lafayette Internet Vision Technologies Level 1, 520 Dorset Road Croydon, VIC 3136 Ph: +61 3 9723 9399 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shivkumar at outbackwifi.com Thu Aug 16 11:44:09 2007 From: shivkumar at outbackwifi.com (Shivkumar) Date: Thu, 16 Aug 2007 15:14:09 +0530 Subject: SMTP problem In-Reply-To: References: Message-ID: <46C41C69.1030007@outbackwifi.com> AFAIK, Nagios has got nothing to do with SMTP. Your question should probably be re-phrased as "How do I configure an MTA on my server"? This would throw up a new can of worms and this is not the list to post that on. You are better off on your OS how-to or FAQ. Just try sending out a simple mail from the command line and then come back and ask here if Nagios isnt able to do the same. Regards, Shiv Sukesh /IT/BLR/JIG/IN said the following: > > Hi Please let me know how to configure SMTP settings in Nagios. > > Unable to receive e-mail alerts in nagios. Using this version > > > > nagios-3.0a4. > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 digolinopage at yahoo.com.br Thu Aug 16 13:32:55 2007 From: digolinopage at yahoo.com.br (Rodrigo Tavares) Date: Thu, 16 Aug 2007 08:32:55 -0300 (ART) Subject: Error in configuration file in hosts.cfg Message-ID: <79191.596.qm@web56312.mail.re3.yahoo.com> Hello, See the file hosts.cfg below : # Generic host definition template define host{ name generic-host ; The name of this host template - referenced in other host definitions, used for template recursion notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 0 ; Host event handler is disabled flap_detection_enabled 0 ; Flap detection is disabled 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 - ITS NOT A REAL HOST, JUST A TEMPLATE! } # Default gateway host definition define host{ use generic-host ; Name of host template to use host_name ogromovel alias Ogro address 192.168.1.90 check_command check-host-alive max_check_attempts 20 notification_interval 60 notification_period 24x7 notification_options d,u,r } When I run the command : ./bin/nagios -v /usr/local/nagios/etc/hosts.cfg Come this merror messenger: Error in configuration file '/usr/local/nagios/etc/hosts.cfg' - Line 3 (NULL value) The explication isn't clear. Cab I resolve it ? Best regards, Rodrigo Faria Flickr agora em portugu?s. Voc? clica, todo mundo v?. http://www.flickr.com.br/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From traxplayer at gmail.com Thu Aug 16 14:32:47 2007 From: traxplayer at gmail.com (=?ISO-8859-1?Q?Martin_M=F8ller_Skarbiniks_Pedersen?=) Date: Thu, 16 Aug 2007 14:32:47 +0200 Subject: hostextinfo help Message-ID: Hi, Suddenly my hostextinfo.cfg is not working. Anyone has an idea what can be wrong ? Thanks. My DocumentRoot is /usr/share/nagios/htdocs/ sirius:/etc/nagios# nagios -v nagios.cfg Nagios 1.4 Copyright (c) 1999-2006 Ethan Galstad (nagios at nagios.org) Last Modified: 05-03-2006 License: GPL Reading configuration data... Error: Invalid object definition type 'hostextinfo' in file '/etc/nagios/hostextinfo.cfg' on line 1. sirius:/etc/nagios# more hostextinfo.cfg define hostextinfo{ host_name sirius,UK_Nagios,seaccsrv1 icon_image rack_linux.png icon_image_alt nagios statusmap_image rack_linux.png } sirius:/etc/nagios# locate rack_linux.png /usr/share/nagios/htdocs/images/logos/rack_linux.png /usr/share/nagios/htdocs/images/rack_linux.png /usr/share/nagios/htdocs/rack_linux.png -- "All general statements are false." "If atheism is a religion, then not collecting stamps is a hobby." A: Fordi det ?ndrer r?kkef?lgen folk normalt kommunikerer p?. Q: Hvorfor er top-svar en d?rlig ting? A: Top-svar. Q: Hvad er det mest irriterende i e-mail? "We are all atheists about most of the gods that humanity has ever believed in. Some of us just go one god further." ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldrolia at bea.com Thu Aug 16 14:38:12 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Thu, 16 Aug 2007 05:38:12 -0700 Subject: do not receive mails for check_ping. Message-ID: <2402BA0C1F52594E8E271233F62EB6A904241CBB@repbex02.amer.bea.com> Hi, I am not receiving mails for ping checks. I am receiving mails for check-host-alive, check_ssh, databases checks n all other services. But I realized that I am not receiving any mails for an explicit ping check which I have defined for windows servers in services.cfg. Could anybody help me with this? Is it because as the ping check is already done in check-host-alive it does not send another mail for ping service check? But I do need mails in both the cases. Please help. With thanks, Lalita Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete 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 rfmohr at osc.edu Thu Aug 16 15:42:05 2007 From: rfmohr at osc.edu (Richard Mohr) Date: Thu, 16 Aug 2007 09:42:05 -0400 Subject: Error in configuration file in hosts.cfg In-Reply-To: <79191.596.qm@web56312.mail.re3.yahoo.com> References: <79191.596.qm@web56312.mail.re3.yahoo.com> Message-ID: <1187271725.4541.1.camel@squeak> On Thu, 2007-08-16 at 08:32 -0300, Rodrigo Tavares wrote: > When I run the command : > > ./bin/nagios -v /usr/local/nagios/etc/hosts.cfg > > Come this merror messenger: > > Error in configuration file > '/usr/local/nagios/etc/hosts.cfg' - Line 3 (NULL > value) I believe the problem is that you are trying to verify just the hosts.cfg file. When using the -v option, you need to pass it the name of the main nagios config file (typically nagios.cfg). -- Rick Mohr Systems Developer Ohio Supercomputer Center ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nicole.haehnel at gmx.net Thu Aug 16 15:47:54 2007 From: nicole.haehnel at gmx.net (=?ISO-8859-15?Q?Nicole_H=E4hnel?=) Date: Thu, 16 Aug 2007 15:47:54 +0200 Subject: Nagios 3.0b1 and perl check plugins Message-ID: <46C4558A.5080808@gmx.net> Hi, I'm trying nagios 3.0b1, all works fine, standard nagios-plugins... But some perl plugins (check_systime.pl, check_rsync, check_disk_snmp.pl) are driving me crazy. Within nagios, I get "Service check did not exit properly)". I tested as user nagios and root on command line and it worked. Any ideas would be appreciated. Thanks! Nicole ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From syd at ittagteam.com Thu Aug 16 15:50:41 2007 From: syd at ittagteam.com (Syd Alsobrook) Date: Thu, 16 Aug 2007 09:50:41 -0400 Subject: Nagios 3.0b1 and perl check plugins In-Reply-To: <46C4558A.5080808@gmx.net> References: <46C4558A.5080808@gmx.net> Message-ID: <200708160950.41652.syd@ittagteam.com> On Thursday 16 August 2007 09:47, Nicole H?hnel wrote: > I'm trying nagios 3.0b1, all works fine, standard nagios-plugins... > But some perl plugins (check_systime.pl, check_rsync, > check_disk_snmp.pl) are driving me crazy. > Within nagios, I get "Service check did not exit properly)". > I tested as user nagios and root on command line and it worked. I had the same issue. You will need to run without the embedded perl for now. Syd -- Syd Alsobrook IT Tag Team, Inc. 518-598-6025 http://www.ittagteam.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 chris.stankaitis at datawire.net Thu Aug 16 15:57:56 2007 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Thu, 16 Aug 2007 09:57:56 -0400 Subject: Opinion Sought... Essential Nagios 3rd Party Apps. Message-ID: <46C457E4.4070403@datawire.net> We have been using Nagios for a very long time, I have been running it under an older rev for a bit because everything has worked, and there have been no new features that my install has needed. However for various reasons we are now looking to upgrade to current. I would like some opinions of what the must have 3rd party apps are for nagios (beyond say NSCA) to make life easier for config, make nagios look prettier (some Ajax eye candy would be nice in the interface), extend information presented (graphs etc)... basically if your using an app... and your asking yourself why the heck don't they just put this into the main trunk of the program because we can't live without it then I would like to know about that app and investigate it for my own inclusion in my upgrade. Thanks for the recommendations in advanced. --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 Dimitry.Sapon at rbccm.com Thu Aug 16 16:04:15 2007 From: Dimitry.Sapon at rbccm.com (Sapon, Dimitry) Date: Thu, 16 Aug 2007 10:04:15 -0400 Subject: Opinion Sought... Essential Nagios 3rd Party Apps. In-Reply-To: <46C457E4.4070403@datawire.net> References: <46C457E4.4070403@datawire.net> Message-ID: <9A7C330414272D44AE4911C835702AAA0C075B@SXGM-003.fg.rbc.com> Chris, One application I can recommend right away is Groundwork. We use it here and for the most part it works great. As with any application (especially open source) there are features that would be great to have that aren't there at the moment but it still makes the administration of Nagios prettier and a touch easier. -Dimitry -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Chris Stankaitis Sent: Thursday, August 16, 2007 9:58 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Opinion Sought... Essential Nagios 3rd Party Apps. We have been using Nagios for a very long time, I have been running it under an older rev for a bit because everything has worked, and there have been no new features that my install has needed. However for various reasons we are now looking to upgrade to current. I would like some opinions of what the must have 3rd party apps are for nagios (beyond say NSCA) to make life easier for config, make nagios look prettier (some Ajax eye candy would be nice in the interface), extend information presented (graphs etc)... basically if your using an app... and your asking yourself why the heck don't they just put this into the main trunk of the program because we can't live without it then I would like to know about that app and investigate it for my own inclusion in my upgrade. Thanks for the recommendations in advanced. --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 email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message. Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser imm?diatement, par retour de courriel ou par un autre moyen. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nicole.haehnel at gmx.net Thu Aug 16 16:10:18 2007 From: nicole.haehnel at gmx.net (=?ISO-8859-1?Q?Nicole_H=E4hnel?=) Date: Thu, 16 Aug 2007 16:10:18 +0200 Subject: Nagios 3.0b1 and perl check plugins In-Reply-To: <200708160950.41652.syd@ittagteam.com> References: <46C4558A.5080808@gmx.net> <200708160950.41652.syd@ittagteam.com> Message-ID: <46C45ACA.6020102@gmx.net> Syd Alsobrook schrieb: > On Thursday 16 August 2007 09:47, Nicole H?hnel wrote: > >> I'm trying nagios 3.0b1, all works fine, standard nagios-plugins... >> But some perl plugins (check_systime.pl, check_rsync, >> check_disk_snmp.pl) are driving me crazy. >> Within nagios, I get "Service check did not exit properly)". >> I tested as user nagios and root on command line and it worked. >> > > I had the same issue. You will need to run without the embedded perl for now. > > Syd > > > Ok, I disabled embedded perl in nagios.cfg. But now nagios crashes when for example requesting to schedule a service check. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From syd at ittagteam.com Thu Aug 16 16:14:20 2007 From: syd at ittagteam.com (Syd Alsobrook) Date: Thu, 16 Aug 2007 10:14:20 -0400 Subject: Nagios 3.0b1 and perl check plugins In-Reply-To: <46C45ACA.6020102@gmx.net> References: <46C4558A.5080808@gmx.net> <200708160950.41652.syd@ittagteam.com> <46C45ACA.6020102@gmx.net> Message-ID: <200708161014.21061.syd@ittagteam.com> On Thursday 16 August 2007 10:10, Nicole H?hnel wrote: > Ok, I disabled embedded perl in nagios.cfg. > But now nagios crashes when for example requesting to schedule a service > check. When I had this problem I recompiled without embedded perl. Syd -- Syd Alsobrook IT Tag Team, Inc. 518-598-6025 http://www.ittagteam.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 nicole.haehnel at gmx.net Thu Aug 16 16:29:56 2007 From: nicole.haehnel at gmx.net (=?ISO-8859-1?Q?Nicole_H=E4hnel?=) Date: Thu, 16 Aug 2007 16:29:56 +0200 Subject: Nagios 3.0b1 and perl check plugins In-Reply-To: <200708161014.21061.syd@ittagteam.com> References: <46C4558A.5080808@gmx.net> <200708160950.41652.syd@ittagteam.com> <46C45ACA.6020102@gmx.net> <200708161014.21061.syd@ittagteam.com> Message-ID: <46C45F64.7090506@gmx.net> Syd Alsobrook schrieb: > On Thursday 16 August 2007 10:10, Nicole H?hnel wrote: > >> Ok, I disabled embedded perl in nagios.cfg. >> But now nagios crashes when for example requesting to schedule a service >> check. >> > > When I had this problem I recompiled without embedded perl. > > Syd > > > After recompiling nagios doesn't crash anymore. But now I get CRITICAL and "(null)" as status information. Nicole ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From digolinopage at yahoo.com.br Thu Aug 16 16:43:50 2007 From: digolinopage at yahoo.com.br (Rodrigo Tavares) Date: Thu, 16 Aug 2007 11:43:50 -0300 (ART) Subject: Error in configuration file in hosts.cfg In-Reply-To: <1187271725.4541.1.camel@squeak> References: <1187271725.4541.1.camel@squeak> Message-ID: <43458.31130.qm@web56310.mail.re3.yahoo.com> Hello Richard, Now, I run the command with nagios.cfg, then th I have to create escalations.cfg, then i created the servers dile, but come this error: Error: Could not open config directory '/usr/local/nagios/etc/servers' for reading. I gave 777 for the file, and changed file's user for nagios, both without success. Can I resolve this trouble ? Best regards, Rodrigo Faria --- Richard Mohr escreveu: > On Thu, 2007-08-16 at 08:32 -0300, Rodrigo Tavares > wrote: > > > When I run the command : > > > > ./bin/nagios -v /usr/local/nagios/etc/hosts.cfg > > > > Come this merror messenger: > > > > Error in configuration file > > '/usr/local/nagios/etc/hosts.cfg' - Line 3 (NULL > > value) > > I believe the problem is that you are trying to > verify just the > hosts.cfg file. When using the -v option, you need > to pass it the name > of the main nagios config file (typically > nagios.cfg). > > -- > Rick Mohr > Systems Developer > Ohio Supercomputer Center > > Flickr agora em portugu?s. Voc? clica, todo mundo v?. http://www.flickr.com.br/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From syd at ittagteam.com Thu Aug 16 16:54:50 2007 From: syd at ittagteam.com (Syd Alsobrook) Date: Thu, 16 Aug 2007 10:54:50 -0400 Subject: Nagios 3.0b1 and perl check plugins In-Reply-To: <46C45F64.7090506@gmx.net> References: <46C4558A.5080808@gmx.net> <200708161014.21061.syd@ittagteam.com> <46C45F64.7090506@gmx.net> Message-ID: <200708161054.50970.syd@ittagteam.com> On Thursday 16 August 2007 10:29, Nicole H?hnel wrote: > After recompiling nagios doesn't crash anymore. > But now I get CRITICAL and "(null)" as status information. Odd, all my status information cleaned right up after I did this. Is this a custom plugin or a base one? Syd -- Syd Alsobrook IT Tag Team, Inc. 518-598-6025 http://www.ittagteam.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 marc at ena.com Thu Aug 16 17:19:44 2007 From: marc at ena.com (Marc Powell) Date: Thu, 16 Aug 2007 10:19:44 -0500 Subject: do not receive mails for check_ping. In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A904241CBB@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A904241CBB@repbex02.amer.bea.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Lalita Drolia > Sent: Thursday, August 16, 2007 7:38 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] do not receive mails for check_ping. > > Hi, > > I am not receiving mails for ping checks. > > I am receiving mails for check-host-alive, check_ssh, databases checks n > all other services. > > But I realized that I am not receiving any mails for an explicit ping > check which I have defined for windows servers in services.cfg. > > > > Could anybody help me with this? Is it because as the ping check is > already done in check-host-alive it does not send another mail for ping > service check? Probably. See the first section of http://nagios.sourceforge.net/docs/2_0/networkreachability.html. Sounds like you might need to add the service PING contacts to the host 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 marc at ena.com Thu Aug 16 17:24:22 2007 From: marc at ena.com (Marc Powell) Date: Thu, 16 Aug 2007 10:24:22 -0500 Subject: hostextinfo help 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 Martin M?ller Skarbiniks > Pedersen > Sent: Thursday, August 16, 2007 7:33 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] hostextinfo help > > Hi, > Suddenly my hostextinfo.cfg is not working. Anyone has an idea what > can be wrong ? > Thanks. > > My DocumentRoot is /usr/share/nagios/htdocs/ > > > sirius:/etc/nagios# nagios -v nagios.cfg > > Nagios 1.4 > Copyright (c) 1999-2006 Ethan Galstad (nagios at nagios.org) > Last Modified: 05-03-2006 > License: GPL > > Reading configuration data... > > Error: Invalid object definition type 'hostextinfo' in file > '/etc/nagios/hostextinfo.cfg' on line 1. How do you have this file defined in nagios.cfg? Should be cfg_file. Otherwise I'd say you have some non-printable character inserted somewhere within the word 'hostextinfo'. -- 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 Aug 16 17:26:32 2007 From: marc at ena.com (Marc Powell) Date: Thu, 16 Aug 2007 10:26:32 -0500 Subject: Nagios 3.0b1 and perl check plugins In-Reply-To: <200708160950.41652.syd@ittagteam.com> References: <200708160950.41652.syd@ittagteam.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Syd Alsobrook > Sent: Thursday, August 16, 2007 8:51 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios 3.0b1 and perl check plugins > > On Thursday 16 August 2007 09:47, Nicole H?hnel wrote: > > I'm trying nagios 3.0b1, all works fine, standard nagios-plugins... > > But some perl plugins (check_systime.pl, check_rsync, > > check_disk_snmp.pl) are driving me crazy. > > Within nagios, I get "Service check did not exit properly)". > > I tested as user nagios and root on command line and it worked. > > I had the same issue. You will need to run without the embedded perl for > now. Or make the plugins compatible with the embedded perl interpreter. Choosing to use ePN places special requirements on your perl plugins -- http://nagios.sourceforge.net/docs/2_0/embeddedperl.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 rfmohr at osc.edu Thu Aug 16 17:35:47 2007 From: rfmohr at osc.edu (Richard Mohr) Date: Thu, 16 Aug 2007 11:35:47 -0400 Subject: Error in configuration file in hosts.cfg In-Reply-To: <43458.31130.qm@web56310.mail.re3.yahoo.com> References: <43458.31130.qm@web56310.mail.re3.yahoo.com> Message-ID: <1187278547.4541.46.camel@squeak> On Thu, 2007-08-16 at 11:43 -0300, Rodrigo Tavares wrote: > Error: Could not open config directory > '/usr/local/nagios/etc/servers' for reading. It sounds like you created this file, but Nagios thinks it is a directory. Are you using "cfg_file" or "cfg_dir" in nagios.cfg? -- Rick Mohr Systems Developer Ohio Supercomputer Center ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmkeller at houseofzen.org Thu Aug 16 17:58:43 2007 From: jmkeller at houseofzen.org (James Michael Keller) Date: Thu, 16 Aug 2007 11:58:43 -0400 Subject: Availability CGI - problem with custom report period Message-ID: <46C47433.7000409@houseofzen.org> I'm having an issue with the avail.cgi on 2.6 If I set up a custom start and end date, unless the end date includes today or 2 days before today, no status log information is included in the report. If I run a 31 day report, year, etc Anything that would include today or today-2 works. Otherwise I get nothing returned in the host logs section and get a skewed report (all unknown or up/ok if I tell it to assume that). -- James Michael Keller ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Thu Aug 16 19:39:56 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Thu, 16 Aug 2007 18:39:56 +0100 Subject: Opinion Sought... Essential Nagios 3rd Party Apps. In-Reply-To: <46C457E4.4070403@datawire.net> References: <46C457E4.4070403@datawire.net> Message-ID: <46C48BEC.2000301@mailnetwork.co.uk> Hi Chris, I'm playing my own trumpet a bit here, but I started a project called Nagios Looking Glass - it's aim is to provide a prettier, read-only interface to users with the essentials "at-a-glance" without the complexity of the Nagios GUI. The view-switching between servers, services and network status all uses AJAX. The next major release series (2.x) promises to provide much more security features, and better views on the information that's in your Nagios system. Check out http://looking-glass.andyshellam.eu for a live demo, or www.nagioslookingglass.co.uk for the project website. Thanks, Andy. Chris Stankaitis wrote: > We have been using Nagios for a very long time, I have been running it > under an older rev for a bit because everything has worked, and there > have been no new features that my install has needed. However for > various reasons we are now looking to upgrade to current. > > I would like some opinions of what the must have 3rd party apps are for > nagios (beyond say NSCA) to make life easier for config, make nagios > look prettier (some Ajax eye candy would be nice in the interface), > extend information presented (graphs etc)... > > basically if your using an app... and your asking yourself why the heck > don't they just put this into the main trunk of the program because we > can't live without it then I would like to know about that app and > investigate it for my own inclusion in my upgrade. > > Thanks for the recommendations in advanced. > > --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 > > !DSPAM:37,46c45800107503214010152! > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu Aug 16 19:53:47 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 16 Aug 2007 18:53:47 +0100 Subject: Opinion Sought... Essential Nagios 3rd Party Apps. In-Reply-To: <46C457E4.4070403@datawire.net> References: <46C457E4.4070403@datawire.net> Message-ID: <765d77c80708161053h53b30c7y2ff09abf140f5ac7@mail.gmail.com> On 16/08/07, Chris Stankaitis wrote: > I would like some opinions of what the must have 3rd party apps are for > nagios ... The one I would always install is PNP http://www.ederdrom.de/doku.php/nagios/pnp_en for graphing performance information. It's a doddle to install and use and doesn't require a MySQL database (which could be a blessing or a curse depending on what you want to do). On larger installs, I'd definitely also install the Nagios Extended Status Map NexSM http://nexsm.gridshield.net/Overview.html - I found it fiddly to install but well worth it in the end. For prettification, I always install the Nuvola theme which can be found on http://nagiosexchange.org Another advantage is that with this theme it is easy to customise the Nagios menu. NagVis is worth a look if you want some really neat dashboards. I've played with this but not used it in anger yet. http://www.nagvis.org/doku.php I found it slightly tricky to set up as it requires MySQL and ndoutils, but once it's working it's very easy to use. I'm really just waiting for someone to ask me 'can you do a dashboard for...' so I can show it working properly. If you use Firefox, then NagiosChecker is worth a look for pop-up alerts. http://code.google.com/p/nagioschecker/ . Another thing I've been playing with lately is the notes_url directive for extended host and service information. I've been using Nvu to create help pages for systems and services so that when problems do appear, people can see some of the information they need to get them fixed. If you only have time to look at one of these, I'd recommend PNP. hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dimitry.Sapon at rbccm.com Thu Aug 16 19:53:56 2007 From: Dimitry.Sapon at rbccm.com (Sapon, Dimitry) Date: Thu, 16 Aug 2007 13:53:56 -0400 Subject: Opinion Sought... Essential Nagios 3rd PartyApps. In-Reply-To: <46C48BEC.2000301@mailnetwork.co.uk> References: <46C457E4.4070403@datawire.net> <46C48BEC.2000301@mailnetwork.co.uk> Message-ID: <9A7C330414272D44AE4911C835702AAA0C0761@SXGM-003.fg.rbc.com> Andy, In the future release, will it allow the ability to customize which hosts you want to view, maybe by viewing only certain host groups (by specifically choosing them or through some REGEX on the name)? Also, in terms of security, are you planning on implementing who can view what services based on the if they are a contact of that service/host? Regards, Dimitry -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Andy Shellam (Mailing Lists) Sent: Thursday, August 16, 2007 1:40 PM To: Chris Stankaitis Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Opinion Sought... Essential Nagios 3rd PartyApps. Hi Chris, I'm playing my own trumpet a bit here, but I started a project called Nagios Looking Glass - it's aim is to provide a prettier, read-only interface to users with the essentials "at-a-glance" without the complexity of the Nagios GUI. The view-switching between servers, services and network status all uses AJAX. The next major release series (2.x) promises to provide much more security features, and better views on the information that's in your Nagios system. Check out http://looking-glass.andyshellam.eu for a live demo, or www.nagioslookingglass.co.uk for the project website. Thanks, Andy. Chris Stankaitis wrote: > We have been using Nagios for a very long time, I have been running it > under an older rev for a bit because everything has worked, and there > have been no new features that my install has needed. However for > various reasons we are now looking to upgrade to current. > > I would like some opinions of what the must have 3rd party apps are > for nagios (beyond say NSCA) to make life easier for config, make > nagios look prettier (some Ajax eye candy would be nice in the > interface), extend information presented (graphs etc)... > > basically if your using an app... and your asking yourself why the > heck don't they just put this into the main trunk of the program > because we can't live without it then I would like to know about that > app and investigate it for my own inclusion in my upgrade. > > Thanks for the recommendations in advanced. > > --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 > > !DSPAM:37,46c45800107503214010152! > > > > ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message. Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser imm?diatement, par retour de courriel ou par un autre moyen. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Thu Aug 16 20:13:03 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Thu, 16 Aug 2007 19:13:03 +0100 Subject: Opinion Sought... Essential Nagios 3rd PartyApps. In-Reply-To: <9A7C330414272D44AE4911C835702AAA0C0761@SXGM-003.fg.rbc.com> References: <46C457E4.4070403@datawire.net> <46C48BEC.2000301@mailnetwork.co.uk> <9A7C330414272D44AE4911C835702AAA0C0761@SXGM-003.fg.rbc.com> Message-ID: <46C493AF.5050307@mailnetwork.co.uk> Hi Dimitry, Yep. NLG 2.0 release is code-named "Padlock" for this very reason! The main goal is purely on security, anything else I can get going will be a bonus, and it will feature a complete security model. In v2, you'll be able to create users and tag them to groups. Users can then be assigned to host- and/or service-groups, as well as hosts/services themselves. Users and individual groups will be able to have different permission levels, and if a user is defined in a group, but has explicit permissions on their username, the individual permissions will override that of the group (the way I see it at the moment, unless anyone has any objections / other ideas?) As for how it links in with Nagios, I'm not sure yet whether to pick up the contact group a user is in, or to leave NLG permissions completely separate to Nagios? In NLG 2, the view will also revolve around host/service groups as opposed to the hosts/services themselves. At the moment I'm thinking something along the lines of (in the network browser): - Network Status --- Web servers (host group) ----- Web 01 ----- Web 02 --- Mail servers (host group) ----- Mail 01 ----- Mail 02 --- Web services (service group) ----- www.websiteone.com on Web 01 ----- www.websiteone.com (user login) on Web 02 --- Mail services (service group) ----- SMTP server on Mail 01 ----- IMAP server on Mail 01 ----- IMAP server on Mail 02# Thoughts on any of the above, anyone? If you need anything quick in the meantime, NLG 1.0.6 features custom-filters, so you can only include certain hosts in the filter view filters. This only works on the hostname set in Nagios, and each host has to be explicitly set (i.e. it doesn't allow for regex's.) This was a quick-fix patch I put in for a user back in v1.0.2, and it became a popular requested feature so I put it in the trunk for the 1.0.6 release. Thanks, Andy. Sapon, Dimitry wrote: > Andy, > > In the future release, will it allow the ability to customize which > hosts you want to view, maybe by viewing only certain host groups (by > specifically choosing them or through some REGEX on the name)? > > Also, in terms of security, are you planning on implementing who can > view what services based on the if they are a contact of that > service/host? > > Regards, > Dimitry > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Andy > Shellam (Mailing Lists) > Sent: Thursday, August 16, 2007 1:40 PM > To: Chris Stankaitis > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Opinion Sought... Essential Nagios 3rd > PartyApps. > > Hi Chris, > > I'm playing my own trumpet a bit here, but I started a project called > Nagios Looking Glass - it's aim is to provide a prettier, read-only > interface to users with the essentials "at-a-glance" without the > complexity of the Nagios GUI. > > The view-switching between servers, services and network status all uses > AJAX. The next major release series (2.x) promises to provide much more > security features, and better views on the information that's in your > Nagios system. > > Check out http://looking-glass.andyshellam.eu for a live demo, or > www.nagioslookingglass.co.uk for the project website. > > Thanks, > > Andy. > > Chris Stankaitis wrote: > >> We have been using Nagios for a very long time, I have been running it >> > > >> under an older rev for a bit because everything has worked, and there >> have been no new features that my install has needed. However for >> various reasons we are now looking to upgrade to current. >> >> I would like some opinions of what the must have 3rd party apps are >> for nagios (beyond say NSCA) to make life easier for config, make >> nagios look prettier (some Ajax eye candy would be nice in the >> interface), extend information presented (graphs etc)... >> >> basically if your using an app... and your asking yourself why the >> heck don't they just put this into the main trunk of the program >> because we can't live without it then I would like to know about that >> app and investigate it for my own inclusion in my upgrade. >> >> Thanks for the recommendations in advanced. >> >> --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 > _______________________________________________________________________ > > This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. > Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. > This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message. > > Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent. > Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite. > Si vous recevez ce courriel par erreur, veuillez m'en aviser imm?diatement, par retour de courriel ou par un autre moyen. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,46c48f70107502617117797! > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lyyang at yahoo-inc.com Thu Aug 16 20:38:24 2007 From: lyyang at yahoo-inc.com (Lingyun Yang) Date: Thu, 16 Aug 2007 11:38:24 -0700 Subject: How do I check the services on remote machines Message-ID: <46C499A0.5060704@yahoo-inc.com> Hi: I am running nagios to monitoring a cluster. There are different kinds of services running on different machines. How could I use nagios to monitor the services on remote machines? I know I may need to write new plugins to check the service status. My question is: how could I send the service status back to nagios's machine. Do I need to write a client which running on the remote machine and send check results back to nagios periodically? or is there any existing nagios's figure supporting this functionality? thanks Lingyun ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Thu Aug 16 20:43:01 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Thu, 16 Aug 2007 19:43:01 +0100 Subject: How do I check the services on remote machines In-Reply-To: <46C499A0.5060704@yahoo-inc.com> References: <46C499A0.5060704@yahoo-inc.com> Message-ID: <46C49AB5.6010805@mailnetwork.co.uk> Hi Lingyun, Have a look at NRPE. Basically you run an NRPE daemon on the remote machines (which is configured with the commands to use.) You set up a service in Nagios to use check_nrpe to query the remote NRPE daemon. The NRPE daemon takes the command name to use, runs the command associated on the system, then sends the result back to Nagios, which determines if it was successful or not. You get the check_nrpe plugin by compiling NPRE (you just have to copy it to Nagios' libexec directory. Andy. Lingyun Yang wrote: > Hi: > I am running nagios to monitoring a cluster. There are different > kinds of services running on different machines. How could I use nagios > to monitor the services on remote machines? I know I may need to write > new plugins to check the service status. My question is: how could I > send the service status back to nagios's machine. Do I need to write a > client which running on the remote machine and send check results back > to nagios periodically? or is there any existing nagios's figure > supporting this functionality? > > thanks > Lingyun > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,46c499c8107501549885501! > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Prasad.Nagavekar at acs-hcs.com Thu Aug 16 20:47:37 2007 From: Prasad.Nagavekar at acs-hcs.com (Nagavekar, Prasad) Date: Thu, 16 Aug 2007 14:47:37 -0400 Subject: verify the connection of nagios an NDOUtils Message-ID: Hi I have installed nagios 3.x and a NDOUtils addon , on SUsue linux server . Also I have installed phpmyadmin to view and work with mysql database, I would like to know the procedure about testing the connection between nagios 3.x and mysql database which I have created with the help of NDOUtils . Thanks and Regards Prasad -------------- 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 jim at jimavery.me.uk Thu Aug 16 21:22:26 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 16 Aug 2007 20:22:26 +0100 Subject: How do I check the services on remote machines In-Reply-To: <46C49AB5.6010805@mailnetwork.co.uk> References: <46C499A0.5060704@yahoo-inc.com> <46C49AB5.6010805@mailnetwork.co.uk> Message-ID: <765d77c80708161222s7769b188i6754d3b9790b3270@mail.gmail.com> On 16/08/07, Andy Shellam (Mailing Lists) wrote: > Have a look at NRPE. I prefer to use NSCA myself, but there are pros and cons to both. As ever, you decide! ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From iaronov at aplia.com Thu Aug 16 21:40:36 2007 From: iaronov at aplia.com (Ilya Aronov) Date: Thu, 16 Aug 2007 12:40:36 -0700 Subject: nt_check COUNTER Message-ID: <9944600399DE9D4FAD17C60BB2D9ECE801AAF08C@exchbe1.aplia.corp> I am trying to retrieve SMTP counters from Windows 2003 server Command bellow returning -1, application log in Windows 2003 has error message "Category does not exist". In Perfmon I am able to see this counter though. I am able to get other counters from the same server in Nagios. What am I missing? define command{ command_name check_nt_counter_queuelength command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l "^SMTP Server^_Total^Remote Queue Length","Remote Queue Length %.2f" -w $ARG1$ -c $ARG2$ } Thanks Ilya -------------- 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 jim at jimavery.me.uk Thu Aug 16 21:44:35 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 16 Aug 2007 20:44:35 +0100 Subject: How do I check the services on remote machines In-Reply-To: <1187292743.13811.3.camel@localhost.localdomain> References: <46C499A0.5060704@yahoo-inc.com> <46C49AB5.6010805@mailnetwork.co.uk> <765d77c80708161222s7769b188i6754d3b9790b3270@mail.gmail.com> <1187292743.13811.3.camel@localhost.localdomain> Message-ID: <765d77c80708161244r529144a3u5fe986d9d8b2e900@mail.gmail.com> On 16/08/07, Donnell Lewis wrote: > I personally like the most secure way which is by using the check_by_ssh > plugin Is check_by_ssh more secure than nsca? I'd have thought nsca was more secure as no ports need to be 'open' on the server being monitored. I'm ready to stand corrected though. Cheers, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kevin at kevinkempterllc.com Thu Aug 16 21:45:04 2007 From: kevin at kevinkempterllc.com (Kevin Kempter) Date: Thu, 16 Aug 2007 13:45:04 -0600 Subject: Charting trends Message-ID: <200708161345.04799.kevin@kevinkempterllc.com> Hi List; In my last gig (a postgres shop) we used MRTG to run a number of queries that every 5 minutes tracked things like overall db size, table sizes, number of sequential scans vs. number of index scans, etc. With MRTG we were able to create a set of daily, monthly and YTD graphs that showed at a glance the growth or trends of these items. 2 questions: 1) I'm a total newbie when it comes to nagios, can I do the same thing with nagios and the postgres plugin ? 2) if I manage to run a set of queries outside of nagios can I use nagios to simply graph the data ? 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 matt at myacs.com Thu Aug 16 22:03:21 2007 From: matt at myacs.com (Matthew D. Baker) Date: Thu, 16 Aug 2007 15:03:21 -0500 Subject: Service escalation question Message-ID: <654F757D2DB8F84EAEA17F96E8AE775A055E60@bakergcex01.myacs.com> All, In the process of setting up service escalations to have warning notifications occur at a different frequency than critical notifications. With no service escalation defined, warning and critical notifications occur at the same frequency and both work fine. To test, I picked one service that is currently in a warning state and defined a service escalation for it. The service escalation only affects warning notifications for that service and does so for every warning notification....and it's working great...for that service. What's odd is for the first 24-48 hours it worked great for that service and didn't affect any other services. Starting this morning, however, if I have this service escalation defined (turned on), it works for the service I set it up for, but causes all other services to not send any warning or warning recovery notifications. Critical and critical recovery notifications continue to work fine. I have tested this several times now, and as soon as I remove the service escalation other warnings will cause a notification to go out just fine. I've stopped/restarted nagios as well as bounced the box with no change. I've double checked the rest of my configs and nothing is changed from what it's been for the last several weeks now. Haven't been able to turn up much when searching (yet). Any suggestions are welcome. Thanks! Matt -------------- 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 Aug 16 22:30:57 2007 From: marc at ena.com (Marc Powell) Date: Thu, 16 Aug 2007 15:30:57 -0500 Subject: Charting trends In-Reply-To: <200708161345.04799.kevin@kevinkempterllc.com> References: <200708161345.04799.kevin@kevinkempterllc.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Kevin Kempter > Sent: Thursday, August 16, 2007 2:45 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Charting trends > > Hi List; > > In my last gig (a postgres shop) we used MRTG to run a number of queries > that > every 5 minutes tracked things like overall db size, table sizes, number > of > sequential scans vs. number of index scans, etc. With MRTG we were able to > create a set of daily, monthly and YTD graphs that showed at a glance the > growth or trends of these items. > > 2 questions: > > 1) I'm a total newbie when it comes to nagios, can I do the same thing > with > nagios and the postgres plugin ? > > 2) if I manage to run a set of queries outside of nagios can I use nagios > to > simply graph the data ? Nagios itself only tracks and graphs states (OK, WARNING, CRITICAL, etc), not utilization data. Nagios does allow for external scripts to process performance data that may be reported by the plugin. There are a number of these third party-addons available such as APAN, n2rrd and others. http://nagiosexchange.org lists the most common. -- 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 lyyang at yahoo-inc.com Fri Aug 17 03:43:00 2007 From: lyyang at yahoo-inc.com (Lingyun Yang) Date: Thu, 16 Aug 2007 18:43:00 -0700 Subject: How do I check the services on remote machines In-Reply-To: <765d77c80708161244r529144a3u5fe986d9d8b2e900@mail.gmail.com> References: <46C499A0.5060704@yahoo-inc.com> <46C49AB5.6010805@mailnetwork.co.uk> <765d77c80708161222s7769b188i6754d3b9790b3270@mail.gmail.com> <1187292743.13811.3.camel@localhost.localdomain> <765d77c80708161244r529144a3u5fe986d9d8b2e900@mail.gmail.com> Message-ID: <46C4FD24.2070604@yahoo-inc.com> Hi guys: Thanks so much for the information. Your answers are very helpful. Lingyun Jim Avery wrote: > On 16/08/07, Donnell Lewis wrote: > >> I personally like the most secure way which is by using the check_by_ssh >> plugin >> > > Is check_by_ssh more secure than nsca? I'd have thought nsca was more > secure as no ports need to be 'open' on the server being monitored. > I'm ready to stand corrected though. > > Cheers, > > Jim > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Kevin.Branagan at infostream.com.au Fri Aug 17 04:09:21 2007 From: Kevin.Branagan at infostream.com.au (Kevin Branagan) Date: Fri, 17 Aug 2007 12:09:21 +1000 Subject: Getting the following error message from the nagios web interface, Message-ID: <46C50351.60800@infostream.com.au> *Hi All, Getting the following error message from the nagios web interface,* Whoops! *Error: Could not read host and service status information!* The most common cause of this error message (especially for new users), is the fact that Nagios is not actually running. If Nagios is indeed not running, this is a normal error message. It simply indicates that the CGIs could not obtain the current status of hosts and services that are being monitored. If you've just installed things, make sure you read the documentation on starting Nagios. Some other things you should check in order to resolve this error include: 1. Check the Nagios log file for messages relating to startup or status data errors. 2. Always verify configuration options using the *-v* command-line option before starting or restarting Nagios! 3. Make sure you've compiled the main program and the CGIs to use the same status data storage options (i.e. text file or database). If the main program is storing status data in a text file and the CGIs are trying to read status data from a database, you'll have problems. *If i do run the following command # ./nagios -v multinag.cfg i get the following, * root at rndpgt02 # ./nagios -v /opt/csw/nagios/etc/nagios.cfg Nagios 2.3.1 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 05-15-2006 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 95 services. Checking hosts... Checked 5 hosts. Checking host groups... Checked 2 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 2 contacts. Checking contact groups... *Warning: Contact group 'admin' is not used in any host/service definitions or host/service escalations!* Checked 2 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 47 commands. Checking time periods... Checked 4 time periods. Checking extended host info definitions... Checked 5 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 1 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check root at rndpgt02 # * What should be the location of the multinag.cfg file? * -------------- 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 Kevin.Branagan at infostream.com.au Fri Aug 17 04:21:54 2007 From: Kevin.Branagan at infostream.com.au (Kevin Branagan) Date: Fri, 17 Aug 2007 12:21:54 +1000 Subject: Getting the following error message from the nagios web interface, * Message-ID: <46C50642.1040802@infostream.com.au> *Hi All, Getting the following error message from the nagios web interface,** Whoops! *Error: Could not read host and service status information!* The most common cause of this error message (especially for new users), is the fact that Nagios is not actually running. If Nagios is indeed not running, this is a normal error message. It simply indicates that the CGIs could not obtain the current status of hosts and services that are being monitored. If you've just installed things, make sure you read the documentation on starting Nagios. Some other things you should check in order to resolve this error include: 1. Check the Nagios log file for messages relating to startup or status data errors. 2. Always verify configuration options using the *-v* command-line option before starting or restarting Nagios! 3. Make sure you've compiled the main program and the CGIs to use the same status data storage options (i.e. text file or database). If the main program is storing status data in a text file and the CGIs are trying to read status data from a database, you'll have problems. **If i do run the following command # ./nagios -v multinag.cfg i get the following, ** root at rndpgt02 # ./nagios -v /opt/csw/nagios/etc/nagios.cfg Nagios 2.3.1 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 05-15-2006 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 95 services. Checking hosts... Checked 5 hosts. Checking host groups... Checked 2 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 2 contacts. Checking contact groups... *Warning: Contact group 'admin' is not used in any host/service definitions or host/service escalations!* Checked 2 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 47 commands. Checking time periods... Checked 4 time periods. Checking extended host info definitions... Checked 5 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 1 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check root at rndpgt02 # ** What should be the location of the multinag.cfg file?* -------------- 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 sukesh.v at jigrahak.com Fri Aug 17 04:56:47 2007 From: sukesh.v at jigrahak.com (Sukesh /IT/BLR/JIG/IN) Date: Fri, 17 Aug 2007 08:26:47 +0530 Subject: Schedule reports Message-ID: Hi Please let me know how I can schedule and send daily available report by e-mail. Using nagios version nagios-3.0a4. Regards Sukesh -------------- 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 sukesh.v at jigrahak.com Fri Aug 17 05:07:23 2007 From: sukesh.v at jigrahak.com (Sukesh /IT/BLR/JIG/IN) Date: Fri, 17 Aug 2007 08:37:23 +0530 Subject: Disable warning messages Message-ID: Hi Please let me know how can I disable all warning alert by e-mail. Sukesh -------------- 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 sukesh.v at jigrahak.com Fri Aug 17 05:23:45 2007 From: sukesh.v at jigrahak.com (Sukesh /IT/BLR/JIG/IN) Date: Fri, 17 Aug 2007 08:53:45 +0530 Subject: send daily available report Message-ID: Hi Please let me know how can I send daily all availability report via e-mail. Using nagios 3.0.4 Regards -------------- 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 jtabasz at cisco.com Fri Aug 17 06:00:33 2007 From: jtabasz at cisco.com (John Tabasz (jtabasz)) Date: Thu, 16 Aug 2007 21:00:33 -0700 Subject: No hosts being monitored In-Reply-To: References: Message-ID: <999D9C7316770741A028EF2A88B8E46803A4FC25@xmb-sjc-22a.amer.cisco.com> This is a brand new setup. I have two remote hosts defined in the hosts.cfg file and in the hostgroups.cfg file. When I run ./nagios -v nagios.cfg the messages returned only indicate that there are only the localhost being monitored. Ditto with the web screens. Do I need to install nrpe on the remote hosts (clients) before even ping will work? Thanks, John -------------- 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 ldrolia at bea.com Fri Aug 17 06:32:53 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Thu, 16 Aug 2007 21:32:53 -0700 Subject: do not receive mails for check_ping. In-Reply-To: References: <2402BA0C1F52594E8E271233F62EB6A904241CBB@repbex02.amer.bea.com> Message-ID: <2402BA0C1F52594E8E271233F62EB6A904241E92@repbex02.amer.bea.com> I read the first section. I guess it means that if it is determined that a host is down then it does not check for its corresponding services and so I am not getting a mail. But I do still get a mail for databases and ssh going down. It is only for ping service check that I am not getting mails. I am sending mails for check-host-alive and check_ping to 2 different people and I cannot club them together. This is because in check-host-alive I get mails even a machine reboots and I do not want these mails. So I have introduced a delay in my service checks, as suggested by you Marc earlier. So on unix based machines im checking for ssh and on windows I am checking for ping. The ssh check triggers a mail rightly if a server goes down, how can I make this happen for ping check too? Please help, Thanks you, lalita -----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, August 16, 2007 8:50 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] do not receive mails for check_ping. > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Lalita Drolia > Sent: Thursday, August 16, 2007 7:38 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] do not receive mails for check_ping. > > Hi, > > I am not receiving mails for ping checks. > > I am receiving mails for check-host-alive, check_ssh, databases checks n > all other services. > > But I realized that I am not receiving any mails for an explicit ping > check which I have defined for windows servers in services.cfg. > > > > Could anybody help me with this? Is it because as the ping check is > already done in check-host-alive it does not send another mail for ping > service check? Probably. See the first section of http://nagios.sourceforge.net/docs/2_0/networkreachability.html. Sounds like you might need to add the service PING contacts to the host 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 Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete 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 huenseler at twt.de Fri Aug 17 06:37:21 2007 From: huenseler at twt.de (Dennis Huenseler) Date: Fri, 17 Aug 2007 06:37:21 +0200 Subject: No hosts being monitored References: <999D9C7316770741A028EF2A88B8E46803A4FC25@xmb-sjc-22a.amer.cisco.com> Message-ID: <8A793F1AC3ED7447B580082FCF608CF9CE5A96@twtexchange1.twt.intern> Hallo John, give us some more information. Which version of Nagios? Did you only define the hosts or did you additionally at least define one service like Ping for these hosts? Can you see the new defined hosts as pending in the overview ? @your question: nrpe is not needed for Ping checks of remote systems Kind regards, Dennis H?nseler From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of John Tabasz (jtabasz) Sent: Friday, August 17, 2007 6:01 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] No hosts being monitored This is a brand new setup. I have two remote hosts defined in the hosts.cfg file and in the hostgroups.cfg file. When I run ./nagios -v nagios.cfg the messages returned only indicate that there are only the localhost being monitored. Ditto with the web screens. Do I need to install nrpe on the remote hosts (clients) before even ping will work? Thanks, John -------------- 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 sukesh.v at jigrahak.com Fri Aug 17 06:52:55 2007 From: sukesh.v at jigrahak.com (Sukesh /IT/BLR/JIG/IN) Date: Fri, 17 Aug 2007 10:22:55 +0530 Subject: availability report Message-ID: Hi I need to get all availability report for hosts and services by email daily by 8AM. Please let me know hoe can I do this. Using nagios version 3.0.4a -------------- 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 Stanley.Hopcroft at Dest.gov.au Fri Aug 17 06:50:19 2007 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Fri, 17 Aug 2007 14:50:19 +1000 Subject: Nagios 3.0b1 and perl check plugins [SEC=UNCLASSIFIED] In-Reply-To: References: Message-ID: <18544FA17F881A4DBC2F41AC89E46BA9018F9420@acexp005.portfolio.base> Dear Folks, The reports about this matter are a bit perplexing in that 1 if the Nag internals have changed so that the ePN functions do not have their return values processed correctly, or the ePN functions are not called in the same way as 2.x, then the SEGV is expected with ePN. 2 However, if Nag is recompiled without ePN, the plugins are run by the shell in exactly the same way that other plugins are, and therefore if the Perl plugin works from the command line, it should work with Nagios 3.x IIRC, the ePN log shows that the Perl harness is doing the right thing and so there is something in Nags internals that needs investigating for ePN to work properly. So 1 is just a bug and should get fixed when I can focus some time and energy. OTOH, 2 is inexplicable. Are all Perl plugins failing to run under 3.x Nagios _without_ ePN. Please would you list some of the plugins that work under 2.x but fail under 3.x ? It would probably be good to check out the appropriate DEBUG setting (DEBUG_3) and copy the list with the result. 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 Stanley.Hopcroft at Dest.gov.au Fri Aug 17 07:36:28 2007 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Fri, 17 Aug 2007 15:36:28 +1000 Subject: Nagios SLAs .... [SEC=UNCLASSIFIED] In-Reply-To: References: Message-ID: <18544FA17F881A4DBC2F41AC89E46BA9018F9421@acexp005.portfolio.base> Dear Folks, Is anyone interested in a toy like this (Nagios::SLA running here on the CLI) foo$ host_down_report -t thismonth | perl -MNagios::SLA -lane 'BEGIN { $x=Nagios::SLA->new(undef, undef, "24x7", undef, "Nagios") } next unless /\d{2}-\d{2}/; print $_, "\t", $x->sla_down("$F[1] $F[2]", "$F[3] $F[4]")' Broken_Hill_pe 02-08-2007 01:12:33 02-08-2007 01:18:33 6m 0s 360 Wollongong 02-08-2007 15:02:03 02-08-2007 15:08:33 6m 30s 360 Orange 08-08-2007 13:21:05 08-08-2007 13:26:15 5m 10s 300 Sydney_pe 13-08-2007 07:31:51 13-08-2007 09:00:11 1h 28m 20s 5340 Darwin-backup_pe 14-08-2007 16:32:01 14-08-2007 17:45:11 1h 13m 10s 4380 Hobart_Harrington_St 15-08-2007 12:28:40 15-08-2007 16:00:10 3h 31m 30s 12720 foo$ host_down_report -t thismonth | perl -MNagios::SLA -lane 'BEGIN { $x=Nagios::SLA->new(undef, undef, undef, undef, "Nagios") } next unless /\d{2}-\d{2}/; print $_, "\t", $x->sla_down("$F[1] $F[2]", "$F[3] $F[4]")' Broken_Hill_pe 02-08-2007 01:12:33 02-08-2007 01:18:33 6m 0s 0 Wollongong 02-08-2007 15:02:03 02-08-2007 15:08:33 6m 30s 360 Orange 08-08-2007 13:21:05 08-08-2007 13:26:15 5m 10s 300 Sydney_pe 13-08-2007 07:31:51 13-08-2007 09:00:11 1h 28m 20s 3600 Darwin-backup_pe 14-08-2007 16:32:01 14-08-2007 17:45:11 1h 13m 10s 4380 Hobart_Harrington_St 15-08-2007 12:28:40 15-08-2007 16:00:10 3h 31m 30s 12720 host_down_report is a small public application (see Nagios::Report) that outputs the host availability report on the CLI. Nagios::SLA is an unpublished Perl module that computes the amount of down time in an outage according to an SLA. In the first case, the SLA is called "24x7" so the SLA outage (last column) is the outage interval in seconds (3 hours, 31 mins and 30 seconds should be the same as 12, 720 seconds). In the second case, the SLA is for a default SLA of Mon to Fri 8 am to 6 pm. So the outage of 6 mins between 01:12:33 and 01:18:33 on Thur 2 Aug 2007 (Au has Euro style dates) contributes 0 seconds of downtime to the SLA. The method sla_down() should take a pair of time stamps representing the outage interval (ie DOWN, UP) and return the number of seconds the outage overlapped the SLA. Computation is done by bit maps encoding the SLAs (ie 3 bytes/day in a monthly SLA) and the hour part of the outage. The sla_down() method supports MySQL and Nagios time stamps and possibly others. sla_down() does not work with outages that span months (eg 1 minute to midnight until say midday the following workday morning which happens to be the first of the following month). The dumb workaround with this would be to split the outage into as many months as the outage spans. On the other hand, if you have an outage like this perhaps the focus should be somewhere else. This behaviour of sla_down() is because the SLA that is constructed meets my requirements of monthly reports. There are no plans to change this, although if you report on smaller intervals eg weekly, the SLA computation should be Ok. You simply construct the standard monthly SLA and only compute on the part of the month that you want to report on. I am using it to report availability against an SLA of Mon-Fri 8 am to 6 pm (Mon-Fri 8-18). In our case, the outages are stored as rows in a MySQL table. The report is constructed by iterating over the rows and computing the SLA outage for that row. I would say this is not a particuarly good module as far as Perl modules go (where an alpha module would be WWW::Mechanize or LWP)but it may be helpful, or at least annoy an alpha developer enough to do it properly. If there is any interest, you will find it in the usual locations. However, given the problems with ePN and version 3.x, there may be no time for responding to bugs. 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 nicole.haehnel at gmx.net Fri Aug 17 08:12:27 2007 From: nicole.haehnel at gmx.net (=?ISO-8859-1?Q?Nicole_H=E4hnel?=) Date: Fri, 17 Aug 2007 08:12:27 +0200 Subject: Nagios 3.0b1 and perl check plugins In-Reply-To: <200708161054.50970.syd@ittagteam.com> References: <46C4558A.5080808@gmx.net> <200708161014.21061.syd@ittagteam.com> <46C45F64.7090506@gmx.net> <200708161054.50970.syd@ittagteam.com> Message-ID: <46C53C4B.8020501@gmx.net> Syd Alsobrook schrieb: > On Thursday 16 August 2007 10:29, Nicole H?hnel wrote: > >> After recompiling nagios doesn't crash anymore. >> But now I get CRITICAL and "(null)" as status information. >> > > Odd, all my status information cleaned right up after I did this. Is this a > custom plugin or a base one? > > Syd > > > It's a custom plugin. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: check_systime.pl 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 glynn.seymour at bayerbbs.com Fri Aug 17 10:33:45 2007 From: glynn.seymour at bayerbbs.com (glynn.seymour at bayerbbs.com) Date: Fri, 17 Aug 2007 09:33:45 +0100 Subject: Opinion Sought... Essential Nagios 3rd Party Apps Message-ID: A couple spring to mind - Groundwork as mentioned is well worth investigation, the paid for versions may be worth it depending on your situation as well - I'm using NagiosQL for config but it seems a little stalled at the moment. SNMPTT to handle traps. Nagios Nuvola skin - makes the frontend really really pretty! Nagiosgraph to capture performance data into RRDs Cacti to read those RRDs and make nice graphs from it. NagVis/Nagios Looking Glass to present current service status to non technical teams or service desks. NLG is nice and straightforward, NagVis allows you to overlay Nagios service status onto pics, diagrams etc - we use it to drill down from region to country to site to server room etc. Lastly, not strictly related nor essential, e107 - CMS to make an easy webby collection of links etc. ####################################################################### We have been using Nagios for a very long time, I have been running it under an older rev for a bit because everything has worked, and there have been no new features that my install has needed. However for various reasons we are now looking to upgrade to current. I would like some opinions of what the must have 3rd party apps are for nagios (beyond say NSCA) to make life easier for config, make nagios look prettier (some Ajax eye candy would be nice in the interface), extend information presented (graphs etc)... basically if your using an app... and your asking yourself why the heck don't they just put this into the main trunk of the program because we can't live without it then I would like to know about that app and investigate it for my own inclusion in my upgrade. Thanks for the recommendations in advanced. --Chris ####################################################################### ___________________________________________________________________________ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK __________________________________________________________________________ Bayer plc is registered in England under number 935048. Registered Office: Bayer House, Strawberry Hill, Newbury, Berkshire RG14 1JA. The information contained in this e-mail is for the exclusive use of the intended recipient(s) and may be confidential, proprietary, and/or legally privileged.? Inadvertent disclosure of this message does not constitute a waiver of any privilege.? If you receive this message in error, please do not directly or indirectly use, print, copy, forward, or disclose any part of this message.? Please also delete this e-mail and all copies and notify the sender.Thank you. For alternate languages please go to http://bayerdisclaimer.bayerweb.com __________________________________________________________________________ -------------- 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 philc at foundation-it.com Fri Aug 17 11:23:34 2007 From: philc at foundation-it.com (Phil Costelloe) Date: Fri, 17 Aug 2007 10:23:34 +0100 Subject: nt_check COUNTER In-Reply-To: <9944600399DE9D4FAD17C60BB2D9ECE801AAF08C@exchbe1.aplia.corp> References: <9944600399DE9D4FAD17C60BB2D9ECE801AAF08C@exchbe1.aplia.corp> Message-ID: From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Ilya Aronov > I am trying to retrieve SMTP counters from Windows 2003 server > Command bellow returning -1, application log in Windows 2003 has error message "Category does not exist". In Perfmon I am able to see this counter though. > I am able to get other counters from the same server in Nagios. > What am I missing? > > define command{ > command_name check_nt_counter_queuelength > command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l "^SMTP Server^_Total^Remote Queue Length","Remote Queue Length %.2f" -w $ARG1$ -c $ARG2$ > } The equivalent (working) command on my install is : define command{ command_name check_nt_msexc_smtp_req command_line $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER -l "\\SMTP Server(_Total)\\Remote Queue Length","SMTP Remote queue length %.0f" -w $ARG2$ -c $ARG3$ -s $ARG4$ } Looks like some of the characters have got mangled in yours. -- Phil Costelloe Foundation IT, Hermitage, Berkshire RG18 9SE -------------------------------------------------------- Phil Costelloe Technical Consultant philc at foundation-it.com http://www.foundation-it.com Foundation IT Foundation Court Old Street Oare Hermitage Berkshire RG18 9SE Switch: +44 (0) 1635 203700 Helpdesk: +44 (0) 800 0121099 DDI: +44 (0) 1635 203719 Fax: +44 (0) 8700 543537 Mobile: +44 (0) 7884 236299 -------------------------------------------------------- This message contains confidential information and is intended only for nagios-users at lists.sourceforge.net. If you are not nagios-users at lists.sourceforge.net you should not disseminate, distribute or copy this e-mail. Please notify Foundation IT immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Foundation IT therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. Foundation IT Registered Office: Foundation Court, Old Street, Oare, Hermitage, Berkshire, RG18 9SE Registered in England Number 3281803 -------------------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sukesh.v at jigrahak.com Fri Aug 17 11:49:21 2007 From: sukesh.v at jigrahak.com (Sukesh /IT/BLR/JIG/IN) Date: Fri, 17 Aug 2007 15:19:21 +0530 Subject: nt_check COUNTER In-Reply-To: References: Message-ID: Hi Please let me know how can I send daily all availability report via e-mail. Using nagios 3.0.4 Regards -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Phil Costelloe Sent: Friday, August 17, 2007 2:54 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nt_check COUNTER From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Ilya Aronov > I am trying to retrieve SMTP counters from Windows 2003 server > Command bellow returning -1, application log in Windows 2003 has error message "Category does not exist". In Perfmon I am able to see this counter though. > I am able to get other counters from the same server in Nagios. > What am I missing? > > define command{ > command_name check_nt_counter_queuelength > command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l "^SMTP Server^_Total^Remote Queue Length","Remote Queue Length %.2f" -w $ARG1$ -c $ARG2$ > } The equivalent (working) command on my install is : define command{ command_name check_nt_msexc_smtp_req command_line $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER -l "\\SMTP Server(_Total)\\Remote Queue Length","SMTP Remote queue length %.0f" -w $ARG2$ -c $ARG3$ -s $ARG4$ } Looks like some of the characters have got mangled in yours. -- Phil Costelloe Foundation IT, Hermitage, Berkshire RG18 9SE -------------------------------------------------------- Phil Costelloe Technical Consultant philc at foundation-it.com http://www.foundation-it.com Foundation IT Foundation Court Old Street Oare Hermitage Berkshire RG18 9SE Switch: +44 (0) 1635 203700 Helpdesk: +44 (0) 800 0121099 DDI: +44 (0) 1635 203719 Fax: +44 (0) 8700 543537 Mobile: +44 (0) 7884 236299 -------------------------------------------------------- This message contains confidential information and is intended only for nagios-users at lists.sourceforge.net. If you are not nagios-users at lists.sourceforge.net you should not disseminate, distribute or copy this e-mail. Please notify Foundation IT immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Foundation IT therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. Foundation IT Registered Office: Foundation Court, Old Street, Oare, Hermitage, Berkshire, RG18 9SE Registered in England Number 3281803 -------------------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Fri Aug 17 16:18:36 2007 From: marc at ena.com (Marc Powell) Date: Fri, 17 Aug 2007 09:18:36 -0500 Subject: availability report 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 Sukesh /IT/BLR/JIG/IN > Sent: Thursday, August 16, 2007 11:53 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] availability report > > Hi > > I need to get all availability report for hosts and services by email > daily by 8AM. Please let me know hoe can I do this. > > Using nagios version 3.0.4a One e-mail a day asking for help on the same subject is sufficient; more than that is considered rude. There are a couple of third party tools that may work for you available by searching for 'report' at http://www.nagiosexchange.org. As far as I know they have not been tested with Nagios-3 alpha yet so they may not work for you out of the box. -- 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 Fri Aug 17 16:13:49 2007 From: marc at ena.com (Marc Powell) Date: Fri, 17 Aug 2007 09:13:49 -0500 Subject: Disable warning messages 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 Sukesh /IT/BLR/JIG/IN > Sent: Thursday, August 16, 2007 10:07 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Disable warning messages > > Hi > > > > Please let me know how can I disable all warning alert by e-mail. Set the appropriate notification_options for the host/service and/or *_notification_options for contacts. http://nagios.sourceforge.net/docs/2_0/xodtemplate.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 marc at ena.com Fri Aug 17 16:26:36 2007 From: marc at ena.com (Marc Powell) Date: Fri, 17 Aug 2007 09:26:36 -0500 Subject: do not receive mails for check_ping. In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A904241E92@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A904241E92@repbex02.amer.bea.com> Message-ID: > -----Original Message----- > From: Lalita Drolia [mailto:ldrolia at bea.com] > Sent: Thursday, August 16, 2007 11:33 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] do not receive mails for check_ping. > > > I read the first section. I guess it means that if it is determined that > a host is down then it does not check for its corresponding services and > so I am not getting a mail. Yes, sort of. It'll still check the services to see if they've recovered but it will suppress notifications if they haven't and the host is determined to be down by it's host check. > But I do still get a mail for databases and ssh going down. It is only > for ping service check that I am not getting mails. Nagios itself makes no distinction between different services unless you have them configured differently. It has no idea that a ping check is different than an ssh check when it comes to notifications. > I am sending mails for check-host-alive and check_ping to 2 different > people and I cannot club them together. > This is because in check-host-alive I get mails even a machine reboots > and I do not want these mails. > So I have introduced a delay in my service checks, as suggested by you > Marc earlier. So on unix based machines im checking for ssh and on > windows I am checking for ping. The ssh check triggers a mail rightly if > a server goes down, how can I make this happen for ping check too? My prior suggestion included removing the host check_command entirely so no host checks should occur. That means that the above notification suppression logic does not come into play and you should receive a notification for all services on that host when it goes down if you have the notification_options you want in the service{} definitions. Are the notification related options for your ping service different than the notifications for the services you are receiving notifications for? Can you post the host{} definition and service{} definitions for one you do receive notifications for and one you don't? -- 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 Fri Aug 17 16:38:49 2007 From: marc at ena.com (Marc Powell) Date: Fri, 17 Aug 2007 09:38:49 -0500 Subject: No hosts being monitored In-Reply-To: <999D9C7316770741A028EF2A88B8E46803A4FC25@xmb-sjc-22a.amer.cisco.com> References: <999D9C7316770741A028EF2A88B8E46803A4FC25@xmb-sjc-22a.amer.cisco.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of John Tabasz (jtabasz) > Sent: Thursday, August 16, 2007 11:01 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] No hosts being monitored > > This is a brand new setup. I have two remote hosts defined in the > hosts.cfg file and in the hostgroups.cfg file. > When I run ./nagios -v nagios.cfg the messages returned only indicate that > there are only the localhost being monitored. Taking a stab, do you have any services defined for those hosts? Nagios is primarily a service monitor. In nagios-2 and prior, hosts are never checked unless a service on them returns a non-OK result. I would have expected nagios -v to complain about lack of services though. An alternative explanation is that you haven't told nagios to look at the hosts.cfg and hostgroups.cfg files by specifying them as cfg_file(s) 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 Edwin.Zoeller at ama-assn.org Fri Aug 17 16:40:20 2007 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Fri, 17 Aug 2007 09:40:20 -0500 Subject: Servicegroups In-Reply-To: <46C32988.6010507@telcotec.se> References: <765010.7752.qm@web23310.mail.ird.yahoo.com> <46C32988.6010507@telcotec.se> Message-ID: I may have missed this one but, can someone instruct me on the easiest way to setup servicegroups. Thanks in advance, Ed ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pjahromi at us.checkpoint.com Fri Aug 17 18:07:21 2007 From: pjahromi at us.checkpoint.com (Payam Jahromi) Date: Fri, 17 Aug 2007 09:07:21 -0700 Subject: option to make nagios recover? Message-ID: <00b901c7e0e8$b1fe0e40$857461d1@ad.checkpoint.com> Hi, I'm running Nagios on Red Hat Linux, and I was wondering, when I do a manual test via the command line, is there a way to give an option to have the check "recover" if the check passes? Without having to wait for the next scheduled check? Thanks, Payam -------------- 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 Aug 17 18:25:13 2007 From: marc at ena.com (Marc Powell) Date: Fri, 17 Aug 2007 11:25:13 -0500 Subject: option to make nagios recover? In-Reply-To: <00b901c7e0e8$b1fe0e40$857461d1@ad.checkpoint.com> References: <00b901c7e0e8$b1fe0e40$857461d1@ad.checkpoint.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Payam Jahromi > Sent: Friday, August 17, 2007 11:07 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] option to make nagios recover? > > Hi, > > > > I'm running Nagios on Red Hat Linux, and I was wondering, when I do a > manual test via the command line, is there a way to give an option to have > the check "recover" if the check passes? Without having to wait for the > next scheduled check? That would depend on how you're manually testing. If you're running the plugin from the shell, then nagios isn't directly aware that you are doing that and doesn't see the results either way. It also wouldn't know what host/service you would be testing to know where to apply the results. You can schedule an immediate check of the service from the Web GUI (click on the service, then use the menu on the left to Re-schedule the next check of this service), submit a passive OK result (same menu) or do either of the above by writing to the external command file (SCHEDULE_FORCED_SVC_CHECK, PROCESS_SERVICE_CHECK_RESULT from http://www.nagios.org/developerinfo/externalcommands/commandlist.php?cat egory_id=0&version_id=0&btnSubmit=Update) This last might be useful if you were interested in creating a wrapper for your manual tests that asked for the host/service that the results should apply to before creating the appropriate external command for submission. -- 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 Fri Aug 17 18:30:32 2007 From: marc at ena.com (Marc Powell) Date: Fri, 17 Aug 2007 11:30:32 -0500 Subject: Servicegroups 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 Edwin Zoeller > Sent: Friday, August 17, 2007 9:40 AM > To: nagios-user > Subject: [Nagios-users] Servicegroups > > I may have missed this one but, can someone instruct me on the easiest > way to setup servicegroups. I don't use servicegroups but I suppose the easiest way would be to create a skeleton servicegroup{} without a members line, then use the servicegroups directive of the service{} definition to add the service to the servicegroup you want it in. -- 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 amontibello at gmail.com Fri Aug 17 18:45:48 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 17 Aug 2007 12:45:48 -0400 Subject: nt_check COUNTER In-Reply-To: <9944600399DE9D4FAD17C60BB2D9ECE801AAF08C@exchbe1.aplia.corp> References: <9944600399DE9D4FAD17C60BB2D9ECE801AAF08C@exchbe1.aplia.corp> Message-ID: You must be using NC_Net as your windows plugin, -l "^SMTP Server^_Total^Remote Queue Length","Remote Queue Length %.2f" Is acceptable syntex for using NC_NEt, but no other windows plugin supports this syntex. NC_NEt also supoports the original check_nt syntex as was pointed out earlier the -1 responce indicated that NC_NEt was unable to find the counter. Things to check: Does the counter exist on that host. Are you using the latest version of NC_NEt? v4 Sometimes on a Windows Host some/many performance counters become corupted, to validate if this is the case open the windows performance monitor from administrative tools, and see if the counters are in there. another approch to diagnosing using nc_net and check_nc_net is to use the INSTANCES and ENUMCOUNTERS this would validate that NC_NET can see the counter and it would validate the spelling. Naturally I am assuming those are ok, but it would show if NC_NET can see the counter. If this issue persists feel free to use the forum at http://sourceforge.net/projects/nc-net good luck Tony (Author of NC_Net) On 8/16/07, Ilya Aronov wrote: > > I am trying to retrieve SMTP counters from Windows 2003 server > > Command bellow returning -1, application log in Windows 2003 has error > message "Category does not exist". In Perfmon I am able to see this counter > though. > > I am able to get other counters from the same server in Nagios. > > What am I missing? > > > > define command{ > > command_name check_nt_counter_queuelength > > command_line /usr/local/nagios/libexec/check_nt -H > $HOSTADDRESS$ -p 1248 -v COUNTER -l "^SMTP Server^_Total^Remote Queue > Length","Remote Queue Length %.2f" -w $ARG1$ -c $ARG2$ > > } > > > > > > Thanks > > Ilya > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 melanie_pfefer at yahoo.co.uk Fri Aug 17 18:55:04 2007 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Fri, 17 Aug 2007 17:55:04 +0100 (BST) Subject: check_snmp In-Reply-To: References: Message-ID: <202356.30882.qm@web26212.mail.ukl.yahoo.com> Hi, indeed that solved the configuration step. But the make step ends with the below errors and I appreciate if you can help. check_mysql.c:51:19: mysql.h: No such file or directory check_mysql.c:52:20: errmsg.h: No such file or directory check_mysql.c:58: `MYSQL_PORT' undeclared here (not in a function) check_mysql.c: In function `main': check_mysql.c:73: `MYSQL' undeclared (first use in this function) check_mysql.c:73: (Each undeclared identifier is reported only once check_mysql.c:73: for each function it appears in.) check_mysql.c:73: syntax error before "mysql" check_mysql.c:74: `MYSQL_RES' undeclared (first use in this function) check_mysql.c:74: `res' undeclared (first use in this function) check_mysql.c:75: `MYSQL_ROW' undeclared (first use in this function) check_mysql.c:75: syntax error before "row" check_mysql.c:91: `mysql' undeclared (first use in this function) check_mysql.c:93: `MYSQL_READ_DEFAULT_GROUP' undeclared (first use in this function) check_mysql.c:97: `CR_UNKNOWN_HOST' undeclared (first use in this function) check_mysql.c:99: `CR_VERSION_ERROR' undeclared (first use in this function) check_mysql.c:101: `CR_OUT_OF_MEMORY' undeclared (first use in this function) check_mysql.c:103: `CR_IPSOCK_ERROR' undeclared (first use in this function) check_mysql.c:105: `CR_SOCKET_CREATE_ERROR' undeclared (first use in this function) check_mysql.c:112: warning: passing arg 1 of `strlen' makes pointer from integer without a cast check_mysql.c:112: warning: passing arg 2 of `memcpy' makes pointer from integer without a cast check_mysql.c:112: warning: passing arg 1 of `__strdup' makes pointer from integer without a cast check_mysql.c:116: `CR_SERVER_GONE_ERROR' undeclared (first use in this function) check_mysql.c:118: `CR_SERVER_LOST' undeclared (first use in this function) check_mysql.c:120: `CR_UNKNOWN_ERROR' undeclared (first use in this function) check_mysql.c:127: warning: passing arg 1 of `strlen' makes pointer from integer without a cast check_mysql.c:127: warning: passing arg 2 of `memcpy' makes pointer from integer without a cast check_mysql.c:127: warning: passing arg 1 of `__strdup' makes pointer from integer without a cast check_mysql.c:134: warning: passing arg 1 of `strlen' makes pointer from integer without a cast check_mysql.c:134: warning: passing arg 2 of `memcpy' makes pointer from integer without a cast check_mysql.c:134: warning: passing arg 1 of `__strdup' makes pointer from integer without a cast check_mysql.c:146: `row' undeclared (first use in this function) check_mysql.c:147: warning: passing arg 1 of `strlen' makes pointer from integer without a cast check_mysql.c:147: warning: passing arg 2 of `memcpy' makes pointer from integer without a cast check_mysql.c:147: warning: passing arg 1 of `__strdup' makes pointer from integer without a cast check_mysql.c:165: `MYSQL_FIELD' undeclared (first use in this function) check_mysql.c:165: `fields' undeclared (first use in this function) check_mysql.c: In function `print_help': check_mysql.c:367: `MYSQL_PORT' undeclared (first use in this function) make[2]: *** [check_mysql-check_mysql.o] Error 1 make[2]: Leaving directory `/root/nagios-plugins-1.4.5/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/nagios-plugins-1.4.5' make: *** [all] Error 2 --- Marc Powell wrote: > > > > -----Original Message----- > > From: Melanie Pfefer > [mailto:melanie_pfefer at yahoo.co.uk] > > Sent: Friday, August 10, 2007 10:38 AM > > To: Marc Powell; > nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] check_snmp > > > > Thanks. that worked fine. > > I also saw this in the ./configure output: > > > > checking for mysql_config... no > > configure: WARNING: Skipping mysql plugin > > configure: WARNING: install mysql client libs to > > compile this plugin (see REQUIREMENTS). > > > > I am using LAMPP (integrated apache/mysql/php) and > > used --with-mysql in ./configure: > > > > ./configure --with-mysql=/opt/lampp/lib/mysql/ > > > > Could you please advise? > > Try with --with-mysql=/opt/lampp. You might need to > install the > mysql-dev(el) rpms but I'm not familiar with lampp. > > -- > 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 > ___________________________________________________________ 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 marc at ena.com Fri Aug 17 19:04:15 2007 From: marc at ena.com (Marc Powell) Date: Fri, 17 Aug 2007 12:04:15 -0500 Subject: check_snmp In-Reply-To: <202356.30882.qm@web26212.mail.ukl.yahoo.com> References: <202356.30882.qm@web26212.mail.ukl.yahoo.com> Message-ID: > -----Original Message----- > From: Melanie Pfefer [mailto:melanie_pfefer at yahoo.co.uk] > Sent: Friday, August 17, 2007 11:55 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_snmp > > Hi, > indeed that solved the configuration step. But the > make step ends with the below errors and I appreciate > if you can help. > > check_mysql.c:51:19: mysql.h: No such file or > directory > check_mysql.c:52:20: errmsg.h: No such file or > directory See below. > > > -----Original Message----- > > > From: Melanie Pfefer > > [mailto:melanie_pfefer at yahoo.co.uk] > > > Sent: Friday, August 10, 2007 10:38 AM > > > To: Marc Powell; > > nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] check_snmp > > > > > Try with --with-mysql=/opt/lampp. You might need to > > install the > > mysql-dev(el) rpms but I'm not familiar with lampp. Do you have the mysql-dev(el) libraries installed? The above errors indicate that you do not. If you do, where is mysql.h on your system (the command 'locate mysql.h' might tell you)? It should match the location of --include in the output of the command 'mysql_config'. -- 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 pjahromi at us.checkpoint.com Fri Aug 17 19:11:05 2007 From: pjahromi at us.checkpoint.com (Payam Jahromi) Date: Fri, 17 Aug 2007 10:11:05 -0700 Subject: option to make nagios recover? In-Reply-To: References: <00b901c7e0e8$b1fe0e40$857461d1@ad.checkpoint.com> Message-ID: <00e001c7e0f1$991b93d0$857461d1@ad.checkpoint.com> Thanks - I followed the PROCESS_SERVICE_CHECK_RESULT instructions and it worked, but how to make it get it to alert that it recovered instead of just recovering? Normally we get alerts when something is critical then recovers. So my goal here is just to basically speed up the recovery alert instead of waiting of the next check (for when I get paged at 4am and want to go back to sleep and not worry about a recovery alert in 10 mins). -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Friday, August 17, 2007 9:25 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] option to make nagios recover? > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Payam Jahromi > Sent: Friday, August 17, 2007 11:07 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] option to make nagios recover? > > Hi, > > > > I'm running Nagios on Red Hat Linux, and I was wondering, when I do a > manual test via the command line, is there a way to give an option to have > the check "recover" if the check passes? Without having to wait for the > next scheduled check? That would depend on how you're manually testing. If you're running the plugin from the shell, then nagios isn't directly aware that you are doing that and doesn't see the results either way. It also wouldn't know what host/service you would be testing to know where to apply the results. You can schedule an immediate check of the service from the Web GUI (click on the service, then use the menu on the left to Re-schedule the next check of this service), submit a passive OK result (same menu) or do either of the above by writing to the external command file (SCHEDULE_FORCED_SVC_CHECK, PROCESS_SERVICE_CHECK_RESULT from http://www.nagios.org/developerinfo/externalcommands/commandlist.php?cat egory_id=0&version_id=0&btnSubmit=Update) This last might be useful if you were interested in creating a wrapper for your manual tests that asked for the host/service that the results should apply to before creating the appropriate external command for submission. -- 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 pjahromi at us.checkpoint.com Fri Aug 17 20:04:48 2007 From: pjahromi at us.checkpoint.com (Payam Jahromi) Date: Fri, 17 Aug 2007 11:04:48 -0700 Subject: option to make nagios recover? In-Reply-To: <00e001c7e0f1$991b93d0$857461d1@ad.checkpoint.com> References: <00b901c7e0e8$b1fe0e40$857461d1@ad.checkpoint.com> <00e001c7e0f1$991b93d0$857461d1@ad.checkpoint.com> Message-ID: <00e901c7e0f9$1a71e9a0$857461d1@ad.checkpoint.com> Nevermind I figured it out. I ran the SCHEDULE_FORCED_SVC_CHECK and it works. Thanks for your help! -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Payam Jahromi Sent: Friday, August 17, 2007 10:11 AM To: 'Marc Powell'; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] option to make nagios recover? Thanks - I followed the PROCESS_SERVICE_CHECK_RESULT instructions and it worked, but how to make it get it to alert that it recovered instead of just recovering? Normally we get alerts when something is critical then recovers. So my goal here is just to basically speed up the recovery alert instead of waiting of the next check (for when I get paged at 4am and want to go back to sleep and not worry about a recovery alert in 10 mins). -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Friday, August 17, 2007 9:25 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] option to make nagios recover? > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Payam Jahromi > Sent: Friday, August 17, 2007 11:07 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] option to make nagios recover? > > Hi, > > > > I'm running Nagios on Red Hat Linux, and I was wondering, when I do a > manual test via the command line, is there a way to give an option to have > the check "recover" if the check passes? Without having to wait for the > next scheduled check? That would depend on how you're manually testing. If you're running the plugin from the shell, then nagios isn't directly aware that you are doing that and doesn't see the results either way. It also wouldn't know what host/service you would be testing to know where to apply the results. You can schedule an immediate check of the service from the Web GUI (click on the service, then use the menu on the left to Re-schedule the next check of this service), submit a passive OK result (same menu) or do either of the above by writing to the external command file (SCHEDULE_FORCED_SVC_CHECK, PROCESS_SERVICE_CHECK_RESULT from http://www.nagios.org/developerinfo/externalcommands/commandlist.php?cat egory_id=0&version_id=0&btnSubmit=Update) This last might be useful if you were interested in creating a wrapper for your manual tests that asked for the host/service that the results should apply to before creating the appropriate external command for submission. -- 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 17 20:08:52 2007 From: marc at ena.com (Marc Powell) Date: Fri, 17 Aug 2007 13:08:52 -0500 Subject: option to make nagios recover? In-Reply-To: <00e001c7e0f1$991b93d0$857461d1@ad.checkpoint.com> References: <00e001c7e0f1$991b93d0$857461d1@ad.checkpoint.com> Message-ID: > -----Original Message----- > From: Payam Jahromi [mailto:pjahromi at us.checkpoint.com] > Sent: Friday, August 17, 2007 12:11 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] option to make nagios recover? > > Thanks - I followed the PROCESS_SERVICE_CHECK_RESULT instructions and it > worked, but how to make it get it to alert that it recovered instead of > just > recovering? Normally we get alerts when something is critical then > recovers. Nagios should just do it IFF it sent out a problem notification. No distinction is made between an active OK check that nagios does and one submitted as above (passive) with regard to notifications. The notification logic is the same for both. 100% of my notifications come from passive check results as above. I'd say if you didn't get a recovery e-mail nagios never sent a problem e-mail or you haven't told nagios to send recovery e-mails for this service. -- 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 mark.frost1 at pepsi.com Fri Aug 17 22:41:50 2007 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Fri, 17 Aug 2007 16:41:50 -0400 Subject: negative check latency with Nagios as VM? Message-ID: <7F477BD26F545A4C8E4779754A38EFB30236E9BE@PEPWMV00043.corp.pep.pvt> We're testing our Nagios 2.9 implementation on a VMWare server. This box does have the VMWare tools installed and is running NTP to sync time. The performance on this box seems a bit worse, but roughly comparable to our physical box. (Oddly enough, Nagios restart almost instantaneously on the VM where it takes around 20 seconds to respond to the web interface on the physical box...) Anyway, we'd been letting the VM Nagios server run to see what it did and today I saw the following in the performance info screen for active service checks: Metric Min. Max. Average Check Execution Time: -1.23 sec 60.08 sec 1.018 sec Check Latency: 0.00 sec 88.99 sec 11.117 sec Percent State Change: 0.00% 11.45% 0.05% at one point I saw the minimum check time at -2.00 seconds. This means this VM is so fast that it's running checks before they're even scheduled! Wow! In any case, I was concerned about this. My biggest worry with a VM is that it doesn't track the time well enough. We have a number of checks (maybe 30%?) that run at 1 minute increments and I'm wondering if they are the only ones that run frequently enough to show this time keeping as a problem in Nagios. Or perhaps I'm just associating this with a VM and it's just Nagios itself. Has anyone seen this before? Thanks Mark ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Aug 17 22:49:51 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 17 Aug 2007 22:49:51 +0200 (CEST) Subject: nt_check COUNTER In-Reply-To: References: Message-ID: On Fri, 17 Aug 2007, Sukesh /IT/BLR/JIG/IN wrote: > Please let me know how can I send daily all availability report via e-mail. > Using nagios 3.0.4 Considering your amount of requests and the fact that nothing is shown to indicate you have worked on the issue I think it is better if you go out and hire someone to build your Nagios system for you. If you are willing to do this yourself I suggest you read the manual cover to cover first. Then start to work on the issue and tell us what you tried. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 17 22:52:12 2007 From: joseph.petrucci at wachovia.com (joseph.petrucci at wachovia.com) Date: Fri, 17 Aug 2007 16:52:12 -0400 Subject: Joseph Petrucci is out of the office. Message-ID: I will be out of the office starting 08/17/2007 and will not return until 08/18/2007. For 1AAF issues please contact Lars Petterson. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From loesprite at gmail.com Sat Aug 18 03:46:21 2007 From: loesprite at gmail.com (song loesprite) Date: Sat, 18 Aug 2007 09:46:21 +0800 Subject: Unreachable Hosts Message-ID: Hi.I have some unreachable hosts when using ping command. When nagios checks one of their status with the check-host-alive command?actually it is Ping command?, it returns a critical status. But the service provided by that host may be working just fine.I tried to remove the "check-host-alive" command from the "command_line" in the "hosts.cfg" file. But failed.And then I tried removing the whole line of the "command_line", but turned out to be nothing deferent. So how can I remove the check-host-alive command from those hosts? Thanks -Vishnu -------------- 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 jim at jimavery.me.uk Sat Aug 18 12:20:16 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Sat, 18 Aug 2007 11:20:16 +0100 Subject: Unreachable Hosts In-Reply-To: References: Message-ID: <765d77c80708180320r2602ec35g51514fbec3a33c7b@mail.gmail.com> On 18/08/07, song loesprite wrote: > Hi.I have some unreachable hosts when using ping command. > When nagios checks one of their status with the check-host-alive > command?actually it is Ping command?, it returns a critical status. But the > service provided by that host may be working just fine.I tried to remove the > "check-host-alive" command from the "command_line" in the "hosts.cfg" file. > But failed.And then I tried removing the whole line of the "command_line", > but turned out to be nothing deferent. > > So how can I remove the check-host-alive command from those hosts? > > Thanks > -Vishnu You don't have to use ping for your check-host-alive command. If ping won't work for those hosts, use a command for them which does work okay. All the command has to do is confirm the host is alive somehow. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spoon at triparish.net Sat Aug 18 19:55:04 2007 From: spoon at triparish.net (Ed Spoon) Date: Sat, 18 Aug 2007 12:55:04 -0500 Subject: Stratex XP4 plugin Message-ID: <46C73278.1070309@triparish.net> Anyone have a plugin that reports stats for this device? 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 marc at ena.com Sat Aug 18 20:15:27 2007 From: marc at ena.com (Marc Powell) Date: Sat, 18 Aug 2007 13:15:27 -0500 Subject: Unreachable Hosts 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 song loesprite > Sent: Friday, August 17, 2007 8:46 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Unreachable Hosts > > Hi.I have some unreachable hosts when using ping command. > When nagios checks one of their status with the check-host-alive > command?actually it is Ping command?, it returns a critical status. But > the service provided by that host may be working just fine.I tried to > remove the "check-host-alive" command from the "command_line" in the > "hosts.cfg" file. But failed.And then I tried removing the whole line of > the "command_line", but turned out to be nothing deferent. > > So how can I remove the check-host-alive command from those hosts? Removing the command_line entirely for that host definition _will_ prevent the host itself from being checked. Services on that host will continue to be checked normally. I don?t understand from your description how a host can be determined to be unreachable, but its services still are. If a ping check doesn't accurately reflect the reachability of a host, change the host check_command to something that does. -- 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 mikdadhussain at gmail.com Sun Aug 19 22:42:53 2007 From: mikdadhussain at gmail.com (shoaib akbar) Date: Mon, 20 Aug 2007 01:42:53 +0500 Subject: Nagios Error : /usr/local/etc/objects Message-ID: <258630d20708191342t6891f084j754807468cc52e08@mail.gmail.com> Hi , Can any body help me out in the problem that i am facing regarding the installation of Nagios 3.0a4 on my Fedora Core 6 machine. The problem is that the important directory of /usr/local/etc/objects is not created, and i also didn't get any errors during the installation of nagios on my machine. i need to make necessary changes to the files supposedly to be present in this directory. Any help in this regard is highly appreciated. Thanks. Shoaib Akbar. ANE WOL Lahore. -------------- 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 s.shipway at auckland.ac.nz Mon Aug 20 01:25:04 2007 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 20 Aug 2007 11:25:04 +1200 Subject: Looking for Nagios experience exchange Message-ID: <12A6FDDD13C460408A6E47E5DB1235A2010EDBA3@UXCHANGE3.UoA.auckland.ac.nz> Hello everyone - We're using Nagios here at the university, with about 5000 Services being monitored over about 700 hosts/devices in a HA Nagios 1 setup. We're just about to move to a distributed architecture, and Nagios 2.9. Our senior management is interested in my doing some research into how other sites use Nagios. Since this means the potential for free world travel, I can hardly refuse... what I'm hoping to find is another site somewhere in the world, with a comparable size to ours or larger, who are willing for me to visit and exchange our knowledge and experience on setting up and using Nagios. In addition, anyone who would like to visit our offices in Auckland, New Zealand, is welcome to make a date to come over and see how we do things here. If anyone out there would be willing to host a visiting Brit/Kiwi for a few days and talk monitoring systems, then please email me. Similarly for anyone who'd like to drop by and talk Nagios. I'll even try and revive my previous idea of a New Zealand Nagios Users group, now I have management funding :-) Steve --- Steve Shipway UNIX Systems Adminstration, University of Auckland, New Zealand +64 9 3737 599 x 86487 s.shipway at auckland.ac.nz -------------- 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 Stanley.Hopcroft at Dest.gov.au Mon Aug 20 05:24:33 2007 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Mon, 20 Aug 2007 13:24:33 +1000 Subject: Monitoring multicast - any ideas [SEC=UNCLASSIFIED] In-Reply-To: References: Message-ID: <18544FA17F881A4DBC2F41AC89E46BA9018F942F@acexp005.portfolio.base> Dear Folks, Does anyone have any wisdom to offer about monitoring multicast applications ? The context is Cisco PIM, so the Cisco Mroute MIB is an obvious place to start. What makes it a bit harder is that the application of interest (TV broadcasting) uses an MS Media server that simply joins any old group when it starts. In other words, the clients learn from the Web page what group they should join, and since the mroute table is indexed by group, the group needs to be known or the whole table is checked for the presence of the server. 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 s.shipway at auckland.ac.nz Mon Aug 20 07:23:50 2007 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 20 Aug 2007 17:23:50 +1200 Subject: negative check latency with Nagios as VM? In-Reply-To: <7F477BD26F545A4C8E4779754A38EFB30236E9BE@PEPWMV00043.corp.pep.pvt> References: <7F477BD26F545A4C8E4779754A38EFB30236E9BE@PEPWMV00043.corp.pep.pvt> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A2010EDC45@UXCHANGE3.UoA.auckland.ac.nz> We run a lot of VMWare here, although we're running our Nagios on a physical box for performance reasons. I've spent a lot of time researching how to monitor virtual hosts and the potential pitfalls... > We're testing our Nagios 2.9 implementation on a VMWare server. This > box does have the VMWare tools installed and is running NTP to sync > time. Linux under VMWare seems to work best if you let VMWare Tools synch the time to the ESX server (which uses NTP to synch its own time). If you run NTP on a virtual host, it can sometimes get confused as vmware-tools will also adjust the time. Similarly, a Windows guest should try to rely on vmware-tools for the clock synch not anything else. > The performance on this box seems a bit worse, but roughly comparable to > our physical box. (Oddly enough, Nagios restart almost instantaneously > on the VM where it takes around 20 seconds to respond to the web > interface on the physical box...) If your old box was Nagios 1.x then that's the reason. Nagios 2 is much, much faster in the web interface because it preparses and caches the configuration. Another possibility could be that your virtual disk is held partly in memory cache on the ESX server, speeding up initial access. > at one point I saw the minimum check time at -2.00 seconds. This means > this VM is so fast that it's running checks before they're even > scheduled! Wow! This is because your clock is getting skewed. VMWare is not good for anything which is sensitive at any resolution smaller than 1min, because the clock hops about a bit due to the virtualisation. Particularly when you're running ntp *and* vmware-tools it can cause weird behaviour as they fight over who is authoritative. > In any case, I was concerned about this. My biggest worry with a VM is > that it doesn't track the time well enough. This is very much the case, a guest OS under VMWare will experience weird clock behaviour. This is why plugins like check_net, check_cpu, and anything rate-based are pointless and actually misleading if run via NRPE in a VM. A plugin which queries SNMP to get a counter and then calculates its own rate on a different (physical) server is fine, as long as the rate calculation is not run in a VM. > Or perhaps I'm just associating this with a VM and it's just Nagios > itself. Has anyone seen this before? I've see it before in checks run under VMWare. If you want to check CPU usage under VMWare, I'm working with some people at Bright House Networks on the new version of check_esx to support ESX3. The old version works with ESX2. In brief - * Don't run NTPD and vmware-tools together * Don't run check_cpu, check_net or check_memory for a guest * Don't run any rate-based checks on a virtual machine * Don't run Nagios under VMWare if you can avoid it Hope this helps, Steve ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldrolia at bea.com Mon Aug 20 07:25:35 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Sun, 19 Aug 2007 22:25:35 -0700 Subject: do not receive mails for check_ping. In-Reply-To: References: <2402BA0C1F52594E8E271233F62EB6A904241E92@repbex02.amer.bea.com> Message-ID: <2402BA0C1F52594E8E271233F62EB6A904242453@repbex02.amer.bea.com> Hello, I upgraded to Nagios version 3.x couple of days back to escape all the issues I was facing. Now I am able to introduce a delay before Nagios sends out a mail if a server goes down. But unfutunately I have run into a new issue. I am not receiving any notifications for host or service recoveries. I have no clue why. According to me this is determined by notification_options, and I have "d,r" and "c,r" specified everywhere for hosts and services respectively. I have checked my templates for contacts.cfg hosts.cfg and services.cfg. and in all these files the needed options are included. Can anyone please help me with this issue? Why am I not receiving any recovery mails. With regards, lalita -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Friday, August 17, 2007 7:57 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] do not receive mails for check_ping. > -----Original Message----- > From: Lalita Drolia [mailto:ldrolia at bea.com] > Sent: Thursday, August 16, 2007 11:33 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] do not receive mails for check_ping. > > > I read the first section. I guess it means that if it is determined that > a host is down then it does not check for its corresponding services and > so I am not getting a mail. Yes, sort of. It'll still check the services to see if they've recovered but it will suppress notifications if they haven't and the host is determined to be down by it's host check. > But I do still get a mail for databases and ssh going down. It is only > for ping service check that I am not getting mails. Nagios itself makes no distinction between different services unless you have them configured differently. It has no idea that a ping check is different than an ssh check when it comes to notifications. > I am sending mails for check-host-alive and check_ping to 2 different > people and I cannot club them together. > This is because in check-host-alive I get mails even a machine reboots > and I do not want these mails. > So I have introduced a delay in my service checks, as suggested by you > Marc earlier. So on unix based machines im checking for ssh and on > windows I am checking for ping. The ssh check triggers a mail rightly if > a server goes down, how can I make this happen for ping check too? My prior suggestion included removing the host check_command entirely so no host checks should occur. That means that the above notification suppression logic does not come into play and you should receive a notification for all services on that host when it goes down if you have the notification_options you want in the service{} definitions. Are the notification related options for your ping service different than the notifications for the services you are receiving notifications for? Can you post the host{} definition and service{} definitions for one you do receive notifications for and one you don't? -- 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 Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete 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 hvdkooij at vanderkooij.org Mon Aug 20 07:59:47 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 20 Aug 2007 07:59:47 +0200 (CEST) Subject: Nagios Error : /usr/local/etc/objects In-Reply-To: <258630d20708191342t6891f084j754807468cc52e08@mail.gmail.com> References: <258630d20708191342t6891f084j754807468cc52e08@mail.gmail.com> Message-ID: On Mon, 20 Aug 2007, shoaib akbar wrote: > Hi , > Can any body help me out in the problem that i am facing regarding the > installation of Nagios 3.0a4 on my Fedora Core 6 machine. The problem is > that the important directory of /usr/local/etc/objects is not created, and > i also didn't get any errors during the installation of nagios on my > machine. i need to make necessary changes to the files supposedly to be > present in this directory. Any help in this regard is highly appreciated. And what changes are they referring to? In fact who is referring to this directory? For example my nagios egss are in the /etc/nagios basket. (in fact not a basket but a tree ;-) Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for this quote of George Bernard Shaw.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike.hawley at nspire.co.nz Mon Aug 20 09:33:18 2007 From: mike.hawley at nspire.co.nz (Mike Hawley) Date: Mon, 20 Aug 2007 19:33:18 +1200 Subject: negative check latency with Nagios as VM? In-Reply-To: <12A6FDDD13C460408A6E47E5DB1235A2010EDC45@UXCHANGE3.UoA.auckland.ac.nz> References: <7F477BD26F545A4C8E4779754A38EFB30236E9BE@PEPWMV00043.corp.pep.pvt> <12A6FDDD13C460408A6E47E5DB1235A2010EDC45@UXCHANGE3.UoA.auckland.ac.nz> Message-ID: <00d801c7e2fc$61d7ff50$1501010a@nspire.co.nz> Does the comment not to Nagios on VMWare also apply to a Distribution server? Thanks in advance - Mike -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Steve Shipway Sent: Monday, August 20, 2007 5:24 PM To: Frost, Mark {PBG} Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] negative check latency with Nagios as VM? We run a lot of VMWare here, although we're running our Nagios on a physical box for performance reasons. I've spent a lot of time researching how to monitor virtual hosts and the potential pitfalls... > We're testing our Nagios 2.9 implementation on a VMWare server. This > box does have the VMWare tools installed and is running NTP to sync > time. Linux under VMWare seems to work best if you let VMWare Tools synch the time to the ESX server (which uses NTP to synch its own time). If you run NTP on a virtual host, it can sometimes get confused as vmware-tools will also adjust the time. Similarly, a Windows guest should try to rely on vmware-tools for the clock synch not anything else. > The performance on this box seems a bit worse, but roughly comparable to > our physical box. (Oddly enough, Nagios restart almost instantaneously > on the VM where it takes around 20 seconds to respond to the web > interface on the physical box...) If your old box was Nagios 1.x then that's the reason. Nagios 2 is much, much faster in the web interface because it preparses and caches the configuration. Another possibility could be that your virtual disk is held partly in memory cache on the ESX server, speeding up initial access. > at one point I saw the minimum check time at -2.00 seconds. This means > this VM is so fast that it's running checks before they're even > scheduled! Wow! This is because your clock is getting skewed. VMWare is not good for anything which is sensitive at any resolution smaller than 1min, because the clock hops about a bit due to the virtualisation. Particularly when you're running ntp *and* vmware-tools it can cause weird behaviour as they fight over who is authoritative. > In any case, I was concerned about this. My biggest worry with a VM is > that it doesn't track the time well enough. This is very much the case, a guest OS under VMWare will experience weird clock behaviour. This is why plugins like check_net, check_cpu, and anything rate-based are pointless and actually misleading if run via NRPE in a VM. A plugin which queries SNMP to get a counter and then calculates its own rate on a different (physical) server is fine, as long as the rate calculation is not run in a VM. > Or perhaps I'm just associating this with a VM and it's just Nagios > itself. Has anyone seen this before? I've see it before in checks run under VMWare. If you want to check CPU usage under VMWare, I'm working with some people at Bright House Networks on the new version of check_esx to support ESX3. The old version works with ESX2. In brief - * Don't run NTPD and vmware-tools together * Don't run check_cpu, check_net or check_memory for a guest * Don't run any rate-based checks on a virtual machine * Don't run Nagios under VMWare if you can avoid it Hope this helps, Steve ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.0/957 - Release Date: 8/16/2007 1:46 PM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.0/957 - Release Date: 8/16/2007 1:46 PM ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nicole.haehnel at gmx.net Mon Aug 20 10:51:28 2007 From: nicole.haehnel at gmx.net (=?ISO-8859-1?Q?Nicole_H=E4hnel?=) Date: Mon, 20 Aug 2007 10:51:28 +0200 Subject: Nagios 3.0b1 and perl check plugins In-Reply-To: <46C4558A.5080808@gmx.net> References: <46C4558A.5080808@gmx.net> Message-ID: <46C95610.2080000@gmx.net> Nicole H?hnel schrieb: > Hi, > > I'm trying nagios 3.0b1, all works fine, standard nagios-plugins... > But some perl plugins (check_systime.pl, check_rsync, > check_disk_snmp.pl) are driving me crazy. > Within nagios, I get "Service check did not exit properly)". > I tested as user nagios and root on command line and it worked. > > Any ideas would be appreciated. > > Thanks! > Nicole > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > After recompiling nagios again without embedded perl, it work's now. I also deleted all logfiles and statusfiles. Nicole ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vijay.kalidindi at capgemini.com Mon Aug 20 11:10:34 2007 From: vijay.kalidindi at capgemini.com (Kalidindi, Vijay) Date: Mon, 20 Aug 2007 14:40:34 +0530 Subject: check_clamav and nrpe In-Reply-To: <46C95972.4090008@gmx.net> References: <46C95972.4090008@gmx.net> Message-ID: Hi Nicole, Check the permissions of "check_clamav" plugin whether the nrpe user can execute it. Just give 777 permission to check_clamav and see if it works. Once it works you can change the permission accordingly. Thanks, Vijay -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Nicole H?hnel Sent: Monday, August 20, 2007 2:36 PM To: Nagios Users mailinglist Subject: [Nagios-users] check_clamav and nrpe Hi, I'm trying to use check_clamav with nrpe, but I get "NRPE: Unable to read output". Other plugins on the same server are working with nrpe. Is anybody using this plugin without errors? Thanks! Nicole ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nicole.haehnel at gmx.net Mon Aug 20 11:32:10 2007 From: nicole.haehnel at gmx.net (=?ISO-8859-1?Q?Nicole_H=E4hnel?=) Date: Mon, 20 Aug 2007 11:32:10 +0200 Subject: check_clamav and nrpe In-Reply-To: References: Message-ID: <46C95F9A.4000402@gmx.net> Kalidindi, Vijay schrieb: > Hi Nicole, > > Check the permissions of "check_clamav" plugin whether the nrpe user can execute it. Just give 777 permission to check_clamav and see if it works. Once it works you can change the permission accordingly. > > Thanks, > Vijay > > > > Oh yes, I missed read permissions for others. :-[ Thanks!!! Nicole ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From digolinopage at yahoo.com.br Mon Aug 20 14:32:01 2007 From: digolinopage at yahoo.com.br (Rodrigo Tavares) Date: Mon, 20 Aug 2007 09:32:01 -0300 (ART) Subject: Can I add the hosts in nagios ? Message-ID: <839533.7721.qm@web56309.mail.re3.yahoo.com> Hello, I installed the nagios in GNU/Linux Debian. When I open the graphic interface, and click in 'Host detail' to hosts come the screen. I would like add more hosts. The config file is : host-gateway_nagios2.cfg define host { host_name gateway alias Default Gateway address 192.168.1.254 use generic-host } Can I add the hosts in nagios ? best regards, Faria Flickr agora em portugu?s. Voc? clica, todo mundo v?. http://www.flickr.com.br/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vijay.kalidindi at capgemini.com Mon Aug 20 14:43:49 2007 From: vijay.kalidindi at capgemini.com (Kalidindi, Vijay) Date: Mon, 20 Aug 2007 18:13:49 +0530 Subject: Can I add the hosts in nagios ? In-Reply-To: <839533.7721.qm@web56309.mail.re3.yahoo.com> References: <839533.7721.qm@web56309.mail.re3.yahoo.com> Message-ID: Hi Faria, Yes, you can add any number of hosts, the config will be something like # host-gateway_nagios2.cfg define host { host_name gateway alias Default Gateway address 192.168.1.254 use generic-host } define host { host_name gateway1 alias Default Gateway1 address 192.168.1.255 use generic-host } Make sure that "host-gateway_nagios2.cfg" file is included in nagios.cfg file. Thanks, Vijay. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Rodrigo Tavares Sent: Monday, August 20, 2007 6:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Can I add the hosts in nagios ? Hello, I installed the nagios in GNU/Linux Debian. When I open the graphic interface, and click in 'Host detail' to hosts come the screen. I would like add more hosts. The config file is : host-gateway_nagios2.cfg define host { host_name gateway alias Default Gateway address 192.168.1.254 use generic-host } Can I add the hosts in nagios ? best regards, Faria Flickr agora em portugu?s. Voc? clica, todo mundo v?. http://www.flickr.com.br/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From termx23 at gmail.com Mon Aug 20 15:40:56 2007 From: termx23 at gmail.com (Peter Edmonds) Date: Mon, 20 Aug 2007 23:40:56 +1000 Subject: Monitoring an email In-Reply-To: References: Message-ID: <6b8cee7e0708200640v9fb186dsa927229c9ea0a396@mail.gmail.com> On 8/20/07, svalding at kent.edu wrote: > Does anyone have any suggestions on how I can monitor > this certain email with Nagios? Use check_imap_receive from http://apricoti.pbwiki.com/NagiosCheckEmailDelivery I have used this in conjunction with a Gmail account set to forward to an IMAP account I have access to. Send the email to Gmail, gets forwarded to your IMAP account, use check_imap_receive. Peter Edmonds ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rarends at imc.net.au Mon Aug 20 15:58:15 2007 From: rarends at imc.net.au (Robert Arends) Date: Mon, 20 Aug 2007 23:58:15 +1000 Subject: Dependency processing during network outage causing eventual server hang. Message-ID: <89463A0FB7522A41A5410D9E4A38C60201570BB1@imcsrv05.imc.net.au> Hi all, I have a weird problem that I'd like to share and hopefully someone has some insight. Sorry for the lengthy dump below, but I find that producing a detailed question/info makes the email dialog initially more efficient. Environment: FC2 / Nagios 2.6 With the following stats of Nagios (from Tactical) Service Check Execution Time: 0.00 / 1.92 / 0.505 sec Service Check Latency: 0.00 / 3.29 / 0.432 sec Host Check Execution Time: 1.01 / 40.16 / 3.049 sec Host Check Latency: 0.00 / 0.00 / 0.000 sec # Active Host / Service Checks: 316 / 753 # Passive Host / Service Checks: 0 / 185 Most of the Passive service checks are SNMP Traps added via SNMPTT/SEC The 316 hosts (each with at least 2 services - check_ping & check_snmp) are broken in to 6 dependency trees. Each tree has the following number of hosts - Ahl 161, Hbs 45, Ebs 14, Imc 55, Ntl 35, Nut 6. These represent customer's hosts and are accessed via a single link to their network. Each dependency starts off with a 'root' host (our end of the link to the customer) and a single dependant host (the next hop). After that the dependencies follow the routed path to each host. All great so far. The problem is that when the link to the customer fails, the behaviour we have experienced repeatedly is the ultimate death of the server due to high process and low RAM. The server has 2 GB RAM and uses only about 1GB in normal operation. The chronology of events is thus: 1. link fails 2. a leaf host's service is reported as SOFT down. 3. The host is checked until 'max_check_attempts' are reached. 4. then before the host is reported in the log as HARD down, the parent host in the dependency hierarchy is checked. 5. this repeats until the path is traced up to the "network outage" root, 3 to 5 levels. 6. then this process seems to repeat for each and every service until they are ultimately marked as unreachable due to the network outage. All the while this is occurring, the "Scheduling Queue" does not move. The server processes show a single Nagios process. What seems to happen is that the whole Nagios system has become single threaded and fixated on checking all services one elongated step at a time. Not even the hosts in *other* dependency trees are being processed. The nagios.log shows snmp traps entering via the passive cmd interface, but from within the gui, the "alert history" does not show them. We've had the 'max_check_attempts' set to 12 and found the above scenario ultimately (15-40 minutes) turns into a ... "Warning: A system time change of 1116 seconds (forwards in time) has been detected. Compensating..." Message in nagios.log. This is followed by many of ... "Warning: The check of service 'NTL-PING' on host 'ntl*****' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service..." At this point the number of process reaches in excess of 600 and it is just a matter of time(30 mins) before the only option is to power off the server. This has happened 5 or 6 times before, today we tested this in a controlled environment and reproduced it easily. Next we reduced the 'max_check_attempts' to 2 and found the above chronology is the same, but never got the time adjustment after 50 minutes, but did see more of the service/host/parent checks as mentioned above. As soon as the link was re-established, all the "Scheduling Queue" tasks released and normal operation resumed (provided the server didn't die first). Has anyone seen this sort of thing before? I've looked at the change-log for 2.7/2.8/2.9 to see if there are fixes for this sort of thing but no luck. Rob :-) ________________________________ Robert Arends, Systems Engineer. Direct 03 9863 1334 * Mobile 0412 412 345 * Email rarends at imc.net.au Web www.imc.net.au * Helpdesk 1300 555 IMC * Managed Services 02 9006 8282 (24hrs) ________________________________ This email and any attachments transmitted with it are confidential and may contain legally privileged information. If you are not the intended recipient you are prohibited from disclosing, copying or using the information contained in it. If you have received this email in error, please notify the sender immediately by return email and then delete all copies of this transmission together with any attachments. It is the addressee's/recipient's duty to virus scan and otherwise test the email before loading it onto any computer system. IMC Communications does not accept liability in connection with any computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment in relation to this email. For information about our privacy policy, visit the IMC Communications website at www.imc.net.au This email has been checked by IMC's SMTP gateway. -&- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 20 16:45:49 2007 From: marc at ena.com (Marc Powell) Date: Mon, 20 Aug 2007 09:45:49 -0500 Subject: Monitoring an email 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: Monday, August 20, 2007 8:21 AM > To: Nagios List > Subject: [Nagios-users] Monitoring an email > > Hey list, > > I've been using nagios for about 6 months now, and am very pleased with > my installation. I've been giving a task, and I'm not sure about how to > execute it. I need to make sure that an email goes out every day at 3:00 > pm. This email contains a report of all the orders that have come in to > my company during the day. If this email doesn't come out, things get > backed up, and all hell breaks loose. I was thinking about using the > check_smtp plugin, but am not quite sure that is the best course of check_smtp would just verify that your mail server was answering but provide no specific information about whether a particular e-mail was processed. If the e-mail is sent or received by a linux box, check_log2.pl comes to mind. You'd verify in the log file that you saw the e-mail sent by looking for some unique marker (from=<...> address for example). While I haven't specifically crafted a time dependent check, I presume that you could set normal check interval to 24 hours, and set the check period to something like 3:05 to 3:15 and nagios would do the right thing. -- 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 mark.frost1 at pepsi.com Mon Aug 20 17:39:16 2007 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Mon, 20 Aug 2007 11:39:16 -0400 Subject: negative check latency with Nagios as VM? In-Reply-To: <12A6FDDD13C460408A6E47E5DB1235A2010EDC45@UXCHANGE3.UoA.auckland.ac.nz> References: <12A6FDDD13C460408A6E47E5DB1235A2010EDC45@UXCHANGE3.UoA.auckland.ac.nz> Message-ID: <7F477BD26F545A4C8E4779754A38EFB30236EEDE@PEPWMV00043.corp.pep.pvt> Steve, Thanks for your comments. We're running the VM as a copy of our current Nagios instance which is also 2.9. So most likely, it's that the disk is being cached as you indicated. At this point, because it sounds like we have a choice, I think we may push to keep Nagios on a physical box. We're going to break our current architecture out and finally start using a distributed model (possibly with some failover as well). I was considering having some of the distributed servers be virtual. If the "master" (i.e. the server that the distributed boxes reported to) was physical but one or more of the distributed servers were VM's would that pose a serious problem? We were also talking about making the failover server for the master a VM. In the event of a disaster that would require a failover, I suppose we could deal with that server's idiosyncracies for the duration of that outage. Thanks Mark -----Original Message----- From: Steve Shipway [mailto:s.shipway at auckland.ac.nz] Sent: Monday, August 20, 2007 1:24 AM To: Frost, Mark {PBG} Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] negative check latency with Nagios as VM? We run a lot of VMWare here, although we're running our Nagios on a physical box for performance reasons. I've spent a lot of time researching how to monitor virtual hosts and the potential pitfalls... > We're testing our Nagios 2.9 implementation on a VMWare server. This > box does have the VMWare tools installed and is running NTP to sync > time. Linux under VMWare seems to work best if you let VMWare Tools synch the time to the ESX server (which uses NTP to synch its own time). If you run NTP on a virtual host, it can sometimes get confused as vmware-tools will also adjust the time. Similarly, a Windows guest should try to rely on vmware-tools for the clock synch not anything else. > The performance on this box seems a bit worse, but roughly comparable to > our physical box. (Oddly enough, Nagios restart almost instantaneously > on the VM where it takes around 20 seconds to respond to the web > interface on the physical box...) If your old box was Nagios 1.x then that's the reason. Nagios 2 is much, much faster in the web interface because it preparses and caches the configuration. Another possibility could be that your virtual disk is held partly in memory cache on the ESX server, speeding up initial access. > at one point I saw the minimum check time at -2.00 seconds. This means > this VM is so fast that it's running checks before they're even > scheduled! Wow! This is because your clock is getting skewed. VMWare is not good for anything which is sensitive at any resolution smaller than 1min, because the clock hops about a bit due to the virtualisation. Particularly when you're running ntp *and* vmware-tools it can cause weird behaviour as they fight over who is authoritative. > In any case, I was concerned about this. My biggest worry with a VM is > that it doesn't track the time well enough. This is very much the case, a guest OS under VMWare will experience weird clock behaviour. This is why plugins like check_net, check_cpu, and anything rate-based are pointless and actually misleading if run via NRPE in a VM. A plugin which queries SNMP to get a counter and then calculates its own rate on a different (physical) server is fine, as long as the rate calculation is not run in a VM. > Or perhaps I'm just associating this with a VM and it's just Nagios > itself. Has anyone seen this before? I've see it before in checks run under VMWare. If you want to check CPU usage under VMWare, I'm working with some people at Bright House Networks on the new version of check_esx to support ESX3. The old version works with ESX2. In brief - * Don't run NTPD and vmware-tools together * Don't run check_cpu, check_net or check_memory for a guest * Don't run any rate-based checks on a virtual machine * Don't run Nagios under VMWare if you can avoid it Hope this helps, Steve ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deepa3 at gmail.com Mon Aug 20 21:17:49 2007 From: deepa3 at gmail.com (Deepa.V) Date: Mon, 20 Aug 2007 12:17:49 -0700 Subject: Ndoutils Error Message-ID: <5374ee4f0708201217v2eaade5an5e314f4ffa6ccb27@mail.gmail.com> Hi I am new to Nagios. Iam trying to flush the nagios data to Mysql database when i see the log message Iam getting an error as below Aug 20 12:13:18 localhost nagios: ndomod: Error writing to data sink! Some output may get lost. 0 queued items to flush. Aug 20 12:13:34 localhost nagios: ndomod: Successfully reconnected to data sink! 0 items lost, 70 queued items to flush. Aug 20 12:13:34 localhost nagios: ndomod: Successfully flushed queued items to data sink. Aug 20 12:15:16 localhost nagios: ndomod: Error writing to data sink! Some output may get lost. 0 queued items to flush. Aug 20 12:15:16 localhost nagios: ndomod: Successfully reconnected to data sink! 0 items lost, 0 queued items to flush. Aug 20 12:15:16 localhost nagios: ndomod: Successfully flushed queued items to data sink. I couldn't see any data flushed to mysql database Can anyone please help me with this Thanks Deepa. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Aug 20 21:51:20 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Mon, 20 Aug 2007 15:51:20 -0400 Subject: Monitoring multicast - any ideas [SEC=UNCLASSIFIED] In-Reply-To: <18544FA17F881A4DBC2F41AC89E46BA9018F942F@acexp005.portfolio.base> References: <18544FA17F881A4DBC2F41AC89E46BA9018F942F@acexp005.portfolio.base> Message-ID: Hi Stanley, have you considered using passive or active checks on the MS Media server? depending on the Application you are monitoring, there may be a command line interface, eventlog or some kind of debuging interface to get details out of the applicatoin. I am not familiar with media Server but hopefully this helps(maybe)? Tony (author of NC_NEt) On 8/19/07, Stanley.Hopcroft at dest.gov.au wrote: > > Dear Folks, > > Does anyone have any wisdom to offer about monitoring multicast > applications ? > > The context is Cisco PIM, so the Cisco Mroute MIB is an obvious place to > start. What makes it a bit harder is that the application of interest > (TV broadcasting) uses an MS Media server that simply joins any old > group when it starts. > > In other words, the clients learn from the Web page what group they > should join, and since the mroute table is indexed by group, the group > needs to be known or the whole table is checked for the presence of the > server. > > 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 > -------------- 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 deepa3 at gmail.com Mon Aug 20 22:51:43 2007 From: deepa3 at gmail.com (Deepa.V) Date: Mon, 20 Aug 2007 13:51:43 -0700 Subject: Ndoutils Error In-Reply-To: <5374ee4f0708201217v2eaade5an5e314f4ffa6ccb27@mail.gmail.com> References: <5374ee4f0708201217v2eaade5an5e314f4ffa6ccb27@mail.gmail.com> Message-ID: <5374ee4f0708201351u4fafc70bpf1ca06da862a7c63@mail.gmail.com> > Hi > > I am new to Nagios. Iam trying to flush the nagios data to Mysql database > > when i see the log message Iam getting an error as below > > Aug 20 12:13:18 localhost nagios: ndomod: Error writing to data sink! > Some output may get lost. 0 queued items to flush. > Aug 20 12:13:34 localhost nagios: ndomod: Successfully reconnected to > data sink! 0 items lost, 70 queued items to flush. > Aug 20 12:13:34 localhost nagios: ndomod: Successfully flushed queued > items to data sink. > Aug 20 12:15:16 localhost nagios: ndomod: Error writing to data sink! > Some output may get lost. 0 queued items to flush. > Aug 20 12:15:16 localhost nagios: ndomod: Successfully reconnected to > data sink! 0 items lost, 0 queued items to flush. > Aug 20 12:15:16 localhost nagios: ndomod: Successfully flushed queued > items to data sink. > > > I couldn't see any data flushed to mysql database > > Can anyone please help me with this > > Thanks > Deepa. > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rarends at imc.net.au Tue Aug 21 01:22:34 2007 From: rarends at imc.net.au (Robert Arends) Date: Tue, 21 Aug 2007 09:22:34 +1000 Subject: Dependency processing during network outagecausing eventual server hang. In-Reply-To: References: <89463A0FB7522A41A5410D9E4A38C60201570BB1@imcsrv05.imc.net.au> Message-ID: <89463A0FB7522A41A5410D9E4A38C60201570BCA@imcsrv05.imc.net.au> Marc, Thanks for your answer. We are indeed using the PARENTS directive, apologies for using the wrong word - I had no idea until reading further last night that there are also dependency directives. From my perspective the PARENTS directive produced a dependant hierarchy, so I called it 'dependency'. We also came from using Whats Up Gold, and there the parents concept is called dependency. The other RAM user is MRTG, but RAM is not the issue. RAM use does not climb except when 600 processes start at once.!!! :Marc said: Host check processing is a serial process. Nagios 2 and prior stops _all_ other processing while hosts are being checked up to max_check_attempts :: Wow, ok so we can tune this to reduce the impact of the problem. Now that you know we are using parents logic, can you revisit your answer? Especially re point 6 below. > 6. then this process seems to repeat for each and every service until > they are _all_ ultimately marked as unreachable due to the network outage. Based on the above experience (point 6)... Even with max_check_attempts set to 2, that would be ... 161 leaf-hosts x ~2 services + ~100 parents = 422 x 2 minutes = 844 minutes to fully check the entire outage and return to checking the other parent trees. I think you are saying that Nagios 3 continues to check other hosts while dealing with a network outage - how stable is v3? Rob :-) -----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, August 21, 2007 12:38 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Dependency processing during network outagecausing eventual server hang. Preface - I don't use dependencies, but... > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Robert Arends > Sent: Monday, August 20, 2007 8:58 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Dependency processing during network outage > causing eventual server hang. > > Each dependency starts off with a 'root' host (our end of the link to > the customer) and a single dependant host (the next hop). > After that the dependencies follow the routed path to each host. > All great so far. I'd suggest that using the 'parents' directive in your host definitions is probably a better way to accomplish the above rather than dependencies. Your use appears to be exactly what it was meant for. > The problem is that when the link to the customer fails, the behaviour > we have experienced repeatedly is the ultimate death of the server due > to high process and low RAM. The server has 2 GB RAM and uses only > about 1GB in normal operation. What's using the extra RAM? > The chronology of events is thus: > 1. link fails > 2. a leaf host's service is reported as SOFT down. > 3. The host is checked until 'max_check_attempts' are reached. > 4. then before the host is reported in the log as HARD down, the parent > host in the dependency hierarchy is checked. > 5. this repeats until the path is traced up to the "network outage" > root, 3 to 5 levels. > 6. then this process seems to repeat for each and every service until > they are ultimately marked as unreachable due to the network outage. 1-5 appear normal. 6 is probably because you're using dependencies but I would expect nagios to use the last host check state instead of re-checking. I'm a bit more familiar with the parents logic though... > All the while this is occurring, the "Scheduling Queue" does not move. > The server processes show a single Nagios process. > What seems to happen is that the whole Nagios system has become single > threaded and fixated on checking all services one elongated step at a > time. Yup. That's well known behavior. Host check processing is a serial process. Nagios 2 and prior stops _all_ other processing while hosts are being checked up to max_check_attempts. You want your host checks to complete as quickly as possible. Only the minimum amount of pings (if that's what you use), repeated the minimum amount of check_attempts to satisfy you that the host is really down. > As soon as the link was re-established, all the "Scheduling Queue" tasks > released and normal operation resumed (provided the server didn't die > first). A likely explanation is that host check results return an OK state and nagios moves on to the next task immediately. -- 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 email and any attachments transmitted with it are confidential and may contain legally privileged information. If you are not the intended recipient you are prohibited from disclosing, copying or using the information contained in it. If you have received this email in error, please notify the sender immediately by return email and then delete all copies of this transmission together with any attachments. It is the addressee's/recipient's duty to virus scan and otherwise test the email before loading it onto any computer system. IMC Communications does not accept liability in connection with any computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment in relation to this email. For information about our privacy policy, visit the IMC Communications website at www.imc.net.au This email has been checked by IMC's SMTP gateway. -&- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From villem at ekool.ee Tue Aug 21 02:35:41 2007 From: villem at ekool.ee (Villem Alari) Date: Tue, 21 Aug 2007 03:35:41 +0300 Subject: Error: Could not open CGI config file '/usr/local/nagios/etc/cgi.cfg' for reading! Message-ID: <2EEBB465-297E-4A65-8448-768A5C433540@ekool.ee> I am geting this mesage in Nagios first page: Whoops! Error: Could not open CGI config file '/usr/local/nagios/etc/cgi.cfg' for reading! Here are some things you should check in order to resolve this error: 1. Make sure you've installed a CGI config file in its proper location. See the error message about for details on where the CGI is expecting to find the configuration file. A sample CGI configuration file (named cgi.cfg) can be found in the sample-config/ subdirectory of the Nagios source code distribution. 2. Make sure the user your web server is running as has permission to read the CGI config file. Make sure you read the documentation on installing and configuring Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. I can't understand why as I have done everything like it said in installation guide. I did this /usr/sbin/groupadd nagcmd, I did that / usr/sbin/usermod -G nagcmd www-data and also that /usr/sbin/usermod - G nagcmd nagios. I also added to my apache2.conf that: ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user Alias /nagios /usr/local/nagios/share Options None AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user What is wrong so that I can't use Nagios cgi files? I am buzzled really. N.B.! I am using Ubuntu 7.04 server version. Regards, Villem Alari ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From villem at ekool.ee Tue Aug 21 04:29:47 2007 From: villem at ekool.ee (Villem Alari) Date: Tue, 21 Aug 2007 05:29:47 +0300 Subject: Error: Could not open CGI config file '/usr/local/nagios/etc/cgi.cfg' for reading! In-Reply-To: <2EEBB465-297E-4A65-8448-768A5C433540@ekool.ee> References: <2EEBB465-297E-4A65-8448-768A5C433540@ekool.ee> Message-ID: Ok, I got rid of that problem. On 21.08.2007, at 3:35, Villem Alari wrote: > I am geting this mesage in Nagios first page: > > Whoops! > > Error: Could not open CGI config file '/usr/local/nagios/etc/cgi.cfg' > for reading! > > Here are some things you should check in order to resolve this error: > > 1. Make sure you've installed a CGI config file in its proper > location. See the error message about for details on where the CGI is > expecting to find the configuration file. A sample CGI configuration > file (named cgi.cfg) can be found in the sample-config/ subdirectory > of the Nagios source code distribution. > 2. Make sure the user your web server is running as has > permission to read the CGI config file. > > Make sure you read the documentation on installing and configuring > Nagios thoroughly before continuing. If all else fails, try sending a > message to one of the mailing lists. More information can be found at > http://www.nagios.org. > > I can't understand why as I have done everything like it said in > installation guide. I did this /usr/sbin/groupadd nagcmd, I did that / > usr/sbin/usermod -G nagcmd www-data and also that /usr/sbin/usermod - > G nagcmd nagios. I also added to my apache2.conf that: > > ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin > > > Options ExecCGI > AllowOverride None > Order allow,deny > Allow from all > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > Require valid-user > > > Alias /nagios /usr/local/nagios/share > > > Options None > AllowOverride None > Order allow,deny > Allow from all > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > Require valid-user > > > What is wrong so that I can't use Nagios cgi files? I am buzzled > really. > > N.B.! I am using Ubuntu 7.04 server version. > > Regards, > Villem Alari > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 villem at ekool.ee Tue Aug 21 04:31:43 2007 From: villem at ekool.ee (Villem Alari) Date: Tue, 21 Aug 2007 05:31:43 +0300 Subject: Could not read object configuration data! Message-ID: <64BC700D-7877-4CF9-A7C2-BACC3A820624@ekool.ee> What should I do to get rid of that error: Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: 1. Verify configuration options using the -v command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors. 3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. Regards, Villem Alari ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Tue Aug 21 05:48:54 2007 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 21 Aug 2007 15:48:54 +1200 Subject: negative check latency with Nagios as VM? In-Reply-To: <00d801c7e2fc$61d7ff50$1501010a@nspire.co.nz> References: <7F477BD26F545A4C8E4779754A38EFB30236E9BE@PEPWMV00043.corp.pep.pvt> <12A6FDDD13C460408A6E47E5DB1235A2010EDC45@UXCHANGE3.UoA.auckland.ac.nz> <00d801c7e2fc$61d7ff50$1501010a@nspire.co.nz> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A2010EDD75@UXCHANGE3.UoA.auckland.ac.nz> > Does the comment not to Nagios on VMWare also apply to a Distribution > server? Yes, if any of the checks are rate-based with the rate being calculated by the plugin. Doing anything on a VMWare guest which is sensitive to the clock is not a good idea. So, you can check that (eg) http is up and running. You cannot read the network interface counter, compare it to the last time, and calculate a throughput. Any statuses that you pass on via NSCA should be OK as their being a couple of seconds out will not matter. VMWare themselves advise not to perform any monitoring which is rate-based on the guest, and further say that any monitoring which polls hardware (eg network card traffic) will cause performance problems, and also that monitoring CPU and Memory on the guest is pointless and misleading and should be done via the virtualcentre or ESX server itself. > I'm working with some people at Bright House Networks > on the new version of check_esx to support ESX3. My mistake here, I meant *Ground Work Open Source* are working with me on this. A slight screwup due to doing several emails at once. I'd hate to not give credit where it is due. Steve ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deepa3 at gmail.com Tue Aug 21 07:07:20 2007 From: deepa3 at gmail.com (Deepa.V) Date: Mon, 20 Aug 2007 22:07:20 -0700 Subject: Ndoutils Error In-Reply-To: <5374ee4f0708201217v2eaade5an5e314f4ffa6ccb27@mail.gmail.com> References: <5374ee4f0708201217v2eaade5an5e314f4ffa6ccb27@mail.gmail.com> Message-ID: <5374ee4f0708202207w3c3a02d7ga8b57b434efb5b0f@mail.gmail.com> > Hi > > I am new to Nagios. Iam trying to flush the nagios data to Mysql database > > when i see the log message Iam getting an error as below > > Aug 20 12:13:18 localhost nagios: ndomod: Error writing to data sink! > Some output may get lost. 0 queued items to flush. > Aug 20 12:13:34 localhost nagios: ndomod: Successfully reconnected to > data sink! 0 items lost, 70 queued items to flush. > Aug 20 12:13:34 localhost nagios: ndomod: Successfully flushed queued > items to data sink. > Aug 20 12:15:16 localhost nagios: ndomod: Error writing to data sink! > Some output may get lost. 0 queued items to flush. > Aug 20 12:15:16 localhost nagios: ndomod: Successfully reconnected to > data sink! 0 items lost, 0 queued items to flush. > Aug 20 12:15:16 localhost nagios: ndomod: Successfully flushed queued > items to data sink. > > > I couldn't see any data flushed to mysql database > > Can anyone please help me with this > > Thanks > Deepa. > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From villem at ekool.ee Tue Aug 21 08:33:56 2007 From: villem at ekool.ee (Villem Alari) Date: Tue, 21 Aug 2007 09:33:56 +0300 Subject: Could not read object configuration data! In-Reply-To: <64BC700D-7877-4CF9-A7C2-BACC3A820624@ekool.ee> References: <64BC700D-7877-4CF9-A7C2-BACC3A820624@ekool.ee> Message-ID: <65122A46-DC9D-44E6-8649-952BCD9F80D8@ekool.ee> Ok, I got over that error too :) On 21.08.2007, at 5:31, Villem Alari wrote: > What should I do to get rid of that error: > > Whoops! > > Error: Could not read object configuration data! > > Here are some things you should check in order to resolve this error: > > 1. Verify configuration options using the -v command-line option > to check for errors. > 2. Check the Nagios log file for messages relating to startup or > status data errors. > 3. Make sure you've compiled the main program and the CGIs to > use the same object data storage options (i.e. default text file or > template-based file). > > Make sure you read the documentation on installing, configuring and > running Nagios thoroughly before continuing. If all else fails, try > sending a message to one of the mailing lists. More information can > be found at http://www.nagios.org. > > Regards, > Villem Alari ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Kevin.Branagan at infostream.com.au Tue Aug 21 08:40:45 2007 From: Kevin.Branagan at infostream.com.au (Kevin Branagan) Date: Tue, 21 Aug 2007 16:40:45 +1000 Subject: Could not read object configuration data! In-Reply-To: <65122A46-DC9D-44E6-8649-952BCD9F80D8@ekool.ee> References: <64BC700D-7877-4CF9-A7C2-BACC3A820624@ekool.ee> <65122A46-DC9D-44E6-8649-952BCD9F80D8@ekool.ee> Message-ID: <46CA88ED.8000204@infostream.com.au> What was the solution? Villem Alari wrote: > Ok, I got over that error too :) > > On 21.08.2007, at 5:31, Villem Alari wrote: > > >> What should I do to get rid of that error: >> >> Whoops! >> >> Error: Could not read object configuration data! >> >> Here are some things you should check in order to resolve this error: >> >> 1. Verify configuration options using the -v command-line option >> to check for errors. >> 2. Check the Nagios log file for messages relating to startup or >> status data errors. >> 3. Make sure you've compiled the main program and the CGIs to >> use the same object data storage options (i.e. default text file or >> template-based file). >> >> Make sure you read the documentation on installing, configuring and >> running Nagios thoroughly before continuing. If all else fails, try >> sending a message to one of the mailing lists. More information can >> be found at http://www.nagios.org. >> >> Regards, >> Villem Alari >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 villem at ekool.ee Tue Aug 21 08:45:39 2007 From: villem at ekool.ee (Villem Alari) Date: Tue, 21 Aug 2007 09:45:39 +0300 Subject: Could not read object configuration data! In-Reply-To: <46CA88ED.8000204@infostream.com.au> References: <64BC700D-7877-4CF9-A7C2-BACC3A820624@ekool.ee> <65122A46-DC9D-44E6-8649-952BCD9F80D8@ekool.ee> <46CA88ED.8000204@infostream.com.au> Message-ID: I simply had not started it properly. On 21.08.2007, at 9:40, Kevin Branagan wrote: > What was the solution? > > Villem Alari wrote: >> Ok, I got over that error too :) >> >> On 21.08.2007, at 5:31, Villem Alari wrote: >> >> >>> What should I do to get rid of that error: >>> >>> Whoops! >>> >>> Error: Could not read object configuration data! >>> >>> Here are some things you should check in order to resolve this >>> error: >>> >>> 1. Verify configuration options using the -v command-line option >>> to check for errors. >>> 2. Check the Nagios log file for messages relating to startup or >>> status data errors. >>> 3. Make sure you've compiled the main program and the CGIs to >>> use the same object data storage options (i.e. default text file or >>> template-based file). >>> >>> Make sure you read the documentation on installing, configuring and >>> running Nagios thoroughly before continuing. If all else fails, try >>> sending a message to one of the mailing lists. More information can >>> be found at http://www.nagios.org. >>> >>> Regards, >>> Villem Alari >>> >> >> --------------------------------------------------------------------- >> ---- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a >> browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 Manoj.Velayudhannair at ustri.com Tue Aug 21 14:14:25 2007 From: Manoj.Velayudhannair at ustri.com (Manoj Velayudhannair) Date: Tue, 21 Aug 2007 17:44:25 +0530 Subject: Syslog Event Log Message-ID: All, Is it possible to use Nagios to capture Switch/Router Syslogs/eventlogs/error logs. Thanks in advance. Regards, Manoj -------------- 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 syd at ittagteam.com Tue Aug 21 15:17:34 2007 From: syd at ittagteam.com (Syd Alsobrook) Date: Tue, 21 Aug 2007 09:17:34 -0400 Subject: Syslog Event Log In-Reply-To: References: Message-ID: <200708210917.35159.syd@ittagteam.com> On Tuesday 21 August 2007 08:14, Manoj Velayudhannair wrote: > Is it possible to use Nagios to capture Switch/Router > Syslogs/eventlogs/error logs. It would be better to use syslog-ng and have all your servers, routers, and switches send there logs to your Nagios server. Then you can check the logs centrally. Syd -- Syd Alsobrook IT Tag Team, Inc. 518-598-6025 http://www.ittagteam.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 Manoj.Velayudhannair at ustri.com Tue Aug 21 15:26:54 2007 From: Manoj.Velayudhannair at ustri.com (Manoj Velayudhannair) Date: Tue, 21 Aug 2007 18:56:54 +0530 Subject: Syslog Event Log In-Reply-To: <200708210917.35159.syd@ittagteam.com> References: <200708210917.35159.syd@ittagteam.com> Message-ID: Thank you Syd, could you please detail your view. Manoj. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Syd Alsobrook Sent: Tuesday, August 21, 2007 6:48 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Syslog Event Log On Tuesday 21 August 2007 08:14, Manoj Velayudhannair wrote: > Is it possible to use Nagios to capture Switch/Router > Syslogs/eventlogs/error logs. It would be better to use syslog-ng and have all your servers, routers, and switches send there logs to your Nagios server. Then you can check the logs centrally. Syd -- Syd Alsobrook IT Tag Team, Inc. 518-598-6025 http://www.ittagteam.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 td3201 at gmail.com Tue Aug 21 15:50:47 2007 From: td3201 at gmail.com (Terry) Date: Tue, 21 Aug 2007 08:50:47 -0500 Subject: quoting authentication strings with nrpe_nt Message-ID: <8ee061010708210650q60c89dpe9ea61c8d12da4ab@mail.gmail.com> Hello, I am using nrpe_nt with wmi plugins. I am passing some authentication strings like: /usr/lib/nagios/plugins/check_nrpe -H 10.0.1.127 -c get_service_auth -a 10.0.1.5 msdtc 'asdfasdf' 'foo!bar' Notice the password has an exclamation point (!) in it. How can I quote this properly? I have tried: "foo!bar" 'foo!bar' "foo\!bar" 'foo\!bar' All with no luck. If I escape it with backslash (\), NRPE complains with: CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. I cannot change this password so I must think of a work around. Maybe a perl wrapper with qq// ? 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 syd at ittagteam.com Tue Aug 21 15:58:44 2007 From: syd at ittagteam.com (Syd Alsobrook) Date: Tue, 21 Aug 2007 09:58:44 -0400 Subject: Syslog Event Log In-Reply-To: References: <200708210917.35159.syd@ittagteam.com> Message-ID: <200708210958.45043.syd@ittagteam.com> On Tuesday 21 August 2007 09:26, Manoj Velayudhannair wrote: > Thank you Syd, could you please detail your view. I have a central management server. It runs Nagios, Munin, Cacti, and Syslog-ng. I have Syslog-ng configured with these lines. # Begin source remote { udp(); tcp(port(514) keep-alive(no)); }; destination remote_hosts { file("/var/log/remote_hosts/$HOST/$FACILITY.log"); }; log { source(remote); destination(remote_hosts); }; # End These lines configure Syslog-ng to accept connections from remote systems and place the logs in to a host specific directory. I run syslog-ng on all my linux servers. I have not setup the monitoring yet, it is on my todo list. There are a number of log checks in the Nagios Exchange. Enjoy, Syd -- Syd Alsobrook IT Tag Team, Inc. 518-598-6025 http://www.ittagteam.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 Manoj.Velayudhannair at ustri.com Tue Aug 21 16:34:54 2007 From: Manoj.Velayudhannair at ustri.com (Manoj Velayudhannair) Date: Tue, 21 Aug 2007 20:04:54 +0530 Subject: Syslog Event Log In-Reply-To: <200708210958.45043.syd@ittagteam.com> References: <200708210917.35159.syd@ittagteam.com> <200708210958.45043.syd@ittagteam.com> Message-ID: Hi Syd, But my case is little different. I got my Tivoli doing my Monitoring (NMS) job. I am in search for a Syslog server, for my Cisco devices, which can send alerts on critical error and warnings. So would like to have your advise on the same. Thanks and Regards. Manoj -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Syd Alsobrook Sent: Tuesday, August 21, 2007 7:29 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Syslog Event Log On Tuesday 21 August 2007 09:26, Manoj Velayudhannair wrote: > Thank you Syd, could you please detail your view. I have a central management server. It runs Nagios, Munin, Cacti, and Syslog-ng. I have Syslog-ng configured with these lines. # Begin source remote { udp(); tcp(port(514) keep-alive(no)); }; destination remote_hosts { file("/var/log/remote_hosts/$HOST/$FACILITY.log"); }; log { source(remote); destination(remote_hosts); }; # End These lines configure Syslog-ng to accept connections from remote systems and place the logs in to a host specific directory. I run syslog-ng on all my linux servers. I have not setup the monitoring yet, it is on my todo list. There are a number of log checks in the Nagios Exchange. Enjoy, Syd -- Syd Alsobrook IT Tag Team, Inc. 518-598-6025 http://www.ittagteam.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 benny at bennyvision.com Tue Aug 21 16:36:31 2007 From: benny at bennyvision.com (C. Bensend) Date: Tue, 21 Aug 2007 09:36:31 -0500 (CDT) Subject: negative check latency with Nagios as VM? In-Reply-To: <12A6FDDD13C460408A6E47E5DB1235A2010EDD75@UXCHANGE3.UoA.auckland.ac.nz > References: <7F477BD26F545A4C8E4779754A38EFB30236E9BE@PEPWMV00043.corp.pep.pvt> <12A6FDDD13C460408A6E47E5DB1235A2010EDC45@UXCHANGE3.UoA.auckland.ac.nz> <00d801c7e2fc$61d7ff50$1501010a@nspire.co.nz> <12A6FDDD13C460408A6E47E5DB1235A2010EDD75@UXCHANGE3.UoA.auckland.ac.nz> Message-ID: <2776.134.244.169.17.1187706991.squirrel@webmail.stinkweasel.net> > VMWare themselves advise not to perform any monitoring which is > rate-based on the guest, and further say that any monitoring which polls > hardware (eg network card traffic) will cause performance problems, and > also that monitoring CPU and Memory on the guest is pointless and > misleading and should be done via the virtualcentre or ESX server > itself. Hi Steve, Can you elaborate a little on VMWare's suggestions? I'm working on a project to do just this, and I'd appreciate any references I can pass along to my working group. Thanks! Benny -- "This officer's men seem to follow him merely out of idle curiosity." -- Sandhurst officer cadet evaluation ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From syd at ittagteam.com Tue Aug 21 16:38:59 2007 From: syd at ittagteam.com (Syd Alsobrook) Date: Tue, 21 Aug 2007 10:38:59 -0400 Subject: Syslog Event Log In-Reply-To: References: <200708210958.45043.syd@ittagteam.com> Message-ID: <200708211038.59853.syd@ittagteam.com> On Tuesday 21 August 2007 10:34, Manoj Velayudhannair wrote: > But my case is little different. I got my Tivoli doing my Monitoring > (NMS) job. I am in search for a Syslog server, for my Cisco devices, > which can send alerts on critical error and warnings. Use syslog-ng to collect your logs in a central location. Have Tivoli parse the logs. Syd -- Syd Alsobrook IT Tag Team, Inc. 518-598-6025 http://www.ittagteam.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 Manoj.Velayudhannair at ustri.com Tue Aug 21 16:43:40 2007 From: Manoj.Velayudhannair at ustri.com (Manoj Velayudhannair) Date: Tue, 21 Aug 2007 20:13:40 +0530 Subject: Syslog Event Log In-Reply-To: <200708211038.59853.syd@ittagteam.com> References: <200708210958.45043.syd@ittagteam.com> <200708211038.59853.syd@ittagteam.com> Message-ID: Thanks syd, But as Tivoli is taken care by a separate team, can u suggest me an open source which can analyze the logs, preferably having a web interface. Manoj. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Syd Alsobrook Sent: Tuesday, August 21, 2007 8:09 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Syslog Event Log On Tuesday 21 August 2007 10:34, Manoj Velayudhannair wrote: > But my case is little different. I got my Tivoli doing my Monitoring > (NMS) job. I am in search for a Syslog server, for my Cisco devices, > which can send alerts on critical error and warnings. Use syslog-ng to collect your logs in a central location. Have Tivoli parse the logs. Syd -- Syd Alsobrook IT Tag Team, Inc. 518-598-6025 http://www.ittagteam.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 syd at ittagteam.com Tue Aug 21 16:55:41 2007 From: syd at ittagteam.com (Syd Alsobrook) Date: Tue, 21 Aug 2007 10:55:41 -0400 Subject: Syslog Event Log In-Reply-To: References: <200708211038.59853.syd@ittagteam.com> Message-ID: <200708211055.41851.syd@ittagteam.com> On Tuesday 21 August 2007 10:43, Manoj Velayudhannair wrote: > But as Tivoli is taken care by a separate team, can u suggest me an open > source which can analyze the logs, preferably having a web interface. There are many. Go to www.freshmeat.net. http://freshmeat.net/browse/148/ http://freshmeat.net/browse/245/ http://freshmeat.net/search/?q=log+file+monitoring&trove_cat_id=862§ion=projects&Go.x=0&Go.y=0 http://freshmeat.net/browse/862/ Syd -- Syd Alsobrook IT Tag Team, Inc. 518-598-6025 http://www.ittagteam.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 enst at mail.ru Tue Aug 21 17:28:01 2007 From: enst at mail.ru (Evgeny N.Stepanov) Date: Tue, 21 Aug 2007 19:28:01 +0400 Subject: =?koi8-r?b?bmFnaW9zIGVtYWlsIG5vdGlmaWNhdGlvbnMg?= =?koi8-r?b?IkZyb20iIGFkZHJlc3M=?= Message-ID: Hello, nagios users! Used nagios for monitoring my network for couple of years for now. And never bothered to receive notifications emails from "www-data" user (which nagios is running under). And now i found out that there is no place for setting up some fancy name like "Monitor Server" or whatever. Is there any config option for that? There is admin_email in main config file, but it's not what i want. Also tried to use /bin/mail option of adding headers to mail message, it even works, but it's not the right way i think. Gotta be some other way. Anybody knows? --- best regards, Evgeny ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jkramme at crownpack.com Tue Aug 21 18:49:44 2007 From: jkramme at crownpack.com (John Kramme) Date: Tue, 21 Aug 2007 11:49:44 -0500 Subject: nagios email notifications "From" address In-Reply-To: References: Message-ID: <64077F19C0D1AE4087B34935CE93C98407516186@cpserver12.crownpack.net> This is what I use. A nice little Perl script.... Very configurable -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Evgeny N.Stepanov Sent: Tuesday, August 21, 2007 10:28 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios email notifications "From" address Hello, nagios users! Used nagios for monitoring my network for couple of years for now. And never bothered to receive notifications emails from "www-data" user (which nagios is running under). And now i found out that there is no place for setting up some fancy name like "Monitor Server" or whatever. Is there any config option for that? There is admin_email in main config file, but it's not what i want. Also tried to use /bin/mail option of adding headers to mail message, it even works, but it's not the right way i think. Gotta be some other way. Anybody knows? --- best regards, Evgeny ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: send_mail.pl Type: application/octet-stream Size: 9247 bytes Desc: send_mail.pl 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 RLAdams at AdamsInfoServ.Com Tue Aug 21 19:58:38 2007 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Tue, 21 Aug 2007 12:58:38 -0500 Subject: Syslog Event Log In-Reply-To: <200708211055.41851.syd@ittagteam.com> References: <200708211038.59853.syd@ittagteam.com> <200708211055.41851.syd@ittagteam.com> Message-ID: <20070821175838.GA32372@odin.demosthenes.org> This is such a common topic! I just gave a presentation to the local LUG a week or two back regarding using Syslog-ng and Logmuncher for log monitoring. http://www.adamsinfoserv.com/AISTWiki/bin/view/AIS/Presentations Perhaps you will find it useful. On Tue, Aug 21, 2007 at 10:55:41AM -0400, Syd Alsobrook wrote: > On Tuesday 21 August 2007 10:43, Manoj Velayudhannair wrote: > > But as Tivoli is taken care by a separate team, can u suggest me an open > > source which can analyze the logs, preferably having a web interface. > > There are many. Go to www.freshmeat.net. > > http://freshmeat.net/browse/148/ > http://freshmeat.net/browse/245/ > http://freshmeat.net/search/?q=log+file+monitoring&trove_cat_id=862§ion=projects&Go.x=0&Go.y=0 > http://freshmeat.net/browse/862/ > > > Syd > > -- > Syd Alsobrook > IT Tag Team, Inc. > 518-598-6025 > http://www.ittagteam.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 ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cmadams at hiwaay.net Tue Aug 21 20:30:04 2007 From: cmadams at hiwaay.net (Chris Adams) Date: Tue, 21 Aug 2007 13:30:04 -0500 Subject: nagios email notifications "From" address In-Reply-To: References: Message-ID: <20070821183003.GC1143135@hiwaay.net> Once upon a time, Evgeny N.Stepanov said: > Used nagios for monitoring my network for couple of years for now. And > never bothered to receive notifications emails from "www-data" user > (which nagios is running under). And now i found out that there is no > place for setting up some fancy name like "Monitor Server" or > whatever. Is there any config option for that? There is admin_email in > main config file, but it's not what i want. Also tried to use > /bin/mail option of adding headers to mail message, it even works, but > it's not the right way i think. Gotta be some other way. Anybody > knows? Well, that's the only way to do it (adjust the notify-by-email commands). Instead of using /bin/mail, I'm using /usr/sbin/sendmail; the printf part includes the correct headers. -- Chris Adams Systems and Network Administrator - HiWAAY Internet Services I don't speak for anybody but myself - that's enough trouble. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Aug 21 20:36:33 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 21 Aug 2007 11:36:33 -0700 Subject: Ndoutils Error In-Reply-To: <5374ee4f0708202207w3c3a02d7ga8b57b434efb5b0f@mail.gmail.com> References: <5374ee4f0708201217v2eaade5an5e314f4ffa6ccb27@mail.gmail.com> <5374ee4f0708202207w3c3a02d7ga8b57b434efb5b0f@mail.gmail.com> Message-ID: <20070821183633.GI9208@pmorris.usa.hp.com> On Mon, 20 Aug 2007, Deepa.V wrote: > > Hi > > > > I am new to Nagios. Iam trying to flush the nagios data to Mysql database > > > > when i see the log message Iam getting an error as below > > > > Aug 20 12:13:18 localhost nagios: ndomod: Error writing to data sink! > > Some output may get lost. 0 queued items to flush. > > Aug 20 12:13:34 localhost nagios: ndomod: Successfully reconnected to > > data sink! 0 items lost, 70 queued items to flush. > > Aug 20 12:13:34 localhost nagios: ndomod: Successfully flushed queued > > items to data sink. > > Aug 20 12:15:16 localhost nagios: ndomod: Error writing to data sink! > > Some output may get lost. 0 queued items to flush. > > Aug 20 12:15:16 localhost nagios: ndomod: Successfully reconnected to > > data sink! 0 items lost, 0 queued items to flush. > > Aug 20 12:15:16 localhost nagios: ndomod: Successfully flushed queued > > items to data sink. > > > > > > I couldn't see any data flushed to mysql database > > > > Can anyone please help me with this Reposting this over and over without any supporting information probably isn't going to get you very far, since we don't know what we're dealing with. At the bare minimum, you should always provide what version of nagios you're running. Things like how you have ndomod configured, whether there are any errors in your MySQL logs, and whether you can connect to MySQL with your configured username/password outside of Nagios would be helpful. Without any of that, the most I can tell you is it looks broken, but you already knew 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 Gerhard.Lausser at consol.de Tue Aug 21 21:58:10 2007 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Tue, 21 Aug 2007 21:58:10 +0200 Subject: Syslog Event Log In-Reply-To: References: Message-ID: <00b101c7e42d$999d42b0$0202fea9@int.consol.de> Hi, > Is it possible to use Nagios to capture Switch/Router Syslogs/eventlogs/error logs. If you collect the messages in logfiles, you can use http://www.consol.com/opensource/nagios/check-logfiles to scan these files for critical or warning patterns. It was written to replace the Tivoli logfile adapter. 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 AHKAPLAN at PARTNERS.ORG Tue Aug 21 22:57:07 2007 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 21 Aug 2007 16:57:07 -0400 Subject: Host shown as down but services are ok Message-ID: We have a nagios 2.6 server monitoring a client system where the host shows as being down, but its services are all OK. I remember an issue like this occurring before, but I don't remember what the solution was. Does anyone have insight into this? Thanks. The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information. -------------- 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 Tue Aug 21 23:01:08 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 21 Aug 2007 23:01:08 +0200 (CEST) Subject: Host shown as down but services are ok In-Reply-To: References: Message-ID: On Tue, 21 Aug 2007, Kaplan, Andrew H. wrote: > We have a nagios 2.6 server monitoring a client system where the host shows as > being down, but its services are all OK. > > I remember an issue like this occurring before, but I don't remember what the > solution was. Does anyone have insight into Have you taken any time to investigate like testing the host-alive check by hand? Anything interresting in the logs? What results did you get from those steps? Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for this quote of George Bernard Shaw.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 21 23:04:40 2007 From: marc at ena.com (Marc Powell) Date: Tue, 21 Aug 2007 16:04:40 -0500 Subject: Host shown as down but services are ok 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 Kaplan, Andrew H. > Sent: Tuesday, August 21, 2007 3:57 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Host shown as down but services are ok > > We have a nagios 2.6 server monitoring a client system where the host > shows as being down, but its services are all OK. > > I remember an issue like this occurring before, but I don't remember what > the solution was. Does anyone have insight into > > this? Thanks. Make sure your hosts check_command accurately reflects the status of the host. It appears that it doesn't correctly determine when the host is up. -- 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 mwlucas at blackhelicopters.org Tue Aug 21 23:16:02 2007 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Tue, 21 Aug 2007 17:16:02 -0400 Subject: NDOutils on FreeBSD -- solved Message-ID: <20070821211602.GA12328@bewilderbeast.blackhelicopters.org> Hi, This is a follow-up to several postings in the archives about getting NDOutils to compile on FreeBSD. I suspect that other people will have this problem, so I'm posting it here. I also suspect that this will affect other operating systems, not just FreeBSD, but NDOUtils is labeled "Experimental," so we deal. :-) The problem is in ndoutils-x/include/config.h . The configure script puts all the libraries under /usr/lib instead of letting mysql be under /usr/local/lib. I edited config.h as shown, and ndoutils compiled just fine. ... #define USE_MYSQL 1 /* #undef HAVE_MYSQL */ #ifdef USE_MYSQL #define HAVE_MYSQL 1 #include #include #endif ... Compiles just fine. I haven't tested it, mind you, but it compiles. Perhaps someone with config-fu can fix this. If the Nagios developers think it's appropriate, I can file a bug report. ==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 jorr at attributor.com Tue Aug 21 23:25:04 2007 From: jorr at attributor.com (Jeff Orr) Date: Tue, 21 Aug 2007 14:25:04 -0700 (PDT) Subject: Missing $NOTIFICATIONUMBER$ macro Message-ID: <25373211.957231187731504640.JavaMail.root@zimbra1.mindcentric.com> I have an odd problem with Nagios 2.9 and NRPE 2.8x. I'm wrapping check_nrpe in a script to detect socket timeouts; the script returns a WARNING instead of an UNKNOWN for the first two socket timeouts, and a CRITICAL thereafter. I'm using $NOTIFICATIONNUMBER$ to pass in the current notification count. The problem is that $NOTIFICATIONNUMBER$ does not seem to be being passed to me script. Here is what I have in checkcommands.cfg, in which $NOTIFICATIONNUMBER$ gives a null value in my PERL script: define command{ command_name check__data_disk2 command_line $USER1$/nrpe_wrapper -H $HOSTADDRESS$ -c check_disk3 -S $SERVICESTATE$ -N $NOTIFICATIONNUMBER$ } At first I thought it was a problem with my code, or with GetOpt. So I changed it to this: define command{ command_name check__data_disk2 command_line $USER1$/nrpe_wrapper -H $HOSTADDRESS$ -c check_disk3 -S $SERVICESTATE$ -N 30$NOTIFICATIONNUMBER$ } Now $notificationcount gets set to '30'. Any pointers on what I can try to get the notification # into my plugin? Nagios was compiled with all the standard options to ./configure. Thanks, Jeff Orr Attributor Corporation ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 21 23:40:05 2007 From: marc at ena.com (Marc Powell) Date: Tue, 21 Aug 2007 16:40:05 -0500 Subject: Missing $NOTIFICATIONUMBER$ macro In-Reply-To: <25373211.957231187731504640.JavaMail.root@zimbra1.mindcentric.com> References: <25373211.957231187731504640.JavaMail.root@zimbra1.mindcentric.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jeff Orr > Sent: Tuesday, August 21, 2007 4:25 PM > To: nagios-users > Subject: [Nagios-users] Missing $NOTIFICATIONUMBER$ macro > > I have an odd problem with Nagios 2.9 and NRPE 2.8x. I'm wrapping > check_nrpe in a script to detect socket timeouts; the script returns a > WARNING instead of an UNKNOWN for the first two socket timeouts, and a > CRITICAL thereafter. I'm using $NOTIFICATIONNUMBER$ to pass in the current > notification count. > > The problem is that $NOTIFICATIONNUMBER$ does not seem to be being passed > to me script. Here is what I have in checkcommands.cfg, in which > $NOTIFICATIONNUMBER$ gives a null value in my PERL script: > > define command{ > command_name check__data_disk2 > command_line $USER1$/nrpe_wrapper -H $HOSTADDRESS$ -c check_disk3 -S > $SERVICESTATE$ -N $NOTIFICATIONNUMBER$ > } $NOTIFICATIONNUMBER$ isn't valid for host/service check commands, only notifications (http://nagios.sourceforge.net/docs/2_0/macros.html). Unless the above command is being called as a notification command, and it would be very unusual if it was, it's not going to work. > Now $notificationcount gets set to '30'. Any pointers on what I can try to > get the notification # into my plugin? Nagios was compiled with all the > standard options to ./configure. I suspect that what you're really looking for is $SERVICEATTEMPT$. Check the macros page to be sure. -- 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 patrick.morris at hp.com Tue Aug 21 23:46:49 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 21 Aug 2007 14:46:49 -0700 Subject: Missing $NOTIFICATIONUMBER$ macro In-Reply-To: <25373211.957231187731504640.JavaMail.root@zimbra1.mindcentric.com> References: <25373211.957231187731504640.JavaMail.root@zimbra1.mindcentric.com> Message-ID: <20070821214649.GL9208@pmorris.usa.hp.com> Hi Jeff! On Tue, 21 Aug 2007, Jeff Orr wrote: > I have an odd problem with Nagios 2.9 and NRPE 2.8x. I'm wrapping check_nrpe in a script to detect socket timeouts; the script returns a WARNING instead of an UNKNOWN for the first two socket timeouts, and a CRITICAL thereafter. I'm using $NOTIFICATIONNUMBER$ to pass in the current notification count. > > The problem is that $NOTIFICATIONNUMBER$ does not seem to be being passed to me script. Here is what I have in checkcommands.cfg, in which $NOTIFICATIONNUMBER$ gives a null value in my PERL script: > > define command{ > command_name check__data_disk2 > command_line $USER1$/nrpe_wrapper -H $HOSTADDRESS$ -c check_disk3 -S $SERVICESTATE$ -N $NOTIFICATIONNUMBER$ > } Is this used as a check or a notification command? There is no notification number associated with a service check; only with a notification. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jorr at attributor.com Tue Aug 21 23:49:05 2007 From: jorr at attributor.com (Jeff Orr) Date: Tue, 21 Aug 2007 14:49:05 -0700 (PDT) Subject: Missing $NOTIFICATIONUMBER$ macro In-Reply-To: References: Message-ID: <637731.959151187732945092.JavaMail.root@zimbra1.mindcentric.com> Thanks for the quick response.$SERVICEATTEMPT$ isn't quite what I need. I need the first two notifications sent for this wrapper to be WARNINGs iff check_nrpe encountered a socket timeout. Each following timeout should generate a CRITICAL notification. Maybe I'm approaching this problem from the wrong angle. Jeff Orr Attributor Corporation ----- Original Message ----- From: "Marc Powell" To: "nagios-users" Sent: Tuesday, August 21, 2007 2:40:05 PM (GMT-0800) America/Los_Angeles Subject: Re: [Nagios-users] Missing $NOTIFICATIONUMBER$ macro > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jeff Orr > Sent: Tuesday, August 21, 2007 4:25 PM > To: nagios-users > Subject: [Nagios-users] Missing $NOTIFICATIONUMBER$ macro > > I have an odd problem with Nagios 2.9 and NRPE 2.8x. I'm wrapping > check_nrpe in a script to detect socket timeouts; the script returns a > WARNING instead of an UNKNOWN for the first two socket timeouts, and a > CRITICAL thereafter. I'm using $NOTIFICATIONNUMBER$ to pass in the current > notification count. > > The problem is that $NOTIFICATIONNUMBER$ does not seem to be being passed > to me script. Here is what I have in checkcommands.cfg, in which > $NOTIFICATIONNUMBER$ gives a null value in my PERL script: > > define command{ > command_name check__data_disk2 > command_line $USER1$/nrpe_wrapper -H $HOSTADDRESS$ -c check_disk3 -S > $SERVICESTATE$ -N $NOTIFICATIONNUMBER$ > } $NOTIFICATIONNUMBER$ isn't valid for host/service check commands, only notifications (http://nagios.sourceforge.net/docs/2_0/macros.html). Unless the above command is being called as a notification command, and it would be very unusual if it was, it's not going to work. > Now $notificationcount gets set to '30'. Any pointers on what I can try to > get the notification # into my plugin? Nagios was compiled with all the > standard options to ./configure. I suspect that what you're really looking for is $SERVICEATTEMPT$. Check the macros page to be sure. -- 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 jorr at attributor.com Tue Aug 21 23:50:24 2007 From: jorr at attributor.com (Jeff Orr) Date: Tue, 21 Aug 2007 14:50:24 -0700 (PDT) Subject: Missing $NOTIFICATIONUMBER$ macro In-Reply-To: <20070821214649.GL9208@pmorris.usa.hp.com> References: <20070821214649.GL9208@pmorris.usa.hp.com> Message-ID: <2316566.959311187733024931.JavaMail.root@zimbra1.mindcentric.com> This is a service check command. I'd like to somehow get the current notification count into my check script. Cheers, Jeff Orr Attributor Corporation ----- Original Message ----- From: "Patrick Morris" To: "Jeff Orr" Cc: "nagios-users" Sent: Tuesday, August 21, 2007 2:46:49 PM (GMT-0800) America/Los_Angeles Subject: Re: [Nagios-users] Missing $NOTIFICATIONUMBER$ macro Hi Jeff! On Tue, 21 Aug 2007, Jeff Orr wrote: > I have an odd problem with Nagios 2.9 and NRPE 2.8x. I'm wrapping check_nrpe in a script to detect socket timeouts; the script returns a WARNING instead of an UNKNOWN for the first two socket timeouts, and a CRITICAL thereafter. I'm using $NOTIFICATIONNUMBER$ to pass in the current notification count. > > The problem is that $NOTIFICATIONNUMBER$ does not seem to be being passed to me script. Here is what I have in checkcommands.cfg, in which $NOTIFICATIONNUMBER$ gives a null value in my PERL script: > > define command{ > command_name check__data_disk2 > command_line $USER1$/nrpe_wrapper -H $HOSTADDRESS$ -c check_disk3 -S $SERVICESTATE$ -N $NOTIFICATIONNUMBER$ > } Is this used as a check or a notification command? There is no notification number associated with a service check; only with a notification. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CWaters at jeld-wen.com Wed Aug 22 01:26:41 2007 From: CWaters at jeld-wen.com (Chris Waters) Date: Tue, 21 Aug 2007 16:26:41 -0700 Subject: Missing $NOTIFICATIONUMBER$ macro In-Reply-To: <25373211.957231187731504640.JavaMail.root@zimbra1.mindcentric.com> References: <25373211.957231187731504640.JavaMail.root@zimbra1.mindcentric.com> Message-ID: <30D62F21FD4BE1448C156D2A3E300397015A489E@jwmail01.jeld-wen.com> It's complicated but you are going to have to find an external way to keep track of your notifications for a given service and reference that from your plugin. You will probably need to change your notification script to write to a db (or even a flat file) which can then be looked at by your plugin. My thought would be a simple db structure something like host_name, service_name, notification_number. Have your notifcation script update the notification_number each time it sends a notification. Your plugin would have to reset this value to 0 if the service is ok. Your plugin will have to know how to pull this data from the db so you would not use the $NOTIFICAITONNUMBER$ macro, your script will have it's own variable. If you are using NDOUtils, you might be able to use exsiting data instead of the additional db(not running it yet so I don't know for sure). This is a little oversimplified but I think this is how you could do it. Chris Waters Technology Services - Network Group JELD-WEN, Inc. Information Systems cwaters at jeld-wen.com -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jeff Orr Sent: Tuesday, August 21, 2007 2:25 PM To: nagios-users Subject: [Nagios-users] Missing $NOTIFICATIONUMBER$ macro I have an odd problem with Nagios 2.9 and NRPE 2.8x. I'm wrapping check_nrpe in a script to detect socket timeouts; the script returns a WARNING instead of an UNKNOWN for the first two socket timeouts, and a CRITICAL thereafter. I'm using $NOTIFICATIONNUMBER$ to pass in the current notification count. The problem is that $NOTIFICATIONNUMBER$ does not seem to be being passed to me script. Here is what I have in checkcommands.cfg, in which $NOTIFICATIONNUMBER$ gives a null value in my PERL script: define command{ command_name check__data_disk2 command_line $USER1$/nrpe_wrapper -H $HOSTADDRESS$ -c check_disk3 -S $SERVICESTATE$ -N $NOTIFICATIONNUMBER$ } At first I thought it was a problem with my code, or with GetOpt. So I changed it to this: define command{ command_name check__data_disk2 command_line $USER1$/nrpe_wrapper -H $HOSTADDRESS$ -c check_disk3 -S $SERVICESTATE$ -N 30$NOTIFICATIONNUMBER$ } Now $notificationcount gets set to '30'. Any pointers on what I can try to get the notification # into my plugin? Nagios was compiled with all the standard options to ./configure. Thanks, Jeff Orr Attributor Corporation ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 s.shipway at auckland.ac.nz Wed Aug 22 02:25:01 2007 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 22 Aug 2007 12:25:01 +1200 Subject: negative check latency with Nagios as VM? In-Reply-To: <2776.134.244.169.17.1187706991.squirrel@webmail.stinkweasel.net> References: <7F477BD26F545A4C8E4779754A38EFB30236E9BE@PEPWMV00043.corp.pep.pvt><12A6FDDD13C460408A6E47E5DB1235A2010EDC45@UXCHANGE3.UoA.auckland.ac.nz><00d801c7e2fc$61d7ff50$1501010a@nspire.co.nz><12A6FDDD13C460408A6E47E5DB1235A2010EDD75@UXCHANGE3.UoA.auckland.ac.nz> <2776.134.244.169.17.1187706991.squirrel@webmail.stinkweasel.net> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A2010EDE49@UXCHANGE3.UoA.auckland.ac.nz> > > VMWare themselves advise not to perform any monitoring which is > > rate-based on the guest, and further say that any monitoring which polls > > hardware (eg network card traffic) will cause performance problems, and > > also that monitoring CPU and Memory on the guest is pointless and > > misleading and should be done via the virtualcentre or ESX server > > itself. > > Can you elaborate a little on VMWare's suggestions? I'm working > on a project to do just this, and I'd appreciate any references I > can pass along to my working group. OK, basically, there are three issues. Firstly, anything running on the guest which queries hardware directly (eg, get the network card counters) causes a 'potentially unsafe' instruction in the guest, which is passed to the SC for authorisation and verification. This therefore slows things down a bit and is a much higher performance hit than on a standalone box. So, it's not a good thing to do. Secondly, any monitoring of the CPU and Memory will be meaningless, because the virtualisation gives the guest a wrong impression of things. You can get a guest thinking it has used 50% CPU, but in fact the ESX Server will not give the guest more resources. Much better to monitor CPU usage and ReadyTime on the ESX Server. Memory suffers from the affects of Balloon and ESXSwap memory giving incorrect usage and swap readings to the guest, and shared/private memory giving incorrect readings of how much is actually used. Again, read these at the Server level to get meaningful data. Finally, anything rate-based on the guest will be calculated by the clock, and because of the virtualisation, the guest's clock does not tick regularly. Although the minutes will go by evenly, the seconds won't - you'll get some longer and some shorter. So, if you measure a counter, wait ten seconds, measure it again, then take the difference and divide by 10 it will not reliably give you a per-second rate. It will be artificially inflated or reduced depending on how busy the ESX Server is at that time. You can, however, retrieve a counter from a guest and do the rate calculation on a separate server with a non-virtual clock. I hope this clarifies the issue... Steve ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Wed Aug 22 02:41:39 2007 From: benny at bennyvision.com (C. Bensend) Date: Tue, 21 Aug 2007 19:41:39 -0500 (CDT) Subject: negative check latency with Nagios as VM? In-Reply-To: <12A6FDDD13C460408A6E47E5DB1235A2010EDE49@UXCHANGE3.UoA.auckland.ac.nz > References: <7F477BD26F545A4C8E4779754A38EFB30236E9BE@PEPWMV00043.corp.pep.pvt><12A6FDDD13C460408A6E47E5DB1235A2010EDC45@UXCHANGE3.UoA.auckland.ac.nz><00d801c7e2fc$61d7ff50$1501010a@nspire.co.nz><12A6FDDD13C460408A6E47E5DB1235A2010EDD75@UXCHANGE3.UoA.auckland.ac.nz> <2776.134.244.169.17.1187706991.squirrel@webmail.stinkweasel.net> <12A6FDDD13C460408A6E47E5DB1235A2010EDE49@UXCHANGE3.UoA.auckland.ac.nz> Message-ID: <50143.63.227.74.41.1187743299.squirrel@webmail.stinkweasel.net> > OK, basically, there are three issues. Thanks a bunch, Steve. That gives me plenty of information to pass along to my group. Benny -- "This officer's men seem to follow him merely out of idle curiosity." -- Sandhurst officer cadet evaluation ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From enst at mail.ru Wed Aug 22 08:15:35 2007 From: enst at mail.ru (Evgeny Stepanov) Date: Wed, 22 Aug 2007 10:15:35 +0400 Subject: nagios email notifications "From" address In-Reply-To: <64077F19C0D1AE4087B34935CE93C98407516186@cpserver12.crownpack.net> References: <64077F19C0D1AE4087B34935CE93C98407516186@cpserver12.crownpack.net> Message-ID: <46CBD487.5010101@mail.ru> This one is working just fine! No need to keep MTA in the system. Just cool, thanks. But, i think all those elsif clauses in command line args parsing block are not correct. There must be if's, cause if you don't specify -n option, other options don't get even inititalized to "UNDEFINED" state. It's not important anyway, cause ther need to be some sense in command line arguments. I found this when tested the script from command line and entered just subject and recepient address. Anyway this is very handy script, thanks a lot for advice! John Kramme ?????: > This is what I use. A nice little Perl script.... Very configurable > > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Evgeny > N.Stepanov > Sent: Tuesday, August 21, 2007 10:28 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios email notifications "From" address > > Hello, nagios users! > > Used nagios for monitoring my network for couple of years for now. And > never bothered to receive notifications emails from "www-data" user > (which nagios is running under). And now i found out that there is no > place for setting up some fancy name like "Monitor Server" or whatever. > Is there any config option for that? There is admin_email in main config > file, but it's not what i want. Also tried to use /bin/mail option of > adding headers to mail message, it even works, but it's not the right > way i think. Gotta be some other way. Anybody knows? > > --- > best regards, > Evgeny > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -- ? ?????????, ???????? ?.?. enst at mail.ru icq 2899514 +7-985-2267458 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marknassy at gmail.com Wed Aug 22 09:54:00 2007 From: marknassy at gmail.com (Mark Nassy) Date: Wed, 22 Aug 2007 03:54:00 -0400 Subject: No host, or service notifications received from Nagios 2.9 for critical states Message-ID: no notifications are being received from nagios when a service is down. i power off server03 and did not receive a notification from nagios. the log shows no record of an attempt to send a notification. i can manually send notifications successfully. any ideas why? here is the log with no record of a notification attempt. $ cat /opt/local/var/nagios/nagios.log [1187737502] HOST ALERT: server03;DOWN;SOFT;9;CRITICAL - Plugin timed out after 10 seconds [1187737512] HOST ALERT: server03;DOWN;HARD;10;CRITICAL - Plugin timed out after 10 seconds [1187737512] SERVICE ALERT: server03;PING;CRITICAL;HARD;1;CRITICAL - 192.168.10.127: rta nan, lost 100% [1187738002] HOST ALERT: server03;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.45 ms [1187738002] SERVICE ALERT: server03;PING;OK;HARD;1;OK - 192.168.10.127: rta 0.589ms, lost 0% [1187739982] Auto-save of retention data completed successfully. ... 1187741712] HOST ALERT: server03;DOWN;HARD;10;CRITICAL - Plugin timed out after 10 seconds [1187741712] SERVICE ALERT: server03;PING;CRITICAL;HARD;1;CRITICAL - 192.168.10.127: rta nan, lost 100% [1187743582] Auto-save of retention data completed successfully. [1187745607] Caught SIGEXIT, shutting down... [1187745607] Successfully shutdown... (PID=3492) [1187745618] Nagios 2.9 starting... (PID=5949) [1187745618] LOG VERSION: 2.0 [1187745618] Finished daemonizing... (New PID=5950) [1187749218] Auto-save of retention data completed successfully. file system permissions review looks ok (to me). $ ls -l ... -r-sr-xr-x 2 root admin 46644 Aug 20 11:46 check_icmp ... -rwxr-xr-x 2 root admin 42496 Aug 20 11:46 check_ping using the check_ping command returns the expected result for a host or service that is down. $ sudo -u nagios ./check_ping -H server03 -w 100.0,20% -c 500.0,60% CRITICAL - Plugin timed out after 10 seconds manually sending an email using the code from the notification command works. i receive the email. $ sudo -u nagios /usr/bin/printf "%b" "***** Nagios 2.9 *****\n \nNotification Type: CRITICAL\n\nService: PING\nHost: server03 \nAddress: 192.168.10.127\nState: down\n\nDate/Time: Today Aug 22nd\n \nAdditional Info:\n\nTimeout" | /usr/bin/mail -s "** CRITICAL alert - server03/PING is down **" it at intranet.com config directory set and notifications turned on. $ cat /opt/local/etc/nagios/nagios.cfg ... cfg_dir=/opt/local/etc/nagios/ny ... log_notifications=1 $ cat /opt/local/etc/nagios/ny/contacts.cfg ... define contact{ contact_name nagios-admin alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email it at intranet.com } $ cat /opt/local/etc/nagios/ny/contactgroups.cfg ... define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagios-admin } note: the ping command actually runs check_icmp in the command line. $ cat /opt/local/etc/nagios/ny/commands.cfg ... # 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_icmp -H $HOSTADDRESS$ -w $ARG1 $ -c $ARG2$ -p 5 } ... # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios 2.9 ***** \n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios 2.9 ***** \n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$ \nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n \nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/ $SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } $ cat /opt/local/etc/nagios/ny/hostgroups.cfg ... define hostgroup{ hostgroup_name windows-servers alias Windows Servers members server01,server02,server03 } $ cat /opt/local/etc/nagios/ny/hosts.cfg ... define host{ use windows-servers ; Name of host template to use ; This host definition will inherit all variables that are defin$ ; in (or inherited by) the windows-server host template definiti$ host_name server03 alias Label Server address 192.168.10.127 } $ cat /opt/local/etc/nagios/ny/services.cfg ... define service{ use remote-service ; Name of service template to use hostgroup windows-servers service_description PING check_command check_ping!100.0,20%!500.0,60% } ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From enst at mail.ru Wed Aug 22 10:10:06 2007 From: enst at mail.ru (Evgeny Stepanov) Date: Wed, 22 Aug 2007 12:10:06 +0400 Subject: No host, or service notifications received from Nagios 2.9 for critical states In-Reply-To: References: Message-ID: <46CBEF5E.2020301@mail.ru> It seems you don't have contact_groups in your host and service definitions. Check templates or host and service definitions to have contact_groups clause, like define host{ use windows-servers ; Name of host template to use ; This host definition will inherit all variables that are defin$ ; in (or inherited by) the windows-server host template definiti$ host_name server03 alias Label Server address 192.168.10.127 contact_groups admins } the latter line can be in host or service template definition also. Mark Nassy ?????: > no notifications are being received from nagios when a service is > down. i power off server03 and did not receive a notification from > nagios. the log shows no record of an attempt to send a notification. > i can manually send notifications successfully. any ideas why? > > here is the log with no record of a notification attempt. > > $ cat /opt/local/var/nagios/nagios.log > [1187737502] HOST ALERT: server03;DOWN;SOFT;9;CRITICAL - Plugin timed > out after 10 seconds > [1187737512] HOST ALERT: server03;DOWN;HARD;10;CRITICAL - Plugin > timed out after 10 seconds > [1187737512] SERVICE ALERT: server03;PING;CRITICAL;HARD;1;CRITICAL - > 192.168.10.127: rta nan, lost 100% > [1187738002] HOST ALERT: server03;UP;HARD;1;PING OK - Packet loss = > 0%, RTA = 0.45 ms > [1187738002] SERVICE ALERT: server03;PING;OK;HARD;1;OK - > 192.168.10.127: rta 0.589ms, lost 0% > [1187739982] Auto-save of retention data completed successfully. > .... > 1187741712] HOST ALERT: server03;DOWN;HARD;10;CRITICAL - Plugin timed > out after 10 seconds > [1187741712] SERVICE ALERT: server03;PING;CRITICAL;HARD;1;CRITICAL - > 192.168.10.127: rta nan, lost 100% > [1187743582] Auto-save of retention data completed successfully. > [1187745607] Caught SIGEXIT, shutting down... > [1187745607] Successfully shutdown... (PID=3492) > [1187745618] Nagios 2.9 starting... (PID=5949) > [1187745618] LOG VERSION: 2.0 > [1187745618] Finished daemonizing... (New PID=5950) > [1187749218] Auto-save of retention data completed successfully. > > > > file system permissions review looks ok (to me). > $ ls -l > .... > -r-sr-xr-x 2 root admin 46644 Aug 20 11:46 check_icmp > .... > -rwxr-xr-x 2 root admin 42496 Aug 20 11:46 check_ping > > > > using the check_ping command returns the expected result for a host > or service that is down. > $ sudo -u nagios ./check_ping -H server03 -w 100.0,20% -c 500.0,60% > CRITICAL - Plugin timed out after 10 seconds > > > manually sending an email using the code from the notification > command works. i receive the email. > $ sudo -u nagios /usr/bin/printf "%b" "***** Nagios 2.9 *****\n > \nNotification Type: CRITICAL\n\nService: PING\nHost: server03 > \nAddress: 192.168.10.127\nState: down\n\nDate/Time: Today Aug 22nd\n > \nAdditional Info:\n\nTimeout" | /usr/bin/mail -s "** CRITICAL alert > - server03/PING is down **" it at intranet.com > > > config directory set and notifications turned on. > $ cat /opt/local/etc/nagios/nagios.cfg > .... > cfg_dir=/opt/local/etc/nagios/ny > .... > log_notifications=1 > > > > $ cat /opt/local/etc/nagios/ny/contacts.cfg > .... > define contact{ > contact_name nagios-admin > alias Nagios Admin > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email it at intranet.com > } > > > > > $ cat /opt/local/etc/nagios/ny/contactgroups.cfg > .... > define contactgroup{ > contactgroup_name admins > alias Nagios Administrators > members nagios-admin > } > > > > note: the ping command actually runs check_icmp in the command line. > $ cat /opt/local/etc/nagios/ny/commands.cfg > .... > > # 'check_ping' command definition > define command{ > command_name check_ping > command_line $USER1$/check_icmp -H $HOSTADDRESS$ -w $ARG1 > $ -c $ARG2$ -p 5 > } > .... > # 'host-notify-by-email' command definition > define command{ > command_name host-notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios 2.9 ***** > \n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: > $LONGDATETIME$\n" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for > $HOSTNAME$!" $CONTACTEMAIL$ > } > > # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios 2.9 ***** > \n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$ > \nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n > \nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" > | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/ > $SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ > } > > > > > $ cat /opt/local/etc/nagios/ny/hostgroups.cfg > .... > define hostgroup{ > hostgroup_name windows-servers > alias Windows Servers > members server01,server02,server03 > } > > > > > $ cat /opt/local/etc/nagios/ny/hosts.cfg > .... > define host{ > use windows-servers ; Name of > host template to use > ; This host > definition will inherit all variables that are defin$ > ; in (or > inherited by) the windows-server host template definiti$ > host_name server03 > alias Label Server > address 192.168.10.127 > } > > > > $ cat /opt/local/etc/nagios/ny/services.cfg > .... > define service{ > use remote-service ; > Name of service template to use > hostgroup windows-servers > service_description PING > check_command check_ping!100.0,20%!500.0,60% > } > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > -- ? ?????????, ???????? ?.?. enst at mail.ru icq 2899514 +7-985-2267458 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at altinity.com Wed Aug 22 10:13:29 2007 From: ton.voon at altinity.com (Ton Voon) Date: Wed, 22 Aug 2007 09:13:29 +0100 Subject: NDOutils on FreeBSD -- solved In-Reply-To: <20070821211602.GA12328@bewilderbeast.blackhelicopters.org> References: <20070821211602.GA12328@bewilderbeast.blackhelicopters.org> Message-ID: <30729E2C-4814-4A97-87F0-03A8FDD38147@altinity.com> Hi Michael, On 21 Aug 2007, at 22:16, Michael W. Lucas wrote: > The problem is in ndoutils-x/include/config.h . The configure script > puts all the libraries under /usr/lib instead of letting mysql be > under /usr/local/lib. I edited config.h as shown, and ndoutils > compiled just fine. Can you try this patch we posted on altinity.org? http:// altinity.blogs.com/dotorg/2007/04/better_mysqlcli.html It uses the same detection mechanism that the Nagios Plugins uses. I've tested on Mac OS X which has mysql in /usr/local/mysql/lib, which is also non-standard. I think Ethan has said he is interested in this patch, so a confirmation from yourself might help swing his decision. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From huenseler at twt.de Wed Aug 22 10:16:41 2007 From: huenseler at twt.de (Dennis Huenseler) Date: Wed, 22 Aug 2007 10:16:41 +0200 Subject: No host, or service notifications received from Nagios 2.9 for criticalstates References: Message-ID: <8A793F1AC3ED7447B580082FCF608CF9CE5F87@twtexchange1.twt.intern> Hello, if i checked your config right i think you have to define a host-template "windows-servers" with the parameter contact_groups where you define the contact_group if you want to use it for server03 hosts.cfg: define host{ host_name windows-servers check_period 24x7 etc etc -> contact_groups admins <- } define host{ use windows-servers ; Name of host template to use host_name server03 alias Label Server address 192.168.10.127 } Kind regards, ? Dennis H?nseler _________________________________________________________ -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mark Nassy Sent: Wednesday, August 22, 2007 9:54 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] No host,or service notifications received from Nagios 2.9 for criticalstates no notifications are being received from nagios when a service is down. i power off server03 and did not receive a notification from nagios. the log shows no record of an attempt to send a notification. i can manually send notifications successfully. any ideas why? here is the log with no record of a notification attempt. $ cat /opt/local/var/nagios/nagios.log [1187737502] HOST ALERT: server03;DOWN;SOFT;9;CRITICAL - Plugin timed out after 10 seconds [1187737512] HOST ALERT: server03;DOWN;HARD;10;CRITICAL - Plugin timed out after 10 seconds [1187737512] SERVICE ALERT: server03;PING;CRITICAL;HARD;1;CRITICAL - 192.168.10.127: rta nan, lost 100% [1187738002] HOST ALERT: server03;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.45 ms [1187738002] SERVICE ALERT: server03;PING;OK;HARD;1;OK - 192.168.10.127: rta 0.589ms, lost 0% [1187739982] Auto-save of retention data completed successfully. ... 1187741712] HOST ALERT: server03;DOWN;HARD;10;CRITICAL - Plugin timed out after 10 seconds [1187741712] SERVICE ALERT: server03;PING;CRITICAL;HARD;1;CRITICAL - 192.168.10.127: rta nan, lost 100% [1187743582] Auto-save of retention data completed successfully. [1187745607] Caught SIGEXIT, shutting down... [1187745607] Successfully shutdown... (PID=3492) [1187745618] Nagios 2.9 starting... (PID=5949) [1187745618] LOG VERSION: 2.0 [1187745618] Finished daemonizing... (New PID=5950) [1187749218] Auto-save of retention data completed successfully. file system permissions review looks ok (to me). $ ls -l ... -r-sr-xr-x 2 root admin 46644 Aug 20 11:46 check_icmp ... -rwxr-xr-x 2 root admin 42496 Aug 20 11:46 check_ping using the check_ping command returns the expected result for a host or service that is down. $ sudo -u nagios ./check_ping -H server03 -w 100.0,20% -c 500.0,60% CRITICAL - Plugin timed out after 10 seconds manually sending an email using the code from the notification command works. i receive the email. $ sudo -u nagios /usr/bin/printf "%b" "***** Nagios 2.9 *****\n \nNotification Type: CRITICAL\n\nService: PING\nHost: server03 \nAddress: 192.168.10.127\nState: down\n\nDate/Time: Today Aug 22nd\n \nAdditional Info:\n\nTimeout" | /usr/bin/mail -s "** CRITICAL alert - server03/PING is down **" it at intranet.com config directory set and notifications turned on. $ cat /opt/local/etc/nagios/nagios.cfg ... cfg_dir=/opt/local/etc/nagios/ny ... log_notifications=1 $ cat /opt/local/etc/nagios/ny/contacts.cfg ... define contact{ contact_name nagios-admin alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email it at intranet.com } $ cat /opt/local/etc/nagios/ny/contactgroups.cfg ... define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagios-admin } note: the ping command actually runs check_icmp in the command line. $ cat /opt/local/etc/nagios/ny/commands.cfg ... # 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_icmp -H $HOSTADDRESS$ -w $ARG1 $ -c $ARG2$ -p 5 } ... # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios 2.9 ***** \n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios 2.9 ***** \n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$ \nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n \nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/ $SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } $ cat /opt/local/etc/nagios/ny/hostgroups.cfg ... define hostgroup{ hostgroup_name windows-servers alias Windows Servers members server01,server02,server03 } $ cat /opt/local/etc/nagios/ny/hosts.cfg ... define host{ use windows-servers ; Name of host template to use ; This host definition will inherit all variables that are defin$ ; in (or inherited by) the windows-server host template definiti$ host_name server03 alias Label Server address 192.168.10.127 } $ cat /opt/local/etc/nagios/ny/services.cfg ... define service{ use remote-service ; Name of service template to use hostgroup windows-servers service_description PING check_command check_ping!100.0,20%!500.0,60% } ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Aug 22 11:00:07 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Wed, 22 Aug 2007 11:00:07 +0200 Subject: Map / Host Parents / Redundant Rings Message-ID: <9D30659ABCA7FB428CF91E386C3A57448E0DF8@hermes.sapphire-int.gi> Hi, I have a query with regard to setting up links in the statusmap. In our environment we have high availability redundant rings, e.g. MetroEthernet & RPR. If I try to set up parents as per the infrastructure e.g. each member of a ring has parents of both its neighbors then Nagios complains during the pre-flight check: Error: There is a circular parent/child path that exists for host 'HostA'! Well, yes, very true - that is our infrastructure design. I understand that Nagios might have some problems with it's reachability algorithms, but I would like to know how people with this kind of infrastructure set this up. Feedback is appreciated. Best regards Giles -------------- 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 marknassy at gmail.com Wed Aug 22 12:54:32 2007 From: marknassy at gmail.com (Mark Nassy) Date: Wed, 22 Aug 2007 06:54:32 -0400 Subject: No host, or service notifications received from Nagios 2.9 for criticalstates In-Reply-To: <8A793F1AC3ED7447B580082FCF608CF9CE5F87@twtexchange1.twt.intern> References: <8A793F1AC3ED7447B580082FCF608CF9CE5F87@twtexchange1.twt.intern> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios- > users-bounces at lists.sourceforge.net] On Behalf Of Mark Nassy > Sent: Wednesday, August 22, 2007 9:54 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] No host,or service notifications received > from Nagios 2.9 for criticalstates > > no notifications are being received from nagios when a service is > down. i power off server03 and did not receive a notification from > nagios. the log shows no record of an attempt to send a notification. > i can manually send notifications successfully. any ideas why? > > here is the log with no record of a notification attempt. > > $ cat /opt/local/var/nagios/nagios.log > [1187737502] HOST ALERT: server03;DOWN;SOFT;9;CRITICAL - Plugin timed > out after 10 seconds > [1187737512] HOST ALERT: server03;DOWN;HARD;10;CRITICAL - Plugin > timed out after 10 seconds > [1187737512] SERVICE ALERT: server03;PING;CRITICAL;HARD;1;CRITICAL - > 192.168.10.127: rta nan, lost 100% > [1187738002] HOST ALERT: server03;UP;HARD;1;PING OK - Packet loss = > 0%, RTA = 0.45 ms > [1187738002] SERVICE ALERT: server03;PING;OK;HARD;1;OK - > 192.168.10.127: rta 0.589ms, lost 0% > [1187739982] Auto-save of retention data completed successfully. > ... > 1187741712] HOST ALERT: server03;DOWN;HARD;10;CRITICAL - Plugin timed > out after 10 seconds > [1187741712] SERVICE ALERT: server03;PING;CRITICAL;HARD;1;CRITICAL - > 192.168.10.127: rta nan, lost 100% > [1187743582] Auto-save of retention data completed successfully. > [1187745607] Caught SIGEXIT, shutting down... > [1187745607] Successfully shutdown... (PID=3492) > [1187745618] Nagios 2.9 starting... (PID=5949) > [1187745618] LOG VERSION: 2.0 > [1187745618] Finished daemonizing... (New PID=5950) > [1187749218] Auto-save of retention data completed successfully. > > > > file system permissions review looks ok (to me). > $ ls -l > ... > -r-sr-xr-x 2 root admin 46644 Aug 20 11:46 check_icmp > ... > -rwxr-xr-x 2 root admin 42496 Aug 20 11:46 check_ping > > > > using the check_ping command returns the expected result for a host > or service that is down. > $ sudo -u nagios ./check_ping -H server03 -w 100.0,20% -c 500.0,60% > CRITICAL - Plugin timed out after 10 seconds > > > manually sending an email using the code from the notification > command works. i receive the email. > $ sudo -u nagios /usr/bin/printf "%b" "***** Nagios 2.9 *****\n > \nNotification Type: CRITICAL\n\nService: PING\nHost: server03 > \nAddress: 192.168.10.127\nState: down\n\nDate/Time: Today Aug 22nd\n > \nAdditional Info:\n\nTimeout" | /usr/bin/mail -s "** CRITICAL alert > - server03/PING is down **" it at intranet.com > > > config directory set and notifications turned on. > $ cat /opt/local/etc/nagios/nagios.cfg > ... > cfg_dir=/opt/local/etc/nagios/ny > ... > log_notifications=1 > > > > $ cat /opt/local/etc/nagios/ny/contacts.cfg > ... > define contact{ > contact_name nagios-admin > alias Nagios Admin > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email it at intranet.com > } > > > > > $ cat /opt/local/etc/nagios/ny/contactgroups.cfg > ... > define contactgroup{ > contactgroup_name admins > alias Nagios Administrators > members nagios-admin > } > > > > note: the ping command actually runs check_icmp in the command line. > $ cat /opt/local/etc/nagios/ny/commands.cfg > ... > > # 'check_ping' command definition > define command{ > command_name check_ping > command_line $USER1$/check_icmp -H $HOSTADDRESS$ -w $ARG1 > $ -c $ARG2$ -p 5 > } > ... > # 'host-notify-by-email' command definition > define command{ > command_name host-notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios 2.9 ***** > \n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: > $LONGDATETIME$\n" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for > $HOSTNAME$!" $CONTACTEMAIL$ > } > > # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios 2.9 ***** > \n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$ > \nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n > \nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" > | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/ > $SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ > } > > > > > $ cat /opt/local/etc/nagios/ny/hostgroups.cfg > ... > define hostgroup{ > hostgroup_name windows-servers > alias Windows Servers > members server01,server02,server03 > } > > > > > $ cat /opt/local/etc/nagios/ny/hosts.cfg > ... > define host{ > use windows-servers ; Name of > host template to use > ; This host > definition will inherit all variables that are defin$ > ; in (or > inherited by) the windows-server host template definiti$ > host_name server03 > alias Label Server > address 192.168.10.127 > } > > > > $ cat /opt/local/etc/nagios/ny/services.cfg > ... > define service{ > use remote-service ; > Name of service template to use > hostgroup windows-servers > service_description PING > check_command check_ping!100.0,20%! > 500.0,60% > } On Aug 22, 2007, at 4:16 AM, Dennis Huenseler wrote: > Hello, > > if i checked your config right i think you have to define a host- > template "windows-servers" with the parameter contact_groups where > you define the contact_group if you want to use it for server03 > > > hosts.cfg: > > define host{ > host_name windows-servers > check_period 24x7 > etc > etc > -> contact_groups admins <- > } > > > define host{ > use windows-servers ; Name of > host template to use > host_name server03 > alias Label Server > address 192.168.10.127 > } hi dennis. thanks for your reply. sorry i did not include that section of my hosts.cfg in my original post. i do have windows-servers hosts template defined. see below for template definition. $ cat /opt/local/etc/nagios/ny/hosts.cfg ... define host{ name windows-servers ; The name of this host template use generic-host ; This template inherits other values from the generic-host template check_period 24x7 ; By default, Windows hosts are checked round the clock max_check_attempts 10 ; Check each Windows host 10 times (max) check_command check-host-alive ; Default command to check Windows hosts notification_period workhours ; Admins hate to be woken up, so we only notify during the day ; Note that the notification_period variable is being overridden from ; the value that is inherited from the generic-host template! notification_interval 120 ; Resend notification every 2 hours notification_options d,u,r ; Only send notifications for specific host states contact_groups admins ; Notifications get sent to the admins by default register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } i also forgot to include the following from the nagios.cfg file $ cat /opt/local/etc/nagios/nagios.cfg ... enable_notifications=1 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From D.Parise at iaea.org Wed Aug 22 14:33:56 2007 From: D.Parise at iaea.org (D.Parise at iaea.org) Date: Wed, 22 Aug 2007 14:33:56 +0200 Subject: check host alive by passive Message-ID: One question: how can I use something like check host alive only with passive checks? I have for one host only one passive service, and I would like the status of the host to go to critical if this service is critical. Thanks, Davide Parise Safeguards Systems Analyst Division of Technical Support (SGTS) International Atomic Energy Agency (IAEA) Tel.: +43 1 2600 26496 (Office) Fax: +43 1 2600 29317 (21st Floor) E-mail: d.parise at iaea.org This email message is intended only for the use of the named recipient. Information contained in this email message and its attachments may be privileged, confidential and protected from disclosure. If you are not the intended recipient, please do not read, copy, use or disclose this communication to others. Also please notify the sender by replying to this message and then delete it from your system. -------------- 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 D.Parise at iaea.org Wed Aug 22 14:41:15 2007 From: D.Parise at iaea.org (D.Parise at iaea.org) Date: Wed, 22 Aug 2007 14:41:15 +0200 Subject: Windows SP1 and SP2 Message-ID: Dear All, Are you aware on any differences in the OID of Windows XP SP1 and SP2 ? Some SNMP plugins do not work on SP1 while they perform perfectly on SP2 Regards, Davide Parise Safeguards Systems Analyst Division of Technical Support (SGTS) International Atomic Energy Agency (IAEA) Tel.: +43 1 2600 26496 (Office) Fax: +43 1 2600 29317 (21st Floor) E-mail: d.parise at iaea.org This email message is intended only for the use of the named recipient. Information contained in this email message and its attachments may be privileged, confidential and protected from disclosure. If you are not the intended recipient, please do not read, copy, use or disclose this communication to others. Also please notify the sender by replying to this message and then delete it from your system. -------------- 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 Wed Aug 22 15:23:11 2007 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Wed, 22 Aug 2007 09:23:11 -0400 Subject: NDOutils on FreeBSD -- solved In-Reply-To: <30729E2C-4814-4A97-87F0-03A8FDD38147@altinity.com> References: <20070821211602.GA12328@bewilderbeast.blackhelicopters.org> <30729E2C-4814-4A97-87F0-03A8FDD38147@altinity.com> Message-ID: <20070822132311.GA18338@bewilderbeast.blackhelicopters.org> On Wed, Aug 22, 2007 at 09:13:29AM +0100, Ton Voon wrote: > Hi Michael, > > On 21 Aug 2007, at 22:16, Michael W. Lucas wrote: > > >The problem is in ndoutils-x/include/config.h . The configure script > >puts all the libraries under /usr/lib instead of letting mysql be > >under /usr/local/lib. I edited config.h as shown, and ndoutils > >compiled just fine. > > Can you try this patch we posted on altinity.org? http:// > altinity.blogs.com/dotorg/2007/04/better_mysqlcli.html > > It uses the same detection mechanism that the Nagios Plugins uses. > I've tested on Mac OS X which has mysql in /usr/local/mysql/lib, > which is also non-standard. No joy. I did the following: download the patch and the np_mysqlclient.m4 into my home dir. extract a clean ndoutils, go into it patch < ../ndoutils_better_mysql_detection_cvs.patch mkdir m4 mv ../np_mysqlclient.m4 m4/ Ran configure, and got: Script started on Wed Aug 22 09:15:52 2007 aubsr023~/ndoutils-1.4b4;configure./configure checking for a BSD-compatible install... /usr/bin/install -c checking build system type... i386-unknown-freebsd6.2 checking host system type... i386-unknown-freebsd6.2 checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether make sets $(MAKE)... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking ltdl.h usability... no checking ltdl.h presence... no checking for ltdl.h... no checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking socket.h usability... no checking socket.h presence... no checking for socket.h... no checking for stdint.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/msg.h usability... yes checking sys/msg.h presence... yes checking for sys/msg.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/sendfile.h usability... no checking sys/sendfile.h presence... no checking for sys/sendfile.h... no checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking for sys/types.h... (cached) yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking for sys/wait.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking tcpd.h usability... yes checking tcpd.h presence... yes checking for tcpd.h... yes checking for unistd.h... (cached) yes checking values.h usability... no checking values.h presence... no checking for values.h... no checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for int... yes checking size of int... 4 checking for short... yes checking size of short... 2 checking for long... yes checking size of long... 4 checking for uint32_t... yes checking for u_int32_t... yes checking for int32_t... yes checking for getopt_long... yes checking for main in -lnsl... no checking for socket in -lsocket... no checking for main in -lwrap... yes checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for initgroups... yes checking for type of socket size... size_t checking for linker flags for loadable modules... -shared checking for compress in -lz... yes checking for mysql_store_result in -lmysqlclient... no *** MySQL library could not be located... ************************** You chose to compile NDBXT with MySQL support, but I was unable to locate the MySQL library on your system. If the library is installed, use the --with-mysql-lib argument to specify the location of the MySQL library. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the MySQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. TIP: Try the following.... ./configure --with-mysql-lib=/usr/lib/mysql ******************************************************************** checking mysql/mysql.h usability... no checking mysql/mysql.h presence... no checking for mysql/mysql.h... no *** MySQL include file could not be located... ********************** You chose to compile NDBXT with MySQL support, but I was unable to locate on your system. If the include file is installed, use the --with-mysql-inc argument to specify the location of the MySQL include file. ******************************************************************** checking for PQconnectdb in -lpq... no *** PostgreSQL library could not be located... ********************* You chose to compile NDBXT with PostgreSQL support, but I was unable to locate the PostgreSQL library on your system. If the library is installed, use the --with-pgsql-lib argument to specify the location of the PostgreSQL library. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the PostgreSQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. ******************************************************************** 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. ******************************************************************** configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating include/config.h *** ndoutils 1.4b4 06-19-2007 *** Type 'make' to compile the NDO utilities. aubsr023~/ndoutils-1.4b4;^Dexit Script done on Wed Aug 22 09:16:16 2007 -- 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 marknassy at gmail.com Wed Aug 22 15:50:15 2007 From: marknassy at gmail.com (Mark Nassy) Date: Wed, 22 Aug 2007 09:50:15 -0400 Subject: No host, or service notifications received from Nagios 2.9 for critical states, Resolved In-Reply-To: References: <8A793F1AC3ED7447B580082FCF608CF9CE5F87@twtexchange1.twt.intern> Message-ID: <3A7DDB21-2C08-433E-B2CB-9BBA2667AC65@gmail.com> On Aug 22, 2007, at 6:54 AM, Mark Nassy wrote: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios- >> users-bounces at lists.sourceforge.net] On Behalf Of Mark Nassy >> Sent: Wednesday, August 22, 2007 9:54 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] No host,or service notifications received >> from Nagios 2.9 for criticalstates >> >> no notifications are being received from nagios when a service is >> down. i power off server03 and did not receive a notification from >> nagios. the log shows no record of an attempt to send a notification. >> i can manually send notifications successfully. any ideas why? >> >> here is the log with no record of a notification attempt. >> >> $ cat /opt/local/var/nagios/nagios.log >> [1187737502] HOST ALERT: server03;DOWN;SOFT;9;CRITICAL - Plugin timed >> out after 10 seconds >> [1187737512] HOST ALERT: server03;DOWN;HARD;10;CRITICAL - Plugin >> timed out after 10 seconds >> [1187737512] SERVICE ALERT: server03;PING;CRITICAL;HARD;1;CRITICAL - >> 192.168.10.127: rta nan, lost 100% >> [1187738002] HOST ALERT: server03;UP;HARD;1;PING OK - Packet loss = >> 0%, RTA = 0.45 ms >> [1187738002] SERVICE ALERT: server03;PING;OK;HARD;1;OK - >> 192.168.10.127: rta 0.589ms, lost 0% >> [1187739982] Auto-save of retention data completed successfully. >> ... >> 1187741712] HOST ALERT: server03;DOWN;HARD;10;CRITICAL - Plugin timed >> out after 10 seconds >> [1187741712] SERVICE ALERT: server03;PING;CRITICAL;HARD;1;CRITICAL - >> 192.168.10.127: rta nan, lost 100% >> [1187743582] Auto-save of retention data completed successfully. >> [1187745607] Caught SIGEXIT, shutting down... >> [1187745607] Successfully shutdown... (PID=3492) >> [1187745618] Nagios 2.9 starting... (PID=5949) >> [1187745618] LOG VERSION: 2.0 >> [1187745618] Finished daemonizing... (New PID=5950) >> [1187749218] Auto-save of retention data completed successfully. >> >> >> >> file system permissions review looks ok (to me). >> $ ls -l >> ... >> -r-sr-xr-x 2 root admin 46644 Aug 20 11:46 check_icmp >> ... >> -rwxr-xr-x 2 root admin 42496 Aug 20 11:46 check_ping >> >> >> >> using the check_ping command returns the expected result for a host >> or service that is down. >> $ sudo -u nagios ./check_ping -H server03 -w 100.0,20% -c 500.0,60% >> CRITICAL - Plugin timed out after 10 seconds >> >> >> manually sending an email using the code from the notification >> command works. i receive the email. >> $ sudo -u nagios /usr/bin/printf "%b" "***** Nagios 2.9 *****\n >> \nNotification Type: CRITICAL\n\nService: PING\nHost: server03 >> \nAddress: 192.168.10.127\nState: down\n\nDate/Time: Today Aug 22nd\n >> \nAdditional Info:\n\nTimeout" | /usr/bin/mail -s "** CRITICAL alert >> - server03/PING is down **" it at intranet.com >> >> >> config directory set and notifications turned on. >> $ cat /opt/local/etc/nagios/nagios.cfg >> ... >> cfg_dir=/opt/local/etc/nagios/ny >> ... >> log_notifications=1 >> >> >> >> $ cat /opt/local/etc/nagios/ny/contacts.cfg >> ... >> define contact{ >> contact_name nagios-admin >> alias Nagios Admin >> service_notification_period 24x7 >> host_notification_period 24x7 >> service_notification_options w,u,c,r >> host_notification_options d,r >> service_notification_commands notify-by-email >> host_notification_commands host-notify-by-email >> email it at intranet.com >> } >> >> >> >> >> $ cat /opt/local/etc/nagios/ny/contactgroups.cfg >> ... >> define contactgroup{ >> contactgroup_name admins >> alias Nagios Administrators >> members nagios-admin >> } >> >> >> >> note: the ping command actually runs check_icmp in the command line. >> $ cat /opt/local/etc/nagios/ny/commands.cfg >> ... >> >> # 'check_ping' command definition >> define command{ >> command_name check_ping >> command_line $USER1$/check_icmp -H $HOSTADDRESS$ -w $ARG1 >> $ -c $ARG2$ -p 5 >> } >> ... >> # 'host-notify-by-email' command definition >> define command{ >> command_name host-notify-by-email >> command_line /usr/bin/printf "%b" "***** Nagios 2.9 ***** >> \n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: >> $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: >> $LONGDATETIME$\n" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for >> $HOSTNAME$!" $CONTACTEMAIL$ >> } >> >> # 'notify-by-email' command definition >> define command{ >> command_name notify-by-email >> command_line /usr/bin/printf "%b" "***** Nagios 2.9 ***** >> \n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$ >> \nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n >> \nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" >> | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/ >> $SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ >> } >> >> >> >> >> $ cat /opt/local/etc/nagios/ny/hostgroups.cfg >> ... >> define hostgroup{ >> hostgroup_name windows-servers >> alias Windows Servers >> members server01,server02,server03 >> } >> >> >> >> >> $ cat /opt/local/etc/nagios/ny/hosts.cfg >> ... >> define host{ >> use windows-servers ; Name of >> host template to use >> ; This host >> definition will inherit all variables that are defin$ >> ; in (or >> inherited by) the windows-server host template definiti$ >> host_name server03 >> alias Label Server >> address 192.168.10.127 >> } >> >> >> >> $ cat /opt/local/etc/nagios/ny/services.cfg >> ... >> define service{ >> use remote-service ; >> Name of service template to use >> hostgroup windows-servers >> service_description PING >> check_command check_ping!100.0,20%! >> 500.0,60% >> } > > > > On Aug 22, 2007, at 4:16 AM, Dennis Huenseler wrote: >> Hello, >> >> if i checked your config right i think you have to define a host- >> template "windows-servers" with the parameter contact_groups where >> you define the contact_group if you want to use it for server03 >> >> >> hosts.cfg: >> >> define host{ >> host_name windows-servers >> check_period 24x7 >> etc >> etc >> -> contact_groups admins <- >> } >> >> >> define host{ >> use windows-servers ; Name >> of host template to use >> host_name server03 >> alias Label Server >> address 192.168.10.127 >> } > > hi dennis. > > thanks for your reply. sorry i did not include that section of my > hosts.cfg in my original post. i do have windows-servers hosts > template defined. see below for template definition. > > $ cat /opt/local/etc/nagios/ny/hosts.cfg > ... > define host{ > name windows-servers ; The name > of this host template > use generic-host ; This > template inherits other values from the generic-host template > check_period 24x7 ; By > default, Windows hosts are checked round the clock > max_check_attempts 10 ; Check > each Windows host 10 times (max) > check_command check-host-alive ; Default > command to check Windows hosts > notification_period workhours ; Admins > hate to be woken up, so we only notify during the day > ; Note that > the notification_period variable is being overridden from > ; the value > that is inherited from the generic-host template! > notification_interval 120 ; Resend > notification every 2 hours > notification_options d,u,r ; Only send > notifications for specific host states > contact_groups admins ; > Notifications get sent to the admins by default > register 0 ; DONT > REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! > } > > > i also forgot to include the following from the nagios.cfg file > $ cat /opt/local/etc/nagios/nagios.cfg > ... > enable_notifications=1 i am not sure why as i did not change any configuration in the nagios files but i just got a notification that server03 is down by email. if anything changes i will update this post. thanks everyone for your help. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From huenseler at twt.de Wed Aug 22 15:52:48 2007 From: huenseler at twt.de (Dennis Huenseler) Date: Wed, 22 Aug 2007 15:52:48 +0200 Subject: No host, or service notifications received from Nagios 2.9 for criticalstates, Resolved References: <8A793F1AC3ED7447B580082FCF608CF9CE5F87@twtexchange1.twt.intern> <3A7DDB21-2C08-433E-B2CB-9BBA2667AC65@gmail.com> Message-ID: <8A793F1AC3ED7447B580082FCF608CF9CE605D@twtexchange1.twt.intern> Looking @your time zone i think i know where to find the problem: As from your config: > notification_period workhours ; Admins Take a look @ timeperiods :-) Mit freundlichen Gr??en ? Dennis H?nseler -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mark Nassy Sent: Wednesday, August 22, 2007 3:50 PM To: Mark Nassy Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] No host,or service notifications received from Nagios 2.9 for criticalstates, Resolved On Aug 22, 2007, at 6:54 AM, Mark Nassy wrote: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios- >> users-bounces at lists.sourceforge.net] On Behalf Of Mark Nassy >> Sent: Wednesday, August 22, 2007 9:54 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] No host,or service notifications received >> from Nagios 2.9 for criticalstates >> >> no notifications are being received from nagios when a service is >> down. i power off server03 and did not receive a notification from >> nagios. the log shows no record of an attempt to send a notification. >> i can manually send notifications successfully. any ideas why? >> >> here is the log with no record of a notification attempt. >> >> $ cat /opt/local/var/nagios/nagios.log >> [1187737502] HOST ALERT: server03;DOWN;SOFT;9;CRITICAL - Plugin timed >> out after 10 seconds >> [1187737512] HOST ALERT: server03;DOWN;HARD;10;CRITICAL - Plugin >> timed out after 10 seconds >> [1187737512] SERVICE ALERT: server03;PING;CRITICAL;HARD;1;CRITICAL - >> 192.168.10.127: rta nan, lost 100% >> [1187738002] HOST ALERT: server03;UP;HARD;1;PING OK - Packet loss = >> 0%, RTA = 0.45 ms >> [1187738002] SERVICE ALERT: server03;PING;OK;HARD;1;OK - >> 192.168.10.127: rta 0.589ms, lost 0% >> [1187739982] Auto-save of retention data completed successfully. >> ... >> 1187741712] HOST ALERT: server03;DOWN;HARD;10;CRITICAL - Plugin timed >> out after 10 seconds >> [1187741712] SERVICE ALERT: server03;PING;CRITICAL;HARD;1;CRITICAL - >> 192.168.10.127: rta nan, lost 100% >> [1187743582] Auto-save of retention data completed successfully. >> [1187745607] Caught SIGEXIT, shutting down... >> [1187745607] Successfully shutdown... (PID=3492) >> [1187745618] Nagios 2.9 starting... (PID=5949) >> [1187745618] LOG VERSION: 2.0 >> [1187745618] Finished daemonizing... (New PID=5950) >> [1187749218] Auto-save of retention data completed successfully. >> >> >> >> file system permissions review looks ok (to me). >> $ ls -l >> ... >> -r-sr-xr-x 2 root admin 46644 Aug 20 11:46 check_icmp >> ... >> -rwxr-xr-x 2 root admin 42496 Aug 20 11:46 check_ping >> >> >> >> using the check_ping command returns the expected result for a host >> or service that is down. >> $ sudo -u nagios ./check_ping -H server03 -w 100.0,20% -c 500.0,60% >> CRITICAL - Plugin timed out after 10 seconds >> >> >> manually sending an email using the code from the notification >> command works. i receive the email. >> $ sudo -u nagios /usr/bin/printf "%b" "***** Nagios 2.9 *****\n >> \nNotification Type: CRITICAL\n\nService: PING\nHost: server03 >> \nAddress: 192.168.10.127\nState: down\n\nDate/Time: Today Aug 22nd\n >> \nAdditional Info:\n\nTimeout" | /usr/bin/mail -s "** CRITICAL alert >> - server03/PING is down **" it at intranet.com >> >> >> config directory set and notifications turned on. >> $ cat /opt/local/etc/nagios/nagios.cfg >> ... >> cfg_dir=/opt/local/etc/nagios/ny >> ... >> log_notifications=1 >> >> >> >> $ cat /opt/local/etc/nagios/ny/contacts.cfg >> ... >> define contact{ >> contact_name nagios-admin >> alias Nagios Admin >> service_notification_period 24x7 >> host_notification_period 24x7 >> service_notification_options w,u,c,r >> host_notification_options d,r >> service_notification_commands notify-by-email >> host_notification_commands host-notify-by-email >> email it at intranet.com >> } >> >> >> >> >> $ cat /opt/local/etc/nagios/ny/contactgroups.cfg >> ... >> define contactgroup{ >> contactgroup_name admins >> alias Nagios Administrators >> members nagios-admin >> } >> >> >> >> note: the ping command actually runs check_icmp in the command line. >> $ cat /opt/local/etc/nagios/ny/commands.cfg >> ... >> >> # 'check_ping' command definition >> define command{ >> command_name check_ping >> command_line $USER1$/check_icmp -H $HOSTADDRESS$ -w $ARG1 >> $ -c $ARG2$ -p 5 >> } >> ... >> # 'host-notify-by-email' command definition >> define command{ >> command_name host-notify-by-email >> command_line /usr/bin/printf "%b" "***** Nagios 2.9 ***** >> \n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: >> $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: >> $LONGDATETIME$\n" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for >> $HOSTNAME$!" $CONTACTEMAIL$ >> } >> >> # 'notify-by-email' command definition >> define command{ >> command_name notify-by-email >> command_line /usr/bin/printf "%b" "***** Nagios 2.9 ***** >> \n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$ >> \nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n >> \nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" >> | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/ >> $SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ >> } >> >> >> >> >> $ cat /opt/local/etc/nagios/ny/hostgroups.cfg >> ... >> define hostgroup{ >> hostgroup_name windows-servers >> alias Windows Servers >> members server01,server02,server03 >> } >> >> >> >> >> $ cat /opt/local/etc/nagios/ny/hosts.cfg >> ... >> define host{ >> use windows-servers ; Name of >> host template to use >> ; This host >> definition will inherit all variables that are defin$ >> ; in (or >> inherited by) the windows-server host template definiti$ >> host_name server03 >> alias Label Server >> address 192.168.10.127 >> } >> >> >> >> $ cat /opt/local/etc/nagios/ny/services.cfg >> ... >> define service{ >> use remote-service ; >> Name of service template to use >> hostgroup windows-servers >> service_description PING >> check_command check_ping!100.0,20%! >> 500.0,60% >> } > > > > On Aug 22, 2007, at 4:16 AM, Dennis Huenseler wrote: >> Hello, >> >> if i checked your config right i think you have to define a host- >> template "windows-servers" with the parameter contact_groups where >> you define the contact_group if you want to use it for server03 >> >> >> hosts.cfg: >> >> define host{ >> host_name windows-servers >> check_period 24x7 >> etc >> etc >> -> contact_groups admins <- >> } >> >> >> define host{ >> use windows-servers ; Name >> of host template to use >> host_name server03 >> alias Label Server >> address 192.168.10.127 >> } > > hi dennis. > > thanks for your reply. sorry i did not include that section of my > hosts.cfg in my original post. i do have windows-servers hosts > template defined. see below for template definition. > > $ cat /opt/local/etc/nagios/ny/hosts.cfg > ... > define host{ > name windows-servers ; The name > of this host template > use generic-host ; This > template inherits other values from the generic-host template > check_period 24x7 ; By > default, Windows hosts are checked round the clock > max_check_attempts 10 ; Check > each Windows host 10 times (max) > check_command check-host-alive ; Default > command to check Windows hosts > notification_period workhours ; Admins > hate to be woken up, so we only notify during the day > ; Note that > the notification_period variable is being overridden from > ; the value > that is inherited from the generic-host template! > notification_interval 120 ; Resend > notification every 2 hours > notification_options d,u,r ; Only send > notifications for specific host states > contact_groups admins ; > Notifications get sent to the admins by default > register 0 ; DONT > REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! > } > > > i also forgot to include the following from the nagios.cfg file > $ cat /opt/local/etc/nagios/nagios.cfg > ... > enable_notifications=1 i am not sure why as i did not change any configuration in the nagios files but i just got a notification that server03 is down by email. if anything changes i will update this post. thanks everyone for your help. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 narendran.neelamegam at wipro.com Wed Aug 22 16:01:47 2007 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Wed, 22 Aug 2007 19:31:47 +0530 Subject: Best way to monitoring Oracle on Windows In-Reply-To: References: Message-ID: Dear All, Please suggest me the best method to monitor Oracle on Windows? I tried using the Oracle_nrpe_nt to monitor Oracle on Windows (Oracle_nrpe_nt) I had configured TNS, PMON and Table Space monitoring. There seems to be memory leak with this agent and due to which the NSclient++ stopped working. Has any one else observed this behavior and are there any patches. Thanks and Regards, Naren -------------- 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 marknassy at gmail.com Wed Aug 22 16:10:14 2007 From: marknassy at gmail.com (Mark Nassy) Date: Wed, 22 Aug 2007 10:10:14 -0400 Subject: No host, or service notifications received from Nagios 2.9 for criticalstates, Resolved In-Reply-To: <8A793F1AC3ED7447B580082FCF608CF9CE605D@twtexchange1.twt.intern> References: <8A793F1AC3ED7447B580082FCF608CF9CE5F87@twtexchange1.twt.intern> <3A7DDB21-2C08-433E-B2CB-9BBA2667AC65@gmail.com> <8A793F1AC3ED7447B580082FCF608CF9CE605D@twtexchange1.twt.intern> Message-ID: <56F1CE83-2803-4283-86F6-FB8CC4CC5FB8@gmail.com> On Aug 22, 2007, at 9:52 AM, Dennis Huenseler wrote: > Looking @your time zone i think i know where to find the problem: > As from your config: > >> notification_period workhours ; Admins > > Take a look @ timeperiods :-) thanks for your help. i am sure that was it now. makes sense why i got a notification today. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at altinity.com Wed Aug 22 16:11:38 2007 From: ton.voon at altinity.com (Ton Voon) Date: Wed, 22 Aug 2007 15:11:38 +0100 Subject: NDOutils on FreeBSD -- solved In-Reply-To: <20070822132311.GA18338@bewilderbeast.blackhelicopters.org> References: <20070821211602.GA12328@bewilderbeast.blackhelicopters.org> <30729E2C-4814-4A97-87F0-03A8FDD38147@altinity.com> <20070822132311.GA18338@bewilderbeast.blackhelicopters.org> Message-ID: <16283320-3AFD-4DA1-A6F5-B79586D98EEF@altinity.com> On 22 Aug 2007, at 14:23, Michael W. Lucas wrote: > No joy. I did the following: > > download the patch and the np_mysqlclient.m4 into my home dir. > > extract a clean ndoutils, go into it > > patch < ../ndoutils_better_mysql_detection_cvs.patch > > mkdir m4 > mv ../np_mysqlclient.m4 m4/ > > Ran configure, and got: You need to run aclocal -I m4 && autoconf in the top level directory before you run configure. The configure log doesn't have any entries re: mysql_config which is what this patch will try to use. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Aug 22 16:20:07 2007 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Wed, 22 Aug 2007 10:20:07 -0400 Subject: NDOutils on FreeBSD -- solved In-Reply-To: <16283320-3AFD-4DA1-A6F5-B79586D98EEF@altinity.com> References: <20070821211602.GA12328@bewilderbeast.blackhelicopters.org> <30729E2C-4814-4A97-87F0-03A8FDD38147@altinity.com> <20070822132311.GA18338@bewilderbeast.blackhelicopters.org> <16283320-3AFD-4DA1-A6F5-B79586D98EEF@altinity.com> Message-ID: <20070822142007.GA18649@bewilderbeast.blackhelicopters.org> On Wed, Aug 22, 2007 at 03:11:38PM +0100, Ton Voon wrote: > > On 22 Aug 2007, at 14:23, Michael W. Lucas wrote: > > >No joy. I did the following: > > > >download the patch and the np_mysqlclient.m4 into my home dir. > > > >extract a clean ndoutils, go into it > > > >patch < ../ndoutils_better_mysql_detection_cvs.patch > > > >mkdir m4 > >mv ../np_mysqlclient.m4 m4/ > > > >Ran configure, and got: > > You need to run aclocal -I m4 && autoconf in the top level directory > before you run configure. > > The configure log doesn't have any entries re: mysql_config which is > what this patch will try to use. Sorry, still no joy. This was with aclocal14 and autoconf259; are particular versions required? (I'm a BSD guy, so this aclocal and autoconf stuff is foreign, sorry.) Thanks, ==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 ton.voon at altinity.com Wed Aug 22 16:37:21 2007 From: ton.voon at altinity.com (Ton Voon) Date: Wed, 22 Aug 2007 15:37:21 +0100 Subject: NDOutils on FreeBSD -- solved In-Reply-To: <20070822142007.GA18649@bewilderbeast.blackhelicopters.org> References: <20070821211602.GA12328@bewilderbeast.blackhelicopters.org> <30729E2C-4814-4A97-87F0-03A8FDD38147@altinity.com> <20070822132311.GA18338@bewilderbeast.blackhelicopters.org> <16283320-3AFD-4DA1-A6F5-B79586D98EEF@altinity.com> <20070822142007.GA18649@bewilderbeast.blackhelicopters.org> Message-ID: <9F8A90A6-7DFA-4F7F-884C-F3B58A493AF6@altinity.com> On 22 Aug 2007, at 15:20, Michael W. Lucas wrote: > On Wed, Aug 22, 2007 at 03:11:38PM +0100, Ton Voon wrote: >> >> On 22 Aug 2007, at 14:23, Michael W. Lucas wrote: >> >>> No joy. I did the following: >>> >>> download the patch and the np_mysqlclient.m4 into my home dir. >>> >>> extract a clean ndoutils, go into it >>> >>> patch < ../ndoutils_better_mysql_detection_cvs.patch >>> >>> mkdir m4 >>> mv ../np_mysqlclient.m4 m4/ >>> >>> Ran configure, and got: >> >> You need to run aclocal -I m4 && autoconf in the top level directory >> before you run configure. >> >> The configure log doesn't have any entries re: mysql_config which is >> what this patch will try to use. > > Sorry, still no joy. This was with aclocal14 and autoconf259; are > particular versions required? (I'm a BSD guy, so this aclocal and > autoconf stuff is foreign, sorry.) Can you try with a higher automake (where aclocal comes from)? You need at least 1.9.2, I think. Can you also try the nagiosplugins and see if check_mysql compiles there? I'll try and create a new tarball for ndoutils later today for you to try. I'll post on our blog site. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Aug 22 16:49:15 2007 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Wed, 22 Aug 2007 10:49:15 -0400 Subject: NDOutils on FreeBSD -- solved In-Reply-To: <9F8A90A6-7DFA-4F7F-884C-F3B58A493AF6@altinity.com> References: <20070821211602.GA12328@bewilderbeast.blackhelicopters.org> <30729E2C-4814-4A97-87F0-03A8FDD38147@altinity.com> <20070822132311.GA18338@bewilderbeast.blackhelicopters.org> <16283320-3AFD-4DA1-A6F5-B79586D98EEF@altinity.com> <20070822142007.GA18649@bewilderbeast.blackhelicopters.org> <9F8A90A6-7DFA-4F7F-884C-F3B58A493AF6@altinity.com> Message-ID: <20070822144915.GA18823@bewilderbeast.blackhelicopters.org> On Wed, Aug 22, 2007 at 03:37:21PM +0100, Ton Voon wrote: > > On 22 Aug 2007, at 15:20, Michael W. Lucas wrote: > > >On Wed, Aug 22, 2007 at 03:11:38PM +0100, Ton Voon wrote: > >> > >>On 22 Aug 2007, at 14:23, Michael W. Lucas wrote: > >> > >>>No joy. I did the following: > >>> > >>>download the patch and the np_mysqlclient.m4 into my home dir. > >>> > >>>extract a clean ndoutils, go into it > >>> > >>>patch < ../ndoutils_better_mysql_detection_cvs.patch > >>> > >>>mkdir m4 > >>>mv ../np_mysqlclient.m4 m4/ > >>> > >>>Ran configure, and got: > >> > >>You need to run aclocal -I m4 && autoconf in the top level directory > >>before you run configure. > >> > >>The configure log doesn't have any entries re: mysql_config which is > >>what this patch will try to use. > > > >Sorry, still no joy. This was with aclocal14 and autoconf259; are > >particular versions required? (I'm a BSD guy, so this aclocal and > >autoconf stuff is foreign, sorry.) > > Can you try with a higher automake (where aclocal comes from)? You > need at least 1.9.2, I think. > > Can you also try the nagiosplugins and see if check_mysql compiles > there? The nagios plugins port requires automake 1.9.6 and automake 259, so I tried that. No reference to mysql_config in the configure log. > I'll try and create a new tarball for ndoutils later today for you to > try. I'll post on our blog site. Let me know, I'm happy to test. If we can make ndoutils compile cleanly on FreeBSD, I'll try to get it in as a port. ==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 akennedy at cyberlinkint.com Wed Aug 22 16:50:44 2007 From: akennedy at cyberlinkint.com (Adam Kennedy) Date: Wed, 22 Aug 2007 10:50:44 -0400 Subject: Map / Host Parents / Redundant Rings In-Reply-To: <9D30659ABCA7FB428CF91E386C3A57448E0DF8@hermes.sapphire-int.gi> References: <9D30659ABCA7FB428CF91E386C3A57448E0DF8@hermes.sapphire-int.gi> Message-ID: <46CC4D44.7000900@cyberlinkint.com> I am also interested in everyone elses feedback with this. We have several rings in our network for redundancy and currently I can only monitor one path of the ring. Giles Coochey wrote: > Hi, > > I have a query with regard to setting up links in the statusmap. > > In our environment we have high availability redundant rings, e.g. > MetroEthernet & RPR. > > If I try to set up parents as per the infrastructure e.g. each member of > a ring has parents of both its neighbors then Nagios complains during > the pre-flight check: > > Error: There is a circular parent/child path that exists for host 'HostA'! > > Well, yes, very true ? that is our infrastructure design. I understand > that Nagios might have some problems with it?s reachability algorithms, > but I would like to know how people with this kind of infrastructure set > this up. > > Feedback is appreciated. > > Best regards > > Giles > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 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 mwlucas at blackhelicopters.org Wed Aug 22 16:52:47 2007 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Wed, 22 Aug 2007 10:52:47 -0400 Subject: Map / Host Parents / Redundant Rings In-Reply-To: <46CC4D44.7000900@cyberlinkint.com> References: <9D30659ABCA7FB428CF91E386C3A57448E0DF8@hermes.sapphire-int.gi> <46CC4D44.7000900@cyberlinkint.com> Message-ID: <20070822145247.GA18916@bewilderbeast.blackhelicopters.org> My network has a few small rings in it. Certain hosts have multiple IP addresses. I use separate hosts entries for those. It's ugly, but it works. On Wed, Aug 22, 2007 at 10:50:44AM -0400, Adam Kennedy wrote: > I am also interested in everyone elses feedback with this. We have > several rings in our network for redundancy and currently I can only > monitor one path of the ring. > > Giles Coochey wrote: > > Hi, > > > > I have a query with regard to setting up links in the statusmap. > > > > In our environment we have high availability redundant rings, e.g. > > MetroEthernet & RPR. > > > > If I try to set up parents as per the infrastructure e.g. each member of > > a ring has parents of both its neighbors then Nagios complains during > > the pre-flight check: > > > > Error: There is a circular parent/child path that exists for host 'HostA'! > > > > Well, yes, very true ? that is our infrastructure design. I understand > > that Nagios might have some problems with it?s reachability algorithms, > > but I would like to know how people with this kind of infrastructure set > > this up. > > > > Feedback is appreciated. > > > > Best regards > > > > Giles > > > > > > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 > 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 -- 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 lists at webtent.net Wed Aug 22 17:16:46 2007 From: lists at webtent.net (Robert Fitzpatrick) Date: Wed, 22 Aug 2007 11:16:46 -0400 Subject: ACKNOWLEDGEMENT comment in e-mail Message-ID: <1187795806.27992.51.camel@columbus.webtent.org> Is there any way to get the comment made by who acknowledged the problem included in the e-mail sent? -- Robert ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Aug 22 17:21:25 2007 From: akennedy at cyberlinkint.com (Adam Kennedy) Date: Wed, 22 Aug 2007 11:21:25 -0400 Subject: ACKNOWLEDGEMENT comment in e-mail In-Reply-To: <1187795806.27992.51.camel@columbus.webtent.org> References: <1187795806.27992.51.camel@columbus.webtent.org> Message-ID: <46CC5475.3080704@cyberlinkint.com> Yes. Take a look at the MACRO section of the nagios guide, it explains all the different $$ variables you can include in notifications. http://nagios.sourceforge.net/docs/2_0/macros.html Robert Fitzpatrick wrote: > Is there any way to get the comment made by who acknowledged the problem > included in the e-mail sent? > -- Adam Kennedy 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 ton.voon at altinity.com Wed Aug 22 17:32:15 2007 From: ton.voon at altinity.com (Ton Voon) Date: Wed, 22 Aug 2007 16:32:15 +0100 Subject: NDOutils on FreeBSD -- solved In-Reply-To: <20070822144915.GA18823@bewilderbeast.blackhelicopters.org> References: <20070821211602.GA12328@bewilderbeast.blackhelicopters.org> <30729E2C-4814-4A97-87F0-03A8FDD38147@altinity.com> <20070822132311.GA18338@bewilderbeast.blackhelicopters.org> <16283320-3AFD-4DA1-A6F5-B79586D98EEF@altinity.com> <20070822142007.GA18649@bewilderbeast.blackhelicopters.org> <9F8A90A6-7DFA-4F7F-884C-F3B58A493AF6@altinity.com> <20070822144915.GA18823@bewilderbeast.blackhelicopters.org> Message-ID: On 22 Aug 2007, at 15:49, Michael W. Lucas wrote: > On Wed, Aug 22, 2007 at 03:37:21PM +0100, Ton Voon wrote: >> I'll try and create a new tarball for ndoutils later today for you to >> try. I'll post on our blog site. > > Let me know, I'm happy to test. The tarball (based on ndoutils-1.4b3) is here: http:// resources.opsview.org/ndoutils-1.4b3_with_mysql_patch.tar.gz ./configure should give output like: checking for mysql_config... /usr/local/mysql/bin/mysql_config Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From J.F.Wheeler at rl.ac.uk Wed Aug 22 17:37:31 2007 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Wed, 22 Aug 2007 16:37:31 +0100 Subject: Using contributed check Message-ID: We have recently started trying to use the contributed plugin /usr/lib/nagios/plugins/contrib/check_snmp_process_monitor.pl to run checks from our Linux Nagios servers on a Solaris system. Using perl from userid nagios we get successful output: [root at nincom ~]# su - nagios -sh-3.00$ cd /usr/lib/nagios/plugins/contrib/ -sh-3.00$ perl check_snmp_process_monitor.pl -H 130.246.183.131 -C public -e arrayd -w 0,3 -c 1,2 -s --memory --cpu OK - 1 process(es) found resembling 'arrayd'|count=1:memory=1216:cpu=0.08 However Nagios returns this text: **ePN /usr/lib/nagios/plugins/contrib/check_snmp_process_monitor.pl: Reference found where even-sized list expected at (eval 1) line 194,. Now I understand that the problem is that the code is not compatible with Embedded Perl Interpreter in Nagios, but an someone help me further understand and solve this problem. Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Aug 22 17:44:47 2007 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Wed, 22 Aug 2007 11:44:47 -0400 Subject: NDOutils on FreeBSD -- solved In-Reply-To: References: <20070821211602.GA12328@bewilderbeast.blackhelicopters.org> <30729E2C-4814-4A97-87F0-03A8FDD38147@altinity.com> <20070822132311.GA18338@bewilderbeast.blackhelicopters.org> <16283320-3AFD-4DA1-A6F5-B79586D98EEF@altinity.com> <20070822142007.GA18649@bewilderbeast.blackhelicopters.org> <9F8A90A6-7DFA-4F7F-884C-F3B58A493AF6@altinity.com> <20070822144915.GA18823@bewilderbeast.blackhelicopters.org> Message-ID: <20070822154447.GA19169@bewilderbeast.blackhelicopters.org> On Wed, Aug 22, 2007 at 04:32:15PM +0100, Ton Voon wrote: > > On 22 Aug 2007, at 15:49, Michael W. Lucas wrote: > > >On Wed, Aug 22, 2007 at 03:37:21PM +0100, Ton Voon wrote: > >>I'll try and create a new tarball for ndoutils later today for you to > >>try. I'll post on our blog site. > > > >Let me know, I'm happy to test. > > The tarball (based on ndoutils-1.4b3) is here: http:// > resources.opsview.org/ndoutils-1.4b3_with_mysql_patch.tar.gz > > ./configure should give output like: > > checking for mysql_config... /usr/local/mysql/bin/mysql_config ... checking for type of socket size... size_t checking for linker flags for loadable modules... -shared checking for mysql_config... /usr/local/bin/mysql_config checking for mysql_init in -lmysqlclient... yes MySQL library and include file(s) were found! ... This is more like it. Now make the main distribution work like that. ;-) Thanks much, ==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 ton.voon at altinity.com Wed Aug 22 17:57:58 2007 From: ton.voon at altinity.com (Ton Voon) Date: Wed, 22 Aug 2007 16:57:58 +0100 Subject: NDOutils on FreeBSD -- solved In-Reply-To: <20070822154447.GA19169@bewilderbeast.blackhelicopters.org> References: <20070821211602.GA12328@bewilderbeast.blackhelicopters.org> <30729E2C-4814-4A97-87F0-03A8FDD38147@altinity.com> <20070822132311.GA18338@bewilderbeast.blackhelicopters.org> <16283320-3AFD-4DA1-A6F5-B79586D98EEF@altinity.com> <20070822142007.GA18649@bewilderbeast.blackhelicopters.org> <9F8A90A6-7DFA-4F7F-884C-F3B58A493AF6@altinity.com> <20070822144915.GA18823@bewilderbeast.blackhelicopters.org> <20070822154447.GA19169@bewilderbeast.blackhelicopters.org> Message-ID: <7CAFE162-6DD9-47F2-96F9-4224B1D5E5D9@altinity.com> On 22 Aug 2007, at 16:44, Michael W. Lucas wrote: > checking for type of socket size... size_t > checking for linker flags for loadable modules... -shared > checking for mysql_config... /usr/local/bin/mysql_config > checking for mysql_init in -lmysqlclient... yes > MySQL library and include file(s) were found! > ... > > This is more like it. Now make the main distribution work like > that. ;-) That's up to Ethan. Another happy user may sway him... Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 22 18:05:48 2007 From: marc at ena.com (Marc Powell) Date: Wed, 22 Aug 2007 11:05:48 -0500 Subject: Using contributed check 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 Wheeler, JF (Jonathan) > Sent: Wednesday, August 22, 2007 10:38 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Using contributed check > > However Nagios returns this text: > > **ePN /usr/lib/nagios/plugins/contrib/check_snmp_process_monitor.pl: > Reference found where even-sized list expected at (eval 1) line 194,. > > Now I understand that the problem is that the code is not compatible > with Embedded Perl Interpreter in Nagios, but an someone help me further > understand and solve this problem. > You've got three options really -- 1) Modify the plugin to be compatible with ePN by following the guidelines at http://nagios.sourceforge.net/docs/2_0/embeddedperl.html. Other people would likely value the contribution. 2) Modify how you call the plugin so that ePN isn't used. This can be accomplished by prefacing the command{} command_line with /your/path/to/perl i.e. define command{ command_name check_snmp_process command_line /usr/bin/perl $USER1$/check_snmp_process_monitor.pl -w ... } 3) recompile nagios without ePN and re-install. This is pretty straightforward cd /path/to/nagios-src && ./configure --enable-embedded-perl=no && make && /etc/init.d/nagios stop && make install && /etc/init.d/nagios start -- 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 amontibello at gmail.com Wed Aug 22 19:22:13 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 22 Aug 2007 13:22:13 -0400 Subject: Best way to monitoring Oracle on Windows In-Reply-To: References: Message-ID: NC_net also offers the ability to run scripts, however it does not use NRPE but its own version of CHECK_NT to do this. If interested it is availible at: http://sourceforge.net/projects/nc-net Good luck, Tony (Author of NC_Net) On 8/22/07, narendran.neelamegam at wipro.com wrote: > > > > Dear All, > > > > Please suggest me the best method to monitor Oracle on Windows? > > > > I tried using the Oracle_nrpe_nt to monitor Oracle on Windows > (Oracle_nrpe_nt) > > > > I had configured TNS, PMON and Table Space monitoring. > > > > There seems to be memory leak with this agent and due to which the > NSclient++ stopped working. > > > > Has any one else observed this behavior and are there any patches. > > > > Thanks and Regards, > > Naren > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 ldrolia at bea.com Thu Aug 23 07:18:46 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Wed, 22 Aug 2007 22:18:46 -0700 Subject: nrpe doesn't start after rebooting solaris server Message-ID: <2402BA0C1F52594E8E271233F62EB6A904300760@repbex02.amer.bea.com> Hi, I rebooted a solaris server and nrpe did not start on its own. I was able to resolve it by doing the following on solaris 10- Add the following entry to /etc/inetd.conf: nrpe stream tcp nowait nagios /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg --inetd Then run the following command- #inetconv -i /etc/inetd.conf But "inetconv" command is not available in solaris 9 and 8. so nrpe is not starting on those servers after a reboot. My configuration on solaris 8 and 9 boxes is- Add the following file "nrpe" under /etc/init.d - #!/sbin/sh # # /etc/init.d/nagios startup script # case "$1" in start) [ -f /usr/local/nagios/nrpe.cfg ] || exit 0 # start nagios cd /usr/local/nagios ./nrpe -c /usr/local/nagios/nrpe.cfg --daemon ;; stop) # stop nagios echo "use ps to kill nrpe" ;; *) echo "Usage: $0 { start | stop }" exit 1 ;; esac exit 0 now open nrpe.cfg in /usr/local/nagios and add server ip address allowed_hosts=127.0.0.1, 172.22.48.7 Start nrpe as daemon in solaris by issuing following command- #/usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg --deamon I tried starting nrpe with -inetd switch instead of as a daemon but the process is not getting started. Kindly help. Regards, Lalita Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete 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 hvdkooij at vanderkooij.org Thu Aug 23 07:56:48 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 23 Aug 2007 07:56:48 +0200 (CEST) Subject: check host alive by passive In-Reply-To: References: Message-ID: On Wed, 22 Aug 2007, D.Parise at iaea.org wrote: > One question: how can I use something like check host alive only with > passive checks? I have for one host only one passive service, and I > would like the status of the host to go to critical if this service is > critical. Hosts and services are two different things. It sounds like you want to abandon that concept. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for this quote of George Bernard Shaw.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From enst at mail.ru Thu Aug 23 08:12:52 2007 From: enst at mail.ru (Evgeny Stepanov) Date: Thu, 23 Aug 2007 10:12:52 +0400 Subject: nrpe doesn't start after rebooting solaris server In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A904300760@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A904300760@repbex02.amer.bea.com> Message-ID: <46CD2564.9080307@mail.ru> There are 2 different ways of running nrpe, standalone daemon or through inetd. as most *nix flavours there has to be /etc/rcX.d/ directories with symlinks to /etc.init.d/executable which has to start at particular runlevel. So put symlink to your /etc/init.d/nrpe as /etc/rc3.d/S20nrpe and i will start as standalone daemon at runlevel 3. Or, another approach, make sure inetd daemon is running and you have configured nrpe to start like you mentioned already. inetd needs to start the same way as i decribed before. Good luck. Lalita Drolia ?????: > > Hi, > > I rebooted a solaris server and nrpe did not start on its own. I was > able to resolve it by doing the following on solaris 10- > > Add the following entry to /etc/inetd.conf: > > nrpe stream tcp nowait nagios /usr/local/nagios/nrpe -c > /usr/local/nagios/nrpe.cfg --inetd > > Then run the following command- > > #inetconv -i /etc/inetd.conf > > But ?inetconv? command is not available in solaris 9 and 8. so nrpe is > not starting on those servers after a reboot. > > My configuration on solaris 8 and 9 boxes is- > > Add the following file ?/nrpe/? under //etc/init.d /- > > #!/sbin/sh > > # > > # /etc/init.d/nagios startup script > > # > > case "$1" in > > start) > > [ -f /usr/local/nagios/nrpe.cfg ] || exit 0 > > # start nagios > > cd /usr/local/nagios > > ./nrpe -c /usr/local/nagios/nrpe.cfg --daemon > > ;; > > stop) > > # stop nagios > > echo "use ps to kill nrpe" > > ;; > > *) > > echo "Usage: $0 { start | stop }" > > exit 1 > > ;; > > esac > > exit 0 > > now open nrpe.cfg in /usr/local/nagios and add server ip address > > *allowed_hosts=127.0.0.1, 172.22.48.7* > > Start nrpe as daemon in solaris by issuing following command- > > #/usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg --deamon > > I tried starting nrpe with ?inetd switch instead of as a daemon but > the process is not getting started. > > Kindly help. > > Regards, > > Lalita > > > Notice: This email message, together with any attachments, may contain > information of BEA Systems, Inc., its subsidiaries and affiliated > entities, that may be confidential, proprietary, copyrighted and/or > legally privileged, and is intended solely for the use of the > individual or entity named in this message. If you are not the > intended recipient, and have received this message in error, please > immediately return this by email and then delete 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 -- ? ?????????, ???????? ?.?. enst at mail.ru icq 2899514 +7-985-2267458 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From D.Parise at iaea.org Thu Aug 23 08:45:06 2007 From: D.Parise at iaea.org (D.Parise at iaea.org) Date: Thu, 23 Aug 2007 08:45:06 +0200 Subject: check host alive by passive In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Not really: the point is that I want the host to be down when a certain service is down and the service is passive. I am monitoring some systems connected in dial up, that why I can't use active or ping. Regards, Davide - -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hugo van der Kooij Sent: Thursday, 23 August 2007 07:57 To: Nagios Users mailinglist Subject: Re: [Nagios-users] check host alive by passive On Wed, 22 Aug 2007, D.Parise at iaea.org wrote: > One question: how can I use something like check host alive only with > passive checks? I have for one host only one passive service, and I > would like the status of the host to go to critical if this service is > critical. Hosts and services are two different things. It sounds like you want to abandon that concept. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for this quote of George Bernard Shaw.) - ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -----BEGIN PGP SIGNATURE----- Version: 9.5.3 (Build 5003) wsBVAwUBRs0s8h+K8IX89MUJAQiz3gf/XjsoXf1Q9yBGCgDHltcpvLAyukdXMGhc buD+s/n2DzTCc/VfbWWdVCWy60IPdN0rFpmXXnrB93h0JtYAKg2HZNjAEnVQFZL2 cxaQDFGLms7Q6Rc54L7kHvdjUGa0QJ97MuwKT2yr3r2TcpjERL1xpE106zGg6gaI CSpsIbECafwehGN8H+tAMppBYK6AmTzVoqj5+c5EsA5mijrJS83sorwZ+uGsjUiV lUWjidTSQtrThFQ68KNoch+mRWK+ETwgTsTAD7CmatU9nMuCAXqI+oLa6nno1mRV wWt5dq+pBzIqndTR0noch+wfPpGlsDu5FHX/X4E4OUWmUg7HmrSRvg== =DO2l -----END PGP SIGNATURE----- This email message is intended only for the use of the named recipient. Information contained in this email message and its attachments may be privileged, confidential and protected from disclosure. If you are not the intended recipient, please do not read, copy, use or disclose this communication to others. Also please notify the sender by replying to this message and then 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 cdoebler at netways.de Thu Aug 23 10:39:58 2007 From: cdoebler at netways.de (=?iso-8859-1?Q?Christian_D=F6bler?=) Date: Thu, 23 Aug 2007 10:39:58 +0200 Subject: Changes on nagiosexchange.org Message-ID: Hi all, some of the nagios-addicted of you might have noticed some changes on nagiosexchange.org: * the voting has been visualized * projects can be enabled/disabled * projects can be moved to other folders * you are now able to set supported Nagios versions for your projects and search for them (thanks to AZ for his feature request) * a projects mirror provides you with latest software updates Some more changes will take place... enjoy. Regards, Chris -- Christian D?bler NETWAYS GmbH Application Developer Deutschherrnstr. 47a Fon.+49 911 92885-0 D-90429 N?rnberg Fax.+49 911 92885-77 cdoebler at netways.de http://www.netways.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 ankit.mehrotra at tcs.com Thu Aug 23 13:53:24 2007 From: ankit.mehrotra at tcs.com (Ankit Mehrotra) Date: Thu, 23 Aug 2007 17:23:24 +0530 Subject: check_nrpe plugin Message-ID: Hi, I want to contact the NRPE daemon , running from a windows machine, from a windows machine. The present plugin available for triggering NRPE daemon is on *nux platform. For my needs I am looking for a plugin thru which I can trigger the daemon from a windows machine also. I had been trying to find something in perl but not with much success. Please give me some clue for getting this thing done. Thanks Ankit =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -------------- 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 Aug 23 14:08:16 2007 From: marc at ena.com (Marc Powell) Date: Thu, 23 Aug 2007 07:08:16 -0500 Subject: Changes on nagiosexchange.org 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 Christian D?bler > Sent: Thursday, August 23, 2007 3:40 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Changes on nagiosexchange.org > > Hi all, > > some of the nagios-addicted of you might have noticed some changes on > nagiosexchange.org: Thank you Chris for this valuable resource. We appreciate 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 syd at ittagteam.com Thu Aug 23 15:32:24 2007 From: syd at ittagteam.com (Syd Alsobrook) Date: Thu, 23 Aug 2007 09:32:24 -0400 Subject: check host alive by passive In-Reply-To: References: Message-ID: <200708230932.24563.syd@ittagteam.com> On Thursday 23 August 2007 02:45, D.Parise at iaea.org wrote: > Not really: the point is that I want the host to be down when a certain > service is down and the service is passive. I am monitoring some systems > connected in dial up, that why I can't use active or ping. You might consider distributed monitoring. Run a small nagios install on the other side of the dial-up link. Have it initiate a dial back every hour or so. Have you master server throw an alert if the passive checks are over 1.5 hours old. Syd -- Syd Alsobrook IT Tag Team, Inc. 518-598-6025 http://www.ittagteam.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 hpsekhon at googlemail.com Thu Aug 23 15:40:02 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 23 Aug 2007 14:40:02 +0100 Subject: Servicegroups In-Reply-To: References: <765010.7752.qm@web23310.mail.ird.yahoo.com> <46C32988.6010507@telcotec.se> Message-ID: <46CD8E32.5080002@googlemail.com> The docs on this are quite clear I thought, you just define a group and add a host, service, host2, service type format, see http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#servicegroup I never really bothered to do this manually cos it would have been extra work to maintain so I wrote a servicegroup generator. It is simple and generates a file called servicegroups-generated.cfg which you source in nagios.cfg. It creates a group for every service_description you have in services.cfg. Instant and hassle free service groups, you can now group together all your dns servers or ftp servers without effort. If you want to use it, you can download it at http://www.nagiosexchange.org/Configuration.20.0.html?&tx_netnagext_pi1[p_view]=896 I have this run automatically every time my config is updated, so it's pretty sweet. -h Hari Sekhon Edwin Zoeller wrote: > I may have missed this one but, can someone instruct me on the easiest > way to setup servicegroups. > > Thanks in advance, > > Ed > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 digolinopage at yahoo.com.br Thu Aug 23 16:42:47 2007 From: digolinopage at yahoo.com.br (Rodrigo Tavares) Date: Thu, 23 Aug 2007 11:42:47 -0300 (ART) Subject: Monitoring others ports Message-ID: <953554.55019.qm@web56302.mail.re3.yahoo.com> Hello, My web server is running in 6767. Do I can run nagios access this port ? Best regards, Faria Flickr agora em portugu?s. Voc? clica, todo mundo v?. http://www.flickr.com.br/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Aug 23 17:27:02 2007 From: m.borsani at it.net (Marco Borsani) Date: Thu, 23 Aug 2007 17:27:02 +0200 Subject: R: Monitoring others ports In-Reply-To: <953554.55019.qm@web56302.mail.re3.yahoo.com> References: <953554.55019.qm@web56302.mail.re3.yahoo.com> Message-ID: <002101c7e59a$0e538f70$0900d40a@intranet.it.net> Use option -p with check_http plug-in Marco -----Messaggio originale----- Da: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto di Rodrigo Tavares Inviato: gioved? 23 agosto 2007 16.43 A: nagios-users at lists.sourceforge.net Oggetto: [Nagios-users] Monitoring others ports Hello, My web server is running in 6767. Do I can run nagios access this port ? Best regards, Faria Flickr agora em portugu?s. Voc? clica, todo mundo v?. http://www.flickr.com.br/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Aug 23 17:35:18 2007 From: marc at ena.com (Marc Powell) Date: Thu, 23 Aug 2007 10:35:18 -0500 Subject: check host alive by passive 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 D.Parise at iaea.org > Sent: Wednesday, August 22, 2007 7:34 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check host alive by passive > > One question: how can I use something like check host alive only with > passive checks? I have for one host only one passive service, and I would > like the status of the host to go to critical if this service is critical. Sounds like you might want to disable active checks for the host, enable passive checks and submit a corresponding passive host check when you submit your passive service check. http://nagios.sourceforge.net/docs/2_0/passivechecks.html#hostchecks -- 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 D.Parise at iaea.org Thu Aug 23 18:09:19 2007 From: D.Parise at iaea.org (D.Parise at iaea.org) Date: Thu, 23 Aug 2007 18:09:19 +0200 Subject: check host alive by passive Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 It's not clear to me how to submit a passive host check with nsca if the format of the message is: Host service status message Regards, Davide > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of D.Parise at iaea.org > Sent: Wednesday, August 22, 2007 7:34 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check host alive by passive > > One question: how can I use something like check host alive only with > passive checks? I have for one host only one passive service, and I would > like the status of the host to go to critical if this service is critical. Sounds like you might want to disable active checks for the host, enable passive checks and submit a corresponding passive host check when you submit your passive service check. http://nagios.sourceforge.net/docs/2_0/passivechecks.html#hostchecks - -- 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 -----BEGIN PGP SIGNATURE----- Version: 9.5.3 (Build 5003) wsBVAwUBRs2xKB+K8IX89MUJAQjLNQf/RHHFC5C87OtYGFJrGSVu/cD1cMCsPzFF 2I9LxWGfCE4R2+XKB6LBGSB1bwgP8TV1cNlXvULy1hHHQ5QNBuJ8eqiihQUBqNSw Y9iYCRNoqt8tvKXsVoZ2DncsjRcwayLy50dkfaz5cvBzEdbfa3GDnB/WnomJgyIV zkGkzM4ZZaYSLiQgajt3eVDtJTvOZXz/af9GAMnz6JAVPqPFvpY2UYoJ3hb9Vmld 4Q+v/tX373BqKGEJBU5rIrQQKOGgvV6OGps1HOPEyUZNxn04w2fnsXMrjOndhhJx Tot3qATFHtno4fbqqyLQLAtv7jRnJn7p9ah4yifwAuhTMvCWgLF/Bg== =B7t9 -----END PGP SIGNATURE----- This email message is intended only for the use of the named recipient. Information contained in this email message and its attachments may be privileged, confidential and protected from disclosure. If you are not the intended recipient, please do not read, copy, use or disclose this communication to others. Also please notify the sender by replying to this message and then 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 D.Parise at iaea.org Thu Aug 23 18:19:36 2007 From: D.Parise at iaea.org (D.Parise at iaea.org) Date: Thu, 23 Aug 2007 18:19:36 +0200 Subject: check host alive by passive In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 This will not work if the service is passive, as the command_line will be check_dummy that will always return the value that is imposed in the configuration. Thanks, Davide - -----Original Message----- From: Janet Post [mailto:janetpost at gmail.com] Sent: Thursday, 23 August 2007 14:29 To: PARISE, Davide Subject: Re: [Nagios-users] check host alive by passive Hello Davide, It sounds like you need to make your service check into a host check. You can do this by changing your check_host command in your hosts.cfg file. For example: Change the default: define host{ ... check_command check-host-alive ... } to: define host{ ... check_command check-host-alive-custom ... } and in your checkcommands.cfg file add the check thusly: define command{ command_name check-host-alive-custom command_line path/to/command } This will turn your service check into a host check. You will still need to leave your service check in place because host checks are not performed unless a service check comes back with an error. This way, when the service check fails, the host will immediately be checked. And since the two checks are the same, the host check will also fail, and give you the host down status you require. Janet On 8/23/07, D.Parise at iaea.org wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Not really: the point is that I want the host to be down when a certain service is down and the service is passive. I am monitoring some systems connected in dial up, that why I can't use active or ping. > > Regards, > > Davide > > > - -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hugo van der Kooij > Sent: Thursday, 23 August 2007 07:57 > To: Nagios Users mailinglist > Subject: Re: [Nagios-users] check host alive by passive > > On Wed, 22 Aug 2007, D.Parise at iaea.org wrote: > > > One question: how can I use something like check host alive only with > > passive checks? I have for one host only one passive service, and I > > would like the status of the host to go to critical if this service is > > critical. > > Hosts and services are two different things. It sounds like you want to > abandon that concept. > > Hugo. > > - -- > hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ > This message is using 100% recycled electrons. > > Some men see computers as they are and say "Windows" > I use computers with Linux and say "Why Windows?" > (Thanks JFK, for this quote of George Bernard Shaw.) > > - ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -----BEGIN PGP SIGNATURE----- > Version: 9.5.3 (Build 5003) > > wsBVAwUBRs0s8h+K8IX89MUJAQiz3gf/XjsoXf1Q9yBGCgDHltcpvLAyukdXMGhc > buD+s/n2DzTCc/VfbWWdVCWy60IPdN0rFpmXXnrB93h0JtYAKg2HZNjAEnVQFZL2 > cxaQDFGLms7Q6Rc54L7kHvdjUGa0QJ97MuwKT2yr3r2TcpjERL1xpE106zGg6gaI > CSpsIbECafwehGN8H+tAMppBYK6AmTzVoqj5+c5EsA5mijrJS83sorwZ+uGsjUiV > lUWjidTSQtrThFQ68KNoch+mRWK+ETwgTsTAD7CmatU9nMuCAXqI+oLa6nno1mRV > wWt5dq+pBzIqndTR0noch+wfPpGlsDu5FHX/X4E4OUWmUg7HmrSRvg== > =DO2l > -----END PGP SIGNATURE----- > > This email message is intended only for the use of the named recipient. > Information contained in this email message and its attachments may be > privileged, confidential and protected from disclosure. If you are not the > intended recipient, please do not read, copy, use or disclose this > communication to others. Also please notify the sender by replying to this > message and then 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 > -----BEGIN PGP SIGNATURE----- Version: 9.5.3 (Build 5003) wsBVAwUBRs2zkB+K8IX89MUJAQhaGQf/Y6tzIW9u5tKewV6B2Mfar8zmUWSMlYG1 6kj7v9rlrsSwg6TbiJQ2CgkrA5BorkSvPGFbaOXmmTnHiqhH8UchweC24VZUmoRq DJoXO1Y7Ar0Pmxwq1otCvw4XT/0eGcfNyJHYXmeLSl0l4eIQNY8TmPboUJek0mk3 9fgLUBRCkDxLLBFnlzNtzPzs8EniGlpzsYkd5M6iBlJ7QqO+Hk+9ETLgr7mN5O8g s4mn9KOgJ1VsW6pV6C6fZ7CVhrSJ1iLH4tItCgRSDaSdAPHweeRl2ENvX/ghGFrj qSzIwSuW096nkd7tI2+Ya/dCJJMbHpEG5bgfEUsGCc3xbMXJP9hkTg== =9BAo -----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 marc at ena.com Thu Aug 23 18:52:24 2007 From: marc at ena.com (Marc Powell) Date: Thu, 23 Aug 2007 11:52:24 -0500 Subject: check host alive by passive 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 D.Parise at iaea.org > Sent: Thursday, August 23, 2007 11:09 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check host alive by passive > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > > It's not clear to me how to submit a passive host check with nsca if the > format of the message is: > > Host service status message Maybe you need to upgrade nsca to one that supports sending host checks? When you submit your service check, you'd also, in the same script, submit the host check using send_nsca but use the return_code and optionally plugin_ouput of the service for the return_code and plugin output for the host. Usage: ./send_nsca -H [-p port] [-to to_sec] [-d delim] [-c config_file] Options: = The IP address of the host running the NSCA daemon [port] = The port on which the daemon is running - default is 5667 [to_sec] = Number of seconds before connection attempt times out. (default timeout is 10 seconds) [delim] = Delimiter to use when parsing input (defaults to a tab) [config_file] = Name of config file to use Note: This utility is used to send passive check results to the NSCA daemon. Host and Service check data that is to be sent to the NSCA daemon is read from standard input. Input should be provided in the following format (tab-delimited unless overriden with -d command line argument, one entry per line): Service Checks: [tab][tab][tab][ newline] Host Checks: [tab][tab][newline] ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbarrett at quinthar.com Thu Aug 23 20:42:24 2007 From: dbarrett at quinthar.com (David Barrett) Date: Thu, 23 Aug 2007 11:42:24 -0700 Subject: Detecting partial outages Message-ID: Is there any way to configure Nagios to detect and ignore partial outages? Specifically, I have multiple datacenters for my production service, and then two separate locations from which I do monitoring. It's very rare that any of the production datacenters goes down, but it does happen on occasion where one of the datacenters becomes inaccessible from only *one* of the monitoring stations. (In other words, the datacenter is up and running fine, and appears accessible by real users, but looks down to one of my monitoring stations.) Is there any way to configure Nagios to detect this sort of "partial outage" condition and ignore it? I only want to be notified if it's reported down by *both* monitoring stations. Thanks! -david ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 23 20:56:42 2007 From: aaron.segura at cabelas.com (Rev. Dr. Aaron M. Segura) Date: Thu, 23 Aug 2007 12:56:42 -0600 Subject: Detecting partial outages In-Reply-To: References: Message-ID: <1187895402.28080.18.camel@asegura.cabelas.com> Just off the top of my head -- You could have each monitoring station report its status for each datacenter to each other and use "check_cluster" to set thresholds on the monitoring stations stating that both services have to be down in order to cause an alarm. Of course, I'm sure someone will swoop down from above with a better answer. On Thu, 2007-08-23 at 11:42 -0700, David Barrett wrote: > Is there any way to configure Nagios to detect and ignore partial outages? > > Specifically, I have multiple datacenters for my production service, and > then two separate locations from which I do monitoring. It's very rare that > any of the production datacenters goes down, but it does happen on occasion > where one of the datacenters becomes inaccessible from only *one* of the > monitoring stations. > > (In other words, the datacenter is up and running fine, and appears > accessible by real users, but looks down to one of my monitoring stations.) > > Is there any way to configure Nagios to detect this sort of "partial outage" > condition and ignore it? I only want to be notified if it's reported down > by *both* monitoring stations. > > Thanks! > > -david > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 gattusevalkar at gmail.com Fri Aug 24 01:24:35 2007 From: gattusevalkar at gmail.com (Gattu) Date: Fri, 24 Aug 2007 04:54:35 +0530 Subject: Disk check by check_by_ssh or nrpe or wrapper, which is better? Message-ID: <8dc2d7b90708231624h634b5700j7d570788e8015bae@mail.gmail.com> Hey Guys, Problem: Monitoring Disk usage on remote machines. How I solved: wrote a wrapper plugin which will send command to remote host using nc (netcat). On remote host, configured xinetd to run a script which will read the command line sent by nc, parsed it and executed ./check_disk plugin. Question: Can the above problem be solved using check_by_ssh? If yes, i wish i can understand how nagios will send warning emails or critical emails? And if not the other option is nrpe... but then I will have to install nrpe on every remote machine! is that assumption correct? Dilemma!!!!!! help -- Gattu -------------- 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 ldrolia at bea.com Fri Aug 24 07:14:06 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Thu, 23 Aug 2007 22:14:06 -0700 Subject: Return code of 136 is out of bounds. Message-ID: <2402BA0C1F52594E8E271233F62EB6A904381150@repbex02.amer.bea.com> I have a nagios server running successfully on version 3.01b. I decided to make a backup server for that machine. So I installed Nagios on another machine and copied the etc folder from the first machine to the second. But now in my web interface on the backup server that I have created, all service checks are giving the error- "Return code of 136 is out of bounds." All host checks are giving value "null" and show as up. I have checked the permissions on all my files and they are set to nagios. Kindly help. Regards, Lalita Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete 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 al at its-lehmann.de Fri Aug 24 08:54:53 2007 From: al at its-lehmann.de (Arno Lehmann) Date: Fri, 24 Aug 2007 08:54:53 +0200 Subject: Disk check by check_by_ssh or nrpe or wrapper, which is better? In-Reply-To: <8dc2d7b90708231624h634b5700j7d570788e8015bae@mail.gmail.com> References: <8dc2d7b90708231624h634b5700j7d570788e8015bae@mail.gmail.com> Message-ID: <46CE80BD.1040300@its-lehmann.de> Hi, 24.08.2007 01:24,, Gattu wrote:: > Hey Guys, > > Problem: > > Monitoring Disk usage on remote machines. > > How I solved: > > wrote a wrapper plugin which will send command to remote host using nc > (netcat). On remote host, configured xinetd to run a script which will > read the command line sent by nc, parsed it and executed ./check_disk > plugin. This easily introduces serious security issues. > Question: > > Can the above problem be solved using check_by_ssh? Yes. > If yes, i wish i can > understand how nagios will send warning emails or critical emails? Exactly the way it always does. The check commands or the actual programs executed to check things don't have an impact on how Nagios does its notifications. > And > if not the other option is nrpe... but then I will have to install nrpe > on every remote machine! is that assumption correct? Yes. Just like you now have to set up (at least) xinetd on the machines, but nrpe is a bit safer by design. I'd even say that nrpe is quite safe unless you explicitly allow parameters to be passed, and unless you don't turn off communication encryption. > Dilemma!!!!!! help I don't see the dilemma... 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 hpsekhon at googlemail.com Fri Aug 24 10:21:43 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 24 Aug 2007 09:21:43 +0100 Subject: Disk check by check_by_ssh or nrpe or wrapper, which is better? In-Reply-To: <8dc2d7b90708231624h634b5700j7d570788e8015bae@mail.gmail.com> References: <8dc2d7b90708231624h634b5700j7d570788e8015bae@mail.gmail.com> Message-ID: <46CE9517.8000806@googlemail.com> > wrote a wrapper plugin which will send command to remote host using nc > (netcat). On remote host, configured xinetd to run a script which will > read the command line sent by nc, parsed it and executed ./check_disk > plugin. > This is such a bad idea - you need to change that, seriously. The chances of you making even the most subtle security coding mistake in the way you are doing that means that someone will likely own one of your boxes if they find out (and you've just told us as well - could I please come for a visit to your workplace? ;-) ). > Can the above problem be solved using check_by_ssh? If yes, i wish i > can understand how nagios will send warning emails or critical emails? > And if not the other option is nrpe... but then I will have to install > nrpe on every remote machine! is that assumption correct? You can but check_by_ssh should be a last resort, nrpe and nsca are specifically written for this, and neither are difficult so I would recommend those first. You would have to install it on each machine, but if you are using a decent distribution (ie not rpm) then this is easy and maintainable and what I do. If you have got nc on your servers, especially just for this, then you are making things easier for someone to backdoor you. You should not have such favourite hacker tools lying around on your servers if you can help it. > Dilemma!!!!!! help > Looks like there is some new short doc on NRPE, read this http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf then read up on NSCA as an alternative for passive checks, either will solve your dilemma properly. -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 digolinopage at yahoo.com.br Fri Aug 24 13:48:58 2007 From: digolinopage at yahoo.com.br (Rodrigo Tavares) Date: Fri, 24 Aug 2007 08:48:58 -0300 (ART) Subject: Configuring Disk Space Message-ID: <336149.68096.qm@web56313.mail.re3.yahoo.com> Hello, Nagios admin found the size of the partition: DISK OK - free space: /dev 9 MB (99% inode=99%): But, in server linux with command df -h : /dev/hda2 28G 14G 14G 51% / See my services.cfg define service{ use generic-service ; Name of service template to use host_name veraneio service_description /dev/hda2 Free Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups infra notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_disk!20%!10%!/dev/sda2 How I can to resolve this trouble ? Best regards, Faria Flickr agora em portugu?s. Voc? clica, todo mundo v?. http://www.flickr.com.br/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcus at rejas.se Fri Aug 24 13:55:05 2007 From: marcus at rejas.se (Marcus =?iso-8859-1?Q?Rej=E5s?=) Date: Fri, 24 Aug 2007 13:55:05 +0200 Subject: Configuring Disk Space In-Reply-To: <336149.68096.qm@web56313.mail.re3.yahoo.com> References: <336149.68096.qm@web56313.mail.re3.yahoo.com> Message-ID: <20070824115504.GB15021@rejas.se> It is quite simple I guess. It's a typo in your config file. You have "check_disk!20%!10%!/dev/sda2" when what you want is "check_disk!20%!10%!/dev/hda2" Observe sda instead of hda. RegardsRegards?, /Marcus On 08/24 08:48, Rodrigo Tavares wrote: > Hello, > > Nagios admin found the size of the partition: > > DISK OK - free space: /dev 9 MB (99% inode=99%): > > But, in server linux with command df -h : > > /dev/hda2 28G 14G 14G 51% / > > See my services.cfg > > define service{ > use generic-service > ; Name of service template to use > > host_name veraneio > service_description /dev/hda2 Free > Space > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups infra > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command > check_disk!20%!10%!/dev/sda2 > > How I can to resolve this trouble ? > > Best regards, > > Faria > > > > Flickr agora em portugu?s. Voc? clica, todo mundo v?. > http://www.flickr.com.br/ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Marcus Rej?s jabber: marcus at jabber.rejas.se ,= ,-_-. =. Rej?s Datakonsult e-mail: marcus at rejas.se ((_/)o o(\_)) Kaserngatan 1 web: http://www.rejas.se `-'(. .)`-' s-761 46 Norrt?lje gpg-key: http://www.rejas.se/rejas.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 From digolinopage at yahoo.com.br Fri Aug 24 14:02:42 2007 From: digolinopage at yahoo.com.br (Rodrigo Tavares) Date: Fri, 24 Aug 2007 09:02:42 -0300 (ART) Subject: Monitoring others ports Message-ID: <910798.20547.qm@web56302.mail.re3.yahoo.com> Hello Mark, I try to use the option check_tcp, but come this error: Error: Service check command 'check_tcp -p 8130' specified in service 'WEB Server' for host 'fiorino' not defined anywhere! define service{ use generic-service ; Name of service template to use host_name proxy service_description WEB Server is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups infra notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_tcp -p 8130 } My nagios version is 1.4-3. Is my services.cfg wrong ? Best regards, Faria ---- Original Message ----- From: To: Sent: Thursday, August 23, 2007 12:20 PM Subject: RE: [Nagios-users] Monitoring others ports check_tcp -p 6767 Mark Law Thomson Global Technology Infrastructure (TGTI) (734) 913-3775 Phone (734) 260-5740 Cell (734) 913- 3500 Fax mark.law at thomson.com -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Rodrigo Tavares Sent: Thursday, August 23, 2007 10:43 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring others ports Hello, My web server is running in 6767. Do I can run nagios access this port ? Best regards, Faria Flickr agora em portugu?s. Voc? clica, todo mundo v?. http://www.flickr.com.br/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From traxplayer at gmail.com Fri Aug 24 14:09:53 2007 From: traxplayer at gmail.com (=?ISO-8859-1?Q?Martin_M=F8ller_Skarbiniks_Pedersen?=) Date: Fri, 24 Aug 2007 14:09:53 +0200 Subject: hostextinfo help In-Reply-To: References: Message-ID: > > Hi, > > Suddenly my hostextinfo.cfg is not working. Anyone has an idea what > > can be wrong ? > > Thanks. > > Reading configuration data... > > > > Error: Invalid object definition type 'hostextinfo' in file > > '/etc/nagios/hostextinfo.cfg' on line 1. > > How do you have this file defined in nagios.cfg? Should be cfg_file. Otherwise I'd say you have some non-printable character inserted somewhere within the word 'hostextinfo'. There must be a simple solution but I can't find it :-( Still not working and only printable characters in hostextinfo.cfg nagios.cfg says: cfg_file=/etc/nagios/hostextinfo.cfg and when I remove this line nagios can start without problem. I copied a hostextinfo.cfg from another installation and that also didn't work with my nagios even it works on the other installation. I have also tried to make a very small hostextinfo.cfg file for testing. Still no luck. sirius:/etc/nagios# od -x hostextinfo.cfg 0000000 6564 6966 656e 6820 736f 6574 7478 6e69 0000020 6f66 0a7b 6809 736f 5f74 616e 656d 7309 0000040 7269 7569 0a73 6909 6f63 5f6e 6d69 6761 0000060 0965 6172 6b63 6c5f 6e69 7875 702e 676e 0000100 090a 6369 6e6f 695f 616d 6567 615f 746c 0000120 6e09 6761 6f69 0973 090a 7473 7461 7375 0000140 616d 5f70 6d69 6761 0965 6172 6b63 6c5f 0000160 6e69 7875 702e 676e 090a 0a7d 0a0a 0000176 sirius:/etc/nagios# cat hostextinfo.cfg define hostextinfo{ host_name sirius icon_image rack_linux.png icon_image_alt nagios statusmap_image rack_linux.png } Regards Martin ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From digolinopage at yahoo.com.br Fri Aug 24 14:17:53 2007 From: digolinopage at yahoo.com.br (Rodrigo Tavares) Date: Fri, 24 Aug 2007 09:17:53 -0300 (ART) Subject: Configuring Disk Space In-Reply-To: <20070824115504.GB15021@rejas.se> References: <20070824115504.GB15021@rejas.se> Message-ID: <186683.57135.qm@web56308.mail.re3.yahoo.com> Hello Marcus, I changed the value for /dev/hda2. But nagios notice : DISK CRITICAL - /dev/hda5 does not exist The PC with nagios have a HD SCSI. It can to explain something ? Best regards, Faria --- Marcus Rej?s escreveu: > It is quite simple I guess. It's a typo in your > config file. > > You have "check_disk!20%!10%!/dev/sda2" when what > you want is > "check_disk!20%!10%!/dev/hda2" > > Observe sda instead of hda. > > RegardsRegards?, > > /Marcus > > > On 08/24 08:48, Rodrigo Tavares wrote: > > Hello, > > > > Nagios admin found the size of the partition: > > > > DISK OK - free space: /dev 9 MB (99% inode=99%): > > > > But, in server linux with command df -h : > > > > /dev/hda2 28G 14G 14G 51% / > > > > See my services.cfg > > > > define service{ > > use > generic-service > > ; Name of service template to use > > > > host_name veraneio > > service_description /dev/hda2 > Free > > Space > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 5 > > retry_check_interval 1 > > contact_groups infra > > notification_interval 120 > > notification_period 24x7 > > notification_options w,u,c,r > > check_command > > check_disk!20%!10%!/dev/sda2 > > > > How I can to resolve this trouble ? > > > > Best regards, > > > > Faria > > > > > > > > Flickr agora em portugu?s. Voc? clica, todo > mundo v?. > > http://www.flickr.com.br/ > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? > Stop. > > Now Search log events and configuration files > using AJAX and a browser. > > Download your FREE copy of Splunk now >> > http://get.splunk.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk > being sent to /dev/null > > -- > Marcus Rej?s jabber: > marcus at jabber.rejas.se ,= ,-_-. =. > Rej?s Datakonsult e-mail: marcus at rejas.se > ((_/)o o(\_)) > Kaserngatan 1 web: http://www.rejas.se > `-'(. .)`-' > s-761 46 Norrt?lje gpg-key: > http://www.rejas.se/rejas.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 > Flickr agora em portugu?s. Voc? clica, todo mundo v?. http://www.flickr.com.br/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From digolinopage at yahoo.com.br Fri Aug 24 14:34:09 2007 From: digolinopage at yahoo.com.br (Rodrigo Tavares) Date: Fri, 24 Aug 2007 09:34:09 -0300 (ART) Subject: Monitoring others ports In-Reply-To: <910798.20547.qm@web56302.mail.re3.yahoo.com> References: <910798.20547.qm@web56302.mail.re3.yahoo.com> Message-ID: <602387.46644.qm@web56310.mail.re3.yahoo.com> Hi Mark, I found the solution : check_command check_tcp!8120 Thanks, for your help. Best regards, Faria --- Rodrigo Tavares escreveu: > Hello Mark, > > I try to use the option check_tcp, but come this > error: > > Error: Service check command 'check_tcp -p 8130' > specified in service 'WEB Server' for host 'fiorino' > not defined anywhere! > > define service{ > use > generic-service ; Name of service template > to > use > > host_name proxy > service_description WEB Server > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups infra > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_tcp -p 8130 > } > > My nagios version is 1.4-3. > > Is my services.cfg wrong ? > > Best regards, > > Faria > > > ---- Original Message ----- > From: > To: > Sent: Thursday, August 23, 2007 12:20 PM > Subject: RE: [Nagios-users] Monitoring others ports > > > check_tcp -p 6767 > > Mark Law > Thomson Global Technology Infrastructure (TGTI) > (734) 913-3775 Phone > (734) 260-5740 Cell > (734) 913- 3500 Fax > mark.law at thomson.com > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] > On > Behalf Of Rodrigo > Tavares > Sent: Thursday, August 23, 2007 10:43 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitoring others ports > > Hello, > > My web server is running in 6767. > Do I can run nagios access this port ? > > Best regards, > > Faria > > > > Flickr agora em portugu?s. Voc? clica, todo > mundo v?. > http://www.flickr.com.br/ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? > Stop. > Now Search log events and configuration files using > AJAX and a browser. > Download your FREE copy of Splunk now >> > http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > Flickr agora em portugu?s. Voc? clica, todo mundo v?. http://www.flickr.com.br/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcus at rejas.se Fri Aug 24 15:05:48 2007 From: marcus at rejas.se (Marcus =?iso-8859-1?Q?Rej=E5s?=) Date: Fri, 24 Aug 2007 15:05:48 +0200 Subject: Configuring Disk Space In-Reply-To: <186683.57135.qm@web56308.mail.re3.yahoo.com> References: <20070824115504.GB15021@rejas.se> <186683.57135.qm@web56308.mail.re3.yahoo.com> Message-ID: <20070824130548.GA27088@rejas.se> On 08/24 09:17, Rodrigo Tavares wrote: > Hello Marcus, Hi. > I changed the value for /dev/hda2. > But nagios notice : > > DISK CRITICAL - /dev/hda5 does not exist This is strange. Are you sure this is not another typo? It looks from this that you wrote /dev/hda5 in you config file instead of /dev/hda2? Otherwise it doesn't really make sense to me. > The PC with nagios have a HD SCSI. > > It can to explain something ? No, not really. They are usually called /dev/sd* but that might vary with what driver you are using. Could you give the full output of the command "df" /Marcus -- Marcus Rej?s jabber: marcus at jabber.rejas.se ,= ,-_-. =. Rej?s Datakonsult e-mail: marcus at rejas.se ((_/)o o(\_)) Kaserngatan 1 web: http://www.rejas.se `-'(. .)`-' s-761 46 Norrt?lje gpg-key: http://www.rejas.se/rejas.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 From andrew at profitability.net Fri Aug 24 15:39:12 2007 From: andrew at profitability.net (Andrew Cruse) Date: Fri, 24 Aug 2007 09:39:12 -0400 Subject: Detecting partial outages In-Reply-To: References: Message-ID: <0b4b01c7e654$282d7ea0$5700a8c0@andrew2> David Barrett wrote: > Is there any way to configure Nagios to detect and ignore partial > outages? > > Specifically, I have multiple datacenters for my production service, > and then two separate locations from which I do monitoring. It's > very rare that any of the production datacenters goes down, but it > does happen on occasion where one of the datacenters becomes > inaccessible from only *one* of the monitoring stations. > > (In other words, the datacenter is up and running fine, and appears > accessible by real users, but looks down to one of my monitoring > stations.) > > Is there any way to configure Nagios to detect this sort of "partial > outage" condition and ignore it? I only want to be notified if it's > reported down by *both* monitoring stations. This is a great question, I was hoping others would respond with ideas. I've been looking to do something similar myself, but haven't implemented anything yet. I have a few half-baked ideas I've been tossing around: 1. Set up NRPE on each of your monitoring stations. Then on you "main" Nagios installation, write a small wrapper for the check_nrpe script that runs it once for each monitoring station, compiles the results, and then alerts based on the number of CRITICAL's returned from your monitoring station. The problem here is that if your main server is down... 2. Use event handlers. Disable notifications for the relevant hosts/services, but have an event handler that, when a service goes critical, checks with your other Nagios installations on the status of the same service. There are a number of ways that could be accomplished. Then, if the service is seen as down from all your Nagios installations, alert. The tricky part there is how to have only 1 Nagios installation send that alert rather than all of them? If you designate one of them only as your alerting station, then you run into the same problem as in my first idea. There would need to be some way for your various Nagios installations to communicate with each other and decide who would send out the alert. 3. Some combination of passive checks and check_cluster...I haven't thought this method out very far yet, but I'm pretty sure you could rig something up like that. Still would have the problem of depending on one centralized server. I can't believe we're the only two people on this list wanting to do this. Hopefully some others will chime in with their thoughts as well. Andrew ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 24 15:54:53 2007 From: marc at ena.com (Marc Powell) Date: Fri, 24 Aug 2007 08:54:53 -0500 Subject: Return code of 136 is out of bounds. In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A904381150@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A904381150@repbex02.amer.bea.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Lalita Drolia > Sent: Friday, August 24, 2007 12:14 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Return code of 136 is out of bounds. > > I have a nagios server running successfully on version 3.01b. I decided to > make a backup server for that machine. > > So I installed Nagios on another machine and copied the etc folder from > the first machine to the second. > > > > But now in my web interface on the backup server that I have created, all > service checks are giving the error- > > "Return code of 136 is out of bounds." 136 is highly unusual; google and I haven't seen it before. Do you mean 126? If so, Google leads to FAQ leads to likely answer in under 30 seconds. If it doesn't, please provide information about OS version and details about how you installed the plugins. How does this new machine differ from your current machine? -- 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 ml at proficuous.com Fri Aug 24 18:42:30 2007 From: ml at proficuous.com (Aaron) Date: Fri, 24 Aug 2007 11:42:30 -0500 Subject: snmp over internet "best practice" Message-ID: <46CF0A76.6030301@proficuous.com> I joined the list recently and while doing some searching for answers came across a "best practices" thread. One of the things listed in the thread was using snmp whenever possible with the statement that it should only be used on the local networks. I'm wondering if this is also the popular belief "best practice" even if you're using snmp v3 and if so why. I was about to deploy snmp v3 active checks to check things like cpu and disk loads and then i saw this post. I thought that was the whole point of v3 with SHA and AES encryptions and authentication so that we could use it over the net. Thanks in advance. Aaron ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at AdamsInfoServ.Com Fri Aug 24 19:11:51 2007 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Fri, 24 Aug 2007 12:11:51 -0500 Subject: snmp over internet "best practice" In-Reply-To: <46CF0A76.6030301@proficuous.com> References: <46CF0A76.6030301@proficuous.com> Message-ID: <20070824171151.GA22827@odin.demosthenes.org> I bet you're referencing my post. ;] Perhaps SNMP v3 is better, but the crux of the matter is that SNMP v1 was completely insecure. There used to be a mindset of "anything but SNMP v1", which is where my comment originated. The argument was always SNMP (inferring v1), versus NRPE. I've been an advocate of using SNMP because there was little client software to maintain. So I'll clarify: SNMPv1 should be ok when used on a trusted internal network, setup for read only access limited to the Nagios host only (and a spare). Do not use SNMPv1 over the internet or other untrusted networks. That being said, perhaps someone more familiar with the advances in SNMPv2 and v3 can speak up as to whether the problems have been resolved. Remember, it isn't strictly limited to encryption and authentication in the protocol, but the implementation of each SNMPD. I'm not familiar with the history of exploits or broken daemons across OSes. The protocol may be fixed, but if there are known problems with vulnerable SNMPD's, then there's still an issue using it on the net. Common sense would indicate that the same best practices for SNMPv1 (read only access and limiting queries to the Nagios host IP address (and a spare!)) should help minimize any issues with SNMPv3. Hopefully we can start a useful discussion on the relative merits of SNMPv3. Russell On Fri, Aug 24, 2007 at 11:42:30AM -0500, Aaron wrote: > I joined the list recently and while doing some searching for answers > came across a "best practices" thread. One of the things listed in the > thread was using snmp whenever possible with the statement that it > should only be used on the local networks. > > I'm wondering if this is also the popular belief "best practice" even if > you're using snmp v3 and if so why. I was about to deploy snmp v3 > active checks to check things like cpu and disk loads and then i saw > this post. I thought that was the whole point of v3 with SHA and AES > encryptions and authentication so that we could use it over the net. > > Thanks in advance. > > Aaron > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: 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 nagios at mels-kooijman.nl Sat Aug 25 09:40:06 2007 From: nagios at mels-kooijman.nl (Nagios) Date: Sat, 25 Aug 2007 09:40:06 +0200 Subject: Configuring Disk Space In-Reply-To: <20070824130548.GA27088@rejas.se> References: <20070824115504.GB15021@rejas.se> <186683.57135.qm@web56308.mail.re3.yahoo.com> <20070824130548.GA27088@rejas.se> Message-ID: <46CFDCD6.2070509@mels-kooijman.nl> You say yo have scsi, so your harddisk chould be /dev/*s*da2 Mels Marcus Rej?s wrote: > On 08/24 09:17, Rodrigo Tavares wrote: > >> Hello Marcus, >> > > Hi. > > >> I changed the value for /dev/hda2. >> But nagios notice : >> >> DISK CRITICAL - /dev/hda5 does not exist >> > > This is strange. Are you sure this is not another typo? It looks from > this that you wrote /dev/hda5 in you config file instead of /dev/hda2? > Otherwise it doesn't really make sense to me. > > >> The PC with nagios have a HD SCSI. >> >> It can to explain something ? >> > > No, not really. They are usually called /dev/sd* but that might vary > with what driver you are using. > > Could you give the full output of the command "df" > > /Marcus > > -------------- 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 acapur at arcnetworks.net Sat Aug 25 13:07:31 2007 From: acapur at arcnetworks.net (Anand Capur) Date: Sat, 25 Aug 2007 07:07:31 -0400 Subject: NRPE Service Dependencies Message-ID: <5d66540b0708250407y7b3e55f7jda151a3ae9396ad4@mail.gmail.com> Hello, Is there a way to configure nagios, so if NRPE is down or not responding we only get 1 notification per box, and not a notification for every service on the box? Thanks, Anand Capur Fedora Infrastructure Team Member & Ambassador -------------- 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 klausman at schwarzvogel.de Sat Aug 25 13:12:21 2007 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Sat, 25 Aug 2007 13:12:21 +0200 Subject: NRPE Service Dependencies In-Reply-To: <5d66540b0708250407y7b3e55f7jda151a3ae9396ad4@mail.gmail.com> References: <5d66540b0708250407y7b3e55f7jda151a3ae9396ad4@mail.gmail.com> Message-ID: <20070825111221.GA16068@eric.schwarzvogel.de> Hi! On Sat, 25 Aug 2007, Anand Capur wrote: > Is there a way to configure nagios, so if NRPE is down or not responding we > only get 1 notification per box, and not a notification for every service on > the box? We've set things up so that NRPE itself (we used a dummy check inside NRPE, but you could use check_tcp on its port, too) is monitored. The we set up servicedependencies for all NRPE-checked service of one host to the NRPE of the same host. Works just dandy. Regards, Tobias -- In the future, everyone will be anonymous for 15 minutes. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at AdamsInfoServ.Com Sat Aug 25 17:03:30 2007 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Sat, 25 Aug 2007 10:03:30 -0500 Subject: snmp over internet "best practice" In-Reply-To: <20070825081743.GA23895@eric.schwarzvogel.de> References: <46CF0A76.6030301@proficuous.com> <20070824171151.GA22827@odin.demosthenes.org> <20070825081743.GA23895@eric.schwarzvogel.de> Message-ID: <20070825150330.GC31925@odin.demosthenes.org> On Sat, Aug 25, 2007 at 10:17:43AM +0200, Tobias Klausmann wrote: > Hi! > > On Fri, 24 Aug 2007, Russell Adams wrote: > > The argument was always SNMP (inferring v1), versus NRPE. I've been an > > advocate of using SNMP because there was little client software to > > maintain. > > That said, the only disadvantage of NRPE (security-wise) I can > see is that probably more people look at and dissect snmp daemons > than NRPE. But NRPE is smaller, so that may compensate. I find NRPE to have scaling issues. Most OS's have an snmpd either installed by default or readily available in the package manager (including Windows!). The majority of embedded devices have one too, whether you configure it or not. This equates to little to no client software or configuration. Ever. Now take NRPE. I have to distribute plugins and the agent, then keep the NRPE configuration and plugins on every system in sync with what I'm monitoring in Nagios. That's not a problem for a few servers, but try maintaining it in a large mixed environment. I frequently work in environments which are not always hospitable to OSS, and the idea of distributing an OSS agent to every system is not an option. I can ask that the native SNMPD be turned on with a specific configuration, because it is supplied with the OS and supported by the vendor. Now, SNMPD can't monitor everything that NRPE can. There's no cure-all, but for 90% of my monitoring needs SNMPD can do it out of the box as long as the Host Resources MIB is supported. Thanks! ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: 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 kelly.terry.jones at gmail.com Sat Aug 25 17:33:19 2007 From: kelly.terry.jones at gmail.com (Kelly Jones) Date: Sat, 25 Aug 2007 09:33:19 -0600 Subject: check_disk confused by negative disk space, fix or workaround? Message-ID: <26face530708250833q591bbc63m9ff3b5b69925f9c8@mail.gmail.com> Nagios' check_disk plug-in gets confused when "df -k" reports negative space remaining on a drive. For example, if df -k says: /dev/ccd0 567673758 524004492 -1744634 100% /partname nagios' check_disk says: DISK OK - free space: /partname 17592186042712 MB (-1% inode=97%) Is there a workaround here? Can check_disk be told to throw an error if the remaining space *exceeds* a certain number? Can I tell it "if you see more than 1 terabyte available, something is wrong [because the machine in question doesn't have that much disk space], so report an error"? (Unix, of course, reserves space for the root user, so negative space remaining just means all the user space has been used up + then some) -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 25 20:00:04 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sat, 25 Aug 2007 14:00:04 -0400 Subject: check_disk confused by negative disk space, fix or workaround? In-Reply-To: <26face530708250833q591bbc63m9ff3b5b69925f9c8@mail.gmail.com> References: <26face530708250833q591bbc63m9ff3b5b69925f9c8@mail.gmail.com> Message-ID: <46D06E24.9010509@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 25/08/07 11:33 AM, Kelly Jones wrote: > Nagios' check_disk plug-in gets confused when "df -k" reports negative > space remaining on a drive. For example, if df -k says: > > /dev/ccd0 567673758 524004492 -1744634 100% /partname > > nagios' check_disk says: > > DISK OK - free space: /partname 17592186042712 MB (-1% inode=97%) > > Is there a workaround here? Can check_disk be told to throw an error > if the remaining space *exceeds* a certain number? Can I tell it "if > you see more than 1 terabyte available, something is wrong [because > the machine in question doesn't have that much disk space], so report > an error"? > > (Unix, of course, reserves space for the root user, so negative space > remaining just means all the user space has been used up + then some) What system are you using? My df command never returns negative values so I couldn't make a simple test case... This is likely a matter of using signed integers and/or checking properly the value. No need for a maximum value. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG0G4k6dZ+Kt5BchYRArjzAKCKisP/IctHT2RcrYX9wM1dr0dAZgCg0GD+ sAIntzj3Qdk2e6K7FTcwEy8= =3UkZ -----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 hvdkooij at vanderkooij.org Sun Aug 26 01:21:30 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 26 Aug 2007 01:21:30 +0200 (CEST) Subject: check_disk confused by negative disk space, fix or workaround? In-Reply-To: <46D06E24.9010509@aei.ca> References: <26face530708250833q591bbc63m9ff3b5b69925f9c8@mail.gmail.com> <46D06E24.9010509@aei.ca> Message-ID: On Sat, 25 Aug 2007, Thomas Guyot-Sionnest wrote: > On 25/08/07 11:33 AM, Kelly Jones wrote: >> Nagios' check_disk plug-in gets confused when "df -k" reports negative >> space remaining on a drive. For example, if df -k says: >> >> /dev/ccd0 567673758 524004492 -1744634 100% /partname >> >> nagios' check_disk says: >> >> DISK OK - free space: /partname 17592186042712 MB (-1% inode=97%) > > What system are you using? My df command never returns negative values > so I couldn't make a simple test case... I guess this is a unique feature of Solaris. Not even sure which version KJ might be referring to. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for this quote of George Bernard Shaw.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.kitchener at aciworldwide.com Sun Aug 26 01:49:11 2007 From: stephen.kitchener at aciworldwide.com (stephen.kitchener at aciworldwide.com) Date: Sat, 25 Aug 2007 18:49:11 -0500 Subject: Stephen Kitchener is out of the office. Message-ID: I will be out of the office starting 24/08/2007 and will not return until 01/09/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 nagios at mels-kooijman.nl Sun Aug 26 11:13:19 2007 From: nagios at mels-kooijman.nl (Nagios) Date: Sun, 26 Aug 2007 11:13:19 +0200 Subject: check_disk confused by negative disk space, fix or workaround? In-Reply-To: References: <26face530708250833q591bbc63m9ff3b5b69925f9c8@mail.gmail.com> <46D06E24.9010509@aei.ca> Message-ID: <46D1442F.5050509@mels-kooijman.nl> I have seen that before on older systemV systems, there is some "spare" space so the system would not crash if it reach 100% full Mels Hugo van der Kooij wrote: > On Sat, 25 Aug 2007, Thomas Guyot-Sionnest wrote: > > >> On 25/08/07 11:33 AM, Kelly Jones wrote: >> >>> Nagios' check_disk plug-in gets confused when "df -k" reports negative >>> space remaining on a drive. For example, if df -k says: >>> >>> /dev/ccd0 567673758 524004492 -1744634 100% /partname >>> >>> nagios' check_disk says: >>> >>> DISK OK - free space: /partname 17592186042712 MB (-1% inode=97%) >>> >> What system are you using? My df command never returns negative values >> so I couldn't make a simple test case... >> > > I guess this is a unique feature of Solaris. Not even sure which version > KJ might be referring to. > > Hugo. > > -------------- 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 fritzfs at gmail.com Sun Aug 26 23:26:40 2007 From: fritzfs at gmail.com (Franjo Stipanovic) Date: Sun, 26 Aug 2007 23:26:40 +0200 Subject: Scheduled Downtime Message-ID: <214d2a610708261426h25bd24c9qf6b8e7697d1c8957@mail.gmail.com> Hello, is there an elegant way to schedule a downtime for all services and hosts in one 'click'? I'm not talking about disabling notifications or stopping active and passive checks, I have to keep availability report and comments clean and useful. Here's the only way I see it: Define hostgroup and servicegroup with all members inside and schedule downtime for those groups. Thanks! -- best wishes, Franjo Stipanovic -------------- 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 Sun Aug 26 23:43:54 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 26 Aug 2007 23:43:54 +0200 (CEST) Subject: Scheduled Downtime In-Reply-To: <214d2a610708261426h25bd24c9qf6b8e7697d1c8957@mail.gmail.com> References: <214d2a610708261426h25bd24c9qf6b8e7697d1c8957@mail.gmail.com> Message-ID: On Sun, 26 Aug 2007, Franjo Stipanovic wrote: > Hello, > is there an elegant way to schedule a downtime for all services and hosts in > one 'click'? > I'm not talking about disabling notifications or stopping active and passive > checks, I have to keep availability report and comments clean and useful. > > Here's the only way I see it: > Define hostgroup and servicegroup with all members inside and schedule > downtime for those groups. Considering that one can use a wild card it is peanuts to create the proper host and service group to match all. And you found the schedula option for groups. So that is as close to one click as it gets. (one click is in fact vastly overrated as it is extremely vulnerable to user mistakes.) Hugo -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for this quote of George Bernard Shaw.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Yishai.Hadas at aladdin.com Mon Aug 27 10:26:14 2007 From: Yishai.Hadas at aladdin.com (Yishai Hadas) Date: Mon, 27 Aug 2007 11:26:14 +0300 Subject: nagios threads and process model Message-ID: Hi List, Where can be found some information about Nagios threads and process model: * How many threads are running? * What are their main tasks? * Are there some threads that are starting doing some work then terminating? * What about the process model (parent/child - fork) - When fork is done? How it relates to the threads model? Is there any documentation about those issues? Can someone give here some light? This information can help understanding what is reasonable to do and what is not. For example assuming that process_performance_data is enabled then service_perfdata_command is called periodically, Nagios uses perfdata_timeout which is by default 5 seconds to wait for the command and if hasn't finished it will be terminated. If there is some work that might take in the command much more time e.g. 1 minute, is it reasonable to it in this command and let's Nagios to wait for it 1 minute? Which other Nagios's tasks will be delayed? Thanks in advance, Yishai. ********************************************************************************************** The contents of this email and any attachments are confidential. It is intended for the named recipient(s) only. If you have received this email in error please notify the system manager or? the sender immediately and do not disclose the contents to anyone or make copies. ** eSafe scanned this email for viruses, vandals and malicious content ** ********************************************************************************************** -------------- 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 vang_nml at hq.ro Mon Aug 27 13:02:16 2007 From: vang_nml at hq.ro (vang) Date: Mon, 27 Aug 2007 14:02:16 +0300 Subject: notification interval is 4325420?? Message-ID: <46D2AF38.5090306@hq.ro> hi all I have a problem with nagios 3.0b1. when I check my config via web interface with "view config -> service escalations" in the column 'Notification Interval' it shows 4325420. I don't understand from where that number comes... either I have hit a bug or I'm doing something really wrong. the config lines which produces that looks something like define serviceescalation { host_name a-test service_description tcp_5556 contacts oncall contact_groups first_notification 2 last_notification 0 notification_interval 5 } (contact_groups is empty because i want to override the inherited value) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 27 14:14:31 2007 From: ae at op5.se (Andreas Ericsson) Date: Mon, 27 Aug 2007 14:14:31 +0200 Subject: Detecting partial outages In-Reply-To: References: Message-ID: <46D2C027.80106@op5.se> David Barrett wrote: > Is there any way to configure Nagios to detect and ignore partial outages? > > Specifically, I have multiple datacenters for my production service, and > then two separate locations from which I do monitoring. It's very rare that > any of the production datacenters goes down, but it does happen on occasion > where one of the datacenters becomes inaccessible from only *one* of the > monitoring stations. > > (In other words, the datacenter is up and running fine, and appears > accessible by real users, but looks down to one of my monitoring stations.) > > Is there any way to configure Nagios to detect this sort of "partial outage" > condition and ignore it? I only want to be notified if it's reported down > by *both* monitoring stations. > If the production centers each hold a nagios server each, there's no way you can accomplish this, so I'll assume your two nagios servers can still communicate even when either data-center is down. The best solution would be to have a neb-module that communicates check- results between the two nagios-servers. When a check is about to be sent, have the same neb-module check the status on that secondary nagios-server and block the notification if either one reports the host as up. This way you'll get an additional minor delay before receiving a notification, but since you can force a check on either nagios from within the module whenever the second server reports a failure, it should be a very minimal one. Hacking up such a module should take about a week, assuming whoever does the work is well-versed in C and has a decent grasp of nagios' internals. A second option is to let an event-handler report the checkresults to the other server and adding them to a list of some sort (database, flat-file, whatever) and then modifying your notification script to only actually send notifications when both the servers report something as down. Assuming you use "notification_interval 0" for all your hosts and services, only the server that does the last check of whatever host/service it should report on will send a notification. This shouldn't take much more than a day to hack up, but is less elegant. With a shared network-capable database it shouldn't be too much trouble though. There are more options, but those are the two elegant ones I can think of. -- 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 Mon Aug 27 14:19:15 2007 From: ae at op5.se (Andreas Ericsson) Date: Mon, 27 Aug 2007 14:19:15 +0200 Subject: Return code of 136 is out of bounds. In-Reply-To: References: Message-ID: <46D2C143.3080708@op5.se> Marc Powell wrote: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Lalita Drolia >> Sent: Friday, August 24, 2007 12:14 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Return code of 136 is out of bounds. >> >> I have a nagios server running successfully on version 3.01b. I > decided to >> make a backup server for that machine. >> >> So I installed Nagios on another machine and copied the etc folder > from >> the first machine to the second. >> >> >> >> But now in my web interface on the backup server that I have created, > all >> service checks are giving the error- >> >> "Return code of 136 is out of bounds." > > 136 is highly unusual; google and I haven't seen it before. Do you mean > 126? If so, Google leads to FAQ leads to likely answer in under 30 > seconds. > > If it doesn't, please provide information about OS version and details > about how you installed the plugins. How does this new machine differ > from your current machine? > He must indeed mean 126. 136 is impossible, as a program's return-code is given to its caller as a signed char value. In this case, 126 *usually* means "ENOPERM", an error you'll see if a program tries to execute a file that doesn't have the execute flag set, or if the user trying to execute the program lacks the permissions to execute the given file. Since the OP stated all the plugins are owned by the nagios user, I'd assume a simple chmod +x /path/to/nagios/plugins/* would suffice. -- 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 Mon Aug 27 14:29:53 2007 From: ae at op5.se (Andreas Ericsson) Date: Mon, 27 Aug 2007 14:29:53 +0200 Subject: snmp over internet "best practice" In-Reply-To: <46CF0A76.6030301@proficuous.com> References: <46CF0A76.6030301@proficuous.com> Message-ID: <46D2C3C1.5070906@op5.se> Aaron wrote: > I joined the list recently and while doing some searching for answers > came across a "best practices" thread. One of the things listed in the > thread was using snmp whenever possible with the statement that it > should only be used on the local networks. > > I'm wondering if this is also the popular belief "best practice" even if > you're using snmp v3 and if so why. I was about to deploy snmp v3 > active checks to check things like cpu and disk loads and then i saw > this post. I thought that was the whole point of v3 with SHA and AES > encryptions and authentication so that we could use it over the net. > If security is your primary concern, you should use ssh with shared key authentication as much as you possibly can, and make sure to use one key per command you want to execute (read the SSH manpage carefully on how to set this up). This can quickly become troublesome though, as the keys and commands mount up (maintenance nightmare, but very secure). For routers and switches, SNMPv3 is almost always the best way to go. Personally, I prefer NRPE since it also allows event-handlers to be added without having to install additional software. The code is also small, and I've audited it myself so I know it's sound, provided it's configured properly. -- 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 Mon Aug 27 14:46:04 2007 From: ae at op5.se (Andreas Ericsson) Date: Mon, 27 Aug 2007 14:46:04 +0200 Subject: nagios threads and process model In-Reply-To: References: Message-ID: <46D2C78C.3010103@op5.se> Yishai Hadas wrote: > Hi List, > > > > Where can be found some information about Nagios threads and process > model: > > * How many threads are running? > * What are their main tasks? > * Are there some threads that are starting doing some work then > terminating? > * What about the process model (parent/child - fork) - When fork > is done? How it relates to the threads model? > Primarily inside very few nagios hackers heads. Basically nagios 2 additional : The command_worker_thread continuously reads the unbuffered FIFO through which a user or a program can send commands to nagios. The service_result_worker_thread reaps service check results. The "main" thread is responsible for scheduling and launching checks. It also takes care of whatever action needs doing upon a state change (such as sending notifications, executing event-handlers, updating logfiles, etc) > > > Is there any documentation about those issues? > Not really, no. Unfortunately, the code handling the threads is sparingly commented as to what the particular threads do, but you can find the main() function of each thread in base/utils.c of a [23].x nagios work tree. > Can someone give here some light? > Hopefully I just did. I assume you want this information in order to hack on nagios, in which case your C-skills are hopefully sufficient to grok the rest of it by looking at the source. > > > > > This information can help understanding what is reasonable to do and > what is not. > For a given value of "reasonable", practically anything is ;-) > For example assuming that process_performance_data is enabled then > service_perfdata_command is called periodically, > > Nagios uses perfdata_timeout which is by default 5 seconds to wait for > the command and if hasn't finished it will be terminated. > > > If there is some work that might take in the command much more time e.g. > 1 minute, is it reasonable to it in this command and let's Nagios to > wait for it 1 minute? > I'd highly recommend that you try to keep your check execution times to an absolute minimum. It was designed to run small programs that perform a limited task quickly and then react on the outcome of the execution of that small program. If you put nagios to use for a different purpose, it will ultimately perform less excellent. > Which other Nagios's tasks will be delayed? > That would depend on how nagios designs your scheduling queue. If it's a host-check that's expected to take several minutes, nagios 2.x and earlier will stall exactly everything while waiting for the check to finish. If it's a service-check, only the other services that happened to end up in the same batch will be delayed, but only wrt the reporting back to the main thread. -- 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 andrew at profitability.net Mon Aug 27 16:51:30 2007 From: andrew at profitability.net (Andrew Cruse) Date: Mon, 27 Aug 2007 10:51:30 -0400 Subject: Modbus/TCP?? Message-ID: <024e01c7e8b9$c0c97350$5700a8c0@andrew2> I'm looking to take my monitoring of a transfer switch to the next level beyond just dry-contacts. The switch manufacturer offers a monitoring card that is TCP/IP capable, but it does not expose the various things it monitors over SNMP, but instead uses ModBus/TCP. I've not run into that format before, but I gather it is, or is rapidly becoming, the standard communication protocol for similar devices. Has anyone come up with a Nagios plugin that works with ModBus/TCP?? Unless I'm just not searching for the right thing, Google has been of no help at all. Thanks, Andrew ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 27 17:34:32 2007 From: v-alloo at ti.com (Alloo, Vincent) Date: Mon, 27 Aug 2007 17:34:32 +0200 Subject: check_disk confused by negative disk space, fix or workaround? In-Reply-To: References: <26face530708250833q591bbc63m9ff3b5b69925f9c8@mail.gmail.com><46D06E24.9010509@aei.ca> Message-ID: Hello, I have fixed the problem by upgrading my OS version (from RH7.2 to RHEL3.8). 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: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hugo van der Kooij Sent: Sunday, August 26, 2007 1:21 AM To: Nagios Users mailinglist Subject: Re: [Nagios-users] check_disk confused by negative disk space, fix or workaround? On Sat, 25 Aug 2007, Thomas Guyot-Sionnest wrote: > On 25/08/07 11:33 AM, Kelly Jones wrote: >> Nagios' check_disk plug-in gets confused when "df -k" reports negative >> space remaining on a drive. For example, if df -k says: >> >> /dev/ccd0 567673758 524004492 -1744634 100% /partname >> >> nagios' check_disk says: >> >> DISK OK - free space: /partname 17592186042712 MB (-1% inode=97%) > > What system are you using? My df command never returns negative values > so I couldn't make a simple test case... I guess this is a unique feature of Solaris. Not even sure which version KJ might be referring to. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for this quote of George Bernard Shaw.) ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Edwin.Zoeller at ama-assn.org Mon Aug 27 17:58:20 2007 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Mon, 27 Aug 2007 10:58:20 -0500 Subject: Check_icmp In-Reply-To: <64077F19C0D1AE4087B34935CE93C98407516186@cpserver12.crownpack.net> References: <64077F19C0D1AE4087B34935CE93C98407516186@cpserver12.crownpack.net> Message-ID: Can anyone supply me with the syntax of how check_icmp should be entered in the checkcommands.cfg file. Thanks, Ed ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holger at CIS.FU-Berlin.DE Mon Aug 27 18:14:17 2007 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Mon, 27 Aug 2007 18:14:17 +0200 Subject: Check_icmp In-Reply-To: References: <64077F19C0D1AE4087B34935CE93C98407516186@cpserver12.crownpack.net> Message-ID: <20070827161417.GY6828@CIS.FU-Berlin.DE> * Edwin Zoeller [2007-08-27 10:58]: > Can anyone supply me with the syntax of how check_icmp should be entered > in the checkcommands.cfg file. Well, an example command definition (which assumes $USER1$ points to your plugins directory) would be: define command { command_name check-host-alive command_line $USER1$/check_icmp -H $HOSTADDRESS$ } But it depends on how you want check_icmp to behave, of course. See "check_icmp -h" for the available options. Holger ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 27 19:23:24 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 27 Aug 2007 19:23:24 +0200 (CEST) Subject: snmp over internet "best practice" In-Reply-To: <46D2C3C1.5070906@op5.se> References: <46CF0A76.6030301@proficuous.com> <46D2C3C1.5070906@op5.se> Message-ID: On Mon, 27 Aug 2007, Andreas Ericsson wrote: > If security is your primary concern, you should use ssh with shared key > authentication as much as you possibly can, and make sure to use one key > per command you want to execute (read the SSH manpage carefully on how to > set this up). This can quickly become troublesome though, as the keys and > commands mount up (maintenance nightmare, but very secure). If you take the human factor in the equasion you know that this 1 key per command is very propably not the safest thing to do. It is too easy to make an error. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for this quote of George Bernard Shaw.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 27 19:47:06 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 27 Aug 2007 19:47:06 +0200 (CEST) Subject: Modbus/TCP?? In-Reply-To: <024e01c7e8b9$c0c97350$5700a8c0@andrew2> References: <024e01c7e8b9$c0c97350$5700a8c0@andrew2> Message-ID: On Mon, 27 Aug 2007, Andrew Cruse wrote: > I'm looking to take my monitoring of a transfer switch to the next level > beyond just dry-contacts. The switch manufacturer offers a monitoring card > that is TCP/IP capable, but it does not expose the various things it > monitors over SNMP, but instead uses ModBus/TCP. I've not run into that > format before, but I gather it is, or is rapidly becoming, the standard > communication protocol for similar devices. Has anyone come up with a > Nagios plugin that works with ModBus/TCP?? Unless I'm just not searching > for the right thing, Google has been of no help at all. Based on the modbus.org website it seems this is not an open protocol and implementing it might open one up to legal claims. Not being a lawyer makes me a bit cautious. This might impede others as well. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for this quote of George Bernard Shaw.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 27 21:42:26 2007 From: israel at frontierflying.com (Israel Brewster) Date: Mon, 27 Aug 2007 11:42:26 -0800 Subject: NDOUtils 1.4b4 OpenBSD build issue Message-ID: <9899CDF5-054C-4A96-9391-F2E63BCAFD5F@frontierflying.com> I am attempting to build and install NDOUtils 1.4b4 on an OpenBSD 4.1 box. Configure runs fine (after making the modifications mentioned in the NDOutils on FreeBSD -- solved thread), but when I run make I get the following: #make [...snip small amount of normal output...] gcc -I/usr/local/include/mysql -DHAVE_CONFIG_H -c -o db.o db.c gcc -I/usr/local/include/mysql -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -c - o dbhandlers-2x.o dbhandlers.c In file included from dbhandlers.c:23: ../include/nagios-2x/nagios.h:452: error: syntax error before "pthread_mutex_t" *** Error code 1 Stop in /root/ndoutils-1.4b3/src (line 84 of Makefile). *** Error code 1 Stop in /root/ndoutils-1.4b3/src (line 52 of Makefile). *** Error code 1 Stop in /root/ndoutils-1.4b3 (line 13 of Makefile). Anyone know how I can solve this? 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 israel at frontierflying.com Mon Aug 27 21:38:20 2007 From: israel at frontierflying.com (Israel Brewster) Date: Mon, 27 Aug 2007 11:38:20 -0800 Subject: NDOutils on FreeBSD -- solved In-Reply-To: <7CAFE162-6DD9-47F2-96F9-4224B1D5E5D9@altinity.com> References: <20070821211602.GA12328@bewilderbeast.blackhelicopters.org> <30729E2C-4814-4A97-87F0-03A8FDD38147@altinity.com> <20070822132311.GA18338@bewilderbeast.blackhelicopters.org> <16283320-3AFD-4DA1-A6F5-B79586D98EEF@altinity.com> <20070822142007.GA18649@bewilderbeast.blackhelicopters.org> <9F8A90A6-7DFA-4F7F-884C-F3B58A493AF6@altinity.com> <20070822144915.GA18823@bewilderbeast.blackhelicopters.org> <20070822154447.GA19169@bewilderbeast.blackhelicopters.org> <7CAFE162-6DD9-47F2-96F9-4224B1D5E5D9@altinity.com> Message-ID: <1EEC46FF-2DA6-403D-BE21-9D13A75BDF45@frontierflying.com> Oops, forgot to copy this to the list. Would be nice if that was somewhat more automatic :-P Sorry. On Aug 22, 2007, at 7:57 AM, Ton Voon wrote: > > On 22 Aug 2007, at 16:44, Michael W. Lucas wrote: > >> checking for type of socket size... size_t >> checking for linker flags for loadable modules... -shared >> checking for mysql_config... /usr/local/bin/mysql_config >> checking for mysql_init in -lmysqlclient... yes >> MySQL library and include file(s) were found! >> ... >> >> This is more like it. Now make the main distribution work like >> that. ;-) > > That's up to Ethan. Another happy user may sway him... Well, count me in as another happy user, at least as far as the configure part of the process goes. I ran into the same issues running configure on OpenBSD 4.1, and that fix worked. I am still having some problems with the make itself, but that's an issue for another thread :) ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > Ton > > http://www.altinity.com > T: +44 (0)870 787 9243 > F: +44 (0)845 280 1725 > Skype: tonvoon > > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 reygue at multilink-ht.net Mon Aug 27 21:47:32 2007 From: reygue at multilink-ht.net (Reynold Guerrier) Date: Mon, 27 Aug 2007 14:47:32 -0500 Subject: Can't execute the CGI scripts Message-ID: <20070827194649.2AE1C5C3C@mars.multilink-ht.net> Dear all I just installed nagios on a Raq Cobalt 550 server. The install process went fine. But when I tried to access the Webpage, I can only get access to the HomePage and the Documentation Page. For all the other links, either I got nothing or it downloads the file I request instead of executing it. Whata can cause that? Thank you for your help. It will be very appreciated. Rey ------------------------------------------------ Reynold Guerrier Technical Manager Multilink SA 509-246-5502 / 246-5202 509-513-5502 / 512-5202 Ext : 3631 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 27 22:09:03 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 27 Aug 2007 13:09:03 -0700 Subject: Can't execute the CGI scripts In-Reply-To: <20070827194649.2AE1C5C3C@mars.multilink-ht.net> References: <20070827194649.2AE1C5C3C@mars.multilink-ht.net> Message-ID: <20070827200903.GS9208@pmorris.usa.hp.com> On Mon, 27 Aug 2007, Reynold Guerrier wrote: > Dear all > > I just installed nagios on a Raq Cobalt 550 server. The install > process went fine. But when I tried to access the Webpage, I can only > get access to the HomePage and the Documentation Page. For all the > other links, either I got nothing or it downloads the file I request > instead of executing it. Whata can cause that? Thank you for your > help. It will be very appreciated. I sounds like you haven't configured your webserver. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From reygue at multilink-ht.net Mon Aug 27 22:29:44 2007 From: reygue at multilink-ht.net (Reynold Guerrier) Date: Mon, 27 Aug 2007 15:29:44 -0500 Subject: Can't execute the CGI scripts In-Reply-To: <20070827200903.GS9208@pmorris.usa.hp.com> References: <20070827194649.2AE1C5C3C@mars.multilink-ht.net> <20070827200903.GS9208@pmorris.usa.hp.com> Message-ID: <20070827202901.C54785C31@mars.multilink-ht.net> I did. Because I can see the Nagios Homepage, I can browse the Documentation webpages, but can't get through the nagios data. Rey At 03:09 PM 8/27/2007, Patrick Morris wrote: >On Mon, 27 Aug 2007, Reynold Guerrier wrote: > > > Dear all > > > > I just installed nagios on a Raq Cobalt 550 server. The install > > process went fine. But when I tried to access the Webpage, I can only > > get access to the HomePage and the Documentation Page. For all the > > other links, either I got nothing or it downloads the file I request > > instead of executing it. Whata can cause that? Thank you for your > > help. It will be very appreciated. > >I sounds like you haven't configured your webserver. ------------------------------------------------ Reynold Guerrier Technical Manager Multilink SA 509-246-5502 / 246-5202 509-513-5502 / 512-5202 Ext : 3631 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From reygue at multilink-ht.net Mon Aug 27 22:54:25 2007 From: reygue at multilink-ht.net (Reynold Guerrier) Date: Mon, 27 Aug 2007 15:54:25 -0500 Subject: Can't execute the CGI scripts In-Reply-To: <8a547c840708271342o3f8ae2c2v2474da9c441b9fb8@mail.gmail.co m> References: <20070827194649.2AE1C5C3C@mars.multilink-ht.net> <20070827200903.GS9208@pmorris.usa.hp.com> <20070827202901.C54785C31@mars.multilink-ht.net> <8a547c840708271342o3f8ae2c2v2474da9c441b9fb8@mail.gmail.com> <8a547c840708271342o3f8ae2c2v2474da9c441b9fb8@mail.gmail.co m> Message-ID: <20070827205342.702E25C38@mars.multilink-ht.net> I just reviewed all of them as you suggested but still having the same things. I also added the missing CGI location but, it still the same. Rey At 03:42 PM 8/27/2007, Tory M Blue wrote: >On 8/27/07, Reynold Guerrier wrote: > > I did. Because I can see the Nagios Homepage, I can browse the > > Documentation webpages, but can't get through the nagios data. > > > > Rey > > >Ummm no, did you add the various pieces into your httpd.conf file, >stating where the nagios cgi's are and what authentication scheme to >use etc? > >EXAMPLE ONLY!!!! > > >Alias /nagios "/var/spool/nagios/share/" > > > Options Indexes FollowSymLinks ExecCGI > AllowOverride None > Order allow,deny > Allow from all > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /etc/nagios/htpasswd.users > Require valid-user > > >Alias /nagios/cgi-bin "/var/spool/nagios/sbin/" > > > Options FollowSymLinks ExecCGI > AllowOverride None > Order allow,deny > Allow from all > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /etc/nagios/htpasswd.users > Require valid-user > > >If no, then Patricks statement is valid. > >Tory > >------------------------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. >Still grepping through log files to find problems? Stop. >Now Search log events and configuration files using AJAX and a browser. >Download your FREE copy of Splunk now >> http://get.splunk.com/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------ Reynold Guerrier Technical Manager Multilink SA 509-246-5502 / 246-5202 509-513-5502 / 512-5202 Ext : 3631 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tmblue at gmail.com Mon Aug 27 22:42:03 2007 From: tmblue at gmail.com (Tory M Blue) Date: Mon, 27 Aug 2007 13:42:03 -0700 Subject: Can't execute the CGI scripts In-Reply-To: <20070827202901.C54785C31@mars.multilink-ht.net> References: <20070827194649.2AE1C5C3C@mars.multilink-ht.net> <20070827200903.GS9208@pmorris.usa.hp.com> <20070827202901.C54785C31@mars.multilink-ht.net> Message-ID: <8a547c840708271342o3f8ae2c2v2474da9c441b9fb8@mail.gmail.com> On 8/27/07, Reynold Guerrier wrote: > I did. Because I can see the Nagios Homepage, I can browse the > Documentation webpages, but can't get through the nagios data. > > Rey Ummm no, did you add the various pieces into your httpd.conf file, stating where the nagios cgi's are and what authentication scheme to use etc? EXAMPLE ONLY!!!! Alias /nagios "/var/spool/nagios/share/" Options Indexes FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users Require valid-user Alias /nagios/cgi-bin "/var/spool/nagios/sbin/" Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users Require valid-user If no, then Patricks statement is valid. Tory ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 27 23:29:30 2007 From: ae at op5.se (Andreas Ericsson) Date: Mon, 27 Aug 2007 23:29:30 +0200 Subject: Can't execute the CGI scripts In-Reply-To: <20070827202901.C54785C31@mars.multilink-ht.net> References: <20070827194649.2AE1C5C3C@mars.multilink-ht.net> <20070827200903.GS9208@pmorris.usa.hp.com> <20070827202901.C54785C31@mars.multilink-ht.net> Message-ID: <46D3423A.4000803@op5.se> Reynold Guerrier wrote: > I did. Because I can see the Nagios Homepage, I can browse the > Documentation webpages, but can't get through the nagios data. > It sounds as if you didn't configure your webserver to execute CGI's. -- 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 Mon Aug 27 23:28:28 2007 From: ae at op5.se (Andreas Ericsson) Date: Mon, 27 Aug 2007 23:28:28 +0200 Subject: Modbus/TCP?? In-Reply-To: <02d101c7e8d5$991a1550$5700a8c0@andrew2> References: <02d101c7e8d5$991a1550$5700a8c0@andrew2> Message-ID: <46D341FC.9000708@op5.se> Andrew Cruse wrote: > Hugo van der Kooij wrote: >> On Mon, 27 Aug 2007, Andrew Cruse wrote: >> >>> I'm looking to take my monitoring of a transfer switch to the next >>> level beyond just dry-contacts. The switch manufacturer offers a >>> monitoring card that is TCP/IP capable, but it does not expose the >>> various things it monitors over SNMP, but instead uses ModBus/TCP. >>> I've not run into that format before, but I gather it is, or is >>> rapidly becoming, the standard communication protocol for similar >>> devices. Has anyone come up with a Nagios plugin that works with >>> ModBus/TCP?? Unless I'm just not searching for the right thing, >>> Google has been of no help at all. >> Based on the modbus.org website it seems this is not an open protocol >> and implementing it might open one up to legal claims. Not being a >> lawyer makes me a bit cautious. This might impede others as well. > > > Well, from their FAQ, they say, "The Modbus protocol was transferred from > Schneider Electric to Modbus-IDA in April 2004, signaling a commitment to > openness. The specification is available free of charge for download, and > there are no subsequent licensing fees required for using Modbus or Modbus > TCP/IP protocols." > > I'm poking around now to see if maybe there's some kind of client daemon > already available out there that I could perhaps use Nagios to pull output > from. Whatever I manage to rig up I'll put something up on nagiosexchange > for any others that might need it. > modbus rings a bell. I *think* I might have written a partial, device-specific implementation of it once, a long time ago. AFAIR, it's a fairly simple binary protocol along the tried and tested variant of head+body. I'll have a look at work tomorrow and see if I can find it. If so, I can most likely post it here. It'll require a lot of tweaking though, but it should be better than starting from scratch. -- 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 risto.vaarandi at seb.ee Wed Aug 29 13:18:49 2007 From: risto.vaarandi at seb.ee (Risto Vaarandi) Date: Wed, 29 Aug 2007 14:18:49 +0300 Subject: Log monitoring with Nagios - recommendations? In-Reply-To: References: Message-ID: <46D55619.3030009@seb.ee> hi all, few weeks ago I posted a question to this list about passive service checks - I was actually experimenting with Nagios as an event log monitoring GUI. I am tracking event logs with SEC and also sending out alerts with it, but I would still like to see correlated log messages in Nagios web interface as well. During the experimentation, I created a volatile service definition for a host group of Linux servers which looks similar to the example in Nagios documentation: http://nagios.sourceforge.net/docs/2_0/int-snmptrap.html I have also host checks enabled for the Linux host group, since I'd like to exploit the Nagios capability of suppressing service alerts when the host is down (I have also a number of active service checks enabled for these hosts like web server monitoring). However, when a lot of correlated log messages are written to Nagios command pipe with a CRITICAL severity in a short time period, a host check is run for each such message that creates a lag between reading and displaying a message (the lag could be several minutes long for the last message). I could use several tricks to avoid this: 1) disable host checks altogether (i.e., remove 'check_command' from host definitions) 2) create a dummy host without 'check_command' that would have a special service (e.g. LogMessages) for displaying log messages from all servers Still, is there a way to have the LogMessages service associated with each host, and also have host checks enabled? In other words, can I prevent Nagios from running a host check when a certain service goes to non-OK state? If someone has other clever ideas for setting up log monitoring in Nagios, please be so kind and comment :) br, risto Marc Powell wrote: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Risto Vaarandi >> Sent: Friday, August 10, 2007 6:43 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] passive service checks with 1 second interval >> > > >> However, then the service goes to a critical state: >> >> [1186719373] EXTERNAL COMMAND: >> PROCESS_SERVICE_CHECK_RESULT;node03;NodeState;2;node03 DOWN at > 1186719373 >> and starting from this moment, external checks are read from command >> file with 9-10 second intervals, with a "service alert" and > notification >> at the end of each activity burst: > > This is probably a result of your host check. When a service initially > returns a non-ok state, nagios stops everything to perform the host > check, up to max_check_attempts for that host. Once that is complete, > nagios will start performing other tasks again. You'll most like want to > remove your host's check_command entirely. > >> Then the service goes up, and the after a while I am seeing the >> following log entries: >> >> [1186719447] EXTERNAL COMMAND: >> PROCESS_SERVICE_CHECK_RESULT;node03;NodeState;node03 up at 1186719447 >> [1186719447] Warning: The results of service 'NodeState' on host >> 'node03' are stale by 11 seconds (threshold=60 seconds). I'm forcing > an >> immediate check of the service. > > I don't know about this one. > >> Is there a way to speed up the processing of CRITICAL service checks? >> I'd like to get a notification within the same second. > > I won't say it's not possible but it feels very aggressive to me based > on my experience. I know there are/were others on the list trying to > monitor at or close to that resolution but I don't know how successful > they've been. Perhaps they'll chime in if they're still around. > > -- > 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 ae at op5.se Wed Aug 29 16:34:27 2007 From: ae at op5.se (Andreas Ericsson) Date: Wed, 29 Aug 2007 16:34:27 +0200 Subject: Log monitoring with Nagios - recommendations? In-Reply-To: <46D55619.3030009@seb.ee> References: <46D55619.3030009@seb.ee> Message-ID: <46D583F3.4010300@op5.se> Risto Vaarandi wrote: > > Still, is there a way to have the LogMessages service associated with > each host, and also have host checks enabled? In other words, can I > prevent Nagios from running a host check when a certain service goes to > non-OK state? > Not without disabling them altogether, no. Unless you hack up a NEB-module, but that seems like overkill 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 TGFurnish at herffjones.com Wed Aug 29 17:26:15 2007 From: TGFurnish at herffjones.com (Furnish, Trever G) Date: Wed, 29 Aug 2007 11:26:15 -0400 Subject: integrate a wiki with nagios? In-Reply-To: <0453C47DBC95F54397BF4D8FC846A699573BC1@W-IT-VIREXC02.mybpc.net> References: <57573D714A832C43B9D80EAFBDA48D03057BDFA2@inex3.herffjones.hj-int> <0453C47DBC95F54397BF4D8FC846A699573BC1@W-IT-VIREXC02.mybpc.net> Message-ID: <57573D714A832C43B9D80EAFBDA48D03057BDFAB@inex3.herffjones.hj-int> Thanks very much for the response, Doug. Looks pretty nice. Have you tied nagios pages into this at all? Do you see any problems with the idea that might be showstoppers? What I'm hoping to do is: - Every host I care about is in nagios -- I'd like to use the notes_url page to maintain a permanent history about that host, making that page the "jumping off point" for any other tools (like a per-host ticket queue) as well. - Every service check needs some explanatory text with it -- what the check is for, common false-alarms, who to call at 3am to get someone on-site, links to application diagrams, etc. - I'd like to be able to easily attach binary files to pages. -- Trever > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Woodgate, Douglas > Sent: Tuesday, August 28, 2007 2:53 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] integrate a wiki with nagios? > > I'm partial to TWiki < twiki.org >. It's quite geek and > average user friendly. They also have a debian based VM > appliance if you are into VMware. That way you can try it out > without the hassle of going through the install. > > Doug Woodgate > Technical Analyst, > IT Technical Services Team > Brown Printing Company > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of > Furnish, Trever G > Sent: Tuesday, August 28, 2007 1:33 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] integrate a wiki with nagios? > > Howdy, all, > > This is slightly off-topic, but I'd like to integrate a wiki with the > notes_url pages of Nagios. The idea is to put a wiki up documenting > each and every check and making it easier to update those pages. Has > anyone already integrated a wiki into Nagios in this manner? > I'd happy > accept any pointers. > > Unfortunately this will be my first foray into selecting and using a > wiki. I've looked into them in the past, but not for this use, and in > the past I've just decided to avoid the headaches. Trac doesn't seem > bad, but its install process seems like a pain and likely to produce a > fragile install (one that breaks frequently as other stuff is > updated). > There's a seemingly endless stream of wiki software to choose from, so > I'm really hoping someone on the list can provide the benefit of > experience. > > -- > Trever Furnish, tgfurnish at herffjones.com Herff Jones, Inc. Unix / > Network Administrator > Phone: 317.612.3519 > Any sufficiently advanced technology is indistinguishable from Unix. > > > PS: I searched my own archives of the lists and hit google as > well, but > I haven't found previous discussions of this topic. Sorry if I missed > them -- if so, any pointers to prior discussions will be gratefully > accepted. > > -------------------------------------------------------------- > ---------- > - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and > a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Douglas.Woodgate at bpc.com Wed Aug 29 18:13:47 2007 From: Douglas.Woodgate at bpc.com (Woodgate, Douglas) Date: Wed, 29 Aug 2007 11:13:47 -0500 Subject: integrate a wiki with nagios? In-Reply-To: <57573D714A832C43B9D80EAFBDA48D03057BDFAB@inex3.herffjones.hj-int> References: <57573D714A832C43B9D80EAFBDA48D03057BDFA2@inex3.herffjones.hj-int> <0453C47DBC95F54397BF4D8FC846A699573BC1@W-IT-VIREXC02.mybpc.net> <57573D714A832C43B9D80EAFBDA48D03057BDFAB@inex3.herffjones.hj-int> Message-ID: <0453C47DBC95F54397BF4D8FC846A699573D8A@W-IT-VIREXC02.mybpc.net> I have not done this before, but also haven't really thought to do this either. It sounds like an interesting idea though. I don't really foresee anything that would make it not work as you expect other than the tedious task of populating the data. But, once you have one host done, you could probably use it as a template for the others. Another thing that may make it more dynamic would be if you could embed the $HOSTALIAS$ macro into the URL, then create a wiki page for each host with that hosts Alias as its name, but I'm not sure if notes_url would support that macro. You should be able to attach any type of file to the wiki pages and also setup links to other resources such as your ticket queue or even make a support queue within the twiki site. It all depends on how fancy you want it to be and how much time you want to spend on it... Doug Woodgate Technical Analyst, IT Technical Services Team Brown Printing Company -----Original Message----- From: Furnish, Trever G [mailto:TGFurnish at herffjones.com] Sent: Wednesday, August 29, 2007 10:26 AM To: Woodgate, Douglas; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] integrate a wiki with nagios? Thanks very much for the response, Doug. Looks pretty nice. Have you tied nagios pages into this at all? Do you see any problems with the idea that might be showstoppers? What I'm hoping to do is: - Every host I care about is in nagios -- I'd like to use the notes_url page to maintain a permanent history about that host, making that page the "jumping off point" for any other tools (like a per-host ticket queue) as well. - Every service check needs some explanatory text with it -- what the check is for, common false-alarms, who to call at 3am to get someone on-site, links to application diagrams, etc. - I'd like to be able to easily attach binary files to pages. -- Trever > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Woodgate, Douglas > Sent: Tuesday, August 28, 2007 2:53 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] integrate a wiki with nagios? > > I'm partial to TWiki < twiki.org >. It's quite geek and > average user friendly. They also have a debian based VM > appliance if you are into VMware. That way you can try it out > without the hassle of going through the install. > > Doug Woodgate > Technical Analyst, > IT Technical Services Team > Brown Printing Company > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of > Furnish, Trever G > Sent: Tuesday, August 28, 2007 1:33 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] integrate a wiki with nagios? > > Howdy, all, > > This is slightly off-topic, but I'd like to integrate a wiki with the > notes_url pages of Nagios. The idea is to put a wiki up documenting > each and every check and making it easier to update those pages. Has > anyone already integrated a wiki into Nagios in this manner? > I'd happy > accept any pointers. > > Unfortunately this will be my first foray into selecting and using a > wiki. I've looked into them in the past, but not for this use, and in > the past I've just decided to avoid the headaches. Trac doesn't seem > bad, but its install process seems like a pain and likely to produce a > fragile install (one that breaks frequently as other stuff is > updated). > There's a seemingly endless stream of wiki software to choose from, so > I'm really hoping someone on the list can provide the benefit of > experience. > > -- > Trever Furnish, tgfurnish at herffjones.com Herff Jones, Inc. Unix / > Network Administrator > Phone: 317.612.3519 > Any sufficiently advanced technology is indistinguishable from Unix. > > > PS: I searched my own archives of the lists and hit google as > well, but > I haven't found previous discussions of this topic. Sorry if I missed > them -- if so, any pointers to prior discussions will be gratefully > accepted. > > -------------------------------------------------------------- > ---------- > - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and > a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 theook at gmail.com Wed Aug 29 20:19:01 2007 From: theook at gmail.com (Mr D) Date: Wed, 29 Aug 2007 12:19:01 -0600 Subject: Nagios Scalability Message-ID: <896029eb0708291119r777261baxfa476783981a524@mail.gmail.com> Greets I have an potential opportunity for a very large deployment for a network monitoring system. Currently the total number of units, i.e. PC's, servers, printers, routers etc.. is 87,000 and has a likelyhood of growing potentially more than 25% over the next 5 years. There are currently close to 250 "hubbed" sites, some have more units behind them, some less. There is obviously a majority of MS product from win98 to XP, (no Vista yet) involved but also Linux, Sun, Cisco, HP etc., yes I realize the etc can be a problem. First question: is Nagios 3 and up, adequate for a task of this size. >From my own experience with Nagios the answer would be yes, but potentially 100,000 or more units is an awful lot of units. If the answer to this is yes there will be more (lots more) questions forthcoming, if not I appreciate your time. The Coach ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jorr at attributor.com Wed Aug 29 20:46:55 2007 From: jorr at attributor.com (Jeff Orr) Date: Wed, 29 Aug 2007 11:46:55 -0700 (PDT) Subject: Notification interval backoff? Message-ID: <20426511.1355601188413215988.JavaMail.root@zimbra1.mindcentric.com> All, I have been asked by my uppers to implement 'notification backoff' for Nagios monitoring. I.e. when a service goes HARD non-OK, the first notice is sent out, then the next after 30 minutes. After that, the next notice is sent in an hour. The next, in two. The next, in 4... up to daily notifications. Is there a straight-forward way I can define a backoff order for notifications, or will I have to chain together a bunch of service escalations or somesuch? I'm only concerned with service notifications at the moment, as we get mostly those; host notifications should be sent early and often. Thank you for your help, in advance. --Jeff Orr Attributor Corporation ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Aug 29 20:54:09 2007 From: kzembowe at jhuccp.org (Zembower, Kevin) Date: Wed, 29 Aug 2007 14:54:09 -0400 Subject: Newbie: How to calculate within Nagios? Message-ID: <2E8AE992B157C0409B18D0225D0B476306CD8EED@XCH-VN01.sph.ad.jhsph.edu> I've just gotten my first Nagios system set up and running, so if this is a common question, please forgive me and point out what I overlooked. I want to use Nagios and the check_snmp plug-in to monitor the ambient temperature in my server room, and send alerts when the air conditioner fails. My Dell PowerEdge servers have an ambient temperature probe that reports in tenths of a degree Celsius. Here's an example: kevinz at cn2:~$ /usr/lib/nagios/plugins/check_snmp -H 10.253.192.204 -o .1.3.6.1.4.1.674.10892.1.700.20.1.6.1.3 SNMP OK - 240 | iso.3.6.1.4.1.674.10892.1.700.20.1.6.1.3=240 kevinz at cn2:~$ The output indicates that the temperature is 24 degrees Celsius or (9/5)*24+32=75.2 degrees Fahrenheit. I'd like to use the Fahrenheit value in my emails, and set warning and critical values such as: kevinz at cn2:~$ /usr/lib/nagios/plugins/check_snmp -H 10.253.192.204 -o .1.3.6.1.4.1.674.10892.1.700.20.1.6.1.3 -w :220 -c :225 SNMP CRITICAL - *230* | iso.3.6.1.4.1.674.10892.1.700.20.1.6.1.3=230 kevinz at cn2:~$ (These are artificially low, just for testing.) My question is, should I just hard-code the values in the email message ("Warning: the server room temperature exceeds 80 F.") or could I calculate within Nagios and say "Warning: the server room temperature is XX F." If I can calculate within Nagios, please point out an example in the documentation or other source. Thanks for your suggestion. I really appreciate all the time and effort devoted to Nagios. -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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at profitability.net Wed Aug 29 21:09:53 2007 From: andrew at profitability.net (Andrew Cruse) Date: Wed, 29 Aug 2007 15:09:53 -0400 Subject: Newbie: How to calculate within Nagios? In-Reply-To: <2E8AE992B157C0409B18D0225D0B476306CD8EED@XCH-VN01.sph.ad.jhsph.edu> References: <2E8AE992B157C0409B18D0225D0B476306CD8EED@XCH-VN01.sph.ad.jhsph.edu> Message-ID: <019701c7ea70$2e642420$5700a8c0@andrew2> Zembower, Kevin wrote: > I've just gotten my first Nagios system set up and running, so if this > is a common question, please forgive me and point out what I > overlooked. > > I want to use Nagios and the check_snmp plug-in to monitor the ambient > temperature in my server room, and send alerts when the air > conditioner fails. My Dell PowerEdge servers have an ambient > temperature probe that reports in tenths of a degree Celsius. > The output indicates that the temperature is 24 degrees Celsius or > (9/5)*24+32=75.2 degrees Fahrenheit. I'd like to use the Fahrenheit > value in my emails, > My question is, should I just hard-code the values in the email > message ("Warning: the server room temperature exceeds 80 F.") or > could I calculate within Nagios and say "Warning: the server room > temperature is XX F." If I can calculate within Nagios, please point > out an example in the documentation or other source. Nagios (to my knowledge) has no way of manipulating the numbers it receives from plugins. Actually, Nagios really only passes those along as informational -- it only concerns itself with the exit status of the plugin (OK, WARNING, CRITICAL, etc.). Obviously the easiest option for you would be to hard-code the email message, although even that would require a bit of scripting so it doesn't say that on ALL your email messages. Otherwise, it doesn't seem like it would be too terribly difficult to write a little wrapper (Perl seems like the obvious choice to me, but any old language would work) that takes any commandline options you'd like to pass to it through Nagios, passes those along to the actual check_snmp plugin, then reads the output from check_snmp, performs whatever mathematical operations you'd like on the output, and then passes the manipulated data back along to Nagios. Have a look at the negate or urlize "plugin wrappers" for examples of how that kind of thing might be done. The key thing to understand here is that Nagios itself makes no decisions about the status of a host or service, other than defining the status as HARD or SOFT. The plugins do all the work of determining status and simply report that information to Nagios, so any changes you want to make regarding the way a status is determined or what values are passed along need to be done at the plugin level. Andrew ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From radius.god at gmail.com Wed Aug 29 21:09:34 2007 From: radius.god at gmail.com (radius.god at gmail.com) Date: Wed, 29 Aug 2007 15:09:34 -0400 Subject: sh: -c: line 0: unexpected EOF while looking for matching `'' In-Reply-To: <46D4925F.1020800@op5.se> References: <2ca913110708281420m4a03e144lb97cf4d8db7359dc@mail.gmail.com> <46D4925F.1020800@op5.se> Message-ID: <2ca913110708291209i16654a8csb435bec18f0331fb@mail.gmail.com> > My guess would be a broken shell-script that you use as a plugin. > Nagios runs plugins by using the popen(3) call, which uses > sh -c to interpret and execute the given command. Thanks Andreas, that appears to have resolved one of the issues. Nagios starts with out errors now. But, it doesn't seem to actually run any host or service checks. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 29 21:27:59 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 29 Aug 2007 15:27:59 -0400 Subject: Notification interval backoff? In-Reply-To: <20426511.1355601188413215988.JavaMail.root@zimbra1.mindcentric.com> References: <20426511.1355601188413215988.JavaMail.root@zimbra1.mindcentric.com> Message-ID: isn't this the service escalation? I am not sure how strait foward implementing this is, However the documentation should be good on implementing it. Tony (author of NC_NEt) On 8/29/07, Jeff Orr wrote: > > All, > > I have been asked by my uppers to implement 'notification backoff' for > Nagios monitoring. I.e. when a service goes HARD non-OK, the first notice > is sent out, then the next after 30 minutes. After that, the next notice is > sent in an hour. The next, in two. The next, in 4... up to daily > notifications. > > Is there a straight-forward way I can define a backoff order for > notifications, or will I have to chain together a bunch of service > escalations or somesuch? I'm only concerned with service notifications at > the moment, as we get mostly those; host notifications should be sent early > and often. > > Thank you for your help, in advance. > > --Jeff Orr > Attributor Corporation > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 amontibello at gmail.com Wed Aug 29 21:36:04 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 29 Aug 2007 15:36:04 -0400 Subject: Newbie: How to calculate within Nagios? In-Reply-To: <2E8AE992B157C0409B18D0225D0B476306CD8EED@XCH-VN01.sph.ad.jhsph.edu> References: <2E8AE992B157C0409B18D0225D0B476306CD8EED@XCH-VN01.sph.ad.jhsph.edu> Message-ID: Hi Kevin, It should be straitfoward, Write a wrapper script that calls the check_snmp plugin and reports the values in the format you want. other approches, is to see if you can change the format from the poweredge, maybe contacting suppot you never know when undocumented functionallity is availible. Tony (author of nc_net) On 8/29/07, Zembower, Kevin wrote: > > I've just gotten my first Nagios system set up and running, so if this > is a common question, please forgive me and point out what I overlooked. > > I want to use Nagios and the check_snmp plug-in to monitor the ambient > temperature in my server room, and send alerts when the air conditioner > fails. My Dell PowerEdge servers have an ambient temperature probe that > reports in tenths of a degree Celsius. Here's an example: > > kevinz at cn2:~$ /usr/lib/nagios/plugins/check_snmp -H 10.253.192.204 -o > .1.3.6.1.4.1.674.10892.1.700.20.1.6.1.3 > SNMP OK - 240 | iso.3.6.1.4.1.674.10892.1.700.20.1.6.1.3=240 > kevinz at cn2:~$ > > The output indicates that the temperature is 24 degrees Celsius or > (9/5)*24+32=75.2 degrees Fahrenheit. I'd like to use the Fahrenheit > value in my emails, and set warning and critical values such as: > > kevinz at cn2:~$ /usr/lib/nagios/plugins/check_snmp -H 10.253.192.204 -o > .1.3.6.1.4.1.674.10892.1.700.20.1.6.1.3 -w :220 -c :225 > SNMP CRITICAL - *230* | iso.3.6.1.4.1.674.10892.1.700.20.1.6.1.3=230 > kevinz at cn2:~$ > > (These are artificially low, just for testing.) > > My question is, should I just hard-code the values in the email message > ("Warning: the server room temperature exceeds 80 F.") or could I > calculate within Nagios and say "Warning: the server room temperature is > XX F." If I can calculate within Nagios, please point out an example in > the documentation or other source. > > Thanks for your suggestion. I really appreciate all the time and effort > devoted to Nagios. > > -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 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 marc at ena.com Wed Aug 29 21:40:58 2007 From: marc at ena.com (Marc Powell) Date: Wed, 29 Aug 2007 14:40:58 -0500 Subject: Newbie: How to calculate within Nagios? In-Reply-To: <2E8AE992B157C0409B18D0225D0B476306CD8EED@XCH-VN01.sph.ad.jhsph.edu> References: <2E8AE992B157C0409B18D0225D0B476306CD8EED@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: Wednesday, August 29, 2007 1:54 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Newbie: How to calculate within Nagios? > > My question is, should I just hard-code the values in the email message > ("Warning: the server room temperature exceeds 80 F.") or could I > calculate within Nagios and say "Warning: the server room temperature is > XX F." If I can calculate within Nagios, please point out an example in > the documentation or other source. Nagios can't perform calculations of any kind. Since you seem to just want the data manipulated in your notification e-mails, the notification script would seem to be the best place to make that substitution. -- 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 radius.god at gmail.com Wed Aug 29 22:20:18 2007 From: radius.god at gmail.com (radius.god at gmail.com) Date: Wed, 29 Aug 2007 16:20:18 -0400 Subject: NSCA 2.7.2 errors Message-ID: <2ca913110708291320n2a66a826u42bdc341601ead94@mail.gmail.com> Running on CentOS5, x86-64. When attempting to run send_nsca to get data back to one of our central Nagios systems, I'm getting these two messages as output: Error: Server closed connection before init packet was received Error: Could not read init packet from server Some searching lead me to these being errors in the source code, but I'm no developer and have no idea what's _really_ going on. I ran tcpdump and compared to when another working machine sends it's data. The only thing that appears to be different is that the TCP session never gets to a point to pass the HTTP paylod to the NSCA daemon. I'm currently checking on the possibility of a firewall or some other "intelligent" stateful packet/session inspection, etc. But, unfortunately, it's not my network, so even if there is, I don't know that it could be changed. As a side note, which *could* be the entire cause of the issue, the other machines I have this working on are all CentOS 4.4. Maybe something odd with CentOS 5? Any help, thoughts or insight would be appreciated. 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 israel at frontierflying.com Wed Aug 29 22:31:13 2007 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 29 Aug 2007 12:31:13 -0800 Subject: NDOUtils 1.4b4 OpenBSD build issue Message-ID: <953BE220-10CC-4FE0-89ED-944FE09E4045@frontierflying.com> Ok, I have now attempted to build ndoutils 1.4b4 on a RHEL 4 box, only to get the following error: gcc -O0 -g -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndo2db-2x ndo2db.c dbhandlers-2x.o io.o utils.o db.o -L/usr/lib/mysql -lz -lnsl - lmysqlclient utils.o(.text+0x14e): In function `ndo_dbuf_strcat': /root/ndoutils-1.4b4/src/utils.c:67: undefined reference to `ceil' collect2: ld returned 1 exit status make[2]: *** [ndo2db-2x] Error 1 make[2]: Leaving directory `/root/ndoutils-1.4b4/src' make[1]: *** [ndo2db] Error 2 make[1]: Leaving directory `/root/ndoutils-1.4b4/src' Not that building it on the RHEL box would help with the OpenBSD build, mind you, but at least it would show me that the problem isn't in the package. To make things more interesting, if I try building ndoutils 1.4b3 on the RHEL box, it builds just fine. Neither one will build on my OpenBSD box however. Are there any other utilities that perform the same function as ndoutils perhaps? Or anywhere else that I can ask to get a solution? My primary goal here is to be able to use Nagvis, which, to the best of my knowledge, requires this utility. So any help that can be provided in getting this working would be appreciated. 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 bruce.friedman at infodyne.com Wed Aug 29 22:46:57 2007 From: bruce.friedman at infodyne.com (Bruce Friedman) Date: Wed, 29 Aug 2007 15:46:57 -0500 Subject: nagios 2.9 (4/10/07) check frequency increases dynamically Message-ID: <994BEFF4E862AC4A981EF9FB2C8792FE76E195@infra2.infodyne.local> Hello, Has anyone run across the check frequency increasing dynamically when the number of passive check failures reaches a high percentage? I have only two active checks running for a specific remote server - a tcp port check for port 22 being open, and a custom check which uses snmpgetbulkget to retrieve a number of items from a non-standard snmp server. The custom plugin takes the results of the snmpbulkget and stuffs them, one at a time into passive checks for the given server using the nagios external command file. Each of the passive checks is setup to not enable active checks, and as a check_command, it uses a simple script which fails always (it is never to be executed). There are approximately 100 passive checks on this server with the two active checks. I have noticed that with nagios 2.9, that when a large percentage of the passive checks fail, that Nagios is increasing the frequency of active checks for that server (only - not all servers) by as much as a factor of 3.5. I have not seen documentation describing this activity, and I'm wondering if it can be configured to not do this. The frequency of the active checks is once a minute - here is the service config for the two active checks: define service{ name generic-service-normal active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 notification_interval 120 notification_period 24x7 notification_options w,u,c,r contact_groups admins register 0 } Note that the active checks are not failing during this increased check frequency - only the passive checks are failing, but that appears to be increasing the rate of the active checks. I'm stumped! -- regards, Bruce L. Friedman Network & System Administration InfoDyne Corporation 1460 Renaissance Drive Park Ridge, IL 60068 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From enst at mail.ru Wed Aug 29 22:48:39 2007 From: enst at mail.ru (Evgeny N.Stepanov) Date: Thu, 30 Aug 2007 00:48:39 +0400 Subject: =?koi8-r?b?U01TIGFsZXJ0?= In-Reply-To: <72f6f4340708280744h2227edc9k62b1db0e476394fe@mail.gmail.com> References: <72f6f4340708280744h2227edc9k62b1db0e476394fe@mail.gmail.com> Message-ID: Hello. Actually sending SMS messages is not related to Nagios in any way. The same way as sending SMTP messages is not. But you can use both ways to send notifications. I now use smstools3 (http://smstools3.kekekasvi.com) for sending SMS notifications. This uses GSM modem or phone to send SMS messages connected to serial port of a server running Nagios. But you can use SMS gateways as well. www.nagiosexchange.org has lots of scripts to send SMS in either ways, be it SMS gateway or GSM terminal. The choice depends on your conditions. Using SMS gateways requires instant http (internet) access to the gateway site (usually) and you need to pay to operator. Nagios host is usually running in closed network segment for security reasons, so bringing it to outer world can be tricky. Using GSM terminal is simpler and more reliable in production environments AFAIK. And with GSM terminal you can implement more smart Nagios behaviour using incoming SMS and event handlers to issue command to Nagios, for instance. As i said, I use smstools3 with Siemens TC35i GSM terminal. Works as a breeze! There was some issues with bringing TC35i to work, but they are described in smstool3 FAQ and hardware compatibility documentation and i resolved them in couple of hours :-) (for example, it doesn't like hardware handshake, so i had to turn it off). I didn't get through sending messages in local (russian) alphabet, but that's coming soon. Also, there is a chance to get ICQ or jabber notifications as well. Check nagiosexchange.org. Good luck! -----Original Message----- From: "Jacques FAN" To: nagios-users at lists.sourceforge.net Date: Tue, 28 Aug 2007 15:44:34 +0100 Subject: [Nagios-users] SMS alert > > hello all > > My apologize for this language using. then, I repeate my question for better > a comprehension of my problem. I am new of use of the program nagios, then I > will want to configure the notification by SMS, then I will want to know if > it would be necessary need to use a gateway? so yes which? > > -- > JFK > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > --- ? ?????????, ???????? ?.?. enst at mail.ru +79852267458 icq: 2899514 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Aug 29 22:55:26 2007 From: akennedy at cyberlinkint.com (Adam Kennedy) Date: Wed, 29 Aug 2007 16:55:26 -0400 Subject: SMS alert In-Reply-To: References: <72f6f4340708280744h2227edc9k62b1db0e476394fe@mail.gmail.com> Message-ID: <46D5DD3E.103@cyberlinkint.com> I think it took me all of 15 minutes to get smstools3 installed/running and get our Samba75 modem installed/running. The samba75 uses the usb modem driver built into the kernel. Shows up as tty device. Just point smstools3 to that and voila! Evgeny N.Stepanov wrote: > Hello. > > Actually sending SMS messages is not related to Nagios in any way. The same way as sending SMTP messages is not. But you can use both ways to send notifications. I now use smstools3 (http://smstools3.kekekasvi.com) for sending SMS notifications. This uses GSM modem or phone to send SMS messages connected to serial port of a server running Nagios. But you can use SMS gateways as well. www.nagiosexchange.org has lots of scripts to send SMS in either ways, be it SMS gateway or GSM terminal. The choice depends on your conditions. Using SMS gateways requires instant http (internet) access to the gateway site (usually) and you need to pay to operator. Nagios host is usually running in closed network segment for security reasons, so bringing it to outer world can be tricky. > Using GSM terminal is simpler and more reliable in production environments AFAIK. And with GSM terminal you can implement more smart Nagios behaviour using incoming SMS and event handlers to issue command to Nagios, for instance. > As i said, I use smstools3 with Siemens TC35i GSM terminal. Works as a breeze! There was some issues with bringing TC35i to work, but they are described in smstool3 FAQ and hardware compatibility documentation and i resolved them in couple of hours :-) (for example, it doesn't like hardware handshake, so i had to turn it off). I didn't get through sending messages in local (russian) alphabet, but that's coming soon. > Also, there is a chance to get ICQ or jabber notifications as well. Check nagiosexchange.org. Good luck! > > -----Original Message----- > From: "Jacques FAN" > To: nagios-users at lists.sourceforge.net > Date: Tue, 28 Aug 2007 15:44:34 +0100 > Subject: [Nagios-users] SMS alert > >> hello all >> >> My apologize for this language using. then, I repeate my question for better >> a comprehension of my problem. I am new of use of the program nagios, then I >> will want to configure the notification by SMS, then I will want to know if >> it would be necessary need to use a gateway? so yes which? >> >> -- >> JFK >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > --- > ? ?????????, > ???????? ?.?. > enst at mail.ru > +79852267458 > icq: 2899514 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 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 andy.shellam-lists at mailnetwork.co.uk Wed Aug 29 23:02:50 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 29 Aug 2007 22:02:50 +0100 Subject: NDOUtils 1.4b4 OpenBSD build issue In-Reply-To: <953BE220-10CC-4FE0-89ED-944FE09E4045@frontierflying.com> References: <953BE220-10CC-4FE0-89ED-944FE09E4045@frontierflying.com> Message-ID: <12178.0639551163$1188421410@news.gmane.org> Hi Israel, The "ceil" function is part of a standard math library, a quick Google search for "undefined reference to `ceil'" (http://www.google.co.uk/search?q=undefined+reference+to+%60ceil'&ie=utf-8&o e=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a) reveals that you need to add the flag "-lm" to your linker flags. E.g., try: LDFLAGS="-L/usr/lib/mysql -lz -lnsl -lmysqlclient -lm" ./configure Andy. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Israel Brewster Sent: Wednesday, 29 August, 2007 9:31 pm To: Nagios Users mailinglist Subject: [Nagios-users] NDOUtils 1.4b4 OpenBSD build issue Ok, I have now attempted to build ndoutils 1.4b4 on a RHEL 4 box, only to get the following error: gcc -O0 -g -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndo2db-2x ndo2db.c dbhandlers-2x.o io.o utils.o db.o -L/usr/lib/mysql -lz -lnsl - lmysqlclient utils.o(.text+0x14e): In function `ndo_dbuf_strcat': /root/ndoutils-1.4b4/src/utils.c:67: undefined reference to `ceil' collect2: ld returned 1 exit status make[2]: *** [ndo2db-2x] Error 1 make[2]: Leaving directory `/root/ndoutils-1.4b4/src' make[1]: *** [ndo2db] Error 2 make[1]: Leaving directory `/root/ndoutils-1.4b4/src' Not that building it on the RHEL box would help with the OpenBSD build, mind you, but at least it would show me that the problem isn't in the package. To make things more interesting, if I try building ndoutils 1.4b3 on the RHEL box, it builds just fine. Neither one will build on my OpenBSD box however. Are there any other utilities that perform the same function as ndoutils perhaps? Or anywhere else that I can ask to get a solution? My primary goal here is to be able to use Nagvis, which, to the best of my knowledge, requires this utility. So any help that can be provided in getting this working would be appreciated. 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 !DSPAM:37,46d5d7e8107501641318227! ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From enst at mail.ru Wed Aug 29 23:08:46 2007 From: enst at mail.ru (Evgeny N.Stepanov) Date: Thu, 30 Aug 2007 01:08:46 +0400 Subject: =?koi8-r?b?U01TIGFsZXJ0?= In-Reply-To: <46D5DD3E.103@cyberlinkint.com> References: <46D5DD3E.103@cyberlinkint.com> Message-ID: > I think it took me all of 15 minutes to get smstools3 installed/running > and get our Samba75 modem installed/running. The samba75 uses the usb > modem driver built into the kernel. Shows up as tty device. Just point > smstools3 to that and voila! > well, correct. smstools3 is up and running in 2 minutes, then 10 minutes to read FAQ and hardware compatibility list (i do it carefully :-) ) to get away all those "Modem is not clear to send" messages in smstools3 logs, 5 minutes to edit nagios's cfg files and voila!. You get your first CRITICAL notification message :-) And couple of hours experimenting with locales and decoding issues before you throw it away and return to ASCII :-) Anyway, you're cool if you came up in 15 minutes, congratulations! best regards, Evgeny Stepanov ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 29 23:20:17 2007 From: ae at op5.se (Andreas Ericsson) Date: Wed, 29 Aug 2007 23:20:17 +0200 Subject: integrate a wiki with nagios? In-Reply-To: <0453C47DBC95F54397BF4D8FC846A699573D8A@W-IT-VIREXC02.mybpc.net> References: <57573D714A832C43B9D80EAFBDA48D03057BDFA2@inex3.herffjones.hj-int> <0453C47DBC95F54397BF4D8FC846A699573BC1@W-IT-VIREXC02.mybpc.net> <57573D714A832C43B9D80EAFBDA48D03057BDFAB@inex3.herffjones.hj-int> <0453C47DBC95F54397BF4D8FC846A699573D8A@W-IT-VIREXC02.mybpc.net> Message-ID: <46D5E311.1000603@op5.se> Woodgate, Douglas wrote: > Another > thing that may make it more dynamic would be if you could embed the > $HOSTALIAS$ macro into the URL, then create a wiki page for each host > with that hosts Alias as its name, but I'm not sure if notes_url would > support that macro. > It does. -- 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 Wed Aug 29 23:24:50 2007 From: ae at op5.se (Andreas Ericsson) Date: Wed, 29 Aug 2007 23:24:50 +0200 Subject: sh: -c: line 0: unexpected EOF while looking for matching `'' In-Reply-To: <2ca913110708291209i16654a8csb435bec18f0331fb@mail.gmail.com> References: <2ca913110708281420m4a03e144lb97cf4d8db7359dc@mail.gmail.com> <46D4925F.1020800@op5.se> <2ca913110708291209i16654a8csb435bec18f0331fb@mail.gmail.com> Message-ID: <46D5E422.2040105@op5.se> radius.god at gmail.com wrote: >> My guess would be a broken shell-script that you use as a plugin. >> Nagios runs plugins by using the popen(3) call, which uses >> sh -c to interpret and execute the given command. > > Thanks Andreas, that appears to have resolved one of the issues. > Nagios starts with out errors now. But, it doesn't seem to actually > run any host or service checks. > That can be due to a plethora of different reasons. One of the most common cases is that it's disabled through the gui (tactical overview). The other common case is that you've somehow botched your config. There are about 6 dozen ways of doing that, so I won't list them here. Read the docs and make sure you've understood how things are connected. Then sit down and go through your config. You might want to remove all checks but one to make sure you start out simple at first. Also make sure you wait at least 5 minutes (default check interval) before deciding that Nagios doesn't run any checks. If all else fails, pay someone to go over your config. A professional will tell you what's wrong in about 30 minutes, which shouldn't cost you more than a really large bowl of peanuts. -- 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 Wed Aug 29 23:43:13 2007 From: ae at op5.se (Andreas Ericsson) Date: Wed, 29 Aug 2007 23:43:13 +0200 Subject: Nagios Scalability In-Reply-To: <896029eb0708291119r777261baxfa476783981a524@mail.gmail.com> References: <896029eb0708291119r777261baxfa476783981a524@mail.gmail.com> Message-ID: <46D5E871.6070402@op5.se> Mr D wrote: > Greets > > I have an potential opportunity for a very large deployment for a > network monitoring system. Currently the total number of units, i.e. > PC's, servers, printers, routers etc.. is 87,000 and has a likelyhood > of growing potentially more than 25% over the next 5 years. There are > currently close to 250 "hubbed" sites, some have more units behind > them, some less. > > There is obviously a majority of MS product from win98 to XP, (no > Vista yet) involved but also Linux, Sun, Cisco, HP etc., yes I realize > the etc can be a problem. > > First question: is Nagios 3 and up, adequate for a task of this size. >>From my own experience with Nagios the answer would be yes, but > potentially 100,000 or more units is an awful lot of units. > If you're going to deploy monitoring of a network of this magnitude, do *not* use Nagios 3, which is just barely out of alpha-testing. You'd shoot yourself in the foot immediately. You'll need a distributed environment, and it's possible that not even that will be enough. Sending the check-results upwards in a hierarchy will still generate a *LOT* of traffic, so you'll probably be better off making many smaller distributed installations. After all, it's not as if there's a single guy or team that's responsible for everything in the network anyways. May I ask which network this is? Very few organizations in the world have networks of that size, and I can't really imagine CIA, China or Interpol letting you announce publicly what tool you're planning to use in their environments ;-) Unless you're going to monitor user PC's as well, ofcourse, which is usually not worth the trouble. On a side-note, I've developed a neb-module for distributed checking which alleviates many of the resource bottlenecks of the traditional way of doing distributed monitoring with Nagios. The code is currently locked down pending lawyer scrutinization of the GPL to see if we can ship it as closed source for some time before we release it to the public (yes, sometimes it sucks coding for money). It should suit your needs pretty well. Contact me off-list if you're interested. -- 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 Wed Aug 29 23:53:16 2007 From: marc at ena.com (Marc Powell) Date: Wed, 29 Aug 2007 16:53:16 -0500 Subject: Nagios Scalability In-Reply-To: <896029eb0708291119r777261baxfa476783981a524@mail.gmail.com> References: <896029eb0708291119r777261baxfa476783981a524@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 Mr D > Sent: Wednesday, August 29, 2007 1:19 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios Scalability > > Greets > First question: is Nagios 3 and up, adequate for a task of this size. > >From my own experience with Nagios the answer would be yes, but > potentially 100,000 or more units is an awful lot of units. I'm not a high-count site like that (~4,000 services) but just my $0.02. -- Nagios-3 just entered beta status in the last 30 days. Chances are high that not many sites, let alone sites with high host and service counts, have put it through the grinder yet. It's also going to depend greatly on what you're monitoring and how often. 1 ping per device per year is a heck of a lot easier than running a 30 second plugin per device every minute, passive checks are better than active checks, etc. That being said, there have been many performance improvements for large sites in v3 over v2. Many of them are documented at http://nagios.sourceforge.net/docs/3_0/largeinstalltweaks.html. The three biggest in my mind are the parallelization of host checks, the ability to batch submit passive results from a file and the fast startup options. Ethan maintains a user profile section on the site at http://www.nagios.org/userprofiles. The top site, presumably running v2 and added recently purports to be monitoring 1,000,000 services with 20 nagios machines (~50,000/machine). #2 is at 90,000 services with 10 servers. You can browse the rest to see what there is... -- 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 Wed Aug 29 23:57:57 2007 From: ae at op5.se (Andreas Ericsson) Date: Wed, 29 Aug 2007 23:57:57 +0200 Subject: NSCA 2.7.2 errors In-Reply-To: <2ca913110708291320n2a66a826u42bdc341601ead94@mail.gmail.com> References: <2ca913110708291320n2a66a826u42bdc341601ead94@mail.gmail.com> Message-ID: <46D5EBE5.9040902@op5.se> radius.god at gmail.com wrote: > Running on CentOS5, x86-64. > > When attempting to run send_nsca to get data back to one of our > central Nagios systems, I'm getting these two messages as output: > > Error: Server closed connection before init packet was received > Error: Could not read init packet from server > > Some searching lead me to these being errors in the source code, but > I'm no developer and have no idea what's _really_ going on. > It isn't necessarily. The fact that it closes the connection prior to receiving even the init packet seems to indicate that the receiving end decides to disallow the connection after having accepted it. Since nsca doesn't run as root, and since raw socket manipulation only in order to get the sending host's IP address, it's common practice to accept a connection in order to determine who the other end is, and disconnect them if it's not in some whitelist of known accepted connectors. > I ran tcpdump and compared to when another working machine sends it's > data. The only thing that appears to be different is that the TCP > session never gets to a point to pass the HTTP paylod to the NSCA > daemon. > I'm not sure where you got the idea that send_nsca sends HTTP, but it doesn't. Anyways, if the exchange goes something like this, it's pretty obvious that what I wrote above is correct; 3way handshake: send_nsca sends SYN nsca sends SYN+ACK send_nsca sends ACK immediately followed by EITHER nsca sends FIN send_nsca sends ACK+FIN nsca sends ACK OR send_nsca sends RST > > As a side note, which *could* be the entire cause of the issue, the > other machines I have this working on are all CentOS 4.4. Maybe > something odd with CentOS 5? > Different versions of the encryption library, where one end tries to forcibly negotiate a cipher the other end knows nothing about usually causes connection termination. -- 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 Stanley.Hopcroft at Dest.gov.au Thu Aug 30 03:11:17 2007 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Thu, 30 Aug 2007 11:11:17 +1000 Subject: Log monitoring with SEC and Nagios. [SEC=UNCLASSIFIED] In-Reply-To: References: Message-ID: <18544FA17F881A4DBC2F41AC89E46BA9018F947A@acexp005.portfolio.base> Dear Risto (Thank you very much for SEC, the king of event correlators). > Message: 19 > From: Risto Vaarandi > Subject: [Nagios-users] Log monitoring with Nagios - recommendations? > hi all, > > few weeks ago I posted a question to this list about passive service > checks - I was actually experimenting with Nagios as an event log > monitoring GUI. I am tracking event logs with SEC and also > sending out > alerts with it, but I would still like to see correlated log > messages in > Nagios web interface as well. > I used to use (and enjoy) SEC to inject passive service check results to Nagios. Is that an option in this case ? 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 sean at datafly.net Thu Aug 30 04:38:50 2007 From: sean at datafly.net (Sean Schertell) Date: Wed, 29 Aug 2007 19:38:50 -0700 Subject: inundated with "host UP alert"s Message-ID: Hello Nagiosers, I'm new to the list and new to Nagios. If anyone can help me with this, I'll be very grateful. It seems that whenever a service fails, the host gets checked to see if it's alive (I realize this is normal behavior). But then when Nagios realizes that the host is alive, it generates a "host UP alert" notification as though it has recovered even though I'm pretty sure the host itself never went into a down state. Since I'm still configuring and haven't got all the services working yet, I'm getting a ton of these host UP alerts -- yet I'm getting none of the service critical alerts. I can't figure out what's wrong with my configs. I'm running ver. 2.9 on Fedora. Here's some selections from my configs in case it helps: ###################################################### ###################################################### # Standard Service Template define service{ name standard-service hostgroup_name df-servers normal_check_interval 1 retry_check_interval 1 max_check_attempts 3 check_period 24x7 contact_groups admins notification_interval 20 notification_period 24x7 notification_options w,u,c register 0 } #-----------------------------------------------------------------# define service{ service_description check_http check_command check_http use standard-service } define service{ service_description check_smtp check_command check_smtp use standard-service } # DataFly Contact Group define contactgroup{ contactgroup_name admins alias DataFly Admins members sean } #-----------------------------------------------------------------# # Standard Contact Template define contact{ name standard-contact host_notification_period 24x7 service_notification_period 24x7 host_notification_commands host-notify-by-email service_notification_commands host-notify-by-email register 0 } #-----------------------------------------------------------------# define contact{ contact_name sean alias Sean (email) email sean at datafly.net host_notification_options d,u service_notification_options c,w,f use standard-contact } ###################################################### ###################################################### :::: DataFly.Net :::: Complete Web Services http://www.datafly.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 dermoth at aei.ca Thu Aug 30 05:50:42 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 29 Aug 2007 23:50:42 -0400 Subject: inundated with "host UP alert"s In-Reply-To: References: Message-ID: <46D63E92.50905@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 29/08/07 10:38 PM, Sean Schertell wrote: > Hello Nagiosers, > > I'm new to the list and new to Nagios. If anyone can help me with > this, I'll be very grateful. > > It seems that whenever a service fails, the host gets checked to see > if it's alive (I realize this is normal behavior). But then when > Nagios realizes that the host is alive, it generates a "host UP > alert" notification as though it has recovered even though I'm pretty > sure the host itself never went into a down state. Since I'm still > configuring and haven't got all the services working yet, I'm getting > a ton of these host UP alerts -- yet I'm getting none of the service > critical alerts. > > I can't figure out what's wrong with my configs. I'm running ver. 2.9 > on Fedora. Here's some selections from my configs in case it helps: Your services use "host-notify-by-email" to send notifications. Since the host stays up it obviously sends host up alerts! (see the host-notify-by-email command definition to see what is the exact format). You should normally use service-notify-by-email or service-notify-by-epager commands for service notifications. You can of course change the format of these command and/or create new ones adapted to your requirements. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG1j6S6dZ+Kt5BchYRAkF/AKDSkKLkrrJPT6ylbGn0cV0I9WVd/ACfV6VV czNADL7xdQdkOCu5s9HFOi8= =9rPc -----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 nate at campin.net Thu Aug 30 06:22:17 2007 From: nate at campin.net (Nate Campi) Date: Wed, 29 Aug 2007 21:22:17 -0700 Subject: Log monitoring with SEC and Nagios. [SEC=UNCLASSIFIED] In-Reply-To: <18544FA17F881A4DBC2F41AC89E46BA9018F947A@acexp005.portfolio.base> References: <18544FA17F881A4DBC2F41AC89E46BA9018F947A@acexp005.portfolio.base> Message-ID: <20070830042216.GP6166@campin.net> On Thu, Aug 30, 2007 at 11:11:17AM +1000, Stanley.Hopcroft at Dest.gov.au wrote: > Dear Risto > > (Thank you very much for SEC, the king of event correlators). I also thank you, SEC saves my SA staff a lot of trouble every day. > > From: Risto Vaarandi > > Subject: [Nagios-users] Log monitoring with Nagios - recommendations? > > hi all, > > > > few weeks ago I posted a question to this list about passive service > > checks - I was actually experimenting with Nagios as an event log > > monitoring GUI. I am tracking event logs with SEC and also > > sending out > > alerts with it, but I would still like to see correlated log > > messages in > > Nagios web interface as well. > > > > I used to use (and enjoy) SEC to inject passive service check results > to Nagios. I also do this, but it forces me to define a different check for every thing that I might see - because if I submit a second, different bad result (like a different system error message for a "syslog" check) it'll overwrite the last submitted results. There are ways around this on the SEC side if you want to keep state, but you'd probably like people to be able to wipe events clear independently on the Nagios side (like with a passive submission from the CGI) and not have that old result come back. I hate to state that like it's fact when I'm at best an intermediate Nagios admin, no expert. Am I overlooking anything here? You could have a feedback loop between Nagios logs and SEC that helps detect the passive submission that clears your prior alerts, but that seems overly complicated. If it was like a traditional NMS that just accepts arbitrary events, then it might be more like what Risto is looking for. What exactly are your needs, Risto? -- Nate All data leaves a trail. The search for data leaves a trail. The erasure of data leaves a trail.The absence of data, under the right circumstances, can leave the clearest trail of all. Dr. Kio Masada ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Navdeep.Sidhu at tatatel.co.in Thu Aug 30 07:37:46 2007 From: Navdeep.Sidhu at tatatel.co.in (Navdeep Sidhu) Date: Thu, 30 Aug 2007 11:07:46 +0530 Subject: Monitoring of specific log events in Event Viewer through Nagios In-Reply-To: References: Message-ID: <745C9242AACB2D468091BC33BFD668D00426F807@PB-CHD-MBX01.PJB.TTSL.COM> Hi All Is there any option to monitor specific log events & get notification through Nagios? For eg. If there is an event id 4096 comes up under Application event viewer then I should get notification for the same. Nagios version is 2.8, plugin version is 1.52 & OS is RHEL ES4. Thanks in advance Regards Navdeep Singh Sidhu ====================================== i-choose online store at www.tataindicom.com Your Comfort.Your Convenience.YourChoice. ====================================== DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change.TATATELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor tha t this communication is free of viruses, interceptions or interference. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.welsh at bt.com Thu Aug 30 07:41:28 2007 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Thu, 30 Aug 2007 06:41:28 +0100 Subject: Monitoring of specific log events in Event Viewerthrough Nagios In-Reply-To: <745C9242AACB2D468091BC33BFD668D00426F807@PB-CHD-MBX01.PJB.TTSL.COM> References: <745C9242AACB2D468091BC33BFD668D00426F807@PB-CHD-MBX01.PJB.TTSL.COM> Message-ID: <6546343904687E41B19D8E5A26AB9F53013CA4EE@E03MVB2-UKBR.domain1.systemhost.net> Take a look at check_log -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Navdeep Sidhu Sent: 30 August 2007 06:38 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring of specific log events in Event Viewerthrough Nagios Hi All Is there any option to monitor specific log events & get notification through Nagios? For eg. If there is an event id 4096 comes up under Application event viewer then I should get notification for the same. Nagios version is 2.8, plugin version is 1.52 & OS is RHEL ES4. Thanks in advance Regards Navdeep Singh Sidhu ====================================== i-choose online store at www.tataindicom.com Your Comfort.Your Convenience.YourChoice. ====================================== DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change.TATATELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Navdeep.Sidhu at tatatel.co.in Thu Aug 30 07:51:21 2007 From: Navdeep.Sidhu at tatatel.co.in (Navdeep Sidhu) Date: Thu, 30 Aug 2007 11:21:21 +0530 Subject: Monitoring of specific log events in Event Viewer through Nagios In-Reply-To: <6546343904687E41B19D8E5A26AB9F53013CA4EE@E03MVB2-UKBR.domain1.systemhost.net> References: <6546343904687E41B19D8E5A26AB9F53013CA4EE@E03MVB2-UKBR.domain1.systemhost.net> Message-ID: <745C9242AACB2D468091BC33BFD668D00426F85D@PB-CHD-MBX01.PJB.TTSL.COM> Dear I've already tried using check_log but it is not resolving my purpose. I want to monitor specific log events of a remote server through Nagios. Pl suggest if there is any way to accomplish this. Regards Navdeep Singh Sidhu +91-9216709251 -----Original Message----- From: tom.welsh at bt.com [mailto:tom.welsh at bt.com] Sent: Thursday, August 30, 2007 11:11 AM To: Navdeep Sidhu; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Monitoring of specific log events in Event Viewerthrough Nagios Take a look at check_log -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Navdeep Sidhu Sent: 30 August 2007 06:38 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring of specific log events in Event Viewerthrough Nagios Hi All Is there any option to monitor specific log events & get notification through Nagios? For eg. If there is an event id 4096 comes up under Application event viewer then I should get notification for the same. Nagios version is 2.8, plugin version is 1.52 & OS is RHEL ES4. Thanks in advance Regards Navdeep Singh Sidhu ====================================== i-choose online store at www.tataindicom.com Your Comfort.Your Convenience.YourChoice. ====================================== DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change.TATATELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ====================================== i-choose online store at www.tataindicom.com Your Comfort.Your Convenience.YourChoice. ====================================== DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change.TATATELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor tha t this communication is free of viruses, interceptions or interference. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From narendran.neelamegam at wipro.com Thu Aug 30 08:14:47 2007 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Thu, 30 Aug 2007 11:44:47 +0530 Subject: Monitoring of specific log events in EventViewer through Nagios In-Reply-To: <745C9242AACB2D468091BC33BFD668D00426F85D@PB-CHD-MBX01.PJB.TTSL.COM> References: <745C9242AACB2D468091BC33BFD668D00426F85D@PB-CHD-MBX01.PJB.TTSL.COM> Message-ID: Look at http://www.steveshipway.org/software/ Nagios EventLog agent for Windows: To send NSCA alerts directly from filtered EventLog messages Regards, Naren -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Navdeep Sidhu Sent: Thursday, August 30, 2007 11:21 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring of specific log events in EventViewer through Nagios Dear I've already tried using check_log but it is not resolving my purpose. I want to monitor specific log events of a remote server through Nagios. Pl suggest if there is any way to accomplish this. Regards Navdeep Singh Sidhu +91-9216709251 -----Original Message----- From: tom.welsh at bt.com [mailto:tom.welsh at bt.com] Sent: Thursday, August 30, 2007 11:11 AM To: Navdeep Sidhu; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Monitoring of specific log events in Event Viewerthrough Nagios Take a look at check_log -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Navdeep Sidhu Sent: 30 August 2007 06:38 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring of specific log events in Event Viewerthrough Nagios Hi All Is there any option to monitor specific log events & get notification through Nagios? For eg. If there is an event id 4096 comes up under Application event viewer then I should get notification for the same. Nagios version is 2.8, plugin version is 1.52 & OS is RHEL ES4. Thanks in advance Regards Navdeep Singh Sidhu ====================================== i-choose online store at www.tataindicom.com Your Comfort.Your Convenience.YourChoice. ====================================== DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change.TATATELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ====================================== i-choose online store at www.tataindicom.com Your Comfort.Your Convenience.YourChoice. ====================================== DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change.TATATELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 clee.hk at gmail.com Thu Aug 30 08:43:47 2007 From: clee.hk at gmail.com (Chris Lee) Date: Thu, 30 Aug 2007 08:43:47 +0200 (CEST) Subject: Can Nagios keep the data returned from the services? Message-ID: <20070830064347.B2A4C580071@desire.netways.de> Hi, I am new to nagios and just set up one a few days ago. I am using Nagios to monitor the CPU, Memory usage and disk usage of the my servers. I would like to know if Nagios is able to keep the data (ie. cpu, memory, disk usage data) returned by the services from those hosts. I need the data because I will use it for capacity planning and for some simple monthly reports. Can I make use of Nagios for this purpose? Thanks a lot, - Chris Lee ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.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 gcoochey at sapphire.gi Thu Aug 30 09:37:46 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Thu, 30 Aug 2007 09:37:46 +0200 Subject: Status Map / NOC Screens Message-ID: <9D30659ABCA7FB428CF91E386C3A57448E100F@hermes.sapphire-int.gi> Hello List, I?ve had a bit of a google and look through the archives, and haven?t found much that will help me on this, so I thought I?d put something to the list: I?m currently working on user co-ordinates for the status map. It?s an annoying and fidgety task to get everything positioned correctly. I did come across a Linux tool which seemed to be able to help, but unfortunately it required a UNIX GUI, which I don?t have access to. So, what techniques and tools have you used in design and positioning of items on the statusmap? I?m currently resorting to using Visio to move text boxes around, each representing a host on the statusmap - having set the page size to around the resolution that will be used in our NOC, but it?s still quite a fiddle and I still have to manually go through my configuration files entering the appropriate co-ordinates. Another issue is that Visio?s origin is on the bottom right of the screen, while Nagios?s origin is on the top right of the screen, meaning that the status map is inverted vertically when put into Nagios from Visio (not a huge problem). I am intending to use the link: http://nagioshost/nagios/cgi-bin/statusmap.cgi?createimage on a full screen browser Window (like Kiosk-Mode) for our NOC, it looks like I will have to embed this to get the page to refresh, plus it also seems that the background will need some work to make it look nice, it would be good to hear if anyone has had experience down this route as well and has any advice, or alternatives to suggest? We will also have the tactical overview in the NOC (which is probably more useful than the map, but we have a need for pretty pictures as well ?). Thanks in advance for any feedback and advice! Best regards Giles Coochey ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at altinity.com Thu Aug 30 09:49:24 2007 From: ton.voon at altinity.com (Ton Voon) Date: Thu, 30 Aug 2007 08:49:24 +0100 Subject: NDOUtils 1.4b4 OpenBSD build issue In-Reply-To: <953BE220-10CC-4FE0-89ED-944FE09E4045@frontierflying.com> References: <953BE220-10CC-4FE0-89ED-944FE09E4045@frontierflying.com> Message-ID: Hi Israel, On 29 Aug 2007, at 21:31, Israel Brewster wrote: > Ok, I have now attempted to build ndoutils 1.4b4 on a RHEL 4 box, > only to get the following error: > > gcc -O0 -g -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndo2db-2x ndo2db.c > dbhandlers-2x.o io.o utils.o db.o -L/usr/lib/mysql -lz -lnsl - > lmysqlclient > utils.o(.text+0x14e): In function `ndo_dbuf_strcat': > /root/ndoutils-1.4b4/src/utils.c:67: undefined reference to `ceil' > collect2: ld returned 1 exit status > make[2]: *** [ndo2db-2x] Error 1 > make[2]: Leaving directory `/root/ndoutils-1.4b4/src' > make[1]: *** [ndo2db] Error 2 > make[1]: Leaving directory `/root/ndoutils-1.4b4/src' Is this using the Altinity patch for NDOutils to use mysql_config? Andy is right, you're missing the -lm in the compile, but using the mysql_config should have picked that up correctly. (Actually, I think that rings a bell about some redhat mysql-devel packages are not sync'd correctly with the mysql packages, so mysql_config gives bogus data -that would be a packaging problem.) If you are using the Altinity patch, can you attach the config.log? We do nightly builds on RHES4U1 and ndoutils always compiles correctly. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 30 09:50:30 2007 From: ae at op5.se (Andreas Ericsson) Date: Thu, 30 Aug 2007 09:50:30 +0200 Subject: Log monitoring with SEC and Nagios. [SEC=UNCLASSIFIED] In-Reply-To: <20070830042216.GP6166@campin.net> References: <18544FA17F881A4DBC2F41AC89E46BA9018F947A@acexp005.portfolio.base> <20070830042216.GP6166@campin.net> Message-ID: <46D676C6.1000804@op5.se> Nate Campi wrote: > On Thu, Aug 30, 2007 at 11:11:17AM +1000, Stanley.Hopcroft at Dest.gov.au wrote: >> Dear Risto >> >> (Thank you very much for SEC, the king of event correlators). > > I also thank you, SEC saves my SA staff a lot of trouble every day. > >>> From: Risto Vaarandi >>> Subject: [Nagios-users] Log monitoring with Nagios - recommendations? >>> hi all, >>> >>> few weeks ago I posted a question to this list about passive service >>> checks - I was actually experimenting with Nagios as an event log >>> monitoring GUI. I am tracking event logs with SEC and also >>> sending out >>> alerts with it, but I would still like to see correlated log >>> messages in >>> Nagios web interface as well. >>> >> I used to use (and enjoy) SEC to inject passive service check results >> to Nagios. > > I also do this, but it forces me to define a different check for every > thing that I might see - because if I submit a second, different bad > result (like a different system error message for a "syslog" check) > it'll overwrite the last submitted results. There are ways around this > on the SEC side if you want to keep state, but you'd probably like > people to be able to wipe events clear independently on the Nagios side > (like with a passive submission from the CGI) and not have that old > result come back. I hate to state that like it's fact when I'm at best > an intermediate Nagios admin, no expert. Am I overlooking anything here? > There is an option to log and (re)alert on every change in plugin output in nagios. I can't remember off of the top of my head what the option is named, but 5 minutes with the object config docs should tell you. -- 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 e-destiny.co.za Thu Aug 30 09:54:13 2007 From: marc at e-destiny.co.za (Marc Hultquist) Date: Thu, 30 Aug 2007 09:54:13 +0200 Subject: Problem with access (It appears as though you do not have permission to view information for any of the services you requested...) Message-ID: <46D677A5.9030503@e-destiny.co.za> Hi Everyone Ok I am new to nagios, the problem I am having, I have gotten Nagios up and running, it can monitor the machines and what not, however the problem I am having, lets say I click on the "Host Details" in the menu, I can see my hosts, if I say select my AV server -> "View Status Details for this host" ! I can see the services I am monitoring on the server itself, however when it refresh's the page I will then get the "It appears as though you do not have permission to view information for any of the services you requested..." ! I then refresh the page, and at a random interval I will then be able to see the services being monitored, however then again at another random interval I will get the same access denied error mentioned above.... I have tried the following steps so far: 1. Remove the .htaccess requirement out of the /etc/httpd/conf.d/nagios.conf file 2. Set the use_authentication=0 3. Made sure all my authentication_* are set to the username required by .htaccess (When it is enabled in the nagios.conf file 4. Set the use_authentication=1 (set user/pass correctly, in my apache logs it does show the username coming through as the correct nagiosadmin user) 5. Deleted all temporary internet files etc from the machine and restarted the browser. What I think is something to do with the session / cookie is buggered up in the browser, does anyone have any ideas here as its a bit annoying to say the least :-) ! This happens on a wide range of browsers I have tested this on both on Linux machines, as well as windows and mac :-\ BTW: The installation was done according to the quick start installation guide presented on the nagios web page, don't know if this will make any difference...... Kind Regards - Marc Hultquist Destiny Electronic Commerce (Pty) Ltd ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 e-destiny.co.za Thu Aug 30 11:27:18 2007 From: marc at e-destiny.co.za (Marc Hultquist) Date: Thu, 30 Aug 2007 11:27:18 +0200 Subject: Remote client for Linux Message-ID: <46D68D76.9060000@e-destiny.co.za> Ok So I seem to have solved the permission issues, thank-you for all the replies I received to my prv mail. What I would like to find out now is, is there a remote client I can run on the Linux machines ? The reason I ask is that I really don't want to have to open say 6 rules per a machine on my internet / internal firewalls, I would much prefer to have a remove client on the machine, and define what I want to monitor in the services.cfg file for the specific machines I define in the hosts.cfg file. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rmarin at nle.fr Thu Aug 30 11:49:39 2007 From: rmarin at nle.fr (=?ISO-8859-1?Q?R=E9mi_MARIN?=) Date: Thu, 30 Aug 2007 11:49:39 +0200 Subject: =?iso-8859-1?q?R=E9mi_MARIN_est_absent=28e=29=2E?= Message-ID: Je serai absent(e) ? partir du 30/08/2007 de retour le 11/09/2007. Je r?pondrai ? votre message d?s mon retour. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From d.bolderman+nagios at gmail.com Thu Aug 30 12:56:04 2007 From: d.bolderman+nagios at gmail.com (D.J. Bolderman) Date: Thu, 30 Aug 2007 12:56:04 +0200 Subject: nsclient: no data was received from host In-Reply-To: References: Message-ID: Hi, I've been using NSClient on my Windows servers for some time now, and it has been working great. However, since a week or 2, Nagios is giving me "No data was received from host" errors on 2 servers. On the next check the problems are gone, but they constantly come back. There have been no significant changes on my network. There is no excessive traffic that could interfere, so I'm quite surprised what created this problem. On both servers I receive this message in the eventlog: http://img72.imageshack.us/img72/8608/nsclienteh5.jpg I reinstalled NSClient, rebooted the servers, but it still gives me errors. I'm using Nagios 2.6 and NSClient 2.01 on a Debian Etch server. Any help would be great, Thanks, Dick ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From iter_manojkumar at rediffmail.com Thu Aug 30 13:06:08 2007 From: iter_manojkumar at rediffmail.com (manoj kumar) Date: 30 Aug 2007 11:06:08 -0000 Subject: Configuring Web Interface Message-ID: <20070830110608.21069.qmail@f5mail12.rediffmail.com> Hi Friends, I am a newbie at nagios. I want to configure NAGIOS web interface so that I can group several hosts in groups on navigation pane. Like the Screen shot below. (unix-boxes, windows servers etc. as sub nodes of Service Details, got this screen shot on http://apan.sourceforge.net/scr.html)       Can you please give any pointers to this?   Thanks and regards, Manoj Manoj Kumar THE MAD MAN Never Fall in Love Always Rise in Love! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios.JPG Type: image/jpeg Size: 16741 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 andy.shellam-lists at mailnetwork.co.uk Thu Aug 30 13:33:55 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Thu, 30 Aug 2007 12:33:55 +0100 Subject: Can Nagios keep the data returned from the services? In-Reply-To: <20070830064347.B2A4C580071@desire.netways.de> References: <20070830064347.B2A4C580071@desire.netways.de> Message-ID: <19654.2960162789$1188473670@news.gmane.org> Hi Chris, I'm looking at the possibility of doing this myself over the coming months. Unfortunately, I can only give you a pointer. I believe what you're looking for is performance data - that is, when a plugin returns it's output, a specially crafted string at the end of the output (containing the statistics - e.g cpu usage, memory usage etc) for that particular plugin can be parsed by Nagios and processed in some way. However, not having done this, I'm not privy to how it works - lookup the performance-related config directives in the Nagios 2 documentation, I'm sure this will provide an insight. Andy. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Chris Lee Sent: Thursday, 30 August, 2007 7:44 am To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Can Nagios keep the data returned from the services? Hi, I am new to nagios and just set up one a few days ago. I am using Nagios to monitor the CPU, Memory usage and disk usage of the my servers. I would like to know if Nagios is able to keep the data (ie. cpu, memory, disk usage data) returned by the services from those hosts. I need the data because I will use it for capacity planning and for some simple monthly reports. Can I make use of Nagios for this purpose? Thanks a lot, - Chris Lee ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.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 !DSPAM:37,46d66738107502094449794! ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zucker4 at web.de Thu Aug 30 14:12:42 2007 From: zucker4 at web.de (Ilya Ruprecht) Date: Thu, 30 Aug 2007 14:12:42 +0200 Subject: "notification_interval" from the "serviceescalation" is ignored? Message-ID: <20070830141242.5313ec36@unicorn.prima.virtual> Hi admins! Following situation: Debian 4.0 + Nagios 3.0b1. I defined a service-template SSH: ######################################################## define service{ name check-ssh-service ; The 'name' of this service template check_command check_ssh service_description SSH 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 (disabling this can lead to major performance problems) 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 failure_prediction_enabled 1 ; Failure prediction 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 is_volatile 0 ; The service is not volatile check_period 24x7 ; The service can be checked at any time of the day max_check_attempts 3 ; Re-check the service up to 3 times in order to determine its final (hard) state normal_check_interval 10 ; Check the service every 10 minutes under normal conditions retry_check_interval 1 ; Re-check the service every two minutes until a hard state can be determined contact_groups linux-admins ; Notifications get sent out to everyone in the 'admins' group notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events notification_interval 60 ; Re-notify about service problems every hour notification_period 24x7 ; Notifications can be sent out at any time register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } ######################################################## Then i defined a hostgroup, for which i use the SSH service ######################################################## define hostgroup{ hostgroup_name vpn-server alias VPN-Gateways members vpn-gw1-remote,vpn-gw1-local } ######################################################## Now i defined a service that uses the SSH-template and is applied to the group "vpn-server" ######################################################## define service{ use check-ssh-service notes SSH auf Linux-Servern hostgroup_name vpn-server service_description SSH } ######################################################## And at last i defined two service-escalations for SSH (i've set the intervals so short only for testing purposes) ######################################################## define serviceescalation{ hostgroup_name vpn-server service_description SSH first_notification 1 last_notification 5 notification_interval 3 contact_groups linux-admins } define serviceescalation{ hostgroup_name vpn-server service_description SSH first_notification 5 last_notification 0 notification_interval 10 contact_groups linux-admins } ######################################################## "interval_length" is set to 60 seconds in nagios.cfg. So far, so good. 1. PROBLEM: =========== Now, i get following notifications (these here are the syslog-entries): ######################################################## Aug 30 13:05:38 unicorn nagios: SERVICE ALERT: vpn-gw1-local;SSH;CRITICAL;SOFT;1;CRITICAL - Socket timeout after 10 seconds Aug 30 13:06:38 unicorn nagios: SERVICE ALERT: vpn-gw1-local;SSH;CRITICAL;SOFT;2;CRITICAL - Socket timeout after 10 seconds Aug 30 13:07:38 unicorn nagios: SERVICE ALERT: vpn-gw1-local;SSH;CRITICAL;HARD;3;CRITICAL - Socket timeout after 10 seconds Aug 30 13:07:38 unicorn nagios: SERVICE NOTIFICATION: linuxadmin;vpn-gw1-local;SSH;CRITICAL;notify-service-by-email;CRITICAL - Socket timeout after 10 seconds Aug 30 13:17:38 unicorn nagios: SERVICE NOTIFICATION: linuxadmin;vpn-gw1-local;SSH;CRITICAL;notify-service-by-email;CRITICAL - Socket timeout after 10 seconds Aug 30 13:27:38 unicorn nagios: SERVICE NOTIFICATION: linuxadmin;vpn-gw1-local;SSH;CRITICAL;notify-service-by-email;CRITICAL - Socket timeout after 10 seconds Aug 30 13:37:38 unicorn nagios: SERVICE NOTIFICATION: linuxadmin;vpn-gw1-local;SSH;CRITICAL;notify-service-by-email;CRITICAL - Socket timeout after 10 seconds Aug 30 13:47:39 unicorn nagios: SERVICE NOTIFICATION: linuxadmin;vpn-gw1-local;SSH;CRITICAL;notify-service-by-email;CRITICAL - Socket timeout after 10 seconds Aug 30 13:57:38 unicorn nagios: SERVICE NOTIFICATION: linuxadmin;vpn-gw1-local;SSH;CRITICAL;notify-service-by-email;CRITICAL - Socket timeout after 10 seconds Aug 30 14:07:38 unicorn nagios: SERVICE NOTIFICATION: linuxadmin;vpn-gw1-local;SSH;CRITICAL;notify-service-by-email;CRITICAL - Socket timeout after 10 seconds ######################################################## The notifications here are sent when HARD state is reached, right? So the first notification is the the one at 13:07:38. Ok. But according to my config, the notifications 1 to 5 should be resent every 3 minutes. Then why the second and other notifications came 10 minutes after each other? I see only one value, where 10 minutes are set - its the "normal_check_interval". (15 minutes later: ok, ok, i see, for the 5+ notifications the value of 10 minutes is also set.... but it should not affect the notifications period for the first 4 messages. Theoretically... :-\ ) So as i understand the problem: "notification_interval" from the "serviceescalation" is ignored! What could help out? P.S.: checked the config of service-escalations via webgui and got the the "Notification Interval" for my two escalations is set to "0"! HOW THAT!?!? 2. PROBLEM: =========== Furthermore, the "notification_interval" in the service-part is described as "Re-notify about service problems every XXX". Note: "about service problems". Now, if i set the notification_interval to a lower value then a "normal_check_interval", i.e. "9", i get following warning-message at nagios pre-flight-check: ######################################################## Warning: Service 'SSH' on host 'vpn-gw1-local' has a notification interval less than its check interval! Notifications are only re-sent after checks are made, so the effective notification interval will be that of the check interval. Warning: Service 'SSH' on host 'vpn-gw1-remote' has a notification interval less than its check interval! Notifications are only re-sent after checks are made, so the effective notification interval will be that of the check interval. ######################################################## But, hell, what the "normal_check_interval" have to do with "notification_interval"?! These two are completely different things! Or have i misunderstood something? People - HELP!! Thanks. Ilya. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 30 14:22:40 2007 From: radhiilu at yahoo.com (Sekhar) Date: Thu, 30 Aug 2007 05:22:40 -0700 (PDT) Subject: Cisco Physical port status check using nagios In-Reply-To: References: Message-ID: <290284.29450.qm@web90510.mail.mud.yahoo.com> thank you very much for your help.I need to check phisical cisco port is working or not that means it is alive or dead this can be achived using check_ifoperstatus Marc Powell wrote: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sekhar > Sent: Tuesday, August 28, 2007 10:22 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Cisco Physical port status check using nagios > > Hi Guys, > > I have a request from my client to monitor cisco router or switch port > status if it is working or not using snmp and nagios. > > Is it possible or not?.How we can achive this. check_ifoperstatus would be the way to go, IMHO. If you're monitoring a router with just a few interfaces, you can use it to look for the interface by name -- $ ./check_ifoperstatus -H -C -d GigabitEthernet1/2 OK: Interface GigabitEthernet1/2 (index 2) is up. If you're monitoring a router with lots of interfaces, a friendlier way of using check_ifoperstatus is to specify the index directly instead of trying to figure it out (the index is the important part). Note that possibility exists the index can change on router reboot. -- ./check_ifoperstatus -H -C -k 2 OK: Interface GigabitEthernet1/2 (index 2) is up. -- 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 --------------------------------- Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online. -------------- 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 bill.omer at gmail.com Thu Aug 30 14:30:34 2007 From: bill.omer at gmail.com (Bill Omer) Date: Thu, 30 Aug 2007 08:30:34 -0400 Subject: Remote client for Linux In-Reply-To: <46D68D76.9060000@e-destiny.co.za> References: <46D68D76.9060000@e-destiny.co.za> Message-ID: <3ec83c030708300530w66df3afag917de68d630ba9cb@mail.gmail.com> On 8/30/07, Marc Hultquist wrote: > Ok So I seem to have solved the permission issues, thank-you for all the > replies I received to my prv mail. > > What I would like to find out now is, is there a remote client I can run > on the Linux machines ? The reason I ask is > that I really don't want to have to open say 6 rules per a machine on my > internet / internal firewalls, I would much prefer > to have a remove client on the machine, and define what I want to > monitor in the services.cfg file for the specific machines > I define in the hosts.cfg file. > Have you looked at nrpe? http://www.nagios.org/faqs/viewfaq.php?faq_id=59 -Bill ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rodneyra at gmail.com Thu Aug 30 14:44:37 2007 From: rodneyra at gmail.com (Rodney Ramos) Date: Thu, 30 Aug 2007 09:44:37 -0300 Subject: Nagios SIGHUP problem Message-ID: I?m having a problem when I try to reload Nagios 2.9. When I run "kill -HUP ", it ends up with SIGEXIT. In the nagios.log we have "Caught SIGEXIT, shutting down...". I?m running Nagios 2.9 in Solaris 9, gcc-3-4-6. I?ve read that this a problema in the "char *sigs[]" definition on the nagios.c file. Does anyone knows how to solve this problema? 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 Thu Aug 30 14:44:58 2007 From: marc at ena.com (Marc Powell) Date: Thu, 30 Aug 2007 07:44:58 -0500 Subject: Can Nagios keep the data returned from theservices? In-Reply-To: <000601c7eaf9$a756d330$f6047990$@shellam-lists@mailnetwork.co.uk> References: <000601c7eaf9$a756d330$f6047990$@shellam-lists@mailnetwork.co.uk> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Andy Shellam (Mailing Lists) > Sent: Thursday, August 30, 2007 6:34 AM > To: 'Chris Lee'; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Can Nagios keep the data returned from > theservices? > > Hi Chris, > > I'm looking at the possibility of doing this myself over the coming > months. > Unfortunately, I can only give you a pointer. I believe what you're > looking > for is performance data - that is, when a plugin returns it's output, a This is right on target. You can write a perfdata command to do something custom with it or there are a number of addons available at nagiosexchange.org that already exist to store/graph/etc. APAN and n2rrd are a couple of 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 marc at ena.com Thu Aug 30 14:50:02 2007 From: marc at ena.com (Marc Powell) Date: Thu, 30 Aug 2007 07:50:02 -0500 Subject: Problem with access (It appears as though you do not have permission to view information for any of the services you requested...) In-Reply-To: <46D677A5.9030503@e-destiny.co.za> References: <46D677A5.9030503@e-destiny.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 Marc Hultquist > Sent: Thursday, August 30, 2007 2:54 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problem with access (It appears as though you do > not have permission to view information for any of the services you > requested...) > > Hi Everyone > > Ok I am new to nagios, the problem I am having, I have gotten Nagios up > and running, it can monitor the machines and what not, however the > problem I am having, lets say I click on the "Host Details" in the menu, > I can see my hosts, if I say select my AV server -> "View Status Details > for this host" ! I can see the services I am monitoring on the server > itself, however when it refresh's the page I will then get the "It > appears as though you do not have permission to view information for any > of the services you requested..." ! I then refresh the page, and at a > random interval I will then be able to see the services being monitored, > however then again at another random interval I will get the same access > denied error mentioned above.... Toggleing GUI behavior like this means that you have more than one nagios processes running. There's a FAQ entry on it. Stop nagios, kill any that remain and restart nagios. > What I think is something to do with the session / cookie is buggered up > in the browser, does anyone have any ideas here as its a bit annoying to For future reference, nagios doesn't track session state or set any cookies. It simply looks at the REMOTE_USER variable set by htaccess at each request to determine what to show you by matching that with a defined contact. -- 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 justinm at honeycomb.net Thu Aug 30 14:52:02 2007 From: justinm at honeycomb.net (Justin Maloney) Date: Thu, 30 Aug 2007 07:52:02 -0500 Subject: Configuring Web Interface Message-ID: <64975B31C6249247A722D0610F4110F7322F1E@hive.officespace.honeycomb.net> ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of manoj kumar Sent: Thursday, August 30, 2007 6:06 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Configuring Web Interface Hi Friends, I am a newbie at nagios. I want to configure NAGIOS web interface so that I can group several hosts in groups on navigation pane. Like the Screen shot below. (unix-boxes, windows servers etc. as sub nodes of Service Details, got this screen shot on http://apan.sourceforge.net/scr.html) Can you please give any pointers to this? Thanks and regards, Manoj Manoj Kumar THE MAD MAN Never Fall in Love Always Rise in Love! Nokia 40 % Off You could put them in host groups, that's what I do. I have a host group for each customer and then more host groups that break down to web servers, mysql servers etc for each customer. Then you just go to the hostgroup over view page and click on one. It will show you all the hosts and there services. in the normal status page format. Thank you, Justin Maloney Systems Administrator Honeycomb Internet Services 612.617.0007 -------------- 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 ianpcollier at gmail.com Thu Aug 30 14:55:06 2007 From: ianpcollier at gmail.com (Ian Collier) Date: Thu, 30 Aug 2007 13:55:06 +0100 Subject: Can Nagios keep the data returned from the services? In-Reply-To: <20070830064347.B2A4C580071@desire.netways.de> References: <20070830064347.B2A4C580071@desire.netways.de> Message-ID: <640bfc410708300555j5f692e72yf921790d2e1a02fe@mail.gmail.com> As others have commented, there are a number of options. I've set up nagiosgraph ( http://www.nagiosexchange.org/Charts.42.0.html?&tx_netnagext_pi1%5Bp_view%5D=121) It was a bit fiddly to set up at first, but does all I need, and the charts have proved themselves very useful. --Ian On 30/08/2007, Chris Lee wrote: > > Hi, > > I am new to nagios and just set up one a few days ago. I am using Nagios > to monitor the CPU, Memory usage and disk usage of the my servers. I would > like to know if Nagios is able to keep the data (ie. cpu, memory, disk usage > data) returned by the services from those hosts. I need the data because I > will use it for capacity planning and for some simple monthly reports. Can I > make use of Nagios for this purpose? > > Thanks a lot, > > - Chris Lee > > ----------------------- > The mailing list archive is found here: > http://www.nagiosexchange.org/nagios-users.34.0.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 > -------------- 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 Aug 30 14:56:14 2007 From: marc at ena.com (Marc Powell) Date: Thu, 30 Aug 2007 07:56:14 -0500 Subject: Configuring Web Interface In-Reply-To: <20070830110608.21069.qmail@f5mail12.rediffmail.com> References: <20070830110608.21069.qmail@f5mail12.rediffmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of manoj kumar > Sent: Thursday, August 30, 2007 6:06 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Configuring Web Interface > > Hi Friends, > > > > I am a newbie at nagios. I want to configure NAGIOS web interface so that > I can group several hosts in groups on navigation pane. Like the Screen > shot below. (unix-boxes, windows servers etc. as sub nodes of Service > Details, got this screen shot on http://apan.sourceforge.net/scr.html) > > Can you please give any pointers to this? I suspect the person simply edited share/side.html to manually include links to those hostgroup views. -- 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 zucker4 at web.de Thu Aug 30 15:27:34 2007 From: zucker4 at web.de (Ilya Ruprecht) Date: Thu, 30 Aug 2007 15:27:34 +0200 Subject: "notification_interval" from the "serviceescalation" is ignored? In-Reply-To: <20070830141242.5313ec36@unicorn.prima.virtual> References: <20070830141242.5313ec36@unicorn.prima.virtual> Message-ID: <20070830152734.2f96a3ac@unicorn.prima.virtual> Hi all again! I installed Nagios 3.0b2 and tested the serviceescalations with it - with the same result: "notification_interval" is ignored if i enter a value another then "0"(zero). If i enter a zero - or even nothing - then i see in the webgui - "Notify Only Once (No Re-notification)" in the "Notification Interval"-column for these hosts. Even if I enter an clearly nonsense, like "jsdfjfsdakjl" - the value is ignored and the "pre-flight-check" dont brings an error. It's a BUG! Isn't it? Ilya ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From radius.god at gmail.com Thu Aug 30 15:33:19 2007 From: radius.god at gmail.com (radius.god at gmail.com) Date: Thu, 30 Aug 2007 09:33:19 -0400 Subject: NSCA & log_passive_checks=0 Message-ID: <2ca913110708300633m2a105034qfa9e50b94ec9e8cd@mail.gmail.com> Greetings, With 2.9. If I set log_passive_checks=0, the system stops processing passive service checks submitted via NSCA. Even though accept_passive_service_checks=1 is set. Passive host checks via NSCA still work, and are logged. I've tested on multiple systems, OS/arch, etc. Same result, Nagios starts sending alerts for the passive services when the freshness threshold is reached. Am I missing something else? Maybe a Bug? 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 digolinopage at yahoo.com.br Thu Aug 30 15:58:40 2007 From: digolinopage at yahoo.com.br (Rodrigo Tavares) Date: Thu, 30 Aug 2007 10:58:40 -0300 (ART) Subject: Nagios send e-mails Message-ID: <469918.55076.qm@web56307.mail.re3.yahoo.com> Hello, Can nagios send e-mail ? When one service is down, for example. My version is 1.4 []'s Rodrigo Faria Flickr agora em portugu?s. Voc? clica, todo mundo v?. http://www.flickr.com.br/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 30 16:14:24 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 30 Aug 2007 15:14:24 +0100 Subject: Nagios send e-mails In-Reply-To: <469918.55076.qm@web56307.mail.re3.yahoo.com> References: <469918.55076.qm@web56307.mail.re3.yahoo.com> Message-ID: <46D6D0C0.7010204@googlemail.com> yes it can, check out misccommands.cfg or the nagios docs for notify-by-email. by the way, 1.4 is old, I recommend you get a more modern 2.x nagios installed. -h Hari Sekhon Rodrigo Tavares wrote: > Hello, > > Can nagios send e-mail ? > > When one service is down, for example. > > My version is 1.4 > > []'s > > Rodrigo Faria > > > Flickr agora em portugu?s. Voc? clica, todo mundo v?. > http://www.flickr.com.br/ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Aug 30 16:32:59 2007 From: marc at ena.com (Marc Powell) Date: Thu, 30 Aug 2007 09:32:59 -0500 Subject: Configuring Web Interface Message-ID: Alternately, it could have been this. I couldn't locate an archive link that contained the perl cgi so I'm forwarding the original. -- > -----Original Message----- > From: Kelvin Wu [mailto:kelvin.wu at gmail.com] > Sent: Tuesday, August 17, 2004 9:38 PM > To: Nagios > Subject: Re: [Nagios-users] Customizing Side Menu Page > > i wrote one for myself. > > copy attached hostgroups.cgi to nagios/sbin/ folder, u may want to > modify the path/url inside this script. > > open side.html, under 'Service Detail' table row, add: > > > > > >
    > > > > refresh left frame. > > > On Tue, 17 Aug 2004 09:54:42 -0700, Naman Latif > wrote: > > Hi All, > > I remember there was a posting some time back regarding "customizing > > side menus"(i.e. side.html). I can't seem to find it in the archives. > > > > E.g. Clicking on "Status Overview" will open a "Sub-menu List" with > > different "Host Groups" listed etc, which makes it easier to browse. > > > > Can someone help\guide me in that direction ? > > > > Thanks \\ Naman > > -------------- next part -------------- A non-text attachment was scrubbed... Name: hostgroups.cgi Type: application/octet-stream Size: 1254 bytes Desc: hostgroups.cgi 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 dario.bestetti at opservices.com.br Thu Aug 30 16:57:09 2007 From: dario.bestetti at opservices.com.br (Dario B. Bestetti) Date: Thu, 30 Aug 2007 11:57:09 -0300 Subject: RES: Status Map / NOC Screens In-Reply-To: <9D30659ABCA7FB428CF91E386C3A57448E100F@hermes.sapphire-int.gi> References: <9D30659ABCA7FB428CF91E386C3A57448E100F@hermes.sapphire-int.gi> Message-ID: <21183.5880335004$1188485869@news.gmane.org> Giles, try this project: http://nexsm.sourceforge.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 Giles Coochey Enviada em: quinta-feira, 30 de agosto de 2007 04:38 Para: nagios-users at lists.sourceforge.net Assunto: [Nagios-users] Status Map / NOC Screens Hello List, I?ve had a bit of a google and look through the archives, and haven?t found much that will help me on this, so I thought I?d put something to the list: I?m currently working on user co-ordinates for the status map. It?s an annoying and fidgety task to get everything positioned correctly. I did come across a Linux tool which seemed to be able to help, but unfortunately it required a UNIX GUI, which I don?t have access to. So, what techniques and tools have you used in design and positioning of items on the statusmap? I?m currently resorting to using Visio to move text boxes around, each representing a host on the statusmap - having set the page size to around the resolution that will be used in our NOC, but it?s still quite a fiddle and I still have to manually go through my configuration files entering the appropriate co-ordinates. Another issue is that Visio?s origin is on the bottom right of the screen, while Nagios?s origin is on the top right of the screen, meaning that the status map is inverted vertically when put into Nagios from Visio (not a huge problem). I am intending to use the link: http://nagioshost/nagios/cgi-bin/statusmap.cgi?createimage on a full screen browser Window (like Kiosk-Mode) for our NOC, it looks like I will have to embed this to get the page to refresh, plus it also seems that the background will need some work to make it look nice, it would be good to hear if anyone has had experience down this route as well and has any advice, or alternatives to suggest? We will also have the tactical overview in the NOC (which is probably more useful than the map, but we have a need for pretty pictures as well ?). Thanks in advance for any feedback and advice! Best regards Giles Coochey ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 syd at ittagteam.com Thu Aug 30 17:08:52 2007 From: syd at ittagteam.com (Syd Alsobrook) Date: Thu, 30 Aug 2007 11:08:52 -0400 Subject: integrate a wiki with nagios? In-Reply-To: <57573D714A832C43B9D80EAFBDA48D03057BDFAB@inex3.herffjones.hj-int> References: <57573D714A832C43B9D80EAFBDA48D03057BDFA2@inex3.herffjones.hj-int> <0453C47DBC95F54397BF4D8FC846A699573BC1@W-IT-VIREXC02.mybpc.net> <57573D714A832C43B9D80EAFBDA48D03057BDFAB@inex3.herffjones.hj-int> Message-ID: <200708301108.53127.syd@ittagteam.com> On Wednesday 29 August 2007 11:26, Furnish, Trever G wrote: > Have you tied nagios pages into this at all? ?Do you see any problems > with the idea that might be showstoppers? I am doing this but in the reverse. I am using twiki and I have a custom php stub that I include in the page that does a query pulling data from the NDOUtils database. And since Nagios is configed with lowercase short host aliases and twiki use WikiSyntax I wrote a php url converter to take the wiki page name and convert it to links and includes that map to Munin and Nagios. In Nagios you could use a custom variable to hold the service and host wiki page names and use a group based extended info object to point to the wiki page. Syd -- Syd Alsobrook IT Tag Team, Inc. 518-598-6025 http://www.ittagteam.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 Thu Aug 30 17:18:40 2007 From: ae at op5.se (Andreas Ericsson) Date: Thu, 30 Aug 2007 17:18:40 +0200 Subject: "notification_interval" from the "serviceescalation" is ignored? In-Reply-To: <20070830152734.2f96a3ac@unicorn.prima.virtual> References: <20070830141242.5313ec36@unicorn.prima.virtual> <20070830152734.2f96a3ac@unicorn.prima.virtual> Message-ID: <46D6DFD0.8000607@op5.se> Ilya Ruprecht wrote: > Hi all again! > > I installed Nagios 3.0b2 and tested the serviceescalations with it - with > the same result: > > "notification_interval" is ignored if i enter a value another then "0"(zero). > If i enter a zero - or even nothing - then i see in the webgui - > "Notify Only Once (No Re-notification)" in the "Notification Interval"-column for > these hosts. > Even if I enter an clearly nonsense, like "jsdfjfsdakjl" - the value is ignored and > the "pre-flight-check" dont brings an error. > > > It's a BUG! Isn't it? > It certainly appears to be, yes. -- 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 syd at ittagteam.com Thu Aug 30 17:47:01 2007 From: syd at ittagteam.com (Syd Alsobrook) Date: Thu, 30 Aug 2007 11:47:01 -0400 Subject: integrate a wiki with nagios? In-Reply-To: <46D5E311.1000603@op5.se> References: <57573D714A832C43B9D80EAFBDA48D03057BDFA2@inex3.herffjones.hj-int> <0453C47DBC95F54397BF4D8FC846A699573D8A@W-IT-VIREXC02.mybpc.net> <46D5E311.1000603@op5.se> Message-ID: <200708301147.01521.syd@ittagteam.com> On Wednesday 29 August 2007 17:20, Andreas Ericsson wrote: > Woodgate, Douglas wrote: > > ?Another > > thing that may make it more dynamic would be if you could embed the > > $HOSTALIAS$ macro into the URL, then create a wiki page for each host > > with that hosts Alias as its name, but I'm not sure if notes_url would > > support that macro. > > It does. I just tried this with a custom macro and it is not working. Syd -- Syd Alsobrook IT Tag Team, Inc. 518-598-6025 http://www.ittagteam.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 tu.bijit at gmail.com Thu Aug 30 18:05:52 2007 From: tu.bijit at gmail.com (Bijit) Date: Thu, 30 Aug 2007 21:35:52 +0530 Subject: help -- Unable to configure check_mysqld.pl Message-ID: <9cde5c720708300905t32b586d5k5040066637fa8efd@mail.gmail.com> Hi All, I have installed nagios-2.9 and nagios-plugins-1.4.9 on a RHEL 5 system. For monitoring MySql, I downloaded check_mysqld.pl and i kept it under the directory /usr/local/nagios/libexec/ I modified the following parameters in check_mysqld.pl file to my need; my $HOSTNAME= 'localhost'; my $PORT= 3306; my $DATABASE= 'test'; my $USERNAME= 'username'; my $PASSWORD= 'password'; After that, in the file commands.cfg I added the command for mysqld as define command{ command_name check_mysqld command_line $USER1$/check_mysqld.pl -H $HOSTADDRESS$ -u $ARG1$ -p $ARG2$ } Then, in the file localhost.cfg, I added the service for mysqld as define service { use local-service host_name localhost service_description MYSQLD check_command check_mysqld } Then I restart nagios..... Nagios starts without any error. But when I access nagios from the web interface http://localhost/nagios/ The services section shows MYSQLD is critical. Why is it so? I guess I have missed something while configuring the check_mysqld.pl plugin. Please be informed, when i try checking the mysqld service from the command prompt using the plugin, it works well... following is the output of the same; [root at RHEL5 libexec]# ./check_mysqld.pl MYSQL 5.0.22 OK Please help!!! I need the web interface of Nagios to work as well.... With Regards, -- Bijit -------------- 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 Aug 30 18:28:57 2007 From: marc at ena.com (Marc Powell) Date: Thu, 30 Aug 2007 11:28:57 -0500 Subject: help -- Unable to configure check_mysqld.pl In-Reply-To: <9cde5c720708300905t32b586d5k5040066637fa8efd@mail.gmail.com> References: <9cde5c720708300905t32b586d5k5040066637fa8efd@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 Bijit > Sent: Thursday, August 30, 2007 11:06 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] help -- Unable to configure check_mysqld.pl > > > Hi All, > > I have installed nagios-2.9 and nagios-plugins-1.4.9 on a RHEL 5 system. > For monitoring MySql, I downloaded check_mysqld.pl and i kept it under the > directory /usr/local/nagios/libexec/ > > The services section shows MYSQLD is critical. Why is it so? I guess I Nagios tells you why in the Status Information field usually. If it doesn't, that's a hint that the plugin is likely generating execution errors. > have missed something while configuring the check_mysqld.pl plugin. > Please be informed, when i try checking the mysqld service from the > command prompt using the plugin, it works well... following is the output > of the same; > > [root at RHEL5 libexec]# ./check_mysqld.pl > MYSQL 5.0.22 OK Testing as the root user is bad. Always test as the nagios user since that's the user the plugin will be run as and certainly has fewer privileges than root. Also test the plugin exactly as you have it defined. If you do so, you'll see that nagios is trying to run -- /path/to/libexec/check_myslqd.pl -H -u -p You don't define $ARG1$ or $ARG2$ as part of the service check_command, so they have null values when the plugin is called. I'll bet it doesn't like that and complains loudly. If that's the case, either define the values or remove the flags from the command definition. -- 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 sean at datafly.net Thu Aug 30 18:40:04 2007 From: sean at datafly.net (Sean Schertell) Date: Thu, 30 Aug 2007 09:40:04 -0700 Subject: Missing check_dns plugin Message-ID: <4249B374-B5CB-4FEB-9FDD-2C264C984B7D@datafly.net> For some reason, a fresh compile of nagios-plugins-1.4.9 results in no check_dns plugin to be found in my nagios/libexec directory. I saw some advice on the list archives suggesting running ./configure again and looking for output that might indicate why check_dns is being skipped. I did that, but there are no clues in there. I can see that some other plugins won't be compiled such as check_ldap -- but nothing about check_dns. I even grep'ed all the output and there are zero matches for check_dns. Where'd it go? How do I get it? :-) Sean :::: DataFly.Net :::: Complete Web Services http://www.datafly.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 marc at ena.com Thu Aug 30 18:54:16 2007 From: marc at ena.com (Marc Powell) Date: Thu, 30 Aug 2007 11:54:16 -0500 Subject: Missing check_dns plugin In-Reply-To: <4249B374-B5CB-4FEB-9FDD-2C264C984B7D@datafly.net> References: <4249B374-B5CB-4FEB-9FDD-2C264C984B7D@datafly.net> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sean Schertell > Sent: Thursday, August 30, 2007 11:40 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Missing check_dns plugin > > For some reason, a fresh compile of nagios-plugins-1.4.9 results in > no check_dns plugin to be found in my nagios/libexec directory. > > I saw some advice on the list archives suggesting running ./configure > again and looking for output that might indicate why check_dns is > being skipped. I did that, but there are no clues in there. > > I can see that some other plugins won't be compiled such as > check_ldap -- but nothing about check_dns. I even grep'ed all the > output and there are zero matches for check_dns. This is one of those plugins as well. Configure would complain about nslookup as check_dns is just a wrapper to that command. There are a few failure situations during configure ranging from nslookup not being found or the nslookup command line syntax not being recognized. You might need to pass --with-nslookup-command=PATH to configure if it's installed in a non-standard location. If the nslookup command syntax isn't recognized the plugins guys would probably be interested in your os version and nslookup version at the least. -- 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 Aug 30 20:19:23 2007 From: patrickm at garlic.com (Patrick M.) Date: Thu, 30 Aug 2007 11:19:23 -0700 Subject: Critical Plugin Timed Out Message-ID: <46D70A2B.5070402@garlic.com> Hi all, I've been running Nagios 2.6 for about 6 months now, and every now and then we get critical pages about a machine being down, or at least Nagios can't connect to it. It causes the CEO to freak out and believe something is up with our network. To me, it seems like the box is getting stressed out during the tests and is causing the plugins to time out. Here's some of the alerts from this morning: ####################################### [08-30-2007 09:24:10] HOST ALERT: tu.xyz.com;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical [08-30-2007 09:24:00] SERVICE ALERT: seismo.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:24:00] SERVICE ALERT: p.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - popen timeout received, but no child process Service Critical[08-30-2007 09:24:00] SERVICE ALERT: ap.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - popen timeout received, but no child process Service Critical[08-30-2007 09:24:00] SERVICE ALERT: cry.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:24:00] SERVICE ALERT: wns.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:24:00] SERVICE ALERT: qke.xyz.com;/work;CRITICAL;SOFT;1;CHECK_NRPE: Socket timeout after 10 seconds. Service Critical[08-30-2007 09:24:00] SERVICE ALERT: hl-hayes-br.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - popen timeout received, but no child process Service Critical[08-30-2007 09:24:00] SERVICE ALERT: pl.xyz.com;SMTP;CRITICAL;SOFT;1;CRITICAL - Socket timeout after 10 seconds Service Critical[08-30-2007 09:24:00] SERVICE ALERT: qke.xyz.com;/home2;CRITICAL;SOFT;1;CHECK_NRPE: Socket timeout after 10 seconds. Service Critical[08-30-2007 09:24:00] SERVICE ALERT: qke.xyz.com;/;CRITICAL;SOFT;1;CHECK_NRPE: Socket timeout after 10 seconds. Service Critical[08-30-2007 09:24:00] SERVICE ALERT: o.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - popen timeout received, but no child process Service Critical[08-30-2007 09:24:00] SERVICE ALERT: o.xyz.com;SSH;CRITICAL;SOFT;1;CRITICAL - Socket timeout after 10 seconds Service Critical[08-30-2007 09:24:00] SERVICE ALERT: o.xyz.com;DNS;CRITICAL;SOFT;1;CRITICAL - Plugin timed out while executing system call Service Critical[08-30-2007 09:23:41] SERVICE ALERT: sgull.xyz.com;PING;CRITICAL;HARD;3;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: hister.xyz.com;PING;CRITICAL;HARD;3;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: hs1.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: nbridged.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: h1.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: dfied-1.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: pes.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: ruits.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: nge-routed.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: eng-1.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: pe.xyz.com;FTP;CRITICAL;SOFT;1;CRITICAL - Socket timeout after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: g1.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: gb1.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: jith.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Warning[08-30-2007 09:23:40] SERVICE ALERT: pule.xyz.com;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 44%, RTA = 3.64 ms Service Critical[08-30-2007 09:23:40] SERVICE ALERT: gd2.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: hx1.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: g2.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: eo.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Host Up[08-30-2007 09:23:40] HOST ALERT: e.xyz.com;UP;SOFT;3;PING OK - Packet loss = 0%, RTA = 4.58 ms Host Down[08-30-2007 09:23:40] HOST ALERT: e.xyz.com;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Host Down[08-30-2007 09:23:20] HOST ALERT: e.xyz.com;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:10] SERVICE ALERT: cr.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:02] SERVICE ALERT: wm.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:00] SERVICE ALERT: t.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:22:52] SERVICE ALERT: smo.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds ####################################### The machine is a p4 2.4 ghz with 1gb ram. I'm not sure how to troubleshoot this - any ideas? What can I provide you folks in order to help me out? 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 huenseler at twt.de Thu Aug 30 20:22:26 2007 From: huenseler at twt.de (Dennis Huenseler) Date: Thu, 30 Aug 2007 20:22:26 +0200 Subject: Critical Plugin Timed Out References: <46D70A2B.5070402@garlic.com> Message-ID: <8A793F1AC3ED7447B580082FCF608CF9DD93E8@twtexchange1.twt.intern> Hi Patrick, if you think there is a problem with the machine running nagios i would monitor localhost too :-) Or another way to get information about the performance of the Nagios-host is to get load and memory values through snmp and create load and memusage graphs with mrtg or cacti for example. That's the way I take a look @ the performance of my linux hosts Kind regards, ? Dennis H?nseler -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Patrick M. Sent: Thursday, August 30, 2007 8:19 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Critical Plugin Timed Out Hi all, I've been running Nagios 2.6 for about 6 months now, and every now and then we get critical pages about a machine being down, or at least Nagios can't connect to it. It causes the CEO to freak out and believe something is up with our network. To me, it seems like the box is getting stressed out during the tests and is causing the plugins to time out. Here's some of the alerts from this morning: ####################################### [08-30-2007 09:24:10] HOST ALERT: tu.xyz.com;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical [08-30-2007 09:24:00] SERVICE ALERT: seismo.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:24:00] SERVICE ALERT: p.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - popen timeout received, but no child process Service Critical[08-30-2007 09:24:00] SERVICE ALERT: ap.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - popen timeout received, but no child process Service Critical[08-30-2007 09:24:00] SERVICE ALERT: cry.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:24:00] SERVICE ALERT: wns.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:24:00] SERVICE ALERT: qke.xyz.com;/work;CRITICAL;SOFT;1;CHECK_NRPE: Socket timeout after 10 seconds. Service Critical[08-30-2007 09:24:00] SERVICE ALERT: hl-hayes-br.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - popen timeout received, but no child process Service Critical[08-30-2007 09:24:00] SERVICE ALERT: pl.xyz.com;SMTP;CRITICAL;SOFT;1;CRITICAL - Socket timeout after 10 seconds Service Critical[08-30-2007 09:24:00] SERVICE ALERT: qke.xyz.com;/home2;CRITICAL;SOFT;1;CHECK_NRPE: Socket timeout after 10 seconds. Service Critical[08-30-2007 09:24:00] SERVICE ALERT: qke.xyz.com;/;CRITICAL;SOFT;1;CHECK_NRPE: Socket timeout after 10 seconds. Service Critical[08-30-2007 09:24:00] SERVICE ALERT: o.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - popen timeout received, but no child process Service Critical[08-30-2007 09:24:00] SERVICE ALERT: o.xyz.com;SSH;CRITICAL;SOFT;1;CRITICAL - Socket timeout after 10 seconds Service Critical[08-30-2007 09:24:00] SERVICE ALERT: o.xyz.com;DNS;CRITICAL;SOFT;1;CRITICAL - Plugin timed out while executing system call Service Critical[08-30-2007 09:23:41] SERVICE ALERT: sgull.xyz.com;PING;CRITICAL;HARD;3;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: hister.xyz.com;PING;CRITICAL;HARD;3;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: hs1.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: nbridged.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: h1.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: dfied-1.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: pes.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: ruits.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: nge-routed.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: eng-1.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: pe.xyz.com;FTP;CRITICAL;SOFT;1;CRITICAL - Socket timeout after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: g1.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: gb1.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: jith.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Warning[08-30-2007 09:23:40] SERVICE ALERT: pule.xyz.com;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 44%, RTA = 3.64 ms Service Critical[08-30-2007 09:23:40] SERVICE ALERT: gd2.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: hx1.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: g2.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: eo.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Host Up[08-30-2007 09:23:40] HOST ALERT: e.xyz.com;UP;SOFT;3;PING OK - Packet loss = 0%, RTA = 4.58 ms Host Down[08-30-2007 09:23:40] HOST ALERT: e.xyz.com;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Host Down[08-30-2007 09:23:20] HOST ALERT: e.xyz.com;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:10] SERVICE ALERT: cr.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:02] SERVICE ALERT: wm.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:00] SERVICE ALERT: t.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:22:52] SERVICE ALERT: smo.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds ####################################### The machine is a p4 2.4 ghz with 1gb ram. I'm not sure how to troubleshoot this - any ideas? What can I provide you folks in order to help me out? 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 rfmohr at osc.edu Thu Aug 30 20:43:30 2007 From: rfmohr at osc.edu (Richard Mohr) Date: Thu, 30 Aug 2007 14:43:30 -0400 Subject: "notification_interval" from the "serviceescalation" is ignored? In-Reply-To: <20070830141242.5313ec36@unicorn.prima.virtual> References: <20070830141242.5313ec36@unicorn.prima.virtual> Message-ID: <1188499410.4542.25.camel@squeak> On Thu, 2007-08-30 at 14:12 +0200, Ilya Ruprecht wrote: > Furthermore, the "notification_interval" in the service-part is described as "Re-notify about service problems every XXX". > Note: "about service problems". > Now, if i set the notification_interval to a lower value then a "normal_check_interval", i.e. "9", i get following warning-message > at nagios pre-flight-check: [snip] > But, hell, what the "normal_check_interval" have to do with "notification_interval"?! > These two are completely different things! Or have i misunderstood something? Perhaps this will help clear things up. The "notification_interval" option sets an upper limit on how often notifications are sent. The "normal_check_interval" options controls how often the check is run. If notification_interval=10 and normal_check_interval=5, you can get a situation like this one (I'll use t=XX to try and convey the timeline when events occur). [t=0] Check runs. [t=0] Check fails. [t=0] Nagios sends notification. [t=5] Check runs [t=5] Check fails [t=5] Time since last notifications is 5 which is less than notification_interval=10. Nagios prevents notification. [t=10] Check runs. [t=10] Check fails. [t=10] Time since last notification is 10 which is greater than or equal to notification_interval=10. Nagios sends notification. However if notification_interval=5 and normal_check_interval=10, you get this. [t=0] Check runs. [t=0] Check fails. [t=0] Nagios sends notification. [t=10] Check runs. [t=10] Check fails. [t=10] Time since last notification is 10 which is greater than or equal to notification_interval=10. Nagios sends notification. Nagios only sends notifications immediately after a check (it won't resend an old value). So if normal_check_interval >= notification_interval, you effectively have notification_interval = normal_check_interval. That is why Nagios prints the warning message: "Warning: Service 'SSH' on host 'vpn-gw1-local' has a notification interval less than its check interval! Notifications are only re-sent after checks are made, so the effective notification interval will be that of the check interval." That seems to be what is happening in your case. -- Rick Mohr Systems Developer Ohio Supercomputer Center ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jkramme at crownpack.com Thu Aug 30 20:43:36 2007 From: jkramme at crownpack.com (John Kramme) Date: Thu, 30 Aug 2007 13:43:36 -0500 Subject: Critical Plugin Timed Out In-Reply-To: <8A793F1AC3ED7447B580082FCF608CF9DD93E8@twtexchange1.twt.intern> References: <46D70A2B.5070402@garlic.com> <8A793F1AC3ED7447B580082FCF608CF9DD93E8@twtexchange1.twt.intern> Message-ID: <64077F19C0D1AE4087B34935CE93C98407715035@cpserver12.crownpack.net> I am just glad that we don't have to send up/down messages to our CEO.... He would think we can't keep anything running.... (or paper/toner loaded in a printer) :) -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dennis Huenseler Sent: Thursday, August 30, 2007 1:22 PM To: Patrick M.; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Critical Plugin Timed Out Hi Patrick, if you think there is a problem with the machine running nagios i would monitor localhost too :-) Or another way to get information about the performance of the Nagios-host is to get load and memory values through snmp and create load and memusage graphs with mrtg or cacti for example. That's the way I take a look @ the performance of my linux hosts Kind regards, ? Dennis H?nseler -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Patrick M. Sent: Thursday, August 30, 2007 8:19 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Critical Plugin Timed Out Hi all, I've been running Nagios 2.6 for about 6 months now, and every now and then we get critical pages about a machine being down, or at least Nagios can't connect to it. It causes the CEO to freak out and believe something is up with our network. To me, it seems like the box is getting stressed out during the tests and is causing the plugins to time out. Here's some of the alerts from this morning: ####################################### [08-30-2007 09:24:10] HOST ALERT: tu.xyz.com;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical [08-30-2007 09:24:00] SERVICE ALERT: seismo.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:24:00] SERVICE ALERT: p.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - popen timeout received, but no child process Service Critical[08-30-2007 09:24:00] SERVICE ALERT: ap.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - popen timeout received, but no child process Service Critical[08-30-2007 09:24:00] SERVICE ALERT: cry.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:24:00] SERVICE ALERT: wns.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:24:00] SERVICE ALERT: qke.xyz.com;/work;CRITICAL;SOFT;1;CHECK_NRPE: Socket timeout after 10 seconds. Service Critical[08-30-2007 09:24:00] SERVICE ALERT: hl-hayes-br.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - popen timeout received, but no child process Service Critical[08-30-2007 09:24:00] SERVICE ALERT: pl.xyz.com;SMTP;CRITICAL;SOFT;1;CRITICAL - Socket timeout after 10 seconds Service Critical[08-30-2007 09:24:00] SERVICE ALERT: qke.xyz.com;/home2;CRITICAL;SOFT;1;CHECK_NRPE: Socket timeout after 10 seconds. Service Critical[08-30-2007 09:24:00] SERVICE ALERT: qke.xyz.com;/;CRITICAL;SOFT;1;CHECK_NRPE: Socket timeout after 10 seconds. Service Critical[08-30-2007 09:24:00] SERVICE ALERT: o.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - popen timeout received, but no child process Service Critical[08-30-2007 09:24:00] SERVICE ALERT: o.xyz.com;SSH;CRITICAL;SOFT;1;CRITICAL - Socket timeout after 10 seconds Service Critical[08-30-2007 09:24:00] SERVICE ALERT: o.xyz.com;DNS;CRITICAL;SOFT;1;CRITICAL - Plugin timed out while executing system call Service Critical[08-30-2007 09:23:41] SERVICE ALERT: sgull.xyz.com;PING;CRITICAL;HARD;3;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: hister.xyz.com;PING;CRITICAL;HARD;3;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: hs1.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: nbridged.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: h1.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: dfied-1.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: pes.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: ruits.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: nge-routed.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: eng-1.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: pe.xyz.com;FTP;CRITICAL;SOFT;1;CRITICAL - Socket timeout after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: g1.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: gb1.xyz.com;PING;CRITICAL;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: jith.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Warning[08-30-2007 09:23:40] SERVICE ALERT: pule.xyz.com;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 44%, RTA = 3.64 ms Service Critical[08-30-2007 09:23:40] SERVICE ALERT: gd2.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: hx1.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: g2.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:40] SERVICE ALERT: eo.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Host Up[08-30-2007 09:23:40] HOST ALERT: e.xyz.com;UP;SOFT;3;PING OK - Packet loss = 0%, RTA = 4.58 ms Host Down[08-30-2007 09:23:40] HOST ALERT: e.xyz.com;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Host Down[08-30-2007 09:23:20] HOST ALERT: e.xyz.com;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:10] SERVICE ALERT: cr.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:02] SERVICE ALERT: wm.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:23:00] SERVICE ALERT: t.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Service Critical[08-30-2007 09:22:52] SERVICE ALERT: smo.xyz.com;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds ####################################### The machine is a p4 2.4 ghz with 1gb ram. I'm not sure how to troubleshoot this - any ideas? What can I provide you folks in order to help me out? 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtownrobbrown at gmail.com Thu Aug 30 21:25:12 2007 From: dtownrobbrown at gmail.com (Rob Brown) Date: Thu, 30 Aug 2007 12:25:12 -0700 Subject: Distributed config admin tool? Message-ID: Are there any configuration admin tools out there that are multi-site aware to be able to manage a distributed nagios setup (multiple sites/servers)? I am in the planning stages of expanding from a single pair (failover) to distributed servers and am looking for a tool to help manage the configs. How are you admins with distributed sites managing them? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 30 21:38:55 2007 From: marc at ena.com (Marc Powell) Date: Thu, 30 Aug 2007 14:38:55 -0500 Subject: Distributed config admin tool? 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 Rob Brown > Sent: Thursday, August 30, 2007 2:25 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Distributed config admin tool? > > How are you admins with distributed sites managing them? Rsync over ssh has worked great here for ~6 years. 1 master machine, 6 distributed config receivers. Configs are updated hourly. -- 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 RLAdams at AdamsInfoServ.Com Thu Aug 30 21:46:43 2007 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Thu, 30 Aug 2007 14:46:43 -0500 Subject: Distributed config admin tool? In-Reply-To: References: Message-ID: <20070830194643.GA9924@odin.demosthenes.org> Have a peek at NACE. I've been curious to see someone use it to generate configurations for a central server from passive checks in a distributed environment. Russell On Thu, Aug 30, 2007 at 02:38:55PM -0500, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Rob Brown > > Sent: Thursday, August 30, 2007 2:25 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Distributed config admin tool? > > > > > > How are you admins with distributed sites managing them? > > Rsync over ssh has worked great here for ~6 years. 1 master machine, 6 > distributed config receivers. Configs are updated hourly. > > -- > 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 ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Aug 30 22:11:57 2007 From: bill.omer at gmail.com (Bill Omer) Date: Thu, 30 Aug 2007 16:11:57 -0400 Subject: Distributed config admin tool? In-Reply-To: References: Message-ID: <3ec83c030708301311p56c9d55u45931f712daf1dcd@mail.gmail.com> On 8/30/07, Rob Brown wrote: > Are there any configuration admin tools out there that are multi-site > aware to be able to manage a distributed nagios setup (multiple > sites/servers)? > I am in the planning stages of expanding from a single pair (failover) > to distributed servers and am looking for a tool to help manage the > configs. > How are you admins with distributed sites managing them? You may want to take a look at cfengine. It's pretty robust, and can support much more than just nagios configs. -Bill ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtownrobbrown at gmail.com Thu Aug 30 23:55:28 2007 From: dtownrobbrown at gmail.com (Rob Brown) Date: Thu, 30 Aug 2007 14:55:28 -0700 Subject: Distributed config admin tool? In-Reply-To: <3ec83c030708301311p56c9d55u45931f712daf1dcd@mail.gmail.com> References: <3ec83c030708301311p56c9d55u45931f712daf1dcd@mail.gmail.com> Message-ID: Thanks, Bill. We currently use cfengine for other stuff in our environment so I am pretty familiar with it. And while I agree it could probably do the job, it would be quite complex to set up from scratch. We actually already have a homegrown app we use to manage the configs but it will need to be altered significantly to be multi-site aware. I'd like to be able to add a host to the master site and associate it with a remote site, having the tool spit out the config with a passive check on the master and active on the remote server avoiding duplication of effort. Anyone using OpsView? (http://opsview.org/node/10) Sounds like it has this capability: "With Opsview, one of the big features is the simple distributed monitoring - you just select a drop down to associate a host with a slave server and then when you hit the Opsview reload button, all the Nagios configurations are generated as you'd expect (slaves monitoring, master with freshness checking, automatic distribution to slaves, synchronized reloading). It works amazingly well." Looks like i'll be checking out their vm appliance for some ideas. On 8/30/07, Bill Omer wrote: > On 8/30/07, Rob Brown wrote: > > Are there any configuration admin tools out there that are multi-site > > aware to be able to manage a distributed nagios setup (multiple > > sites/servers)? > > I am in the planning stages of expanding from a single pair (failover) > > to distributed servers and am looking for a tool to help manage the > > configs. > > How are you admins with distributed sites managing them? > > > You may want to take a look at cfengine. It's pretty robust, and can > support much more than just nagios configs. > > -Bill > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From clee.hk at gmail.com Fri Aug 31 04:40:45 2007 From: clee.hk at gmail.com (Chris Lee) Date: Fri, 31 Aug 2007 04:40:45 +0200 (CEST) Subject: Can Nagios keep the data returned from the services? In-Reply-To: <20070830064347.B2A4C580071@desire.netways.de> References: <20070830064347.B2A4C580071@desire.netways.de> Message-ID: <20070831024045.15FD8580071@desire.netways.de> Hi All, Thank you very much for giving me the useful information. I think these are the parameters that I need :) process_performance_data host_perfdata_file service_perfdata_file host_perfdata_template service_perdata_template host_perfdata_file_processing_command service_perfdata_file_processing_command host_perfdata_command service_perfdata_command Best Regards, -- Chris ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=3937 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Fri Aug 31 05:59:31 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 30 Aug 2007 23:59:31 -0400 Subject: Can Nagios keep the data returned from the services? In-Reply-To: <20070831024045.15FD8580071@desire.netways.de> References: <20070830064347.B2A4C580071@desire.netways.de> <20070831024045.15FD8580071@desire.netways.de> Message-ID: <46D79223.4070106@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 30/08/07 10:40 PM, Chris Lee wrote: > Hi All, > > Thank you very much for giving me the useful information. I think these are the parameters that I need :) > > process_performance_data > host_perfdata_file > service_perfdata_file > host_perfdata_template > service_perdata_template > host_perfdata_file_processing_command > service_perfdata_file_processing_command > host_perfdata_command > service_perfdata_command You're missing: host_perfdata_file_processing_interval service_perfdata_file_processing_interval You will not need all of them. There are two ways of doing it. You can either have nagios run a command after each check (The perfdata is passed on the command line) or have Nagios write to a file (which can be a pipe as well). Among the parameters you mentioned some of them are for a perfdata command while others are for a perfdata file. If you choose to write to a file, you can optionally have nagios run a command every *_perfdata_file_processing_interval to process the file (Nagios will reopen the file once the command terminate, so the best way to do it is to move the file away, fork and then process it). Note that running a command on each check will become a bottleneck soon enough if you're doing a lot of checks, so writing to a file or pipe is preferred. If you have good Perl knowledge you should take a look at my OCP_Daemon which could be a good starting point if you want to write your own daemon to process the data: http://www.nagioscommunity.org/wiki/index.php/OCP_Daemon Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG15Ij6dZ+Kt5BchYRAhRHAJ4/GMzfuFtKn6NT+cyKldiZAHU/ZgCffDRQ XSzI7O3kPlEdS8d5HfhEvhk= =lWCt -----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 iter_manojkumar at rediffmail.com Fri Aug 31 06:04:54 2007 From: iter_manojkumar at rediffmail.com (manoj kumar) Date: 31 Aug 2007 04:04:54 -0000 Subject: Configuring Web Interface? Message-ID: <1188484154.S.6902.9930.f5mail3.rediffmail.com.old.1188533094.11943@webmail.rediffmail.com> Hi Jacques,I already done the basic configuration and I am able to see the status of hosts also.I have just configured check_ping as of now.As of now When I click \"Service Detail\" it gives me all the hosts status on the left side pane.I want to configure the NAGIOS web interface so that I can group different hosts as the Sub Menu to \"Service Detail\" Menu.The Right side Menu should display something like -   o Service Detail        o Unix Systems        o Windows Servers        o WAN linksSome thing like the attached image.How can we achieve that?Thanks and Regards,Manoj -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios.JPG Type: image/jpeg Size: 16741 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 iter_manojkumar at rediffmail.com Fri Aug 31 06:20:30 2007 From: iter_manojkumar at rediffmail.com (manoj kumar) Date: 31 Aug 2007 04:20:30 -0000 Subject: Configuring Web Interface Message-ID: Hi Justin,I have defined hostgroups as below - # \'CHDDLF-DHCP SERVERS\' host group definitiondefine hostgroup{        hostgroup_name  CHDDLFDHCP-SERVERS        alias           CHDDLFDHCP SERVERS        contact_groups  CHDDLFNT-ADMINS        members         CHDDLFDHCP01,CHDDLFVDHC01        } # \'CHDDLF-DOMAIN CONTROLLERS\' host group definitiondefine hostgroup{        hostgroup_name  CHDDLFDOMAIN-CONTROLLERS        alias           CHDDLFDOMAIN CONTROLLERS        contact_groups  CHDDLFNT-ADMINS,CHDSEZNT-ADMINS        members         CHDDLFGDC01        } # \'Unix Servers\' host group definitiondefine hostgroup{        hostgroup_name  Unix Servers        alias           Unix Servers        contact_groups  CHDDLFUNIX-ADMINS        members         damodar,appsdba        } But the view pane just shows me \"All Hosts\" and there is no menu where I can see them in groups.Attached is the sreen shot of my nagios Web Interface (Current.JPG).I want to configure the NAGIOS web interface so that I can group different hosts as the Sub Menu to \"Service Detail\" Menu.The Right side Menu should display something like -   o Service Detail        o Unix Systems        o Windows Servers        o WAN linksSome thing like the attached image (nagios.JPG).How can we achieve that?Thanks and regards,Manoj------------------------------------------------------------------------------------------------------------------------------------ You could put them in host groups, that?s what I do.  I have a host group for each customer and then more host groups that break down to web servers, mysql servers etc for each customer.  Then you just go to the hostgroup over view page and click on one.  It will show you all the hosts and there services. in the normal status page format.   Thank you, Justin Maloney Systems Administrator Honeycomb Internet Services 612.617.0007 Manoj Kumar THE MAD MAN Never Fall in Love Always Rise in Love! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios.JPG Type: image/jpeg Size: 16741 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Current.JPG Type: image/jpeg Size: 151256 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 christian.masopust at SIEMENS.COM Fri Aug 31 06:40:55 2007 From: christian.masopust at SIEMENS.COM (Masopust, Christian) Date: Fri, 31 Aug 2007 06:40:55 +0200 Subject: Configuring Web Interface In-Reply-To: <64975B31C6249247A722D0610F4110F7322F1E@hive.officespace.honeycomb.net> References: <64975B31C6249247A722D0610F4110F7322F1E@hive.officespace.honeycomb.net> Message-ID: <60721B67EAF0994EAFFB561767B700140125DA1A@nets13ha.ww300.siemens.net> > Hi Friends, > > I am a newbie at nagios. I want to configure NAGIOS web interface so that I can group > several hosts in groups on navigation pane. Like the Screen shot below. (unix-boxes, > windows servers etc. as sub nodes of Service Details, got this screen shot on > http://apan.sourceforge.net/scr.html) > > > > Can you please give any pointers to this? > > Thanks and regards, > Manoj > > > Manoj Kumar > THE MAD MAN > Never Fall in Love Always Rise in Love! Hello Manoj, if you like a really cool customized web-interface look at: http://www.nagiosexchange.org/Image_Packs.75.0.html?&tx_netnagext_pi1[p_view]=252&tx_netnagext_pi1[page]=10%3A10 christian ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sujith.linux at gmail.com Fri Aug 31 08:08:19 2007 From: sujith.linux at gmail.com (sujith h) Date: Fri, 31 Aug 2007 11:38:19 +0530 Subject: Help for Format Message-ID: Hi , Am Sujith H. Can any one help me by sending a sample of downtime.dat file. It would be helpful for me... Cheers, Sujith Haridasan -- ?????? ??????? -------------- 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 tom.welsh at bt.com Fri Aug 31 09:29:18 2007 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Fri, 31 Aug 2007 08:29:18 +0100 Subject: Distributed config admin tool? References: <3ec83c030708301311p56c9d55u45931f712daf1dcd@mail.gmail.com> Message-ID: <6546343904687E41B19D8E5A26AB9F5331B07D@E03MVB2-UKBR.domain1.systemhost.net> Yes, I'd second cfengine. Though rsync is a simple quick fix ________________________________ From: nagios-users-bounces at lists.sourceforge.net on behalf of Bill Omer Sent: Thu 30/08/2007 21:11 To: Rob Brown Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Distributed config admin tool? On 8/30/07, Rob Brown wrote: > Are there any configuration admin tools out there that are multi-site > aware to be able to manage a distributed nagios setup (multiple > sites/servers)? > I am in the planning stages of expanding from a single pair (failover) > to distributed servers and am looking for a tool to help manage the > configs. > How are you admins with distributed sites managing them? You may want to take a look at cfengine. It's pretty robust, and can support much more than just nagios configs. -Bill ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 duncan.ferguson at altinity.com Fri Aug 31 10:05:15 2007 From: duncan.ferguson at altinity.com (Duncan Ferguson) Date: Fri, 31 Aug 2007 09:05:15 +0100 Subject: Distributed config admin tool? In-Reply-To: References: Message-ID: <470DDA45-BD4C-4459-8A98-437523F5DBC7@altinity.com> On 30 Aug 2007, at 20:25, Rob Brown wrote: > Are there any configuration admin tools out there that are multi-site > aware to be able to manage a distributed nagios setup (multiple > sites/servers)? > I am in the planning stages of expanding from a single pair (failover) > to distributed servers and am looking for a tool to help manage the > configs. > How are you admins with distributed sites managing them? > Rob, You might like to try Opsview - http://opsview.org Configuration via the web interface, easy to set up distributed monitoring with automatic failover of slaves, reload via a web page, Nagios CGIs that refresh inline (using AJAX) and a great new Hostgroup Hierarchy page to see the status of everything in a hierarchical fashion with drill down. You can get a downloadable VM, redhat RPMs or debian/ubuntu packages. 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 ton.voon at altinity.com Fri Aug 31 10:09:34 2007 From: ton.voon at altinity.com (Ton Voon) Date: Fri, 31 Aug 2007 09:09:34 +0100 Subject: Distributed config admin tool? In-Reply-To: References: <3ec83c030708301311p56c9d55u45931f712daf1dcd@mail.gmail.com> Message-ID: <04D0C76F-FB85-4AEF-B533-A84637E10C82@altinity.com> On 30 Aug 2007, at 22:55, Rob Brown wrote: > Anyone using OpsView? (http://opsview.org/node/10) Sounds like it has > this capability: > "With Opsview, one of the big features is the simple distributed > monitoring - you just select a drop down to associate a host with a > slave server and then when you hit the Opsview reload button, all the > Nagios configurations are generated as you'd expect (slaves > monitoring, master with freshness checking, automatic distribution to > slaves, synchronized reloading). It works amazingly well." We wrote it, so we use it :) We use scp to transfer the files across to slaves. The generated config is different between master and slaves, so separate tarballs are created. There's also a validation phase before we synchronise a reload on all Nagios instances. There's a little publicised feature where you can cluster your slaves together, so at configuration generation time, it will split the hosts between the clustered slaves for load balancing. if there's a failure on one slave, the other slave will take over the active checks. All for free! Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrea.gabellini at telecomitalia.sm Fri Aug 31 11:13:56 2007 From: andrea.gabellini at telecomitalia.sm (Andrea Gabellini) Date: Fri, 31 Aug 2007 11:13:56 +0200 Subject: Nagios SIGHUP problem In-Reply-To: References: Message-ID: <46D7DBD4.7090600@telecomitalia.sm> Hi, this bug is fixed in CVS. Install from it or apply the attached patch to 2.9 source. Andrea Rodney Ramos wrote: > I?m having a problem when I try to reload Nagios 2.9. When I run "kill -HUP > ", it ends up with SIGEXIT. > > In the nagios.log we have "Caught SIGEXIT, shutting down...". > > I?m running Nagios 2.9 in Solaris 9, gcc-3-4-6. > > I?ve read that this a problema in the "char *sigs[]" definition on the > nagios.c file. > > Does anyone knows how to solve this problema? > > 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 -- --------------------------------------- Smile: It's the second best thing you can do with your lips. --------------------------------------- Ing. Andrea Gabellini Email: andrea.gabellini at telecomitalia.sm Skype: andreagabellini Tel: (+378) 0549 886111 Fax: (+378) 0549 886188 Telecom Italia San Marino S.p.A. Strada degli Angariari, 3 47891 Rovereta Republic of San Marino http://www.telecomitalia.sm -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: nagios-2.9.patch.txt 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 daniel.kraus at rz.uni-augsburg.de Fri Aug 31 11:24:40 2007 From: daniel.kraus at rz.uni-augsburg.de (Daniel Kraus) Date: Fri, 31 Aug 2007 11:24:40 +0200 Subject: Nagiosgrapher graph-configuration Message-ID: <46D7DE58.8070109@rz.uni-augsburg.de> Hi to all, I use nagios 2.9 and nagiosgrapher 1.6.1rc3-2. Before i switched to nagiosgrapher i used pnp. Now i have some problems with the configuration of the graphs. I monitor the RAM usage of a server and i want nagiosgrapher to draw a line at 100% to represen the capacity of RAM. I know that this should be able with HRULE but i don't get it how to do it. Unfortunately i found no good documentation how to configure nagiosgrapher. The perf-data from the plugin looks like this: Real_Memory=363MB;2000;2028;0;2028 The last number is the capacity of the RAM. The configuration for the graph: define ngraph{ service_name Memory RAM graph_perf_regex .*=\s*([0-9]+) graph_value ram_usage graph_units MB graph_legend RAM usage rrd_plottype AREA rrd_color c0c0ff } I hope somebody can help me on this or can send a link with a documentation or a howto. Thanks, Daniel ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fanen at layer3.cc Fri Aug 31 12:08:47 2007 From: fanen at layer3.cc (Fanen Ahua) Date: Fri, 31 Aug 2007 11:08:47 +0100 Subject: ping service Message-ID: <1188554927.11907.8.camel@localhost> Hi, I recently installed and setup nagios on an ubuntu 7.04 system. I believe i have my configuration in place, and working, and i'm trying to monitor a system via ping, define service { host_name crm service_description PING check_command check_ping!100.0,20%!500.0,60% check_period 24x7 notification_interval 60 notification_options u,c contact_groups l3-admins active_checks_enabled 1 max_check_attempts 3 normal_check_interval 3 retry_check_interval 2 notifications_enabled 1 notification_period 24x7 register 1 } It monitors, whenever i schedule it explicitly. I want it to automatically run the check every few minutes. I believe that's what 'normal_check_interval' is for. Is there something i'm missing? Thanks, Fanen ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 31 13:12:26 2007 From: ae at op5.se (Andreas Ericsson) Date: Fri, 31 Aug 2007 13:12:26 +0200 Subject: Critical Plugin Timed Out In-Reply-To: <46D70A2B.5070402@garlic.com> References: <46D70A2B.5070402@garlic.com> Message-ID: <46D7F79A.1040104@op5.se> Patrick M. wrote: > Hi all, > > I've been running Nagios 2.6 for about 6 months now, and every now and > then we get critical pages about a machine being down, or at least > Nagios can't connect to it. It causes the CEO to freak out and believe > something is up with our network. > > To me, it seems like the box is getting stressed out during the tests > and is causing the plugins to time out. > > Here's some of the alerts from this morning: > > ####################################### > [08-30-2007 09:24:10] HOST ALERT: tu.xyz.com;DOWN;SOFT;1;CRITICAL - > Plugin timed out after 10 seconds > Service Warning[08-30-2007 09:23:40] SERVICE ALERT: > pule.xyz.com;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 44%, RTA = > 3.64 ms > ####################################### > Are you noticing any slowdown in normal network traffic while all this is happening? Most of the checks that have timed out are ICMP-based. Assuming you're doing some wonky QoS-stuff (windows has that stuff built in...), it's not too hard to guess that ICMP is probably right at the bottom of the priority list. > > The machine is a p4 2.4 ghz with 1gb ram. > How many checks are you running / minute? It should be capable of handling 500 - 800 / minute without any problems at all. > I'm not sure how to troubleshoot this - any ideas? Check QoS settings in the network. If it's not that, try removing half the checks and see if that solves it. If it does, you've got either a really bad network or underdimensioned hardware. If it's more checks than ICMP-based ones that are acting up and you primarily see lots of false alarms within a short (10-30 seconds) window, make sure you haven't got your network card set to auto- negotiate transfer speed and duplex. I assume you haven't set the nagios server to obtain a dhcp-address, as renewing such a one can sometimes have funny impact on montoring, but while you're at it, make sure (by triple-checking) that there's only one machine with the IP of the monitoring machine. > What can I provide > you folks in order to help me out? > Money, or evidence of having tried things on your own. Both are hard currency when asking for help in a tech-savvy forum. -- 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 risto.vaarandi at seb.ee Fri Aug 31 13:14:45 2007 From: risto.vaarandi at seb.ee (Risto Vaarandi) Date: Fri, 31 Aug 2007 14:14:45 +0300 Subject: Log monitoring with SEC and Nagios. In-Reply-To: <20070830042216.GP6166@campin.net> References: <18544FA17F881A4DBC2F41AC89E46BA9018F947A@acexp005.portfolio.base> <20070830042216.GP6166@campin.net> Message-ID: <46D7F825.1010802@seb.ee> Nate Campi wrote: > On Thu, Aug 30, 2007 at 11:11:17AM +1000, Stanley.Hopcroft at Dest.gov.au wrote: >> Dear Risto >> >> (Thank you very much for SEC, the king of event correlators). > > I also thank you, SEC saves my SA staff a lot of trouble every day. Thanks - it's good to hear that :) >>> few weeks ago I posted a question to this list about passive service >>> checks - I was actually experimenting with Nagios as an event log >>> monitoring GUI. I am tracking event logs with SEC and also >>> sending out >>> alerts with it, but I would still like to see correlated log >>> messages in >>> Nagios web interface as well. >>> >> I used to use (and enjoy) SEC to inject passive service check results >> to Nagios. > > I also do this, but it forces me to define a different check for every > thing that I might see - because if I submit a second, different bad > result (like a different system error message for a "syslog" check) > it'll overwrite the last submitted results. There are ways around this > on the SEC side if you want to keep state, but you'd probably like > people to be able to wipe events clear independently on the Nagios side > (like with a passive submission from the CGI) and not have that old > result come back. I hate to state that like it's fact when I'm at best > an intermediate Nagios admin, no expert. Am I overlooking anything here? > > You could have a feedback loop between Nagios logs and SEC that helps > detect the passive submission that clears your prior alerts, but that > seems overly complicated. If it was like a traditional NMS that just > accepts arbitrary events, then it might be more like what Risto is > looking for. > > What exactly are your needs, Risto? I'd just like to display correlated alerts in Nagios web page. Right now, I have settled for a strategy where all events come in with a CRITICAL severity, and the user has to submit a passive check by hand, in order to set the service back to OK-state. The service definition looks like follows: define service{ use generic-service hostgroup_name linux service_description Syslog is_volatile 1 active_checks_enabled 0 max_check_attempts 1 normal_check_interval 5 retry_check_interval 1 contact_groups nagios-admin check_command check_passive } I have disabled host checks altogether, so that service alerts from the Syslog delay are displayed with a minimal lag (it is now just around 5-6 seconds, while with host checks enables it was sometimes several minutes, since every submitted passive service check triggered a host check). The only thing I am missing is a way to disable host checks on a service basis - for example, the service definition could have a special parameter called 'enable_host_check' that the user can set to 0. The reason I'd like to have this parameter in the future is that I have active checks for the 'linux' hostgroup as well, like define service{ use generic-service hostgroup_name linux service_description SSH max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups nagios-admin check_command check_ssh } It would be good to have host check enabled for such services, so that no service alert is generated if the host is down. However, that was just a small suggestion and not a complaint :) I'd like to thank people who are developing Nagios ;) br, risto ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 31 13:40:05 2007 From: ae at op5.se (Andreas Ericsson) Date: Fri, 31 Aug 2007 13:40:05 +0200 Subject: Help for Format In-Reply-To: References: Message-ID: <46D7FE15.9020709@op5.se> sujith h wrote: > Hi , > > Am Sujith H. Can any one help me by sending a sample of > downtime.dat file. It would be helpful for me... > Create one yourself. It's as easy as scheduling downtime in Nagios. If you were planning on inserting things in it, Nagios doesn't ever read it, so you'd gain 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 gmueller at netways.de Fri Aug 31 13:22:05 2007 From: gmueller at netways.de (Gerd Mueller) Date: Fri, 31 Aug 2007 13:22:05 +0200 Subject: Nagiosgrapher graph-configuration In-Reply-To: <46D7DE58.8070109@rz.uni-augsburg.de> References: <46D7DE58.8070109@rz.uni-augsburg.de> Message-ID: <1188559325.17467.7.camel@netl-gm-01.int.netways.de> Hi, add this block to your definition. define ngraph{ service_name Memory RAM graph_perf_regex ;(\d+)$ graph_value ram_100p graph_units MB graph_legend total RAM rrd_plottype LINE1 rrd_color 00ff00 } This should do what you want. But nagiosgrapher cannot extend the existing rrd files so you have to remove the old rrd files. Cheers, Gerd Am Freitag, den 31.08.2007, 11:24 +0200 schrieb Daniel Kraus: > Hi to all, > > I use nagios 2.9 and nagiosgrapher 1.6.1rc3-2. Before i switched to > nagiosgrapher i used pnp. Now i have some problems with the > configuration of the graphs. > > I monitor the RAM usage of a server and i want nagiosgrapher to draw a > line at 100% to represen the capacity of RAM. I know that this should be > able with HRULE but i don't get it how to do it. Unfortunately i found > no good documentation how to configure nagiosgrapher. > > The perf-data from the plugin looks like this: > > Real_Memory=363MB;2000;2028;0;2028 > > The last number is the capacity of the RAM. > > The configuration for the graph: > > define ngraph{ > service_name Memory RAM > graph_perf_regex .*=\s*([0-9]+) > graph_value ram_usage > graph_units MB > graph_legend RAM usage > rrd_plottype AREA > rrd_color c0c0ff > } > > I hope somebody can help me on this or can send a link with a > documentation or a howto. > > > Thanks, > Daniel > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Gerd Mueller NETWAYS GmbH Senior Systems Engineer Deutschherrnstr. 47a Fon. +49 911 92885-0 D-90429 Nuernberg Fax. +49 911 92885-33 gmueller at netways.de http://www.netways.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 daniel.kraus at rz.uni-augsburg.de Fri Aug 31 14:06:44 2007 From: daniel.kraus at rz.uni-augsburg.de (Daniel Kraus) Date: Fri, 31 Aug 2007 14:06:44 +0200 Subject: Nagiosgrapher graph-configuration In-Reply-To: <1188559325.17467.7.camel@netl-gm-01.int.netways.de> References: <46D7DE58.8070109@rz.uni-augsburg.de> <1188559325.17467.7.camel@netl-gm-01.int.netways.de> Message-ID: <46D80454.3070004@rz.uni-augsburg.de> Hi, thanks for your help. Its working with the definition below Regards, Daniel Gerd Mueller wrote: > Hi, > > add this block to your definition. > > define ngraph{ > service_name Memory RAM > graph_perf_regex ;(\d+)$ > graph_value ram_100p > graph_units MB > graph_legend total RAM > rrd_plottype LINE1 > rrd_color 00ff00 > } > > This should do what you want. But nagiosgrapher cannot extend the existing rrd files so you have to remove the old rrd files. > > Cheers, > > Gerd > > > Am Freitag, den 31.08.2007, 11:24 +0200 schrieb Daniel Kraus: >> Hi to all, >> >> I use nagios 2.9 and nagiosgrapher 1.6.1rc3-2. Before i switched to >> nagiosgrapher i used pnp. Now i have some problems with the >> configuration of the graphs. >> >> I monitor the RAM usage of a server and i want nagiosgrapher to draw a >> line at 100% to represen the capacity of RAM. I know that this should be >> able with HRULE but i don't get it how to do it. Unfortunately i found >> no good documentation how to configure nagiosgrapher. >> >> The perf-data from the plugin looks like this: >> >> Real_Memory=363MB;2000;2028;0;2028 >> >> The last number is the capacity of the RAM. >> >> The configuration for the graph: >> >> define ngraph{ >> service_name Memory RAM >> graph_perf_regex .*=\s*([0-9]+) >> graph_value ram_usage >> graph_units MB >> graph_legend RAM usage >> rrd_plottype AREA >> rrd_color c0c0ff >> } >> >> I hope somebody can help me on this or can send a link with a >> documentation or a howto. >> >> >> Thanks, >> Daniel >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 Fri Aug 31 14:38:09 2007 From: marc at ena.com (Marc Powell) Date: Fri, 31 Aug 2007 07:38:09 -0500 Subject: ping service In-Reply-To: <1188554927.11907.8.camel@localhost> References: <1188554927.11907.8.camel@localhost> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Fanen Ahua > Sent: Friday, August 31, 2007 5:09 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] ping service > > Hi, > I recently installed and setup nagios on an ubuntu 7.04 system. > > I believe i have my configuration in place, and working, and i'm trying > to monitor a system via ping, > It monitors, whenever i schedule it explicitly. I want it to automatically > run > the check every few minutes. I believe that's what 'normal_check_interval' > is for. > Is there something i'm missing? Did you disable execution of service checks in nagios.cfg perhaps? http://nagios.sourceforge.net/docs/2_0/configmain.html#execute_service_c hecks Also running /path/to/nagios -s /path/to/nagios.cfg might reveal interesting information. -- 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 justinm at honeycomb.net Fri Aug 31 14:39:42 2007 From: justinm at honeycomb.net (Justin Maloney) Date: Fri, 31 Aug 2007 07:39:42 -0500 Subject: Configuring Web Interface Message-ID: <64975B31C6249247A722D0610F4110F7322F44@hive.officespace.honeycomb.net> OK I get what your looking for now. You would need to get the urls for the hostgroup overview page (http://nagios.yourserver/nagios/cgi-bin/status.cgi?hostgroup= CHDDLFDHCP-SERVERS &style=detail) and put that in the side.html page. Try just making the liks and see if they work. The format above works to veiw my groups and I can't image that editing the html would be two hard the side.html isn't dynamic, I don't think. Thank you, Justin Maloney Systems Administrator Honeycomb Internet Services 612.617.0007 Hi Justin, I have defined hostgroups as below - # 'CHDDLF-DHCP SERVERS' host group definition define hostgroup{ hostgroup_name CHDDLFDHCP-SERVERS alias CHDDLFDHCP SERVERS contact_groups CHDDLFNT-ADMINS members CHDDLFDHCP01,CHDDLFVDHC01 } # 'CHDDLF-DOMAIN CONTROLLERS' host group definition define hostgroup{ hostgroup_name CHDDLFDOMAIN-CONTROLLERS alias CHDDLFDOMAIN CONTROLLERS contact_groups CHDDLFNT-ADMINS,CHDSEZNT-ADMINS members CHDDLFGDC01 } # 'Unix Servers' host group definition define hostgroup{ hostgroup_name Unix Servers alias Unix Servers contact_groups CHDDLFUNIX-ADMINS members damodar,appsdba } But the view pane just shows me "All Hosts" and there is no menu where I can see them in groups. Attached is the sreen shot of my nagios Web Interface (Current.JPG). I want to configure the NAGIOS web interface so that I can group different hosts as the Sub Menu to "Service Detail" Menu. The Right side Menu should display something like - o Service Detail o Unix Systems o Windows Servers o WAN links Some thing like the attached image (nagios.JPG). How can we achieve that? Thanks and regards, Manoj ------------------------------------------------------------------------ ------------------------------------------------------------ You could put them in host groups, that's what I do. I have a host group for each customer and then more host groups that break down to web servers, mysql servers etc for each customer. Then you just go to the hostgroup over view page and click on one. It will show you all the hosts and there services. in the normal status page format. Thank you, Justin Maloney Systems Administrator Honeycomb Internet Services 612.617.0007 Manoj Kumar THE MAD MAN Never Fall in Love Always Rise in Love! microsoft sig -------------- 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 Aug 31 14:56:38 2007 From: marc at ena.com (Marc Powell) Date: Fri, 31 Aug 2007 07:56:38 -0500 Subject: help -- Unable to configure check_mysqld.pl In-Reply-To: <9cde5c720708310545r956b918r2865d9f3c40a17df@mail.gmail.com> References: <9cde5c720708310545r956b918r2865d9f3c40a17df@mail.gmail.com> Message-ID: Always respond on-list. Nagios is a community supported project and you should always endeavor to contribute to the community. > -----Original Message----- > From: Bijit [mailto:tu.bijit at gmail.com] > Sent: Friday, August 31, 2007 7:46 AM > To: Marc Powell > Subject: Re: [Nagios-users] help -- Unable to configure check_mysqld.pl > > Hi, > > I have tested the plugin being the Nagios user with the following output, > > *************************************** > [nagios at RHEL5 ~]$ /usr/local/nagios/libexec/check_mysqld.pl -H localhost - > u user -p password > > Can't locate utils.pm in @INC (@INC contains: > Please let me know what should I do now, i tried to set utils.pm in the > systems PATH but it did not help.... :( @INC path != system PATH. Quickest path to resolution for testing purposes -- su - nagios cd /usr/local/nagios/libexec ./check_mysqld.pl -H localhost -u user -p password > PLEASE HELP !!! Yah, no need to yell... -- 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 tu.bijit at gmail.com Fri Aug 31 15:22:50 2007 From: tu.bijit at gmail.com (Bijit) Date: Fri, 31 Aug 2007 18:52:50 +0530 Subject: configuring check_mysqld.pl Message-ID: <9cde5c720708310622h33c87061rb04556a826413e52@mail.gmail.com> Hi Marc, I tried the following with check_mysqld.pl plugin being the Nagios user. Following is the output [nagios at RHEL5 ~]$ cd /usr/local/nagios/libexec [nagios at RHEL5 libexec]$ ./check_mysqld.pl -H localhost -u root -p root MYSQL 5.0.22 OK >From the output, it seems the plugin working fine from the command line. But still, i get error from web interface of Nagios (i.e http://localhost/nagios), it is showing the following; MYSQLD CRITICAL 09-01-2007 00:05:53 0d 22h 44m 16s 4/4 (No output!) I believe, I have missed something while configuring the same for the Web Interface. Could you please help! -- Bijit -------------- 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 tu.bijit at gmail.com Fri Aug 31 15:37:05 2007 From: tu.bijit at gmail.com (Bijit) Date: Fri, 31 Aug 2007 19:07:05 +0530 Subject: Help.....Problem configuring check_mysqld.pl Message-ID: <9cde5c720708310637m22739859q52408121d0c3ca32@mail.gmail.com> Hi Marc, I tried the following with check_mysqld.pl plugin being the Nagios user. Following is the output [nagios at RHEL5 ~]$ cd /usr/local/nagios/libexec [nagios at RHEL5 libexec]$ ./check_mysqld.pl -H localhost -u root -p root MYSQL 5.0.22 OK >From the output, it seems the plugin working fine from the command line. But still, i get error from web interface of Nagios (i.e http://localhost/nagios), it is showing the following; MYSQLD CRITICAL 09-01-2007 00:05:53 0d 22h 44m 16s 4/4 (No output!) I believe, I have missed something while configuring the same for the Web Interface. Could you please help! -- Bijit -------------- 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 whiterabbit at mand4la.info Fri Aug 31 16:08:00 2007 From: whiterabbit at mand4la.info (Matteo Mancini) Date: Fri, 31 Aug 2007 16:08:00 +0200 Subject: Recovery notification problem Message-ID: <46D820C0.9000009@mand4la.info> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all.. I've got a problem with recovery notification. Some hosts recovery notification will not happen ultil I use "Re-schedule the next check of this host" on nagios web interface. This problem does not occurred on all the checked hosts. I've tryed to compare the configuration of the correct hosts with the problematic hosts, but I didn't find nothings interesting Thanks Matteo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) iD8DBQFG2CDA/TjXD9LUVswRAgzIAJsF0kyyBJExZjLuZAivnOpj6pS7FwCglgGE 5kp1UVPq4Qrgi3Lkwou3zkk= =0lJi -----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 soulshepard at wazzaap.nu Fri Aug 31 16:13:31 2007 From: soulshepard at wazzaap.nu (soul shepard) Date: Fri, 31 Aug 2007 16:13:31 +0200 (CEST) Subject: NDOUtils 1.4b4 OpenBSD build issue In-Reply-To: <7C8D6957-C89A-442B-85A9-6459BFF9B6B7@frontierflying.com> References: <7C8D6957-C89A-442B-85A9-6459BFF9B6B7@frontierflying.com> Message-ID: <20070831141331.F04C6580071@desire.netways.de> Hi Israel i had the saem problems, but was able to successful build the the source. what i have done ( a bit a dirty quick work arround, but it works) :-) - added the /usr/local/lib/mysql to the rc.conf - copied the /usr/local/include/mysql /usr/local/mysql - downloaded the ndoutils-1.4b5.tar.gz into /install - extracted it to /install/ndoutils-1.4b5 and /intall/ndoutils-1.4b5-openbsd - downloaded the patch file from http://www.kernel-panic.it/openbsd/nagios/ndo-openbsd.patch - changed all the ndoutils-1.4b3 to ndoutils-1.4b5 in the file - ran from /install "patch -p0 ndo-openbsd.patch.new" - compiled ndo with the following parameters - ./configure --disable-pgsql --enable-mysql --with-mysql-lib=/usr/local/lib --with-mysql-inc=/usr/local/include Soul ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=3865 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 31 16:20:01 2007 From: marc at ena.com (Marc Powell) Date: Fri, 31 Aug 2007 09:20:01 -0500 Subject: configuring check_mysqld.pl In-Reply-To: <9cde5c720708310622h33c87061rb04556a826413e52@mail.gmail.com> References: <9cde5c720708310622h33c87061rb04556a826413e52@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 Bijit > Sent: Friday, August 31, 2007 8:23 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] configuring check_mysqld.pl > > Hi Marc, > > I tried the following with check_mysqld.pl plugin being the Nagios user. > Following is the output > > [nagios at RHEL5 ~]$ cd /usr/local/nagios/libexec > [nagios at RHEL5 libexec]$ ./check_mysqld.pl -H localhost -u root -p root > MYSQL 5.0.22 OK > From the output, it seems the plugin working fine from the command line. Great! That's not how you've told nagios to run it though. I explained why in my original message. You'll want to review the documentation on using macros in commands, specifically passing arguments. While I could just hand you the answer, it's a basic and important concept you should understand and the documentation covers it 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 rodneyra-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Fri Aug 31 17:38:10 2007 From: rodneyra-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Rodney Ramos) Date: Fri, 31 Aug 2007 12:38:10 -0300 Subject: NRPE Problems Message-ID: I?m testing Nagios NRPE and I?m finding serveral problems. I?m working with: - Nagios 2.9 on Solaris 9 (last CVS patch). - NRPE 2.8.1 on Solaris 8 (last CVS patch). - gcc 3.4.6 1) When I try to start a daemon using NRPE, I receive the message "CHECK_NRPE: Socket timeout after 10 seconds.", although the service is started. > check_nrpe -H -n -p 5666 -c start_daemon CHECK_NRPE: Socket timeout after 10 seconds. In the remote machine I have in the nrpe.cfg: command[start_daemon]=/usr/local/bin/sudo /usr/local/nagios/bin/teste_daemon My teste_daemon is: ---------------------------------------- #!/usr/bin/perl use POSIX; chroot("/usr/local/nagios/bin") or die "Couldn't chroot: $!"; $pid = fork; if ($pid) { print "OK\n"; exit 0; } die "Couldn't fork: $!" unless defined($pid); POSIX::setsid() or die "Can't start a new session: $!"; while (1) { sleep 10; } exit 0; ------------------------------------------- It seems that the NRPE waits an output message from the teste_daemon that does not come (?!). 2) When I try to check a process using the plugin "check_procs" via NRPE the number of process running is added by one. Example: > check_nrpe -H -n -p 5666 -c check_daemon PROCS CRITICAL: 2 processes with args 'teste_daemon' In the nrpe.cfg, I have: command[check_daemon]=/usr/local/nagios/libexec/check_procs -c 1:1 -a teste_daemon But, when I run "check_procs -c 1:1 -a teste_daemon" on the remote machine, I have: PROCS OK: 1 process with args 'teste_daemon' The "solution" was to change the command to "check_procs -c 1:1 -p 1 -a teste_daemon", but it isn?t what I?m looking for. 3) I couldn?t configure NRPE to run with the inetd. It always answers with a SSL error message, even with the "-n" flag in both side. So I found several problems with NRPE that are difficulting my job. I was intending to put Nagios to monitoring more than 3500 machines but after this problems I don?t know if other people of my group will feel comfortable to use this tool. Thats is a pity, because I found Nagios a excellent monitoring tool, very flexible, but I don?t know if other people will buy the fight to change our actual tool to Nagios. -------------- 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 Plugin Development Mailing List Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holger at CIS.FU-Berlin.DE Fri Aug 31 17:43:13 2007 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Fri, 31 Aug 2007 17:43:13 +0200 Subject: configuring check_mysqld.pl In-Reply-To: References: <9cde5c720708310622h33c87061rb04556a826413e52@mail.gmail.com> Message-ID: <20070831154312.GL6828@CIS.FU-Berlin.DE> * Marc Powell [2007-08-31 09:20]: > > I tried the following with check_mysqld.pl plugin being the Nagios user. > > Following is the output > > > > [nagios at RHEL5 ~]$ cd /usr/local/nagios/libexec > > [nagios at RHEL5 libexec]$ ./check_mysqld.pl -H localhost -u root -p root > > MYSQL 5.0.22 OK > > From the output, it seems the plugin working fine from the command line. > > Great! That's not how you've told nagios to run it though. I explained > why in my original message. You'll want to review the documentation on > using macros in commands, specifically passing arguments. While I could > just hand you the answer, it's a basic and important concept you should > understand and the documentation covers it well. Yup, I gave the pointers on nagiosplug-help@ yesterday: http://article.gmane.org/gmane.network.nagios.plugins/2885 Holger ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Aug 31 18:08:53 2007 From: radhiilu at yahoo.com (Sekhar) Date: Fri, 31 Aug 2007 09:08:53 -0700 (PDT) Subject: nagios server inside vmware Message-ID: <274262.37390.qm@web90508.mail.mud.yahoo.com> Hi Guys, I am plaiing to implement nagios server inside vmware (this includes linux OS) for production use.Is there know problems with SNMP or any other problems. Thanks for your help --------------------------------- Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. -------------- 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 Aug 31 18:22:39 2007 From: marc at ena.com (Marc Powell) Date: Fri, 31 Aug 2007 11:22:39 -0500 Subject: nagios server inside vmware In-Reply-To: <274262.37390.qm@web90508.mail.mud.yahoo.com> References: <274262.37390.qm@web90508.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: Friday, August 31, 2007 11:09 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios server inside vmware > > Hi Guys, > > I am plaiing to implement nagios server inside vmware (this includes linux > OS) for production use.Is there know problems with SNMP or any other > problems. This recent thread might be useful to you. I'm sure you'll find more searching the archives. http://thread.gmane.org/gmane.network.nagios.user/48668/focus=48690 -- 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 Fri Aug 31 18:32:39 2007 From: Garry.Cook at arcadis-us.com (Cook, Garry) Date: Fri, 31 Aug 2007 10:32:39 -0600 Subject: nagios server inside vmware In-Reply-To: References: <274262.37390.qm@web90508.mail.mud.yahoo.com> Message-ID: <1689390EF608584D85BA56D958A5D1E44CA056287A@CorpExMBS1.arcadis-us.com> >> Hi Guys, >> >> I am plaiing to implement nagios server inside vmware (this includes linux >> OS) for production use.Is there know problems with SNMP or any other >> problems. > >This recent thread might be useful to you. I'm sure you'll find more >searching the archives. > >http://thread.gmane.org/gmane.network.nagios.user/48668/focus=48690 > >-- >Marc IIRC, the solution given in that thread was 'Don't use VMware'. I run three different Ubuntu servers (Nagios, MRTG, and NeDi) on VMware, and have no issues whatsoever with time (or anything else). I don't recall how I originally setup NTP, and I DID have issues in the beginning, but they have long since been resolved. If you run into time issues and have specific questions, email the list and I'll do my best to get back to you with info about how my system is setup. The only current problem that I have with VMware is that sometimes my virtual host's filesystem will get kicked into read-only mode. This issue only relates to servers attached to an iSCSI SAN, and has already been fixed for RHEL and SUSE. I have a ticket open with them now to address the issue with Ubuntu. Thanks, Garry 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. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Aug 31 19:53:38 2007 From: israel at frontierflying.com (Israel Brewster) Date: Fri, 31 Aug 2007 09:53:38 -0800 Subject: NDOUtils 1.4b4 OpenBSD build issue In-Reply-To: <20070831141331.F04C6580071@desire.netways.de> References: <7C8D6957-C89A-442B-85A9-6459BFF9B6B7@frontierflying.com> <20070831141331.F04C6580071@desire.netways.de> Message-ID: <710EC2C6-1B18-42EA-87EE-4C46D88ECCE0@frontierflying.com> Thanks. That patch is what I needed. I had already gotten around the first two steps by modifying the config.h file that the configure script generated to point to the correct location. The patch fixed the compile issues I was having. Thanks! ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- On Aug 31, 2007, at 6:13 AM, soul shepard wrote: > Hi Israel > > i had the saem problems, but was able to successful build the the > source. > > what i have done ( a bit a dirty quick work arround, but it works) :-) > > - added the /usr/local/lib/mysql to the rc.conf > - copied the /usr/local/include/mysql /usr/local/mysql > - downloaded the ndoutils-1.4b5.tar.gz into /install > - extracted it to /install/ndoutils-1.4b5 and /intall/ > ndoutils-1.4b5-openbsd > - downloaded the patch file from http://www.kernel-panic.it/openbsd/ > nagios/ndo-openbsd.patch > - changed all the ndoutils-1.4b3 to ndoutils-1.4b5 in the file > - ran from /install "patch -p0 ndo-openbsd.patch.new" > - compiled ndo with the following parameters > - ./configure --disable-pgsql --enable-mysql --with-mysql-lib=/usr/ > local/lib --with-mysql-inc=/usr/local/include > > Soul > > ----------------------- > This thread is located in the archive at this URL: > http://www.nagiosexchange.org/nagios-users.34.0.html? > &tx_maillisttofaq_pi1[showUid]=3865 > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 dwalgamo at gmail.com Fri Aug 31 22:03:00 2007 From: dwalgamo at gmail.com (David Walgamotte) Date: Fri, 31 Aug 2007 15:03:00 -0500 Subject: from address Message-ID: <77ad9a6b0708311303h47198d9eib240ad51873bb27d@mail.gmail.com> I need to change the from address. Mail server will not accept an invalid user account from same domain. I need to change MAIL FROM: < address> on acks from nagios. please help. tried adding stuff to mailrc no luck. -- Thank You, Regards, David -------------- 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