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. Downlo