From sghosh at sghosh.org Wed Mar 1 06:00:31 2006 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 1 Mar 2006 00:00:31 -0500 (EST) Subject: nagios on VPN gateway: ping trouble In-Reply-To: <73eeca44.91e16174.819d300@m4500-00.uchicago.edu> References: <73eeca44.91e16174.819d300@m4500-00.uchicago.edu> Message-ID: On Tue, 28 Feb 2006, dick at uchicago.edu wrote: > greetz, > > i have successfully installed nagios-2.0b4p0-chroot and its related packages, > nagios-plugins-1.4.1 and nagios-web-2.0b4-chroot, on my home firewall/VPN > gateway that's running openbsd-3.8 release. i'm starting simple and doing a > check_ping on all my local machines (10.9.0/24 and 10.9.1/24 subnets), which is > working great and i can see their status under the nagios web interface. now > that i have check_ping working for my local machines, i want to do the same for > hosts at my remote location (10.0.0/24 and 10.0.1./24 subnets) that are under > the same VPN. > > however, i am not able to check_ping for 10.0.0.1, the remote VPN gateway, even > though i'm able to ping it from my home VPN gateway. since my home VPN gateway > has both a public IP, x.y.z.w, and a private IP, 10.9.0.1, i have to issue a > "ping -I 10.9.0.1 10.0.0.1" to ping the remote VPN gateway via the VPN, > otherwise the interface address transmitted falls outside my VPN subnet > (10.9/16) and the ping doesn't get routed through the VPN. i changed the > ping_syntax variable in cgi.cfg from "/bin/ping -n -c 5 $HOSTADDRESS$" to > "/bin/ping -I 10.9.0.1 -n -c 5 $HOSTADDRESS$" to try to remedy the problem, but > it hasn't done the trick. > > just to be clear, here is an text rendering of the situation: > > ######################### ############################# > # home VPN gw # # work VPN gw # > # pub. IP = x.y.z.w #--internet----# pub. IP = a.b.c.d # > # priv. IP = 10.9.0.1 # # priv. IP = 10.0.0.1 # > # VPN for 10.9/16 # # VPN for 10.0/16 # > ######################### ############################# > > am i not supposed to run nagios on such a gateway? i could move it to another > machine behind the gateway at home, but i would rather not for computing > resource reasons. any suggestions on how to successfully check_ping in this > situation would be appreciated. thx for reading. > > cheers, > jake > First off - thanks for a concise and detailed problem statement. I would like to point out that if both lan segments are in different address blocks, -I should not be necessary. The route table on the gateway should be correctly populated. ie. home vpn gateway should have a 1 hop route to work and a 1 hop route to ISP gateway. What is the output in Nagios (visible output) Remedies: Try a shell wrapper and capture the ping exit code. and use that as the wrapper's exit code. -- -sg ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From xagonzalezm at gmail.com Wed Mar 1 12:25:25 2006 From: xagonzalezm at gmail.com (Alberto) Date: Wed, 1 Mar 2006 12:25:25 +0100 Subject: Nagiosgraph problem In-Reply-To: <7fa4b410602272315p145e2f7n500a39f78f811eb0@mail.gmail.com> References: <7fa4b410602270922x648f273csa486ca3417798a51@mail.gmail.com> <7fa4b410602272315p145e2f7n500a39f78f811eb0@mail.gmail.com> Message-ID: <7fa4b410603010325p10bbb581qea802156960d11f1@mail.gmail.com> if I define command in this way define command{ command_name process-service-perfdata command_line /usr/share/nagios/nagiosgraph/insert.pl "$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$" command_line echo -e "$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$" >> /tmp/graph.log } I get data on /tmp/graph.log 1141211466||c-220||FILESYSTEM||DISK OK - free space:||/=1386MB;3426;3829;0;4031 /aplicaciones=2447MB;3426;3829;0;4031 /boot=20MB;83;93;0;98 /datos=1122MB;3426 ;3829;0;4031 /log=379MB;3426;3829;0;4031 /dev/shm=0MB;3403;3803;0;4004 /var=1698MB;3426;3829;0;4031 /rinstall=9258MB;12850;14362;0;15118 1141211467||c-221||FILESYSTEM||DISK OK - free space:||/=1391MB;3426;3829;0;4031 /aplicaciones=2374MB;3426;3829;0;4031 /boot=20MB;83;93;0;98 /datos=1106MB;3426 ;3829;0;4031 /log=367MB;3426;3829;0;4031 /dev/shm=0MB;3403;3803;0;4004 /var=1707MB;3426;3829;0;4031 /rinstall=800MB;12850;14362;0;15118 If try to execute insert with this lines I dont get anything inside rrd and nagiosgraph.log: Wed Mar 1 12:14:12 2006 INSERT info: Input perfdata:/=2763MB;3426;3829;0;4031 /var=1102MB;3426;3829;0;4031 /var/run=0MB;8813;9850;0;10369 /tmp=1MB;8814;9851;0;10370 /aplicaciones=1870MB;16055;17944;0;18889 /datos=6200MB;16055;17944;0;18889 /log=1358MB;16055;17944;0;18889 Wed Mar 1 12:14:12 2006 INSERT info: Input servicedescr:FILESYSTEM Wed Mar 1 12:14:12 2006 INSERT info: Input output:DISK OK - free space: Wed Mar 1 12:14:12 2006 INSERT warn: perfdata not recognized Wed Mar 1 12:14:12 2006 INSERT debug: nagiosgraph exited If replace the echo in command and use insert.pl I dont get anything inside rrd folder neither any error in nagiosgraph.log On 2/28/06, Alberto wrote: > > Yes. It's called because if I rename it I get error 127 not found on > nagios.log. > > nagios doesnt generate any file inside rrd/ but if I manually run > insert.pl with user nagios I get files inside rrd/. > > I get this in nagiosgraph.log: > > Tue Feb 28 08:09:42 2006 CGI debug: @db= > Tue Feb 28 08:09:42 2006 CGI info: Listing c%2D102_PING db files in > /usr/share/nagios/nagiosgraph/rrd/: > Tue Feb 28 08:09:42 2006 CGI info: RRDs::graph - -a PNG --start -3024000 > -w 350 -h 100 -l 0 -u 100 > Tue Feb 28 08:09:42 2006 CGI error: RRDs::graph ERR can't make a graph > without contents > Tue Feb 28 08:09:42 2006 CGI debug: Config debug:5 > Tue Feb 28 08:09:42 2006 CGI debug: Config > logfile:/var/log/nagios/nagiosgraph.log > Tue Feb 28 08:09:42 2006 CGI debug: Config > rrddir:/usr/share/nagios/nagiosgraph/rrd/ > Tue Feb 28 08:09:42 2006 CGI debug: Config > mapfile:/usr/share/nagios/nagiosgraph/map > Tue Feb 28 08:09:42 2006 CGI debug: Config colorscheme:1 > Tue Feb 28 08:09:42 2006 CGI debug: Config heartbeat:10 > Tue Feb 28 08:09:42 2006 CGI debug: Config > perflog:/var/log/nagios/perfdata.log > Tue Feb 28 08:09:42 2006 CGI debug: Config rrdtool:/usr/bin/rrdtool > Tue Feb 28 08:09:42 2006 CGI debug: @db= > Tue Feb 28 08:09:42 2006 CGI info: Listing c%2D102_PING db files in > /usr/share/nagios/nagiosgraph/rrd/: > Tue Feb 28 08:09:42 2006 CGI info: RRDs::graph - -a PNG --start -34560000 > -w 350 -h 100 -l 0 -u 100 > Tue Feb 28 08:09:42 2006 CGI error: RRDs::graph ERR can't make a graph > without contents > > I have this in nagios.cfg: > > process_performance_data=1 > service_perfdata_file=/var/log/nagios/perfdata.log > > service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ > service_perfdata_file_mode=a > service_perfdata_file_processing_interval=30 > service_perfdata_file_processing_command=process-service-perfdata > > and this in command.cfg > > define command{ > command_name process-service-perfdata > command_line /usr/local/nagios/nagiosgraph/insert.pl > } > > > > > On 2/27/06, Hugo van der Kooij wrote: > > > > On Mon, 27 Feb 2006, Alberto wrote: > > > > > I get this in nagiosgraph.log: > > > > > > CGI error: RRDs::graph ERR can't make a graph without contents > > > > > > I get the blue screen of nagiosgraph but no images on it... what is > > the > > > probleam? I have no data on rrd/ folder but if I execute insert.plmanually > > > as nagios user I get date in the folder but if I delete it and run > > nagios it > > > doesnt generate rrd files. > > > > So what does your log tell you about storing the data? Does it attempt > > to > > create the RRD files? (Should it?) > > > > How did you add the insert.pl in your config? Is it called at all? > > > > Hugo. > > > > -- > > I hate duplicates. Just reply to the relevant mailinglist. > > hvdkooij at vanderkooij.org > > http://hvdkooij.xs4all.nl/ > > Don't meddle in the affairs of magicians, > > for they are subtle and quick to anger. > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language > > that extends applications into web and mobile media. Attend the live > > webcast > > and join the prime developer group breaking into this new coding > > territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: From xagonzalezm at gmail.com Wed Mar 1 13:39:21 2006 From: xagonzalezm at gmail.com (Alberto) Date: Wed, 1 Mar 2006 13:39:21 +0100 Subject: Nagiosgraph problem In-Reply-To: <7fa4b410603010325p10bbb581qea802156960d11f1@mail.gmail.com> References: <7fa4b410602270922x648f273csa486ca3417798a51@mail.gmail.com> <7fa4b410602272315p145e2f7n500a39f78f811eb0@mail.gmail.com> <7fa4b410603010325p10bbb581qea802156960d11f1@mail.gmail.com> Message-ID: <7fa4b410603010439j36e3e256y2c463757fc0e1198@mail.gmail.com> I get rrd files generated setting this command with perl path define command{ command_name process-service-perfdata command_line /usr/bin/perl /usr/share/nagios/nagiosgraph/insert.pl } now I get the bluescreen from showcgi but with empty images. On 3/1/06, Alberto wrote: > > if I define command in this way > > define command{ > command_name process-service-perfdata > command_line /usr/share/nagios/nagiosgraph/insert.pl > "$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$" > command_line echo -e > "$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$" > >> /tmp/graph.log > } > > I get data on /tmp/graph.log > > 1141211466||c-220||FILESYSTEM||DISK OK - free > space:||/=1386MB;3426;3829;0;4031 /aplicaciones=2447MB;3426;3829;0;4031 > /boot=20MB;83;93;0;98 /datos=1122MB;3426 > ;3829;0;4031 /log=379MB;3426;3829;0;4031 /dev/shm=0MB;3403;3803;0;4004 > /var=1698MB;3426;3829;0;4031 /rinstall=9258MB;12850;14362;0;15118 > 1141211467||c-221||FILESYSTEM||DISK OK - free > space:||/=1391MB;3426;3829;0;4031 /aplicaciones=2374MB;3426;3829;0;4031 > /boot=20MB;83;93;0;98 /datos=1106MB;3426 > ;3829;0;4031 /log=367MB;3426;3829;0;4031 /dev/shm=0MB;3403;3803;0;4004 > /var=1707MB;3426;3829;0;4031 /rinstall=800MB;12850;14362;0;15118 > > If try to execute insert with this lines I dont get anything inside rrd > and nagiosgraph.log: > > Wed Mar 1 12:14:12 2006 INSERT info: Input > perfdata:/=2763MB;3426;3829;0;4031 /var=1102MB;3426;3829;0;4031 > /var/run=0MB;8813;9850;0;10369 /tmp=1MB;8814;9851;0;10370 > /aplicaciones=1870MB;16055;17944;0;18889 /datos=6200MB;16055;17944;0;18889 > /log=1358MB;16055;17944;0;18889 > Wed Mar 1 12:14:12 2006 INSERT info: Input servicedescr:FILESYSTEM > Wed Mar 1 12:14:12 2006 INSERT info: Input output:DISK OK - free space: > Wed Mar 1 12:14:12 2006 INSERT warn: perfdata not recognized > Wed Mar 1 12:14:12 2006 INSERT debug: nagiosgraph exited > > If replace the echo in command and use insert.pl I dont get anything > inside rrd folder neither any error in nagiosgraph.log > > > > On 2/28/06, Alberto wrote: > > > > Yes. It's called because if I rename it I get error 127 not found on > > nagios.log. > > > > nagios doesnt generate any file inside rrd/ but if I manually run > > insert.pl with user nagios I get files inside rrd/. > > > > I get this in nagiosgraph.log: > > > > Tue Feb 28 08:09:42 2006 CGI debug: @db= > > Tue Feb 28 08:09:42 2006 CGI info: Listing c%2D102_PING db files in > > /usr/share/nagios/nagiosgraph/rrd/: > > Tue Feb 28 08:09:42 2006 CGI info: RRDs::graph - -a PNG --start -3024000 > > -w 350 -h 100 -l 0 -u 100 > > Tue Feb 28 08:09:42 2006 CGI error: RRDs::graph ERR can't make a graph > > without contents > > Tue Feb 28 08:09:42 2006 CGI debug: Config debug:5 > > Tue Feb 28 08:09:42 2006 CGI debug: Config > > logfile:/var/log/nagios/nagiosgraph.log > > Tue Feb 28 08:09:42 2006 CGI debug: Config > > rrddir:/usr/share/nagios/nagiosgraph/rrd/ > > Tue Feb 28 08:09:42 2006 CGI debug: Config > > mapfile:/usr/share/nagios/nagiosgraph/map > > Tue Feb 28 08:09:42 2006 CGI debug: Config colorscheme:1 > > Tue Feb 28 08:09:42 2006 CGI debug: Config heartbeat:10 > > Tue Feb 28 08:09:42 2006 CGI debug: Config > > perflog:/var/log/nagios/perfdata.log > > Tue Feb 28 08:09:42 2006 CGI debug: Config rrdtool:/usr/bin/rrdtool > > Tue Feb 28 08:09:42 2006 CGI debug: @db= > > Tue Feb 28 08:09:42 2006 CGI info: Listing c%2D102_PING db files in > > /usr/share/nagios/nagiosgraph/rrd/: > > Tue Feb 28 08:09:42 2006 CGI info: RRDs::graph - -a PNG --start > > -34560000 -w 350 -h 100 -l 0 -u 100 > > Tue Feb 28 08:09:42 2006 CGI error: RRDs::graph ERR can't make a graph > > without contents > > > > I have this in nagios.cfg: > > > > process_performance_data=1 > > service_perfdata_file=/var/log/nagios/perfdata.log > > > > service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ > > service_perfdata_file_mode=a > > service_perfdata_file_processing_interval=30 > > service_perfdata_file_processing_command=process-service-perfdata > > > > and this in command.cfg > > > > define command{ > > command_name process-service-perfdata > > command_line /usr/local/nagios/nagiosgraph/insert.pl > > } > > > > > > > > > > On 2/27/06, Hugo van der Kooij wrote: > > > > > > On Mon, 27 Feb 2006, Alberto wrote: > > > > > > > I get this in nagiosgraph.log: > > > > > > > > CGI error: RRDs::graph ERR can't make a graph without contents > > > > > > > > I get the blue screen of nagiosgraph but no images on it... what is > > > the > > > > probleam? I have no data on rrd/ folder but if I execute insert.plmanually > > > > as nagios user I get date in the folder but if I delete it and run > > > nagios it > > > > doesnt generate rrd files. > > > > > > So what does your log tell you about storing the data? Does it attempt > > > to > > > create the RRD files? (Should it?) > > > > > > How did you add the insert.pl in your config? Is it called at all? > > > > > > Hugo. > > > > > > -- > > > I hate duplicates. Just reply to the relevant mailinglist. > > > hvdkooij at vanderkooij.org > > > http://hvdkooij.xs4all.nl/ > > > Don't meddle in the affairs of magicians, > > > for they are subtle and quick to anger. > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > > language > > > that extends applications into web and mobile media. Attend the live > > > webcast > > > and join the prime developer group breaking into this new coding > > > territory! > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > > > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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: From mdash at juniper.net Wed Mar 1 16:44:37 2006 From: mdash at juniper.net (Mrutyunjaya Dash) Date: Wed, 1 Mar 2006 21:14:37 +0530 Subject: Configuring nagios to monitor remote host through snmp Message-ID: <0DB0FFEA6887E349861A3F6B40D71C3AACFD55@gaugeboson.jnpr.net> Hi Friends, Any body has configured nagios to monitor remote host through snmp. In my environment, I have certain number of servers on which I cannot install any plugins on it. But at the same time I have the requirement monitor the servers through nagios. I believe, monitoring through snmp does not require getting any plugins on the monitored hosts. If anybody had ever the requirement of this kind and come out of it with some solution. I would appreciate if you could share the information. Regards, Mrutyunjaya Dash -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed Mar 1 17:10:31 2006 From: marc at ena.com (Marc Powell) Date: Wed, 1 Mar 2006 10:10:31 -0600 Subject: Configuring nagios to monitor remote host through snmp Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mrutyunjaya Dash > Sent: Wednesday, March 01, 2006 9:45 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Configuring nagios to monitor remote host through > snmp > > Hi Friends, > > Any body has configured nagios to monitor remote host through snmp. In my > environment, I have certain number of servers on which I cannot install > any plugins on it. But at the same time I have the requirement monitor the > servers through nagios. I believe, monitoring through snmp does not > require getting any plugins on the monitored hosts. > > If anybody had ever the requirement of this kind and come out of it with > some solution. I would appreciate if you could share the information. Yes certainly. There are a number of SNMP aware plugins included in the plugins distribution -- check_snmp - highly flexible; you provide OID's, pattern matches, etc other more specific plugins that utilize SNMP are -- check_hpjd check_breeze check_ifoperstatus check_ifstatus.pl check_wave.pl check_snmp_procs.pl check_temp_cpq check_snmp_process_monitor.pl check_snmp_printer.pl check_netapp.pl and others... There are also SNMP plugins here -- http://www.nagiosexchange.org/SNMP.51.0.html and of course, everyone's first go-to point for any question Google has lots to say as well -- http://www.google.com/search?hs=hzn&hl=en&lr=&client=firefox-a&rls=org.m ozilla%3Aen-US%3Aofficial&q=nagios+snmp+plugins&btnG=Search -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mdash at juniper.net Wed Mar 1 17:42:17 2006 From: mdash at juniper.net (Mrutyunjaya Dash) Date: Wed, 1 Mar 2006 22:12:17 +0530 Subject: Configuring nagios to monitor remote host through snmp Message-ID: <0DB0FFEA6887E349861A3F6B40D71C3A03748C@gaugeboson.jnpr.net> Hi Marc, First of all thank you very much for replipying and providing certain information. I have still doubt what exactly I have to do on the monitored host side for snmp and on nagios server side. If you could explain me little elaboratly, I would really appreciate it. Regards, Dash -------------------------- Sent from my BlackBerry Wireless Handheld -----Original Message----- From: nagios-users-admin at lists.sourceforge.net To: nagios-users at lists.sourceforge.net Sent: Wed Mar 01 08:10:31 2006 Subject: RE: [Nagios-users] Configuring nagios to monitor remote host through snmp > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mrutyunjaya Dash > Sent: Wednesday, March 01, 2006 9:45 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Configuring nagios to monitor remote host through > snmp > > Hi Friends, > > Any body has configured nagios to monitor remote host through snmp. In my > environment, I have certain number of servers on which I cannot install > any plugins on it. But at the same time I have the requirement monitor the > servers through nagios. I believe, monitoring through snmp does not > require getting any plugins on the monitored hosts. > > If anybody had ever the requirement of this kind and come out of it with > some solution. I would appreciate if you could share the information. Yes certainly. There are a number of SNMP aware plugins included in the plugins distribution -- check_snmp - highly flexible; you provide OID's, pattern matches, etc other more specific plugins that utilize SNMP are -- check_hpjd check_breeze check_ifoperstatus check_ifstatus.pl check_wave.pl check_snmp_procs.pl check_temp_cpq check_snmp_process_monitor.pl check_snmp_printer.pl check_netapp.pl and others... There are also SNMP plugins here -- http://www.nagiosexchange.org/SNMP.51.0.html and of course, everyone's first go-to point for any question Google has lots to say as well -- http://www.google.com/search?hs=hzn&hl=en&lr=&client=firefox-a&rls=org.m ozilla%3Aen-US%3Aofficial&q=nagios+snmp+plugins&btnG=Search -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null N?HS^????X???'???u?? Hi Folks, I am having a very strange problem. I am moving nagios to a new server and updating to V2.0 (from V2.0b1), at the same time upgrading from nagios-plugins-1.4beta to nagios-plugins-1.4.2. The big difference, and I think the source of my problem, is that I am going from Debian Linux to Redhat Enterprise Linux. In a nutshell, "check_http --ssl" doesn't work for our servers which REQUIRE strong encryption. Examples: On our OLD Debian machine (everything is great): # ./check_http -V check_http (nagios-plugins 1.4-beta1) 1.79 # ./check_http -v -C 60 --ssl www.wellsfargo.com SSL seeding: OK OK - Certificate will expire on 08/19/2006 23:59. # ./check_http -v -C 60 --ssl my-web-server SSL seeding: OK OK - Certificate will expire on 08/14/2011 18:21. New Redhat Server: # ./check_http -V check_http (nagios-plugins 1.4.2) 1.81 # ./check_http -v -C 60 --ssl www.wellsfargo.com SSL seeding: OK OK - Certificate will expire on 08/19/2006 23:59. # ./check_http -v -C 120 --ssl my-web-server SSL seeding: OK CRITICAL - Cannot retrieve server certificate. This happens even if I compile version 1.79 on the Redhat box and try to run it. So, I figured it must be an ssl library problem...right? Nope. I grabbed the latest openssl, compiled it, and used it to build both versions of check_http, and got the exact same problem. I receive this error even when checking to make sure the https side is up and running: # ./check_http --ssl -v my-web-server SSL seeding: OK CRITICAL - Cannot retrieve server certificate. I am pretty sure it has to do with my requirement of strong encryption within my Apache server, but it works fine with my old setup. Has anyone else on the list run into this problem before?? Any help would be GREATLY appreciated! Thanks, Emmett -- ========= LexisNexis Examen, Inc. ========== Emmett Hogan Senior UNIX Administrator emmetth at examen.com === Outside Counsel Management Solutions === ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prosolutions at gmx.net Wed Mar 1 20:14:10 2006 From: prosolutions at gmx.net (prosolutions at gmx.net) Date: Wed, 1 Mar 2006 11:14:10 -0800 Subject: retry_check_interval issue/confusion Message-ID: <20060301191410.GB5113@think.alaya.net> In http://nagios.sourceforge.net/docs/2_0/xodtemplate.html it states: retry_check_interval: This directive is used to define the number of "time units" to wait before scheduling a re-check of the service. Services are rescheduled at the retry interval when the have changed to a non-OK state. Once the service has been retried max_attempts times without a change in its status, it will revert to being scheduled at its "normal" rate as defined by the check_interval value. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. "is used to define the number of "time units" to wait before scheduling a re-check of the service" What exactly does this mean? If a service check fails, then there is clearly a need to recheck the service. One would normally want to do a recheck of the service in question at a higher rate than the normal scheduled (a.k.a. "normal_check_interval" rate). Am I correct in this? If so, and if that is the purpose of retry_check_interval, then the above definition is wrong, because it states "number of "time units" to wait before scheduling a re-check". It does not say "number of "time units" to wait before re-checking". The difference here is that as defined it will wait retry_check_interval units of time and then only reschedule the check. Perhaps the confusion has to do with what it means to "schedule a check". I would think that in essence all future checks are "scheduled" in the sense that they are defined to take place at certain future times, as determined by their normal_check_interval and check_period definitions. But I am guessing that "schedule" in nagiosspeak actually means something analogous to placed into the queue for checking during the next available opportunity according to the current position of the service reaper. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Mar 1 20:28:29 2006 From: marc at ena.com (Marc Powell) Date: Wed, 1 Mar 2006 13:28:29 -0600 Subject: retry_check_interval issue/confusion Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of prosolutions at gmx.net > Sent: Wednesday, March 01, 2006 1:14 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] retry_check_interval issue/confusion > > > In http://nagios.sourceforge.net/docs/2_0/xodtemplate.html it states: > > retry_check_interval: This directive is used to define the number of > "time units" to wait before scheduling a re-check of the service. > Services are rescheduled at the retry interval when the have changed to > a non-OK state. Once the service has been retried max_attempts times > without a change in its status, it will revert to being scheduled at its > "normal" rate as defined by the check_interval value. Unless you've > changed the interval_length directive from the default value of 60, this > number will mean minutes. > > > "is used to define the number of "time units" to wait before scheduling a > re-check of the service" What exactly does this mean? If a service check > fails, then there is clearly a need to recheck the service. One would > normally want to do a recheck of the service in question at a higher rate > than the normal scheduled (a.k.a. "normal_check_interval" rate). Am I > correct in this? If so, and if that is the purpose of Yes. This is no different than nagios (re-)scheduling the next active check as part of its normal routines. Because you do want to perform checks more frequently than normal in an error state, nagios switches from using normal_check_interval to determine scheduling to using retry_check_interval. > retry_check_interval, then the above definition is wrong, because it > states "number of "time units" to wait before scheduling a re-check". It > does not say "number of "time units" to wait before re-checking". The > difference here is that as defined it will wait retry_check_interval units > of time and then only reschedule the check. It's correct. Under normal circumstances, Nagios performs a check. If that check returns OK then it will re-schedule the next check based on normal_check_interval. If the check returns non-OK then it will re-schedule the next check based on retry_check_interval. > Perhaps the confusion has to do with what it means to "schedule a > check". I would think that in essence all future checks are "scheduled" > in the sense that they are defined to take place at certain future > times, as determined by their normal_check_interval and check_period > definitions. But I am guessing that "schedule" in nagiosspeak actually This is a bad assumption. Nagios does not plan ahead when scheduling checks. The next check time is calculated only when the current check is completed. The only check planning that is done is for the initial checks on start and that's merely to spread them out so that all first checks don't happen at the same time. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prosolutions at gmx.net Wed Mar 1 21:17:26 2006 From: prosolutions at gmx.net (prosolutions at gmx.net) Date: Wed, 1 Mar 2006 12:17:26 -0800 Subject: retry_check_interval issue/confusion In-Reply-To: References: Message-ID: <20060301201726.GC5113@think.alaya.net> > > > > retry_check_interval: This directive is used to define the number of > > "time units" to wait before scheduling a re-check of the service. > > Services are rescheduled at the retry interval when the have changed Thanks for clarifing this for me. I think the wording above is a bit ambiguous and might be clearer if it simply said "the number of "time units" to wait before re-checking the service." Although I understand that, from an internal point of view in terms of how nagios is actually operating, the current way it is stated might more accurately reflect what is actually happening. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Casey.Scott at wizards.com Wed Mar 1 21:22:14 2006 From: Casey.Scott at wizards.com (Scott, Casey) Date: Wed, 1 Mar 2006 12:22:14 -0800 Subject: Passive Service Notifications Message-ID: <9A072150141F5C489DC92CFCB8C0FD490658F5A7@e2ksea2.wotc.wizards.com> I am attempting to configure Nagios to work with SNMP traps. As of now, I can write events to the Nagios external command file (/var/log/nagios/rw/nagio.cmd). Nagios notices these events, and logs them to the nagios.log. e.g. /var/log/nagios/rw/nagios.log contains: [1141242013] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;10.12.3.118;2;w32_time;W32Time Event I can't get Nagios to send out notifications as a result though. My service definition is like this: define service { name generic-service ; The 'name' of this service template, referenced in other service definitions active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled 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 SERVICE, JUST A TEMPLATE! } define service{ use generic-service host_name * service_description TRAP is_volatile 1 check_period 24x7 contact_groups linux-admins passive_checks_enabled 1 active_checks_enabled 0 max_check_attempts 1 normal_check_interval 5 retry_check_interval 1 notification_interval 5 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 check_command check-host-alive } I am unclear on what the check_command needs to do in this case. It seems that it doesn't matter as long as it returns OK. Can someone help fill in the gaps here? What do I need to do to get Nagios to finish the task, and actually send a SERVICE ALERT out? Regards, Casey ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prosolutions at gmx.net Wed Mar 1 22:02:08 2006 From: prosolutions at gmx.net (prosolutions at gmx.net) Date: Wed, 1 Mar 2006 13:02:08 -0800 Subject: Need help with service failure recheck interval Message-ID: <20060301210208.GD5113@think.alaya.net> Using nagios 2.0b3 and have the following host and related service defined: define host{ use vip.template host_name ProdSystem alias Prod hostgroups Production check_command check-dummy!0!"See Service Detail for Status Information" address 172.16.1.10 } define service{ use vip.template host_name ProdSystem service_description test_client is_volatile 0 check_period Off_Peak max_check_attempts 3 normal_check_interval 1500 retry_check_interval 20 notification_interval 0 check_command test_client!111.111.111.111!9999!35 } test_client is a simple script that tests the connectivity of the custom service that at listening at 172.16.0.50. It is set to timeout and fail at 35 seconds. interval_length is set to 1, therefore normal_check_interval=1500 should be 1500s=25m and retry_check_interval=20 should be 20s. However last night test_client failed and gave initial notification of state CRITICAL at 00:37:21. Manually testing by me immediately after receiving this notification showed that the service was indeed back up therefore I am almost 100% certain that subsequent test_client checks by nagios would have succeeded. However, I did not receive an RECOVERY alert until 01:26:46, which is almost exactly 50 minutes after the initial CRITICAL alert. Also, I have another test for a similar service with identical parameters, and in that case it didn't send a RECOVERY alert until almost exactly 75 minutes after the CRITICAL alert. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdondich at gmail.com Wed Mar 1 22:15:47 2006 From: tdondich at gmail.com (Taylor Dondich) Date: Wed, 1 Mar 2006 13:15:47 -0800 Subject: Fruity 1.0 Release Candidate 1 Is Out! Message-ID: <3d2eb72a0603011315q7fdc2ef9kc71885a9eada5a1@mail.gmail.com> Fruity, your favorite Nagios Configuration tool is in release candidate stage. At this point, a LOT of bugfixes have gone into this release. You can take a look at the bugfix list at the sourceforge page for more information regarding this releaes. Go download it today at: http://fruity.sf.net I've even made screenshots! Taylor Dondich ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ron at rongage.org Wed Mar 1 22:52:01 2006 From: ron at rongage.org (Ron Gage) Date: Wed, 01 Mar 2006 16:52:01 -0500 Subject: Can templates be cascaded together? Message-ID: <20060301165201.bxiwsu2oj1j48oc0@webmail.rongage.org> Can we cascade a template as in the following: define service{ name blah ... register 0 } define service{ name info use blah ... register 0 } define service{ name checkit use info ... } Why would I want to use such an arrangement? Simple: the "blah" service defines generic values I want for ALL service checks (enable_notifications, etc...). The "info" service defines generic values for each check type - check_ping for example (check_command, service description, etc...). Of course, "checkit" is where I define which service to check on which host. Would this work? -- Ron Gage (LPIC1 MCP A+ Net+) Westland, Michigan ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Mar 1 22:48:03 2006 From: marc at ena.com (Marc Powell) Date: Wed, 1 Mar 2006 15:48:03 -0600 Subject: Can templates be cascaded together? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Ron Gage > Sent: Wednesday, March 01, 2006 3:52 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Can templates be cascaded together? > > Can we cascade a template as in the following: > > define service{ > name blah > ... > register 0 > } > define service{ > name info > use blah > ... > register 0 > } > define service{ > name checkit > use info > ... > } That's almost identical to the example usage in the documentation and should work as you expect - http://nagios.sourceforge.net/docs/2_0/templaterecursion.html (see Inheritance Chainging) " define host{ host_name bighost1 check_command check-host-alive notification_options d,u,r max_check_attempts 5 name hosttemplate1 } define host{ host_name bighost2 max_check_attempts 3 use hosttemplate1 name hosttemplate2 } define host{ host_name bighost3 use hosttemplate2 } " The above are chained definitions for real hosts (register 1 assumed) but it'll work for templates too I'm sure. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 1 22:48:53 2006 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 1 Mar 2006 16:48:53 -0500 Subject: Can templates be cascaded together? In-Reply-To: <20060301165201.bxiwsu2oj1j48oc0@webmail.rongage.org> References: <20060301165201.bxiwsu2oj1j48oc0@webmail.rongage.org> Message-ID: <302ce8b50603011348w258335e3md6d7bd2c2bffa103@mail.gmail.com> > > Why would I want to use such an arrangement? Simple: the "blah" service defines > generic values I want for ALL service checks (enable_notifications, etc...). > The "info" service defines generic values for each check type - check_ping for > example (check_command, service description, etc...). Of course, "checkit" is > where I define which service to check on which host. > > Would this work? > > Sure. See "inheritance chaining" in the documentation http://nagios.sourceforge.net/docs/2_0/templaterecursion.html you did read them right? :-P -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Mar 1 22:48:11 2006 From: marc at ena.com (Marc Powell) Date: Wed, 1 Mar 2006 15:48:11 -0600 Subject: Need help with service failure recheck interval Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of prosolutions at gmx.net > Sent: Wednesday, March 01, 2006 3:02 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Need help with service failure recheck interval > > > Using nagios 2.0b3 and have the following host and related service > defined: > [removed host and service definitions. Thanks!] > test_client is a simple script that tests the connectivity of the custom > service that at listening at 172.16.0.50. It is set to timeout and fail > at 35 seconds. > > interval_length is set to 1, therefore normal_check_interval=1500 should > be 1500s=25m and retry_check_interval=20 should be 20s. However last > night test_client failed and gave initial notification of state CRITICAL > at 00:37:21. Manually testing by me immediately after receiving this > notification showed that the service was indeed back up therefore I am > almost 100% certain that subsequent test_client checks by nagios would > have succeeded. However, I did not receive an RECOVERY alert until > 01:26:46, which is almost exactly 50 minutes after the initial CRITICAL > alert. I would expect this to have been ~25 minutes. > Also, I have another test for a similar service with identical > parameters, and in that case it didn't send a RECOVERY alert until > almost exactly 75 minutes after the CRITICAL alert. Have you checked nagios.log to verify that your assumptions about the check results in both cases are accurate? We'd need those and related entries to know what's really going on, else we're just speculating. If you're not seeing sufficient log entries, make sure you've enabled log_ options in nagios.cfg. You may also want to consider enabling debug options at compile time for additional logging. As noted in nagios.cfg, using an interval_length other than 60 isn't common and isn't thoroughly tested. I for one have not experienced notification issues such as this using many versions of Netsaint/Nagios. Also, you should be using the 2.0 release now to make sure you're not hitting a bug that's already been fixed. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkoponick at redhawk.info Thu Mar 2 00:52:41 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Wed, 1 Mar 2006 15:52:41 -0800 Subject: Syslog - Nagios? Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109C63@raptor.redhawk.info> I would like to send Syslog information from a remote Nagios sensor to the Central Server via NSCA, since it's already in place. I'm trying to see if there is a feasible way to parse out the information I need, using something like SWATCH and send it to the Central Server, who should be able to send it to a MySQL server. I was thinking that I might be able to write the parsed out information to the Nagios command file, but I don't think that would work. My thinking is that if it was written to the Nagios command file that I would be able to send it the parsed out information via the Nagios process, but I might be WAY off base. Has anyone ever done anything like this before? Thanks in advance, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From james at lovedthanlost.net Thu Mar 2 03:39:29 2006 From: james at lovedthanlost.net (James Turnbull) Date: Thu, 02 Mar 2006 13:39:29 +1100 Subject: Syslog - Nagios? In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD4109C63@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD4109C63@raptor.redhawk.info> Message-ID: <44065AE1.9070607@lovedthanlost.net> Mike Koponick wrote: > > I would like to send Syslog information from a remote Nagios sensor to > the Central Server via NSCA, since it?s already in place. > > I?m trying to see if there is a feasible way to parse out the > information I need, using something like SWATCH and send it to the > Central Server, who should be able to send it to a MySQL server. > > I was thinking that I might be able to write the parsed out > information to the Nagios command file, but I don?t think that would > work. My thinking is that if it was written to the Nagios command file > that I would be able to send it the parsed out information via the > Nagios process, but I might be WAY off base. > > Has anyone ever done anything like this before? > > Thanks in advance, > > Mike > Yes - it's pretty easy. With syslog-NG you can write template output something like: destination d_facility_crit { pipe("/var/run/nagios.pipe" template("$HOST,$FACILITY,2,'$MSG'\n") template_escape(no)); }; The template being the data in a form that NSCA can read. The destination is a named pipe. Then echo the contents of the pipe into the send_nsca binary. Regards James Turnbull -- James Turnbull --- Author of Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) Hardening Linux (http://www.amazon.com/gp/product/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vincent at kenic.or.ke Thu Mar 2 12:08:37 2006 From: vincent at kenic.or.ke (Vincent Ngundi) Date: Thu, 02 Mar 2006 14:08:37 +0300 Subject: NRPE SSL Error Message-ID: <1141297717.3190.88.camel@vngundi> Hi All, I'm getting the following error when I run NRPE on a remote host: "CHECK_NRPE: Error - Could not complete SSL handshake." I have looked at the NAGIOS FAQ section and none of the posts seems to be of help. Anyone out there?? System: ------- FreeBSD 5.3 NAGIOS 2.0 NRPE 2.3 Apache 1.3.33 Regards, -Vincent ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thyes at gmx.net Thu Mar 2 12:31:03 2006 From: thyes at gmx.net (Frank Thyes) Date: Thu, 2 Mar 2006 12:31:03 +0100 Subject: NRPE SSL Error In-Reply-To: <1141297717.3190.88.camel@vngundi> References: <1141297717.3190.88.camel@vngundi> Message-ID: <20060302113103.GB35991@gator> Hi Vincent, +++ Vincent Ngundi [Thu, Mar 02, 2006 at 12:08:37PM CET]: > > I'm getting the following error when I run NRPE on a remote host: > > "CHECK_NRPE: Error - Could not complete SSL handshake." > > I have looked at the NAGIOS FAQ section and none of the posts seems to > be of help. Anyone out there?? Have you build the nrpe daemon with ssl? What does ldd nrpe say? Log enabled? Regards Frank -- A: Maybe because some people are too annoyed by top-posting. Q: Why do I not get an answer to my question(s)? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel at dep.fem.unicamp.br Thu Mar 2 13:11:01 2006 From: daniel at dep.fem.unicamp.br (Daniel Carvalho) Date: Thu, 2 Mar 2006 09:11:01 -0300 Subject: nagios check-host-alive always down In-Reply-To: References: Message-ID: <4ed3d40d0603020411y6b384e4an3029867f41f6e456@mail.gmail.com> Hello Marc, thanks for your answer. I'm sorry to reply to you too late. Here in my country we were on holiday. The notification information is sent to an e-mail address that I especified on contacts.cfg. The web interface is not installed yet. Find attached some cfg files and the notification alert. Thanks and best regards ***** Nagios ***** Notification Type: PROBLEM Host: bud01 State: DOWN Address: 192.168.0.1 Info: /bin/ping -n -U -w 10 -c 1 192.168.0.1 Date/Time: Thu Mar 2 08:52:19 BRT 2006 On 2/24/06, Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Daniel Carvalho > > Sent: Friday, February 24, 2006 12:22 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] nagios check-host-alive always down > > > > Hi list > > > > > > > > I?m a new nagios user and running in some configuration problems. > > > > > > > > I installed nagios 1.3-14 and nagios-plugins 1.4-2.2, and configured > > hosts, hostgroup, etc. Everything works fine, but the notifications > > always come with host DOWN. What happend with nagios??? > > > This was sent to the mailing list 4 times. You might want to check your > mailer. > > Chances are nagios is doing exactly what you've told it to do. In order > for us to be able to help you troubleshoot this issue, you'll need to > provide us with more specific information about your configuration and the > problem. Does the host/service show down in the web interface? What is the > status information? Please show us an example host definition, service > definition, their associated command definitions and the notification > command definition that is used when you receive these bad notifications. > Any relevant 'error' output would be useful as well. As with any kind of > problem, it's hard to troubleshoot if you don't have specific information > about the problem. > > -- > Marc > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: hosts.cfg Type: application/octet-stream Size: 1632 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: services.cfg Type: application/octet-stream Size: 2562 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: checkcommands.cfg Type: application/octet-stream Size: 4479 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: hostgroups.cfg Type: application/octet-stream Size: 813 bytes Desc: not available URL: From Rainer.Brunold at allianz.at Thu Mar 2 13:34:16 2006 From: Rainer.Brunold at allianz.at (Rainer.Brunold at allianz.at) Date: Thu, 2 Mar 2006 13:34:16 +0100 Subject: host config - action_url - launch external program [wd-vc] Message-ID: An HTML attachment was scrubbed... URL: From vincent at kenic.or.ke Thu Mar 2 13:51:59 2006 From: vincent at kenic.or.ke (Vincent Ngundi) Date: Thu, 02 Mar 2006 15:51:59 +0300 Subject: NRPE SSL Error In-Reply-To: <20060302113103.GB35991@gator> References: <1141297717.3190.88.camel@vngundi> <20060302113103.GB35991@gator> Message-ID: <1141303920.3190.93.camel@vngundi> Hi Frank, On Thu, 2006-03-02 at 12:31 +0100, Frank Thyes wrote: > Hi Vincent, > > +++ Vincent Ngundi [Thu, Mar 02, 2006 at 12:08:37PM CET]: > > > > I'm getting the following error when I run NRPE on a remote host: > > > > "CHECK_NRPE: Error - Could not complete SSL handshake." > > > > I have looked at the NAGIOS FAQ section and none of the posts seems to > > be of help. Anyone out there?? > > Have you build the nrpe daemon with ssl? What does ldd nrpe say? Log > enabled? > > Regards > Frank Thanks for your response. * Yes, I have compiled the nrep daemon with ssl. I ran ./configure --enable-ssl * ldd nrpe returns "ldd: nrpe: No such file or directory" Regards, -Vincent. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thyes at gmx.net Thu Mar 2 14:11:21 2006 From: thyes at gmx.net (Frank Thyes) Date: Thu, 2 Mar 2006 14:11:21 +0100 Subject: NRPE SSL Error In-Reply-To: <1141303920.3190.93.camel@vngundi> References: <1141297717.3190.88.camel@vngundi> <20060302113103.GB35991@gator> <1141303920.3190.93.camel@vngundi> Message-ID: <20060302131121.GA5611@gator> Hi Vincent, +++ Vincent Ngundi [Thu, Mar 02, 2006 at 01:51:59PM CET]: > > Thanks for your response. > > * Yes, I have compiled the nrep daemon with ssl. I ran > ./configure --enable-ssl > > * ldd nrpe returns "ldd: nrpe: No such file or directory" You have to specify the path to your nrpe binary! 1. Build nrpe 2. Copy the binary and alls plugins which nrpe should use to the host which you like to monitor. 3. Start the daemon on that host (For debugging purposes use nrpe -d -c /path/to/nrpe.cfg) enable debugging in nrpe.cfg and watch your logs. 4. Test if the daemon works from your server If you see output like: ./check_nrpe -H xxx.xxx.xxx .xxx NRPE v2.0 Nrpe works as expected. If not, try the README which is a really good starting point... Regards Frank -- Living on Earth may be expensive, but it includes an annual free trip around the Sun. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tim.stoop at gmail.com Thu Mar 2 14:14:57 2006 From: tim.stoop at gmail.com (Tim Stoop) Date: Thu, 2 Mar 2006 14:14:57 +0100 Subject: Hosts checks not done when there is no service configured? Message-ID: <5beee6a0603020514g17defcd3ocf0b05166b34a68c@mail.gmail.com> Hi there, I'm configuring Nagios and it seems that host-checks (check_command check-host-alive) aren't queued. I need to add a PING service on each host, to keep track of the uptime. Is this normal? I'd like to keep track of ISP routers at customers sites, so we can see if a fallout is caused by our devices or by the ISP. I'm using Nagios 1.3, the latest package from the stable Debian branche. -- Gegroet, Tim ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thyes at gmx.net Thu Mar 2 14:21:46 2006 From: thyes at gmx.net (Frank Thyes) Date: Thu, 2 Mar 2006 14:21:46 +0100 Subject: NRPE SSL Error In-Reply-To: <20060302131121.GA5611@gator> References: <1141297717.3190.88.camel@vngundi> <20060302113103.GB35991@gator> <1141303920.3190.93.camel@vngundi> <20060302131121.GA5611@gator> Message-ID: <20060302132146.GB5611@gator> +++ Frank Thyes [Thu, Mar 02, 2006 at 02:11:21PM CET]: > Hi Vincent, > > +++ Vincent Ngundi [Thu, Mar 02, 2006 at 01:51:59PM CET]: > > > > Thanks for your response. > > > > * Yes, I have compiled the nrep daemon with ssl. I ran > > ./configure --enable-ssl > > > > * ldd nrpe returns "ldd: nrpe: No such file or directory" > > You have to specify the path to your nrpe binary! > > 1. Build nrpe > 2. Copy the binary and alls plugins which nrpe should use to the > host which you like to monitor. > 3. Start the daemon on that host (For debugging purposes use nrpe -d -c > /path/to/nrpe.cfg) enable debugging in nrpe.cfg and watch your logs. > 4. Test if the daemon works from your server > > If you see output like: > > ./check_nrpe -H xxx.xxx.xxx .xxx > NRPE v2.0 > > Nrpe works as expected. If not, try the README which is a really > good starting point... addendum... If it doesnt work, try to build the binary on your monitoring host. You have to install the openssl package on each system. A other possibility ist to not create a dynamical executable. This binary can be used on each of your linux boxes. Regards Frank -- In the beginning was the word and the word was content-type: text/plain ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gwcook at arcadis-us.com Thu Mar 2 15:30:33 2006 From: gwcook at arcadis-us.com (Cook, Garry) Date: Thu, 2 Mar 2006 07:30:33 -0700 Subject: Hosts checks not done when there is no service configured? Message-ID: <38D6D515FC15924693F2640881AF46202DC91F@corpexbe2.arcadis-us.com> Yes, that's completely normal. Please read the fine manual at: http://nagios.sourceforge.net/docs/1_0/ Specifically, the Network Reachability portion of the Theory of Operations section: http://nagios.sourceforge.net/docs/1_0/networkreachability.html And the FAQ at: http://www.nagios.org/faqs/viewfaq.php?faq_id=39 Thanks, Garry -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tim Stoop Sent: Thursday, March 02, 2006 6:15 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Hosts checks not done when there is no service configured? Hi there, I'm configuring Nagios and it seems that host-checks (check_command check-host-alive) aren't queued. I need to add a PING service on each host, to keep track of the uptime. Is this normal? I'd like to keep track of ISP routers at customers sites, so we can see if a fallout is caused by our devices or by the ISP. I'm using Nagios 1.3, the latest package from the stable Debian branche. -- Gegroet, Tim ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m at rtij.nl Thu Mar 2 16:00:22 2006 From: m at rtij.nl (Martijn Lievaart) Date: Thu, 2 Mar 2006 16:00:22 +0100 (CET) Subject: Syslog - Nagios? In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD4109C63@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD4109C63@raptor.redhawk.info> Message-ID: <54478.217.166.60.19.1141311622.squirrel@ma.rtij.nl> Mike Koponick zei: > I would like to send Syslog information from a remote Nagios sensor to > the Central Server via NSCA, since it's already in place. > > > > I'm trying to see if there is a feasible way to parse out the > information I need, using something like SWATCH and send it to the > Central Server, who should be able to send it to a MySQL server. > > > > I was thinking that I might be able to write the parsed out information > to the Nagios command file, but I don't think that would work. My > thinking is that if it was written to the Nagios command file that I > would be able to send it the parsed out information via the Nagios > process, but I might be WAY off base. > > > > Has anyone ever done anything like this before? I found swatch to be unreliable. Don't remember why, but I cooked up the following perl script. It sends mail and is hardwired for a certain event, but it should get you started. BTW you need gnu tail for this. #!/usr/bin/perl -w use warnings; use strict; $| = 1; my $p; open $p, "tail --follow=name /var/log/nagios/nagios.log |" or die "Cannot open pipe: $!"; while (<$p>) { /Warning:.*The service could not be found/ and do { use Mail::Sendmail; my %mail = ( To => '', From => 'nagioswatcher@', Subject => 'WARNING: unknown service result', Message => $_ ); sendmail(%mail) or die $Mail::Sendmail::error; }; } Cheers, M4 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 2 16:31:03 2006 From: marc at ena.com (Marc Powell) Date: Thu, 2 Mar 2006 09:31:03 -0600 Subject: nagios check-host-alive always down Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Daniel Carvalho > Sent: Thursday, March 02, 2006 6:11 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios check-host-alive always down {Disarmed} > {Fraud?} > > Hello Marc, thanks for your answer. > > I'm sorry to reply to you too late. Here in my country we were on holiday. > > The notification information is sent to an e-mail address that I > especified on contacts.cfg. The web interface is not installed yet. > > Find attached some cfg files and the notification alert. > > Thanks and best regards > > ***** Nagios ***** > > Notification Type: PROBLEM > Host: bud01 > State: DOWN > Address: 192.168.0.1 > Info: /bin/ping -n -U -w 10 -c 1 192.168.0.1 It would appear that /bin/ping is not executable by the nagios user. Try running the command in the Info as the nagios user. In some distributions, ping is only executable by root. You can modify that by giving /bin/ping suid permissions if it doesn't have them already -- # ls -al /bin/ping -rwxr-xr-x 1 root root 27860 Sep 29 13:28 /bin/ping # chmod u+s /bin/ping # ls -al /bin/ping -rwsr-xr-x 1 root root 27860 Sep 29 13:28 /bin/ping -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dick at uchicago.edu Thu Mar 2 16:51:28 2006 From: dick at uchicago.edu (dick at uchicago.edu) Date: Thu, 2 Mar 2006 09:51:28 -0600 Subject: nagios on VPN gateway: ping trouble Message-ID: <50325a4.92c3eac8.819d300@m4500-00.uchicago.edu> ---- Original message ---- >Date: Tue, 28 Feb 2006 20:07:27 -0500 >From: "Chet Luther" >Subject: Re: [Nagios-users] nagios on VPN gateway: ping trouble >To: "dick at uchicago.edu" > >On 2/28/06, dick at uchicago.edu wrote: >> i have successfully installed nagios-2.0b4p0-chroot and its related packages, >> nagios-plugins-1.4.1 and nagios-web-2.0b4-chroot, on my home firewall/VPN >> gateway that's running openbsd-3.8 release. i'm starting simple and doing a >> check_ping on all my local machines (10.9.0/24 and 10.9.1/24 subnets), which is >> working great and i can see their status under the nagios web interface. now >> that i have check_ping working for my local machines, i want to do the same for >> hosts at my remote location (10.0.0/24 and 10.0.1./24 subnets) that are under >> the same VPN. >> >> however, i am not able to check_ping for 10.0.0.1, the remote VPN gateway, even >> though i'm able to ping it from my home VPN gateway. since my home VPN gateway >> has both a public IP, x.y.z.w, and a private IP, 10.9.0.1, i have to issue a >> "ping -I 10.9.0.1 10.0.0.1" to ping the remote VPN gateway via the VPN, >> otherwise the interface address transmitted falls outside my VPN subnet >> (10.9/16) and the ping doesn't get routed through the VPN. i changed the >> ping_syntax variable in cgi.cfg from "/bin/ping -n -c 5 $HOSTADDRESS$" to >> "/bin/ping -I 10.9.0.1 -n -c 5 $HOSTADDRESS$" to try to remedy the problem, but >> it hasn't done the trick. >> >> just to be clear, here is an text rendering of the situation: >> >> ######################### ############################# >> # home VPN gw # # work VPN gw # >> # pub. IP = x.y.z.w #--internet----# pub. IP = a.b.c.d # >> # priv. IP = 10.9.0.1 # # priv. IP = 10.0.0.1 # >> # VPN for 10.9/16 # # VPN for 10.0/16 # >> ######################### ############################# >> >> am i not supposed to run nagios on such a gateway? i could move it to another >> machine behind the gateway at home, but i would rather not for computing >> resource reasons. any suggestions on how to successfully check_ping in this >> situation would be appreciated. thx for reading. > >Jake, > >Just add a route for the 10.0/16 on your home VPN gateway to the >proper interface so that the source interface is correct by default. > many thanks! issuing a "route add 10.0/16 10.9.0.1" on the home gateway did the trick. >-- >Chet Luther >chet.luther at gmail.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel at dep.fem.unicamp.br Thu Mar 2 16:59:45 2006 From: daniel at dep.fem.unicamp.br (Daniel Carvalho) Date: Thu, 2 Mar 2006 12:59:45 -0300 Subject: nagios check-host-alive always down In-Reply-To: References: Message-ID: <4ed3d40d0603020759w49fcaef0ld534c5366259ba83@mail.gmail.com> Hi Marc, The command /bin/ping -n -U -w 10 -c 1 192.168.0.1 is executable for user nagios. I logged as nagios user and exec the command above and everythings is OK. The nagios machine is running CentOS 4.0. I installed nagios via yum. Thanks Daniel On 3/2/06, Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Daniel Carvalho > > Sent: Thursday, March 02, 2006 6:11 AM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] nagios check-host-alive always down > {Disarmed} > > {Fraud?} > > > > Hello Marc, thanks for your answer. > > > > I'm sorry to reply to you too late. Here in my country we were on > holiday. > > > > The notification information is sent to an e-mail address that I > > especified on contacts.cfg. The web interface is not installed yet. > > > > Find attached some cfg files and the notification alert. > > > > Thanks and best regards > > > > ***** Nagios ***** > > > > Notification Type: PROBLEM > > Host: bud01 > > State: DOWN > > Address: 192.168.0.1 > > Info: /bin/ping -n -U -w 10 -c 1 192.168.0.1 > > It would appear that /bin/ping is not executable by the nagios user. Try > running the command in the Info as the nagios user. In some > distributions, ping is only executable by root. You can modify that by > giving /bin/ping suid permissions if it doesn't have them already -- > > # ls -al /bin/ping > -rwxr-xr-x 1 root root 27860 Sep 29 13:28 /bin/ping > > # chmod u+s /bin/ping > > # ls -al /bin/ping > -rwsr-xr-x 1 root root 27860 Sep 29 13:28 /bin/ping > > -- > Marc > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: From marc at ena.com Thu Mar 2 17:10:31 2006 From: marc at ena.com (Marc Powell) Date: Thu, 2 Mar 2006 10:10:31 -0600 Subject: nagios check-host-alive always down {Disarmed} {Fraud?} Message-ID: Hmm. That's an unexpected result. The next step would be to go one level higher and execute nagios' check_ping as the nagios user -- /path/to/nagios/libexec/check_ping -H 192.168.0.1 -w 3000.0,80% -c 5000.0,100% -p 1 Do you have SELinux enabled? Have you modified the default policies? I'd look for 'avc denied' messages related to nagios in /var/log/messages just to be safe or, as root, run 'audit2allow -l -i /var/log/messages -v'. -- Marc Powell > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Daniel Carvalho > Sent: Thursday, March 02, 2006 10:00 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios check-host-alive always down {Disarmed} > {Fraud?} > > Hi Marc, > > The command /bin/ping -n -U -w 10 -c 1 192.168.0.1 is executable for user > nagios. I logged as nagios user and exec the command above and everythings > is OK. > > The nagios machine is running CentOS 4.0. I installed nagios via yum. > > Thanks > > Daniel > > > On 3/2/06, Marc Powell < marc at ena.com > wrote: > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net users-admin at lists.sourceforge.net> [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Daniel Carvalho > > Sent: Thursday, March 02, 2006 6:11 AM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] nagios check-host-alive always down > {Disarmed} > > {Fraud?} > > > > Hello Marc, thanks for your answer. > > > > I'm sorry to reply to you too late. Here in my country we were on > holiday. > > > > The notification information is sent to an e-mail address that I > > especified on contacts.cfg. The web interface is not installed > yet. > > > > Find attached some cfg files and the notification alert. > > > > Thanks and best regards > > > > ***** Nagios ***** > > > > Notification Type: PROBLEM > > Host: bud01 > > State: DOWN > > Address: 192.168.0.1 > > Info: /bin/ping -n -U -w 10 -c 1 192.168.0.1 > > It would appear that /bin/ping is not executable by the nagios user. > Try > running the command in the Info as the nagios user. In some > distributions, ping is only executable by root. You can modify that > by > giving /bin/ping suid permissions if it doesn't have them already -- > > # ls -al /bin/ping > -rwxr-xr-x 1 root root 27860 Sep 29 13:28 /bin/ping > > # chmod u+s /bin/ping > > # ls -al /bin/ping > -rwsr-xr-x 1 root root 27860 Sep 29 13:28 /bin/ping > > -- > Marc > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel at dep.fem.unicamp.br Thu Mar 2 17:31:49 2006 From: daniel at dep.fem.unicamp.br (Daniel Carvalho) Date: Thu, 2 Mar 2006 13:31:49 -0300 Subject: nagios check-host-alive always down {Disarmed} {Fraud?} In-Reply-To: References: Message-ID: <4ed3d40d0603020831i1d9816dfmfc7976e0b2c5fe6e@mail.gmail.com> Marc, The nagios users check_ping result is: PING OK - Packet loss = 0%, RTA = 0.07 ms The SELinux is not enabled because I installed ganglia monitor too. And there is no message like 'avc denied' in /var/log/message and the output of command audit2allow is blank. Thanks Daniel On 3/2/06, Marc Powell wrote: > > Hmm. That's an unexpected result. The next step would be to go one level > higher and execute nagios' check_ping as the nagios user -- > > /path/to/nagios/libexec/check_ping -H 192.168.0.1 -w 3000.0,80% -c > 5000.0,100% -p 1 > > Do you have SELinux enabled? Have you modified the default policies? I'd > look for 'avc denied' messages related to nagios in /var/log/messages > just to be safe or, as root, run 'audit2allow -l -i /var/log/messages > -v'. > > -- > Marc Powell > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Daniel Carvalho > > Sent: Thursday, March 02, 2006 10:00 AM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] nagios check-host-alive always down > {Disarmed} > > {Fraud?} > > > > Hi Marc, > > > > The command /bin/ping -n -U -w 10 -c 1 192.168.0.1 is executable for > user > > nagios. I logged as nagios user and exec the command above and > everythings > > is OK. > > > > The nagios machine is running CentOS 4.0. I installed nagios via yum. > > > > Thanks > > > > Daniel > > > > > > On 3/2/06, Marc Powell < marc at ena.com > wrote: > > > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > users-admin at lists.sourceforge.net> [mailto:nagios-users- > > > admin at lists.sourceforge.net] On Behalf Of Daniel Carvalho > > > Sent: Thursday, March 02, 2006 6:11 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] nagios check-host-alive always > down > > {Disarmed} > > > {Fraud?} > > > > > > Hello Marc, thanks for your answer. > > > > > > I'm sorry to reply to you too late. Here in my country we were > on > > holiday. > > > > > > The notification information is sent to an e-mail address that > I > > > especified on contacts.cfg. The web interface is not installed > > yet. > > > > > > Find attached some cfg files and the notification alert. > > > > > > Thanks and best regards > > > > > > ***** Nagios ***** > > > > > > Notification Type: PROBLEM > > > Host: bud01 > > > State: DOWN > > > Address: 192.168.0.1 > > > Info: /bin/ping -n -U -w 10 -c 1 192.168.0.1 > > > > It would appear that /bin/ping is not executable by the nagios > user. > > Try > > running the command in the Info as the nagios user. In some > > distributions, ping is only executable by root. You can modify > that > > by > > giving /bin/ping suid permissions if it doesn't have them > already -- > > > > # ls -al /bin/ping > > -rwxr-xr-x 1 root root 27860 Sep 29 13:28 > /bin/ping > > > > # chmod u+s /bin/ping > > > > # ls -al /bin/ping > > -rwsr-xr-x 1 root root 27860 Sep 29 13:28 > /bin/ping > > > > -- > > Marc > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking > scripting > > language > > that extends applications into web and mobile media. Attend the > live > > webcast > > and join the prime developer group breaking into this new coding > > territory! > > > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: From estair at ilm.com Thu Mar 2 18:03:25 2006 From: estair at ilm.com (Eli Stair) Date: Thu, 2 Mar 2006 09:03:25 -0800 Subject: host config - action_url - launch external program [wd-vc] Message-ID: <6E56E676C9D6A74EBC980144BC06A17D0614F2@mailbox03.lucas.alllucas.com> Well, if you're using IE* there are innumerable hacks you could exploit usefully in this scenario to do what you want :) Other than that, there are some functional Java SSH clients that you can have the URL load in your browser, or alternately use some server-side scripting to generate whatever you want. You're looking along those lines? /eli -----Original Message----- From: nagios-users-admin at lists.sourceforge.net on behalf of Rainer.Brunold at allianz.at Sent: Thu 3/2/2006 4:34 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] host config - action_url - launch external program [wd-vc] Hello nagios users ! I have a small question if anybody has configured a action_url for a host which launches a local program of the windows machine where you have your browser. I monitor several services of a host like http, https, ssh,cpu, .... If one of them appears in the service problems I open the host details and have just to click on the "extra host action" link and a local program like putty with the hostname as the parameter is launched. So I would get automatically a ssh session to that server. Any advice would be great, thanks, Rainer ******************************************************** Dieses E-Mail und allfaellig daran angeschlossene Anhaenge enthalten Informationen, die vertraulich und ausschliesslich fuer den (die) bezeichneten Adressaten bestimmt sind. Wenn Sie nicht der genannte Adressat sind, darf dieses E-Mail samt allfaelliger Anhaenge von Ihnen weder anderen Personen zugaenglich gemacht, noch in anderer Weise verwertet werden. Wenn Sie nicht der beabsichtigte Empfaenger sind, bitten wir Sie, dieses E-Mail und saemtliche angeschlossenen Anhaenge zu loeschen. ******************************************************** ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: From marc at ena.com Thu Mar 2 18:05:35 2006 From: marc at ena.com (Marc Powell) Date: Thu, 2 Mar 2006 11:05:35 -0600 Subject: nagios check-host-alive always down {Disarmed} {Fraud?} {Disarmed} {Fraud?} Message-ID: And that's even more unexpected. If you ran the test as the nagios user then you did exactly what nagios is doing. Do you have multiple copies of nagios running? Stop nagios, use ps to verify that all are dead and restart nagios. -- Marc > -----Original Message----- > From: dlcarvalho at gmail.com [mailto:dlcarvalho at gmail.com] On Behalf Of > Daniel Carvalho > Sent: Thursday, March 02, 2006 10:32 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios check-host-alive always down {Disarmed} > {Fraud?} {Disarmed} {Fraud?} > > Marc, > > The nagios users check_ping result is: PING OK - Packet loss = 0%, RTA = > 0.07 ms > > The SELinux is not enabled because I installed ganglia monitor too. And > there is no message like 'avc denied' in /var/log/message and the output > of command audit2allow is blank. > > Thanks > > Daniel > > > On 3/2/06, Marc Powell wrote: > > Hmm. That's an unexpected result. The next step would be to go one > level > higher and execute nagios' check_ping as the nagios user -- > > /path/to/nagios/libexec/check_ping -H 192.168.0.1 -w 3000.0,80% -c > 5000.0,100% -p 1 > > Do you have SELinux enabled? Have you modified the default policies? > I'd > look for 'avc denied' messages related to nagios in > /var/log/messages > just to be safe or, as root, run 'audit2allow -l -i > /var/log/messages > -v'. > > -- > Marc Powell > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto: nagios- > users- > > admin at lists.sourceforge.net] On Behalf Of Daniel Carvalho > > Sent: Thursday, March 02, 2006 10:00 AM > > To: nagios-users at lists.sourceforge.net users at lists.sourceforge.net> > > Subject: Re: [Nagios-users] nagios check-host-alive always down > {Disarmed} > > {Fraud?} > > > > Hi Marc, > > > > The command /bin/ping -n -U -w 10 -c 1 192.168.0.1 is executable > for > user > > nagios. I logged as nagios user and exec the command above and > everythings > > is OK. > > > > The nagios machine is running CentOS 4.0. I installed nagios via > yum. > > > > Thanks > > > > Daniel > > > > > > On 3/2/06, Marc Powell < marc at ena.com > > wrote: > > > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net nagios- > > users-admin at lists.sourceforge.net> [mailto:nagios-users- > > > admin at lists.sourceforge.net > ] On Behalf Of Daniel Carvalho > > > Sent: Thursday, March 02, 2006 6:11 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] nagios check-host-alive always > down > > {Disarmed} > > > {Fraud?} > > > > > > Hello Marc, thanks for your answer. > > > > > > I'm sorry to reply to you too late. Here in my country we > were > on > > holiday. > > > > > > The notification information is sent to an e-mail address > that > I > > > especified on contacts.cfg. The web interface is not > installed > > yet. > > > > > > Find attached some cfg files and the notification alert. > > > > > > Thanks and best regards > > > > > > ***** Nagios ***** > > > > > > Notification Type: PROBLEM > > > Host: bud01 > > > State: DOWN > > > Address: 192.168.0.1 > > > Info: /bin/ping -n -U -w 10 -c 1 192.168.0.1 > > > > It would appear that /bin/ping is not executable by the > nagios > user. > > Try > > running the command in the Info as the nagios user. In some > > distributions, ping is only executable by root. You can > modify > that > > by > > giving /bin/ping suid permissions if it doesn't have them > already -- > > > > # ls -al /bin/ping > > -rwxr-xr-x 1 root root 27860 Sep 29 13:28 > /bin/ping > > > > # chmod u+s /bin/ping > > > > # ls -al /bin/ping > > -rwsr-xr-x 1 root root 27860 Sep 29 13:28 > /bin/ping > > > > -- > > Marc > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking > scripting > > language > > that extends applications into web and mobile media. Attend > the > live > > webcast > > and join the prime developer group breaking into this new > coding > > territory! > > > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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 xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter at berghold.net Thu Mar 2 18:14:18 2006 From: Peter at berghold.net (Peter L. Berghold) Date: Thu, 02 Mar 2006 12:14:18 -0500 Subject: multiple templates for one definition? Message-ID: <440727EA.9030603@Berghold.Net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm not sure this has already been asked/answered and I haven't found it specifically in the documentation, but is these legal? define host { host_name a_host use host-template-a use host-template-b } define service { use a-host-template use generic-ping-template } In the case of the host definition I'm trying to put really generic standard parameters in one template, "group specific" templates. In the case of the service definition I'm trying to get away with defining the ping service ONCE and the host specific parameters in another template. The end result I'm after is a really clean configuration file set that's fairly easy to read. - -- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Peter L. Berghold Peter at Berghold.Net "Those who fail to learn from history are condemned to repeat it." AIM: redcowdawg Yahoo IM: blue_cowdawg ICQ: 11455958 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org iD8DBQFEByfpUM9/01RIhaARAvW0AJwL44r8mxiY8by2U0vTyKPVPZMYsgCgtVHv Gb+474uQDLTqm03KLcqGp98= =OOEh -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: Peter.vcf Type: text/x-vcard Size: 192 bytes Desc: not available URL: From daniel at dep.fem.unicamp.br Thu Mar 2 18:23:50 2006 From: daniel at dep.fem.unicamp.br (Daniel Carvalho) Date: Thu, 2 Mar 2006 14:23:50 -0300 Subject: nagios check-host-alive always down {Disarmed} {Fraud?} {Disarmed} {Fraud?} In-Reply-To: References: Message-ID: <4ed3d40d0603020923r21ad47f5sda45712c022a0df9@mail.gmail.com> When I run as nagios user, everything works fine. And I have only one copy of nagios when I ran ps command. I stoped and restart nagios and only one service appeared. Thanks Daniel On 3/2/06, Marc Powell wrote: > > And that's even more unexpected. If you ran the test as the nagios user > then you did exactly what nagios is doing. Do you have multiple copies > of nagios running? Stop nagios, use ps to verify that all are dead and > restart nagios. > > -- > Marc > > > -----Original Message----- > > From: dlcarvalho at gmail.com [mailto:dlcarvalho at gmail.com] On Behalf Of > > Daniel Carvalho > > Sent: Thursday, March 02, 2006 10:32 AM > > To: Marc Powell > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] nagios check-host-alive always down > {Disarmed} > > {Fraud?} {Disarmed} {Fraud?} > > > > Marc, > > > > The nagios users check_ping result is: PING OK - Packet loss = 0%, RTA > = > > 0.07 ms > > > > The SELinux is not enabled because I installed ganglia monitor too. > And > > there is no message like 'avc denied' in /var/log/message and the > output > > of command audit2allow is blank. > > > > Thanks > > > > Daniel > > > > > > On 3/2/06, Marc Powell wrote: > > > > Hmm. That's an unexpected result. The next step would be to go > one > > level > > higher and execute nagios' check_ping as the nagios user -- > > > > /path/to/nagios/libexec/check_ping -H 192.168.0.1 -w 3000.0,80% > -c > > 5000.0,100% -p 1 > > > > Do you have SELinux enabled? Have you modified the default > policies? > > I'd > > look for 'avc denied' messages related to nagios in > > /var/log/messages > > just to be safe or, as root, run 'audit2allow -l -i > > /var/log/messages > > -v'. > > > > -- > > Marc Powell > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net [mailto: > nagios- > > users- > > > admin at lists.sourceforge.net] On Behalf Of Daniel Carvalho > > > Sent: Thursday, March 02, 2006 10:00 AM > > > To: nagios-users at lists.sourceforge.net > users at lists.sourceforge.net> > > > Subject: Re: [Nagios-users] nagios check-host-alive always > down > > {Disarmed} > > > {Fraud?} > > > > > > Hi Marc, > > > > > > The command /bin/ping -n -U -w 10 -c 1 192.168.0.1 is > executable > > for > > user > > > nagios. I logged as nagios user and exec the command above and > > everythings > > > is OK. > > > > > > The nagios machine is running CentOS 4.0. I installed nagios > via > > yum. > > > > > > Thanks > > > > > > Daniel > > > > > > > > > On 3/2/06, Marc Powell < marc at ena.com > > > wrote: > > > > > > > > > > > > > -----Original Message----- > > > > From: nagios-users-admin at lists.sourceforge.net > > nagios- > > > users-admin at lists.sourceforge.net> [mailto:nagios-users- > > > > admin at lists.sourceforge.net > > ] On Behalf Of Daniel Carvalho > > > > Sent: Thursday, March 02, 2006 6:11 AM > > > > To: nagios-users at lists.sourceforge.net > > > > Subject: Re: [Nagios-users] nagios check-host-alive > always > > down > > > {Disarmed} > > > > {Fraud?} > > > > > > > > Hello Marc, thanks for your answer. > > > > > > > > I'm sorry to reply to you too late. Here in my country > we > > were > > on > > > holiday. > > > > > > > > The notification information is sent to an e-mail > address > > that > > I > > > > especified on contacts.cfg. The web interface is not > > installed > > > yet. > > > > > > > > Find attached some cfg files and the notification > alert. > > > > > > > > Thanks and best regards > > > > > > > > ***** Nagios ***** > > > > > > > > Notification Type: PROBLEM > > > > Host: bud01 > > > > State: DOWN > > > > Address: 192.168.0.1 > > > > Info: /bin/ping -n -U -w 10 -c 1 192.168.0.1 > > > > > > It would appear that /bin/ping is not executable by the > > nagios > > user. > > > Try > > > running the command in the Info as the nagios user. In > some > > > distributions, ping is only executable by root. You can > > modify > > that > > > by > > > giving /bin/ping suid permissions if it doesn't have > them > > already -- > > > > > > # ls -al /bin/ping > > > -rwxr-xr-x 1 root root 27860 Sep 29 13:28 > > /bin/ping > > > > > > # chmod u+s /bin/ping > > > > > > # ls -al /bin/ping > > > -rwsr-xr-x 1 root root 27860 Sep 29 13:28 > > /bin/ping > > > > > > -- > > > Marc > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by xPML, a groundbreaking > > scripting > > > language > > > that extends applications into web and mobile media. > Attend > > the > > live > > > webcast > > > and join the prime developer group breaking into this > new > > coding > > > territory! > > > > > > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ::: 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 xPML, a groundbreaking > scripting > > language > > that extends applications into web and mobile media. Attend the > live > > webcast > > and join the prime developer group breaking into this new coding > > territory! > > > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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 xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: From drussell at mpifix.com Thu Mar 2 18:55:42 2006 From: drussell at mpifix.com (Danny Russell) Date: Thu, 2 Mar 2006 10:55:42 -0700 Subject: Nagios action_url Problems Message-ID: <028B223BB24E5443A9784BBE1CC5EBE0A40029@Lisa.mpifix.com> Fellow Nagios Users, I am running Nagios 2.0 and I am trying to use the action_url for a host definition. It is only half working. Here is my def: http://nagios.host.com/rdp.php?ip=$HOSTADDRESS$&host_name=$HOSTNAME$ The link shows up as: http://nagios.host.com/rdp.php?ip=10.100.0.70 & Can the action_url have multiple Nagios Marco Variables? What should I be doing here? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Thu Mar 2 19:41:06 2006 From: jhmartin at toger.us (Jason Martin) Date: Thu, 2 Mar 2006 10:41:06 -0800 Subject: multiple templates for one definition? In-Reply-To: <440727EA.9030603@Berghold.Net> References: <440727EA.9030603@Berghold.Net> Message-ID: <20060302184106.GO7611@mal.toger.us> On Thu, Mar 02, 2006 at 12:14:18PM -0500, Peter L. Berghold wrote: > In the case of the host definition I'm trying to put really generic A object cannot have multiple 'use' statements, but a template can inherit a template, allowing you to create a tree-like structure. -Jason Martin -- URA Redneck if you use more than one can of hairspray per week. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: From drussell at mpifix.com Thu Mar 2 19:48:56 2006 From: drussell at mpifix.com (Danny Russell) Date: Thu, 2 Mar 2006 11:48:56 -0700 Subject: Nagios action_url Problems Message-ID: <028B223BB24E5443A9784BBE1CC5EBE0A40068@Lisa.mpifix.com> There aren't any spaces in my config files. I switched around the url: http://nagios.host.com/rdp.php?host_name=$HOSTNAME$&ip=$HOSTADDRESS$ And now I get: http://nagios.host.com/rdp.php?host_name=Anderson& What's the special magic to get this to work? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Thomas.Zimmer at oppenheim.de Sent: Thursday, March 02, 2006 11:24 AM To: nagios-users at lists.sourceforge.net Subject: AW: [Nagios-users] Nagios action_url Problems try it without trailing spaces in the ip adress that should work :) Thomas Zimmer Produktservice & Betrieb Betrieb & Support Sal. Oppenheim jr. & Cie., Frankfurt a. Main Telefon: +49 69 7134 5192 Internet: http://www.oppenheim.de E-Mail: thomas.zimmer at oppenheim.de -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Danny Russell Gesendet: Donnerstag, 2. M?rz 2006 18:56 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Nagios action_url Problems Fellow Nagios Users, I am running Nagios 2.0 and I am trying to use the action_url for a host definition. It is only half working. Here is my def: http://nagios.host.com/rdp.php?ip=$HOSTADDRESS$&host_name=$HOSTNAME$ The link shows up as: http://nagios.host.com/rdp.php?ip=10.100.0.70 & Can the action_url have multiple Nagios Marco Variables? What should I be doing here? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From Thomas.Zimmer at oppenheim.de Thu Mar 2 20:16:28 2006 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Thu, 2 Mar 2006 20:16:28 +0100 Subject: AW: Nagios action_url Problems Message-ID: <9A834A8DCEC68648B20701E1CDE109250295ED54@OKWPMXS01.de.sal-opp.net> and the hostname is without whitespaces, too? i have exactly this definition working on nagios 2.0b4: http:// :/nagiostest/cgi-bin/top.cgi?host=$HOSTNAME$&service =$SERVICEDESC$> :/nagiostest/cgi-bin/top.cgi?host=$HOSTNAME$&service=$SERVIC EDESC$ try the HOSTNAME rather the address, all without blanks Thomas Zimmer Produktservice & Betrieb Betrieb & Support Sal. Oppenheim jr. & Cie., Frankfurt a. Main Telefon: +49 69 7134 5192 Internet: http://www.oppenheim.de E-Mail: thomas.zimmer at oppenheim.de -----Urspr?ngliche Nachricht----- Von: Danny Russell [mailto:drussell at mpifix.com] Gesendet: Donnerstag, 2. M?rz 2006 19:49 An: Zimmer, Thomas (BB) Frankfurt/M.; nagios-users at lists.sourceforge.net Betreff: RE: [Nagios-users] Nagios action_url Problems There aren't any spaces in my config files. I switched around the url: http://nagios.host.com/rdp.php?host_name=$HOSTNAME$ &ip=$HOSTADDRESS$ And now I get: http://nagios.host.com/rdp.php?host_name=Anderson& What's the special magic to get this to work? _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Thomas.Zimmer at oppenheim.de Sent: Thursday, March 02, 2006 11:24 AM To: nagios-users at lists.sourceforge.net Subject: AW: [Nagios-users] Nagios action_url Problems try it without trailing spaces in the ip adress that should work :) Thomas Zimmer Produktservice & Betrieb Betrieb & Support Sal. Oppenheim jr. & Cie., Frankfurt a. Main Telefon: +49 69 7134 5192 Internet: http://www.oppenheim.de E-Mail: thomas.zimmer at oppenheim.de -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Danny Russell Gesendet: Donnerstag, 2. M?rz 2006 18:56 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Nagios action_url Problems Fellow Nagios Users, I am running Nagios 2.0 and I am trying to use the action_url for a host definition. It is only half working. Here is my def: http://nagios.host.com/rdp.php?ip=$HOSTADDRESS$ &host_name=$HOSTNAME$ The link shows up as: http://nagios.host.com/rdp.php?ip=10.100.0.70 & Can the action_url have multiple Nagios Marco Variables? What should I be doing here? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Zimmer, Thomas (Produktservices und Betrieb).vcf Type: application/octet-stream Size: 254 bytes Desc: not available URL: From Rainer.Brunold at allianz.at Thu Mar 2 20:45:54 2006 From: Rainer.Brunold at allianz.at (Rainer.Brunold at allianz.at) Date: Thu, 2 Mar 2006 20:45:54 +0100 Subject: Antwort: *****RE: host config - action_url - launch external program [wd-vc] Message-ID: An HTML attachment was scrubbed... URL: From dschlecht at doit.nv.gov Thu Mar 2 23:00:43 2006 From: dschlecht at doit.nv.gov (David Schlecht) Date: Thu, 2 Mar 2006 23:00:43 +0100 (CET) Subject: crash recovery Message-ID: <20060302220043.BA8314F40E3@desire.netways.de> Hi All I'm still debugging a problem with Schedule Downtime, but, until I get there, I'm working on restarting the Nagios process after a crash. I've considerd a shell script for this but it seems that inittab is a better solution. However, when using inittab, I get the dreaded "respawning too fast" message as inittab tries to restart the process as soon as the Nagios loader switches to daemon. Has anyone succeeded at loading Nagios from inittab? If so, how did you do it? What other restart solutions have you found? For what it's worth, I'm running Nagios 2.0b? on numerous flavors of SuSE on numerous hardware platforms. - David Schlecht (dschl) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Thu Mar 2 23:38:37 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Thu, 02 Mar 2006 23:38:37 +0100 Subject: crash recovery In-Reply-To: <20060302220043.BA8314F40E3@desire.netways.de> References: <20060302220043.BA8314F40E3@desire.netways.de> Message-ID: <440773ED.7000401@its-lehmann.de> Hello, On 3/2/2006 11:00 PM, David Schlecht wrote: > Hi All > > ... > > I've considerd a shell script for this but it seems that inittab > is a better solution. However, when using inittab, I get the dreaded > "respawning too fast" message as inittab tries to restart the process > as soon as the Nagios loader switches to daemon. > > > > Has anyone succeeded at loading Nagios from inittab? If so, how > did you do it? > Haven't done it, but how about trying without the -d switch? Arno > > What other restart solutions have you found? > > > > For what it's worth, I'm running Nagios 2.0b? on numerous flavors > of SuSE on numerous hardware platforms. > > > > > > - David Schlecht (dschl) > > > > ----------------------- > > The mailing list archive is found here: > > http://www.nagiosexchange.org/nagios-users.34.0.html > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shoktai at gmail.com Fri Mar 3 08:18:14 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Fri, 3 Mar 2006 08:18:14 +0100 Subject: *****RE: host config - action_url - launch external program [wd-vc] In-Reply-To: References: Message-ID: <619cf3c0603022318i102b4192m@mail.gmail.com> For windows servers, you got the Terminal Services Web, you can have a url that links to http://yourserver/TSWeb and then open a remote desktop session through internet explorer. 2006/3/2, Rainer.Brunold at allianz.at : > > Hi Eli, > > I'm using a mixed environment with linux and windows workstations. And > forefox on all. > That with the java ssh apps is a good idea. I will try it to see how it > works. > > Thanks for your ideas! > > Rainer > mit freundlichen Gruessen / with kind regards > Rainer Brunold > Technologie und Infrastruktur, Allianz Elementar Vers. AG > Hietzinger Kai 101-105, 1130 Vienna, Austria > > Dpt. IM/IV/TI, phn ++43/1/87807 ext. 60103 fax. ++43/1/87807/70103 od. 40246 > e-mail: Rainer.Brunold at allianz.at web: http://www.allianz.at > > -----nagios-users-admin at lists.sourceforge.net schrieb: ----- > > An: , > Von: "Eli Stair" > Gesendet von: nagios-users-admin at lists.sourceforge.net > Datum: 02.03.2006 18:03 > Thema: *****RE: [Nagios-users] host config - action_url - launch external > program [wd-vc] > > > Well, if you're using IE* there are innumerable hacks you could exploit > usefully in this scenario to do what you want :) Other than that, there are > some functional Java SSH clients that you can have the URL load in your > browser, or alternately use some server-side scripting to generate whatever > you want. > > You're looking along those lines? > > /eli > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net on behalf of > Rainer.Brunold at allianz.at > Sent: Thu 3/2/2006 4:34 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] host config - action_url - launch external program > [wd-vc] > > Hello nagios users ! > > I have a small question if anybody has configured a action_url for a host > which launches a local program of the windows machine where you have your > browser. > > I monitor several services of a host like http, https, ssh,cpu, .... If > one of them appears in the service problems I open the host details and have > just to click on the "extra host action" link and a local program like putty > with the hostname as the parameter is launched. So I would get automatically > a ssh session to that server. > > Any advice would be great, > > thanks, > Rainer > > > > > > ******************************************************** > Dieses E-Mail und allfaellig daran angeschlossene Anhaenge > enthalten Informationen, die vertraulich und > ausschliesslich fuer den (die) bezeichneten Adressaten > bestimmt sind. > Wenn Sie nicht der genannte Adressat sind, darf dieses > E-Mail samt allfaelliger Anhaenge von Ihnen weder anderen > Personen zugaenglich gemacht, noch in anderer Weise > verwertet werden. > Wenn Sie nicht der beabsichtigte Empfaenger sind, bitten > wir Sie, dieses E-Mail und saemtliche angeschlossenen > Anhaenge zu loeschen. > ******************************************************** > ------------------------------------------------------- This SF.Net email > is sponsored by xPML, a groundbreaking scripting language that extends > applications into web and mobile media. Attend the live webcast and join the > prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid > 0944&bid$1720&dat1642 _______________________________________________ > Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null > > > > > > ******************************************************** > Dieses E-Mail und allfaellig daran angeschlossene Anhaenge > enthalten Informationen, die vertraulich und > ausschliesslich fuer den (die) bezeichneten Adressaten > bestimmt sind. > Wenn Sie nicht der genannte Adressat sind, darf dieses > E-Mail samt allfaelliger Anhaenge von Ihnen weder anderen > Personen zugaenglich gemacht, noch in anderer Weise > verwertet werden. > Wenn Sie nicht der beabsichtigte Empfaenger sind, bitten > wir Sie, dieses E-Mail und saemtliche angeschlossenen > Anhaenge zu loeschen. > ******************************************************** > ------------------------------------------------------- This SF.Net email > is sponsored by xPML, a groundbreaking scripting language that extends > applications into web and mobile media. Attend the live webcast and join the > prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642_______________________________________________ Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From chertolyas.av at mgsm.ru Fri Mar 3 09:21:14 2006 From: chertolyas.av at mgsm.ru (=?KOI8-R?Q?=FE=C5=D2=D4=CF=CC=D1=D3_=E1=CE=C4=D2=C5=CA?=) Date: Fri, 03 Mar 2006 12:21:14 +0400 Subject: Distibuted monitoring Message-ID: <4407FC7A.6060409@mgsm.ru> Hello, nagios users! I try to tune up distributed monitoring in Nagios. On both servers, central and distributed, nsca plugin works correctly, messages received on central server, so i can see them in nsca daemon logs. But - messages does not appear on central nagios. What am I missing? Central server: rh9, Nagios 2.0b3 Distr. server: rhel3, Nagios 2.0 Thanks in advance! PS Sorry for my english, it's not my foreign language. -- Regards, Andrew V. Chertolyas | JSC MSS Povoljie IT engineer | Samara, Russia ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Fri Mar 3 11:04:00 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Fri, 03 Mar 2006 11:04:00 +0100 Subject: Distibuted monitoring In-Reply-To: <4407FC7A.6060409@mgsm.ru> References: <4407FC7A.6060409@mgsm.ru> Message-ID: <44081490.80603@its-lehmann.de> Hello, On 3/3/2006 9:21 AM, ???????? ?????? wrote: > Hello, nagios users! > > I try to tune up distributed monitoring in Nagios. On both servers, > central and distributed, nsca plugin works correctly, messages received > on central server, so i can see them in nsca daemon logs. But - messages > does not appear on central nagios. What am I missing? Have you defined the services and hosts that you report from the distributed monitoring server on the central one, too, set up command processing, and accept passive check results for the services and hosts? > Central server: rh9, Nagios 2.0b3 > Distr. server: rhel3, Nagios 2.0 Some relevant parts of your configuration as well as the Nagios log when distributed checks arrive might be helpful. > Thanks in advance! > > PS > Sorry for my english, it's not my foreign language. Good enough for me, but I assume English *is* a foreign language for you ;-) Arno -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chertolyas.av at mgsm.ru Fri Mar 3 12:51:12 2006 From: chertolyas.av at mgsm.ru (Andrew V. Chertolyas) Date: Fri, 03 Mar 2006 15:51:12 +0400 Subject: Distibuted monitoring In-Reply-To: <44081490.80603@its-lehmann.de> References: <4407FC7A.6060409@mgsm.ru> <44081490.80603@its-lehmann.de> Message-ID: <44082DB0.1020008@mgsm.ru> Arno Lehmann wrote: > Have you defined the services and hosts that you report from the > distributed monitoring server on the central one, too, Hmm. So, if i have following configuration for one of hosts on distributed server, what do I need to write in configs on central server? The same? define host{ use generic-host host_name NSCA_test name NSCA_test alias NSCA_test address x.x.x.x check_command check-host-alive ...... } define service{ use generic-service host_name NSCA_test service_description PING ....... check_command check_ping!100.0,20%!500.0,60% } > set up command > processing, and accept passive check results for the services and hosts? Yes, it's done. > > > Good enough for me, but I assume English *is* a foreign language for you > ;-) Yeah, it's my fault (right?) :-))) Regards, Andrew V. Chertolyas | JSC MSS Povoljie IT engineer | Samara, Russia ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Zimmer at oppenheim.de Thu Mar 2 19:24:23 2006 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Thu, 2 Mar 2006 19:24:23 +0100 Subject: AW: Nagios action_url Problems Message-ID: <9A834A8DCEC68648B20701E1CDE109250295ED53@OKWPMXS01.de.sal-opp.net> try it without trailing spaces in the ip adress that should work :) Thomas Zimmer Produktservice & Betrieb Betrieb & Support Sal. Oppenheim jr. & Cie., Frankfurt a. Main Telefon: +49 69 7134 5192 Internet: http://www.oppenheim.de E-Mail: thomas.zimmer at oppenheim.de -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Danny Russell Gesendet: Donnerstag, 2. M?rz 2006 18:56 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Nagios action_url Problems Fellow Nagios Users, I am running Nagios 2.0 and I am trying to use the action_url for a host definition. It is only half working. Here is my def: http://nagios.host.com/rdp.php?ip=$HOSTADDRESS$ &host_name=$HOSTNAME$ The link shows up as: http://nagios.host.com/rdp.php?ip=10.100.0.70 & Can the action_url have multiple Nagios Marco Variables? What should I be doing here? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Zimmer, Thomas (Produktservices und Betrieb).vcf Type: application/octet-stream Size: 254 bytes Desc: not available URL: From engelenh at gmail.com Fri Mar 3 15:46:10 2006 From: engelenh at gmail.com (Hans Engelen) Date: Fri, 3 Mar 2006 15:46:10 +0100 Subject: Monitor Fileserver In-Reply-To: <741E24F735AED141B61948AC155E7DAA741A10@CORPDALLMSG05.na.srcp.net> References: <741E24F735AED141B61948AC155E7DAA741A10@CORPDALLMSG05.na.srcp.net> Message-ID: <5383c62b0603030646t47d791fcjd22132de0f6182ea@mail.gmail.com> Oh yeah been there done that ... Still should be enough to monitor the diskspace issue. There you go Josh, install one of the common SNMP toolsets (most linux distros have it already) and if unsure do an snmpwalk to see what infos you might get. Cheers, Hans On 2/27/06, Frank, Jason wrote: > > NetApp certainly has SNMP support. It's not wonderful, it only supports > v1. As a result, it has the usual problems with overflowing COUNTER32's. > But, it's fairly easy to set up and will let you monitor just about anything > you want. > > Jason > > ------------------------------ > *From:* nagios-users-admin at lists.sourceforge.net [mailto: > nagios-users-admin at lists.sourceforge.net] *On Behalf Of *Hans Engelen > *Sent:* Monday, February 27, 2006 4:01 PM > *To:* Nagios Users Mailinglist > *Subject:* Re: [Nagios-users] Monitor Fileserver > > Ah, i see. > > Question ... is there no SNMP access for these blackboxes ? Most > blackboxes do from my experience (though I usually steer clear of them so I > haven't used that many of them really). > > SNMP access will most likely allow you to poll a fair number of > interesting metrics. Free space, network utilization, load ... that kind of > thing. > > Worth checking into should my other suggestion fail. Incidentally don't > forget to give the service-user enough rights to do its work, i.e. on the > share and also for other checks it might have to do or you might get other > unexplained errors. Start out with adding it to the local admins group to > test the general idea first (and get a baseline check) then bump it down to > normal user and add rights as you need. But I am sure you know that drill. > > Cheers, > Hans > > > On 2/27/06, Josh wrote: > > > > Hans / Ryan, > > > > Thanks for your input... > > > > I thought the question might arise about "why don't I > > monitor the server housing the shares"... well, the > > problem there is the machine is a NetApp device (not > > running windows and won't allow me to install anything > > on it of course... it's an appliance). > > > > I've tried touching the /root/.smb/smb.conf... the > > problem is most likely related to the nagios user > > can't even see inside /root. > > > > I like your idea of mapping the drives under the > > nagios user and then running the service as the nagios > > user... I'll give that a shot. > > > > On a side note, I did try getting the nrpe checks to > > work on the windows server but am getting the > > following error: > > > > "CScript Error: Execution of the Windows Script Host > > failed. (Catastrophic failure)" > > > > A little research shows it is most likely related to a > > software security policy in place. Anyone on this > > list know what I need to change? > > > > Thanks again for all your help. > > > > Josh > > > > --- Hans Engelen wrote: > > > > > Dangit replied privately and not to the list, anyway > > > heres a forward. > > > > > > Also just checked the /root/.smb/smb.conf reference > > > is actually a workaround > > > for a problem with samba's libsmbclient in the perl > > > module > > > Filesys::SmbClient (used by check_smb_shares.pl). > > > Aparantly libsmbclient > > > segfaults if it does not exist. Therefor if it does > > > not exist the perl > > > module Filesys::SmbClient tries to make one (an > > > empty one) but has no > > > permission to do so from what you wrote. I supose > > > you could make it yourself > > > (touch /root/.smb/smb.conf; chmod og+r > > > /root/.smb/smb.conf). Maybe that will > > > solve your issues with that particular check > > > allowing you to use it to > > > monitor the remote shares you spoke of > > > > > > Cheers, > > > Hans > > > > > > > > > On 2/27/06, Hans Engelen wrote: > > > > > > > > For mapped drives that is quite normal since > > > mapped drives are, barring a > > > > small number of special cases, only accessible for > > > the user that did the > > > > actual mapping. It's the same problem you get for > > > other NT services trying > > > > to access a drive mapping made from another user. > > > Also most likely your > > > > pNSClient (or NC_Net or NSClient++) or whatever > > > agent you have running on > > > > the Windows box is running under the System > > > security setting. This security > > > > context is only valid for that windows box > > > internally and as such has no > > > > credentials to access anything beyond that > > > machine. This includes (but is > > > > not limited to) shares. > > > > > > > > Theoretically you could of course run your Nagios > > > Agent under an actual > > > > user account, log in interactively on that same > > > account and create a > > > > persistent mapping (net use * \\server\share > > > /persist:yes, if memory serves) > > > > to the shares in question. Since the service will > > > use the same profile when > > > > logging in that should solve the issue. But why > > > even monitor a remote disk > > > > in this way. Just install the Nagios Agent on the > > > server that houses the > > > > share and monitor it directly instead of > > > indirectly (with all the quirks and > > > > pitfalls that come with it). > > > > > > > > Of course in this case the check_smb_shares is a > > > solution too. As to why > > > > it insists on writing to /root/.smb/smb.conf is a > > > bit strange. Possibly this > > > > was defined somewhere in the check_smb_shares.pl > > > file. Open it up in a text > > > > editor and see. > > > > > > > > Cheers, > > > > Hans > > > > Cheers, > > > > Hans > > > > > > > > On 2/27/06, Ryan Wilcox < rwilcox at mobitrac.com> > > > wrote: > > > > > > > > > > yeah... i got the same error as you did with a > > > mapped drive. we aren't > > > > > monitoring any mapped drives right now, hence > > > the confusion. > > > > > > > > > > not sure about the mapped drives... anyone else > > > have an idea for josh? > > > > > > > > > > >> -----Original Message----- > > > > > >> From: Josh [mailto: josh2780 at yahoo.com] > > > > > >> Sent: Monday, February 27, 2006 11:38 AM > > > > > >> To: Ryan Wilcox; > > > nagios-users at lists.sourceforge.net > > > > > >> Subject: RE: [Nagios-users] Monitor > > > Fileserver > > > > > >> > > > > > >> Hmm... Got it working for local drives on > > > the windows > > > > > >> box but I get an "Invalid drive" error from > > > the > > > > > >> check_nt script when I check a drive that is > > > mapped. > > > > > >> Any way to check networked drives on that > > > windows box? > > > > > >> Or will I have to go with nrpe checks for > > > that? > > > > > >> > > > > > >> --- Ryan Wilcox wrote: > > > > > >> > > > > > >> > actually i am using check_nt right from the > > > nagios > > > > > >> > (fedora core 4) box. > > > > > >> > > > > > > >> > ./check_nt -H 10.0.0.32 -v USEDDISKSPACE > > > -lc -w 75 > > > > > >> > -c 90 > > > > > >> > > > > > > >> > output looks like: > > > > > >> > > > > > > >> > c:\ - total: 74.52 Gb - used: 52.98 Gb > > > (71%) - free > > > > > >> > 21.54 Gb (29%) | > > > > > >> > 'c:\ Used > > > Space'= 52.98Gb;55.89;67.07;0.00;74.52 > > > > > >> > > > > > > >> > > > > > > >> > > > > > > >> > >> -----Original Message----- > > > > > >> > >> From: Josh [mailto: josh2780 at yahoo.com] > > > > > >> > >> Sent: Monday, February 27, 2006 10:57 AM > > > > > >> > >> To: Ryan Wilcox; > > > > > >> > nagios-users at lists.sourceforge.net > > > > > >> > >> Subject: RE: [Nagios-users] Monitor > > > Fileserver > > > > > >> > >> > > > > > >> > >> I'm assuming you are using NRPE and > > > executing the > > > > > >> > >> check_nt_disk from a windows machine... > > > I might > > > > > >> > end > > > > > >> > >> up doing that. > > > > > >> > >> > > > > > >> > >> I was attempting to use smb checks > > > directly from > > > > > >> > the > > > > > >> > >> linux box running Nagios. > > > > > >> > >> > > > > > >> > >> > > > > > >> > >> > > > > > >> > >> --- Ryan Wilcox < rwilcox at mobitrac.com> > > > wrote: > > > > > >> > >> > > > > > >> > >> > > > > > > >> > >> > > > > > > >> > >> > >> -----Original Message----- > > > > > >> > >> > >> From: > > > > > >> > nagios-users-admin at lists.sourceforge.net > > > > > >> > >> > [mailto: nagios-users- > > > > > >> > >> > >> admin at lists.sourceforge.net] On > > > Behalf Of > > > > > >> > Josh > > > > > >> > >> > >> Sent: Monday, February 27, 2006 > > > 10:19 AM > > > > > >> > >> > >> To: > > > nagios-users at lists.sourceforge.net > > > > > >> > >> > >> Subject: [Nagios-users] Monitor > > > Fileserver > > > > > >> > >> > >> > > > > > >> > >> > >> Does anyone have any suggestions as > > > to how > > > > > >> > to > > > > > >> > >> > monitor > > > > > >> > >> > >> network drive (fileserver) status > > > from > > > > > >> > Nagios? > > > > > >> > >> > I'm > > > > > >> > >> > >> trying to get the > > > check_smb_shares.pl (from > > > > > >> > >> > >> nagiosexchange.org) but keep > > > getting the > > > > > >> > >> > following > > > > > >> > >> > >> error when Nagios executes the > > > check: > > > > > >> > >> > >> > > > > > >> > >> > >> **ePN 'check_smb_shares.pl' Can't > > > create > > > > > >> > >> > >> /root/.smb/smb.conf : Permission > > > denied > > > > > >> > >> > >> > > > > > >> > >> > >> Not sure why when the Nagios binary > > > executes > > > > > >> > the > > > > > >> > >> > >> script it wants to use /root/ > > > (Nagios runs > > > > > >> > as the > > > > > >> > >> > user > > > > > >> > >> > >> nagios). > > > > > >> > >> > >> > > > > > >> > >> > >> Any other suggestions on monitoring > > > network > > > > > >> > >> > drives? > > > > > >> > >> > >> > > > > > >> > >> > > > > > > >> > >> > > > > > > === message truncated === > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language > > that extends applications into web and mobile media. Attend the live > > webcast > > and join the prime developer group breaking into this new coding > > territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 (including any attachments) may contain confidential or > otherwise privileged information and is intended only for the individual(s) > to which it is addressed. If you are not the named addressee you should not > disseminate, distribute or copy this e-mail. Please notify the sender > 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 > secured or error-free as information could be intercepted, corrupted, lost, > destroyed, arrive late or incomplete, or contain viruses. The sender > therefore does not accept liability for any errors or omissions in the > contents of this message or that arise as a result of e-mail transmission. > If verification is required please request a hard-copy version from the > sender. > > SOURCECORP, Incorporated > www.srcp.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephen at totalflood.com Fri Mar 3 17:23:39 2006 From: stephen at totalflood.com (Stephen Carville) Date: Fri, 03 Mar 2006 08:23:39 -0800 Subject: Error in configuration file (NULL value) Message-ID: <44086D8B.8050500@totalflood.com> I've recently decdied to give nagios a try (been using Big Brother and Cricket for past several years) and right away I come up against a problem I cannot solve by just RT'ing the FM. When I do a configuration cehck (-v) using nagios v1.2 a Fedora Core 3 server I get the following error: Error in configuration file '/etc/nagios/nagios.cfg' - Line 33 (NULL value) Line 33 and subsequent: define timeperiod { timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } which, as far as I can tell, is perfectly legitimate! -- Stephen Carville Unix and Network Admin Nationwide Totalflood 6033 W. Century Blvd Los Angeles, CA 90045 310-342-3602 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Zimmer at oppenheim.de Fri Mar 3 17:32:35 2006 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Fri, 3 Mar 2006 17:32:35 +0100 Subject: AW: Error in configuration file (NULL value) Message-ID: <9A834A8DCEC68648B20701E1CDE109250295ED59@OKWPMXS01.de.sal-opp.net> You did not really mean "/etc/nagios/nagios.cfg" ? I assume, you do not have timeperiods defined there, right? By the way Nmagios 1.2 is really old, there are a l lot more features in newer versions... Greetz, Thomas. -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Stephen Carville Gesendet: Freitag, 3. M?rz 2006 17:24 An: Nagios Users Betreff: [Nagios-users] Error in configuration file (NULL value) I've recently decdied to give nagios a try (been using Big Brother and Cricket for past several years) and right away I come up against a problem I cannot solve by just RT'ing the FM. When I do a configuration cehck (-v) using nagios v1.2 a Fedora Core 3 server I get the following error: Error in configuration file '/etc/nagios/nagios.cfg' - Line 33 (NULL value) Line 33 and subsequent: define timeperiod { timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } which, as far as I can tell, is perfectly legitimate! -- Stephen Carville Unix and Network Admin Nationwide Totalflood 6033 W. Century Blvd Los Angeles, CA 90045 310-342-3602 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dschlecht at doit.nv.gov Fri Mar 3 17:33:13 2006 From: dschlecht at doit.nv.gov (David Schlecht) Date: Fri, 3 Mar 2006 17:33:13 +0100 (CET) Subject: crash recovery In-Reply-To: <440773ED.7000401@its-lehmann.de> References: <440773ED.7000401@its-lehmann.de> Message-ID: <20060303163313.D1F704F40E3@desire.netways.de> Hi Arno Your reply is most appreciated. This did, in fact, take care of the respawn-too-fast problem. I'm reviewing the logs and don't see any problems with it. Thanks. - David Schlecht (dschl) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=15969 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gorste at tesco.net Fri Mar 3 17:52:11 2006 From: gorste at tesco.net (Gordon Stewart) Date: Fri, 3 Mar 2006 16:52:11 +0000 Subject: failing CGI scripts Message-ID: <20060303165211.VFWX20857.aamta10-winn.ispmail.ntl.com@smtp.ntlworld.com> Dear List I have installed Nagios 1.3 and worked ok. I have an issue with the cgi though, They seam to give me a internal server error. In my error logs for apache it tells me (13)Permission denied: exec of '/usr/lib/cgi-bin/nagios/status.cgi' failed, referer: I have created a perl cgi script and it worked fine in the same directory. Has any one seen this before. What have I missed. Thanks Gordon Stewart ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Mar 3 18:31:09 2006 From: marc at ena.com (Marc Powell) Date: Fri, 3 Mar 2006 11:31:09 -0600 Subject: Error in configuration file (NULL value) Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Stephen Carville > Sent: Friday, March 03, 2006 10:24 AM > To: Nagios Users > Subject: [Nagios-users] Error in configuration file (NULL value) > > I've recently decdied to give nagios a try (been using Big Brother and > Cricket for past several years) and right away I come up against a > problem I cannot solve by just RT'ing the FM. When I do a configuration > cehck (-v) using nagios v1.2 a Fedora Core 3 server I get the following > error: > > Error in configuration file '/etc/nagios/nagios.cfg' - Line 33 (NULL > value) > > Line 33 and subsequent: > > define timeperiod { > timeperiod_name 24x7 > alias 24 Hours A Day, 7 Days A Week > sunday 00:00-24:00 > monday 00:00-24:00 > tuesday 00:00-24:00 > wednesday 00:00-24:00 > thursday 00:00-24:00 > friday 00:00-24:00 > saturday 00:00-24:00 > } > > which, as far as I can tell, is perfectly legitimate! Not for nagios.cfg. The only directives that go in nagios.cfg are liste here -- http://nagios.sourceforge.net/docs/1_0/configmain.html The default nagios.cfg should only need minor modifications and no additions. The directives above are only valid in Object Configuration Files (files defined as cfg_file in nagios.cfg). -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephen at totalflood.com Fri Mar 3 20:51:37 2006 From: stephen at totalflood.com (Stephen Carville) Date: Fri, 03 Mar 2006 11:51:37 -0800 Subject: AW: Error in configuration file (NULL value) In-Reply-To: <9A834A8DCEC68648B20701E1CDE109250295ED59@OKWPMXS01.de.sal-opp.net> References: <9A834A8DCEC68648B20701E1CDE109250295ED59@OKWPMXS01.de.sal-opp.net> Message-ID: <44089E49.8050300@totalflood.com> Thomas.Zimmer at oppenheim.de wrote: > You did not really mean "/etc/nagios/nagios.cfg" ? Yes I did. The main configuration file is named 'nagios.cfg' isn't it? /etc/nagios is where FC3 puts the config files. > I assume, you do not have timeperiods defined there, right? I didn't create the file, it came that way with FC 3. I'm just trying t get nagios started so I can determine if it can replace and enhance what I already have. > By the way Nmagios 1.2 is really old, there are a l lot more features in > newer versions... I know it an older version but it what was already installed. I hope is enough to give me an idea of what nagios can do. If it works out and I decide to migrate, I'll upgrade to the latest version. > Greetz, Thomas. > > -----Urspr?ngliche Nachricht----- > Von: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Stephen > Carville > Gesendet: Freitag, 3. M?rz 2006 17:24 > An: Nagios Users > Betreff: [Nagios-users] Error in configuration file (NULL value) > > > I've recently decdied to give nagios a try (been using Big Brother and > Cricket for past several years) and right away I come up against a > problem I cannot solve by just RT'ing the FM. When I do a configuration > cehck (-v) using nagios v1.2 a Fedora Core 3 server I get the following > error: > > Error in configuration file '/etc/nagios/nagios.cfg' - Line 33 (NULL value) > > Line 33 and subsequent: > > define timeperiod { > timeperiod_name 24x7 > alias 24 Hours A Day, 7 Days A Week > sunday 00:00-24:00 > monday 00:00-24:00 > tuesday 00:00-24:00 > wednesday 00:00-24:00 > thursday 00:00-24:00 > friday 00:00-24:00 > saturday 00:00-24:00 > } > > which, as far as I can tell, is perfectly legitimate! > -- Stephen Carville Unix and Network Admin Nationwide Totalflood 6033 W. Century Blvd Los Angeles, CA 90045 310-342-3602 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Mar 3 21:36:37 2006 From: jperrin at gmail.com (Jim Perrin) Date: Fri, 3 Mar 2006 15:36:37 -0500 Subject: AW: Error in configuration file (NULL value) In-Reply-To: <44089E49.8050300@totalflood.com> References: <9A834A8DCEC68648B20701E1CDE109250295ED59@OKWPMXS01.de.sal-opp.net> <44089E49.8050300@totalflood.com> Message-ID: <302ce8b50603031236r2b87000eg4214c8cd1798bd20@mail.gmail.com> > Yes I did. The main configuration file is named 'nagios.cfg' isn't it? > /etc/nagios is where FC3 puts the config files. > You may want to look at nagios 2.0, and you may want to look at some documentation that I've done up specifically for the rpm users of nagios. It's located here -> http://www.cognitive-dissonance.org/journal/2006/02/23/configuring-nagios-on-centos-and-rhel/ and while it's not technically for fc3, it should be distro generic enough to work for you. > > I assume, you do not have timeperiods defined there, right? > > I didn't create the file, it came that way with FC 3. I'm just trying t > get nagios started so I can determine if it can replace and enhance what > I already have. > > > By the way Nmagios 1.2 is really old, there are a l lot more features in > > newer versions... > > I know it an older version but it what was already installed. I hope is > enough to give me an idea of what nagios can do. If it works out and I > decide to migrate, I'll upgrade to the latest version. > > > Greetz, Thomas. > > > > -----Urspr?ngliche Nachricht----- > > Von: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Stephen > > Carville > > Gesendet: Freitag, 3. M?rz 2006 17:24 > > An: Nagios Users > > Betreff: [Nagios-users] Error in configuration file (NULL value) > > > > > > I've recently decdied to give nagios a try (been using Big Brother and > > Cricket for past several years) and right away I come up against a > > problem I cannot solve by just RT'ing the FM. When I do a configuration > > cehck (-v) using nagios v1.2 a Fedora Core 3 server I get the following > > error: > > > > Error in configuration file '/etc/nagios/nagios.cfg' - Line 33 (NULL value) > > > > Line 33 and subsequent: > > > > define timeperiod { > > timeperiod_name 24x7 > > alias 24 Hours A Day, 7 Days A Week > > sunday 00:00-24:00 > > monday 00:00-24:00 > > tuesday 00:00-24:00 > > wednesday 00:00-24:00 > > thursday 00:00-24:00 > > friday 00:00-24:00 > > saturday 00:00-24:00 > > } > > > > which, as far as I can tell, is perfectly legitimate! > > > > > -- > Stephen Carville > Unix and Network Admin > Nationwide Totalflood > 6033 W. Century Blvd > Los Angeles, CA 90045 > 310-342-3602 > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kylet at panix.com Fri Mar 3 22:01:46 2006 From: kylet at panix.com (Kyle Tucker) Date: Fri, 3 Mar 2006 16:01:46 -0500 (EST) Subject: check_snmp on Sol 10 mangling data Message-ID: <200603032101.k23L1kK00676@panix3.panix.com> Hi, I had check_snmp from the 1.4.2 plugins working great with Net-SNMP 5.2.2 on Solaris 8. I have built it all on Solaris 10 now for my production server and I get mangled data back from check_snmp going to the exact same snmpd client. Here's a good working Solaris 8 query from check_snmp and snmpget and it's output through 'od'. # /usr/local/nagios/libexec/check_snmp -t 3 -P 3 -H 192.168.16.11 -L authPriv \ -U Username -a MD5 -A abcdefg -X hijklmno -o .1.3.6.1.4.1.8072.1.3.2.3.1.2.4.101.120.116.116 SNMP OK - "extt running okay" | iso.3.6.1.4.1.8072.1.3.2.3.1.2.4.101.120.116.116="extt running okay";;;; 0000000 S N M P O K - " e x t t 0000020 r u n n i n g o k a y " | 0000040 i s o . 3 . 6 . 1 . 4 . 1 . 8 0 0000060 7 2 . 1 . 3 . 2 . 3 . 1 . 2 . 4 0000100 . 1 0 1 . 1 2 0 . 1 1 6 . 1 1 6 0000120 = " e x t t r u n n i n g o 0000140 k a y " ; ; ; ; \n snmpget -l AuthPriv -v 3 -u Username -a MD5 -A abcdefg -x DES -X hijklmno 192.168.16.11 .1.3.6.1.4.1.8072.1.3.2.3.1.2.4.101.120.116.116 NET-SNMP-EXTEND-MIB::nsExtendOutputFull."extt" = STRING: extt running okay And here's the mangled output on Solaris 10 /usr/local/nagios/libexec/check_snmp -t 3 -P 3 -H 192.168.16.11 -L authPriv \ -U Username -a MD5 -A abcdefg -X hijklmno -o .1.3.6.1.4.1.8072.1.3.2.3.1.2.4.101.120.116.116 SNMP OK - "extt running okay" | iso.3.6.1.4.1.8072.1.3.2.3.1.2.4.101.120.116.116="extt running okay"?p??Xiso.3.6.1.4.1.8072.1.3.2.3.1.2.4.101.120.116.116 = STRING: "extt running okay" ;;;; 0000000 S N M P O K - " e x t t 0000020 r u n n i n g o k a y " | 0000040 i s o . 3 . 6 . 1 . 4 . 1 . 8 0 0000060 7 2 . 1 . 3 . 2 . 3 . 1 . 2 . 4 0000100 . 1 0 1 . 1 2 0 . 1 1 6 . 1 1 6 0000120 = " e x t t r u n n i n g o 0000140 k a y " 377 " \b p 377 ? 017 X i s o . 0000160 3 . 6 . 1 . 4 . 1 . 8 0 7 2 . 1 0000200 . 3 . 2 . 3 . 1 . 2 . 4 . 1 0 1 0000220 . 1 2 0 . 1 1 6 . 1 1 6 = S 0000240 T R I N G : " e x t t r u n 0000260 n i n g o k a y " \n ; ; ; ; snmpget -l AuthPriv -v 3 -u Username -a MD5 -A abcdefg -x DES -X hijklmno 192.168.16.11 .1.3.6.1.4.1.8072.1.3.2.3.1.2.4.101.120.116.116 NET-SNMP-EXTEND-MIB::nsExtendOutputFull."extt" = STRING: extt running okay Oddly the output from the mangled one is 3 lines, 2 for the good one. Any thoughts what's going on or where to chase this? Thanks. -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephen at totalflood.com Fri Mar 3 23:16:14 2006 From: stephen at totalflood.com (Stephen Carville) Date: Fri, 03 Mar 2006 14:16:14 -0800 Subject: AW: Error in configuration file (NULL value) In-Reply-To: <302ce8b50603031236r2b87000eg4214c8cd1798bd20@mail.gmail.com> References: <9A834A8DCEC68648B20701E1CDE109250295ED59@OKWPMXS01.de.sal-opp.net> <44089E49.8050300@totalflood.com> <302ce8b50603031236r2b87000eg4214c8cd1798bd20@mail.gmail.com> Message-ID: <4408C02E.7070809@totalflood.com> Jim Perrin wrote: >>Yes I did. The main configuration file is named 'nagios.cfg' isn't it? >> /etc/nagios is where FC3 puts the config files. >> > > > You may want to look at nagios 2.0, and you may want to look at some > documentation that I've done up specifically for the rpm users of > nagios. It's located here -> > http://www.cognitive-dissonance.org/journal/2006/02/23/configuring-nagios-on-centos-and-rhel/ Thank you, I will take a look. -- Stephen Carville Unix and Network Admin Nationwide Totalflood 6033 W. Century Blvd Los Angeles, CA 90045 310-342-3602 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkoponick at redhawk.info Fri Mar 3 23:40:35 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Fri, 3 Mar 2006 14:40:35 -0800 Subject: Check_Log Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109C78@raptor.redhawk.info> I wanted to say thanks to all who responded to my question regarding parsing syslog files. Thanks! But, I was wondering about check_log. It seems that it would work for my environment. However I see that I have run into a snag of sorts. I'm parsing out Cisco PIX logs, and was able to parse out "Deny" type logs successfully. However, I'm only getting part of the syslog message. Here is what I receive in MySQL: (36) Mar 3 14:22:11 secure-primary Mar 03 2006 14:59:44: If I look at the Nagios log (External Commands) I also see the "chopped" line, so it appears to be occurring during the parsing process. Here is the syslog entry: Mar 3 14:22:11 secure-primary Mar 03 2006 14:59:44: %PIX-4-106023: Deny udp src inside:10.xxx.xxx.xxx/12346 dst EXTRANET:192.168.xx.xx/12345 by access-group "inside" It appears to be failing at the "%" on the syslog entry. Thanks in advance, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From james at lovedthanlost.net Sat Mar 4 03:32:50 2006 From: james at lovedthanlost.net (James Turnbull) Date: Sat, 04 Mar 2006 13:32:50 +1100 Subject: Check_Log In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD4109C78@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD4109C78@raptor.redhawk.info> Message-ID: <4408FC52.2060500@lovedthanlost.net> Mike Koponick wrote: > > I wanted to say thanks to all who responded to my question regarding > parsing syslog files. > > > > Thanks! > > > > But, I was wondering about check_log. It seems that it would work for > my environment. However I see that I have run into a snag of sorts. > > > Can you post the command/etc you are using check_log in to parse the log? Regards James Turnbull -- James Turnbull --- Author of Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) Hardening Linux (http://www.amazon.com/gp/product/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkoponick at redhawk.info Sat Mar 4 16:58:44 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Sat, 4 Mar 2006 07:58:44 -0800 Subject: Check_Log Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109C7A@raptor.redhawk.info> Sure. Here is the service check command: define service { use Sensor-Log hostgroup_name Firewalls service_description Check_Log check_command check_log!/var/log/messages!/usr/local/nagios/var/PIX-Deny.log!"Deny" register 1 } Here is the template that I am using: define service{ name Sensor-Log is_volatile 0 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 passive_checks_enabled 0 active_checks_enabled 1 check_period 24x7 parallelize_check 1 obsess_over_service 1 check_freshness 0 event_handler_enabled 0 flap_detection_enabled 0 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 contact_groups Support notification_interval 0 notification_period 24x7 notification_options w,c notifications_enabled 0 register 0 } Here is my check command: define command { command_name check_log command_line $USER1$/check_log -F $ARG1$ -O $ARG2$ -q $ARG3$ Thanks! Mike -----Original Message----- From: James Turnbull [mailto:james at lovedthanlost.net] Sent: Friday, March 03, 2006 6:33 PM To: Mike Koponick Cc: Nagios Users Subject: Re: [Nagios-users] Check_Log Mike Koponick wrote: > > I wanted to say thanks to all who responded to my question regarding > parsing syslog files. > > > > Thanks! > > > > But, I was wondering about check_log. It seems that it would work for > my environment. However I see that I have run into a snag of sorts. > > > Can you post the command/etc you are using check_log in to parse the log? Regards James Turnbull -- James Turnbull --- Author of Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) Hardening Linux (http://www.amazon.com/gp/product/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Mar 4 17:36:21 2006 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Sat, 4 Mar 2006 17:36:21 +0100 Subject: AW: Check_Log In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD4109C7A@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD4109C7A@raptor.redhawk.info> Message-ID: <003101c63fa9$c7dadc70$a601000a@int.consol.de> Hi Mike, i have no answer to your question why the text is being cut off, maybe the string with the "%" inside ends up somewhere in a printf command, so the "%" is treated like part of a format string. Look at the notification command of contact_group Support for that. But what i saw is the is_volatile option in your template. You should set it to 1, because each time you read the logfile, you remove the cause of the alert by not reading the same lines of the logfile again. If you get an alert when you run check_log next time, then another match has been found which must be treated as a separate event. Greetings from munich, Gerhard > Here is the service check command: > > define service { > use Sensor-Log > hostgroup_name Firewalls > service_description Check_Log > check_command > check_log!/var/log/messages!/usr/local/nagios/var/PIX-Deny.log!"Deny" > register 1 > } > > Here is the template that I am using: > > define service{ > > name Sensor-Log > is_volatile 0 > max_check_attempts 1 > normal_check_interval 1 > retry_check_interval 1 > passive_checks_enabled 0 > active_checks_enabled 1 > check_period 24x7 > parallelize_check 1 > obsess_over_service 1 > check_freshness 0 > event_handler_enabled 0 > flap_detection_enabled 0 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > contact_groups Support > notification_interval 0 > notification_period 24x7 > notification_options w,c > notifications_enabled 0 > register 0 > } > > Here is my check command: > > define command { > command_name check_log > command_line $USER1$/check_log -F $ARG1$ -O $ARG2$ > -q $ARG3$ > > > Thanks! > > Mike > > > -----Original Message----- > From: James Turnbull [mailto:james at lovedthanlost.net] > Sent: Friday, March 03, 2006 6:33 PM > To: Mike Koponick > Cc: Nagios Users > Subject: Re: [Nagios-users] Check_Log > > Mike Koponick wrote: > > > > I wanted to say thanks to all who responded to my question > regarding > > parsing syslog files. > > > > > > > > Thanks! > > > > > > > > But, I was wondering about check_log. It seems that it > would work for > > my environment. However I see that I have run into a snag of sorts. > > > > > > > Can you post the command/etc you are using check_log in to > parse the log? > > Regards > > James Turnbull > > -- > James Turnbull > --- > Author of Pro Nagios 2.0 > (http://www.amazon.com/gp/product/1590596099/) > > Hardening Linux > (http://www.amazon.com/gp/product/1590594444/) > --- > PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking > scripting language that extends applications into web and > mobile media. Attend the live webcast and join the prime > developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd___________________________ > ____________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mario at bortal.de Sat Mar 4 18:58:48 2006 From: mario at bortal.de (Mario Ohnewald) Date: Sat, 04 Mar 2006 18:58:48 +0100 Subject: check disk_free on windows client Message-ID: <1141495128.6123.8.camel@spiekey.lansin.ole> Hello List, whats the easiest way to check the disk free space on a windows box? All i can think of is via SNMP. Are there other possibilities? (except mounting the drive with smb and then use the unix tool check_diskfree). Thanks, Mario ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shoktai at gmail.com Sat Mar 4 21:26:21 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Sat, 4 Mar 2006 21:26:21 +0100 Subject: check disk_free on windows client In-Reply-To: <1141495128.6123.8.camel@spiekey.lansin.ole> References: <1141495128.6123.8.camel@spiekey.lansin.ole> Message-ID: <619cf3c0603041226h5a517c4ct@mail.gmail.com> Hi, You can use nrpe and plugins http://www.nagiosexchange.org/NRPE_Plugins.66.0.html check also http://www.miwi-dv.com/nrpent/ but there are other way to monitor windows hosts, as with nsclient http://www.nagiosexchange.org/Windows.49.0.html?&tx_netnagext_pi1[p_view]=65&tx_netnagext_pi1[page]=10%3A10 or WSC (you dont need to install anything then on Windows hosts) http://www.nagiosexchange.org/Windows.49.0.html?&tx_netnagext_pi1[p_view]=360&tx_netnagext_pi1[page]=10%3A10 2006/3/4, Mario Ohnewald : > > Hello List, > > whats the easiest way to check the disk free space on a windows box? > All i can think of is via SNMP. > Are there other possibilities? (except mounting the drive with smb and > then use the unix tool check_diskfree). > > Thanks, Mario > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From al at its-lehmann.de Sun Mar 5 22:58:16 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Sun, 05 Mar 2006 22:58:16 +0100 Subject: Distibuted monitoring In-Reply-To: <44082DB0.1020008@mgsm.ru> References: <4407FC7A.6060409@mgsm.ru> <44081490.80603@its-lehmann.de> <44082DB0.1020008@mgsm.ru> Message-ID: <440B5EF8.5050905@its-lehmann.de> Hi, On 3/3/2006 12:51 PM, Andrew V. Chertolyas wrote: > Arno Lehmann wrote: > > Have you defined the services and hosts that you report from the > >> distributed monitoring server on the central one, too, > > > Hmm. So, if i have following configuration for one of hosts on > distributed server, what do I need to write in configs on central > server? The same? > > define host{ > use generic-host > host_name NSCA_test > name NSCA_test > alias NSCA_test > address x.x.x.x > check_command check-host-alive > ...... > } > > define service{ > use generic-service > host_name NSCA_test > service_description PING > ....... > check_command check_ping!100.0,20%!500.0,60% > } You need an identical definition as far as host and service name, description and alias are concerned. If you set up check_commands dependson your needs... the central check_commands can be used as a fall back when no distributed status reports come in - very ofen, you'll find variants of check_dummy with a status of WARNING or CRITICAL and some message saying that no reports came in. There are some more options you should understand - the manual chapter concerning distributed monitoring is rather helpful there. >> set up command processing, and accept passive check results for the >> services and hosts? > > > Yes, it's done. Arno -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Mar 5 23:15:20 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 6 Mar 2006 11:15:20 +1300 Subject: Using Nagios plugins via UCD-SNMPD Message-ID: <006501c640a2$4a63ec60$8ea8d882@438LG01sshi052> Hi, I thought I'd see if anyone has done this before. I'm installing the standard Nagios check_* plugins on a server with only the UCD SNMP daemon (IE, the one you get with Linux). This takes generic extensions, which are compatible with the Nagios plugins. So, I would add something like this to the snmpd.conf: exec procs /usr/local/nrpe/check_procs -w 100 -c 1000 and then the output of the plugin would be visible via SNMP. I can write a simple check plugin - check_ucd - that I can query with check_ucd -H hostname -v procs and it returns the plugin output and exit status. Of course, you cant pass any parameters. Has anyone tried this before? Am I reinventing a round rolling thing? Would people want a copy of check_ucd? Steve ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 lovedthanlost.net Sun Mar 5 02:00:04 2006 From: james at lovedthanlost.net (James Turnbull) Date: Sun, 05 Mar 2006 12:00:04 +1100 Subject: Check_Log - SOLUTION In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD4109C7B@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD4109C7B@raptor.redhawk.info> Message-ID: <440A3814.1000005@lovedthanlost.net> Mike Koponick wrote: > All, > > Thanks for all the help/information regarding this subject. > > I have found a solution that works in this case. > > The problem is that the "%" is a directive for printf. Since the "%" was > in the string, printf thinks it should be a directive. > > Since I had no need for the "%" in the output string, I removed it. > > I changed the check_log script with the following: > > OLD: > $ECHO "($count) $lastentry" > > NEW: > $ECHO "($count) $lastentry" | /bin/sed 's/%//' > > I'm sure there is probably a more efficient way of doing this, but it > was a quick fix for me. > I guess the easier way might be to escape the % in printf. Regards James Turnbull -- James Turnbull --- Author of Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) Hardening Linux (http://www.amazon.com/gp/product/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkoponick at redhawk.info Sat Mar 4 23:29:16 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Sat, 4 Mar 2006 14:29:16 -0800 Subject: Check_Log - SOLUTION Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109C7B@raptor.redhawk.info> All, Thanks for all the help/information regarding this subject. I have found a solution that works in this case. The problem is that the "%" is a directive for printf. Since the "%" was in the string, printf thinks it should be a directive. Since I had no need for the "%" in the output string, I removed it. I changed the check_log script with the following: OLD: $ECHO "($count) $lastentry" NEW: $ECHO "($count) $lastentry" | /bin/sed 's/%//' I'm sure there is probably a more efficient way of doing this, but it was a quick fix for me. Thanks! Mike -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mike Koponick Sent: Saturday, March 04, 2006 7:59 AM To: James Turnbull Cc: Nagios Users Subject: RE: [Nagios-users] Check_Log Sure. Here is the service check command: define service { use Sensor-Log hostgroup_name Firewalls service_description Check_Log check_command check_log!/var/log/messages!/usr/local/nagios/var/PIX-Deny.log!"Deny" register 1 } Here is the template that I am using: define service{ name Sensor-Log is_volatile 0 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 passive_checks_enabled 0 active_checks_enabled 1 check_period 24x7 parallelize_check 1 obsess_over_service 1 check_freshness 0 event_handler_enabled 0 flap_detection_enabled 0 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 contact_groups Support notification_interval 0 notification_period 24x7 notification_options w,c notifications_enabled 0 register 0 } Here is my check command: define command { command_name check_log command_line $USER1$/check_log -F $ARG1$ -O $ARG2$ -q $ARG3$ Thanks! Mike -----Original Message----- From: James Turnbull [mailto:james at lovedthanlost.net] Sent: Friday, March 03, 2006 6:33 PM To: Mike Koponick Cc: Nagios Users Subject: Re: [Nagios-users] Check_Log Mike Koponick wrote: > > I wanted to say thanks to all who responded to my question regarding > parsing syslog files. > > > > Thanks! > > > > But, I was wondering about check_log. It seems that it would work for > my environment. However I see that I have run into a snag of sorts. > > > Can you post the command/etc you are using check_log in to parse the log? Regards James Turnbull -- James Turnbull --- Author of Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) Hardening Linux (http://www.amazon.com/gp/product/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From simon.cusack at memetrics.com Mon Mar 6 01:05:48 2006 From: simon.cusack at memetrics.com (Simon Cusack) Date: Mon, 6 Mar 2006 11:05:48 +1100 Subject: Last Check column config on the Service Detail page question Message-ID: Hi all, I have been trying to find a way to configure the Last Check column (or something similar) to show the difference between the Last Check and the Last Updated field, ie the the amount of time passed since the last check was. Obviously this is only accurate to how often you update the Service Detail page but that is good enough. This would allow you with a glance to see how "current" all your checks are. Is there an option in the config files that would let me do this or would I have to make a change to status.c? And then recompile, etc. Regards, Simon. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 lovedthanlost.net Sun Mar 5 03:28:56 2006 From: james at lovedthanlost.net (James Turnbull) Date: Sun, 05 Mar 2006 13:28:56 +1100 Subject: check disk_free on windows client In-Reply-To: <1141495128.6123.8.camel@spiekey.lansin.ole> References: <1141495128.6123.8.camel@spiekey.lansin.ole> Message-ID: <440A4CE8.1020907@lovedthanlost.net> Mario Ohnewald wrote: > Hello List, > > whats the easiest way to check the disk free space on a windows box? > All i can think of is via SNMP. > Are there other possibilities? (except mounting the drive with smb and > then use the unix tool check_diskfree). > There are a number of check plug-ins and clients for Windows at http://www.nagiosexchange.org/Windows.49.0.html. Regards James Turnbull -- James Turnbull --- Author of Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) Hardening Linux (http://www.amazon.com/gp/product/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prosolutions at gmx.net Sun Mar 5 06:16:46 2006 From: prosolutions at gmx.net (prosolutions at gmx.net) Date: Sat, 4 Mar 2006 21:16:46 -0800 Subject: max_check_attempts, retry_check_interval, and notifications: confusion Message-ID: <20060305051646.GB3860@think.alaya.net> Hello, I am trying to configure the following behavior from nagios: 1. check a service every normal_check_interval 2. if service check fails, up the check rate to retry_check_interval 3. if 2 successive service checks fail, send notification 4. continue to check at retry_check_interval until service check succeeds and send notification my understanding is that once max_check_attempts is reached the service check interval returns to normal_check_interval even if the service is still down. but this does not make sense to me. if a service is down - it seems logical to up the check interval and try a couple more checks before sending an alert. but if the service has not recovered i don't want the check interval to go back to normal. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdaily at apparatus.net Mon Mar 6 01:51:35 2006 From: jdaily at apparatus.net (John R. Daily) Date: Sun, 5 Mar 2006 19:51:35 -0500 Subject: ePN: notification script Message-ID: <36587E8E-C05D-4F37-BE36-E7485AB0EE22@apparatus.net> I've been trying to get a Perl script to work as part of the notify- by-email command as defined in minimal.cfg, and it's finally dawned on me that the RPM package I'm using has the embedded Perl interpreter compiled in. (Is there a replacement for nagios -m in v2.0? The documentation still refers to it, but it doesn't seem to work.) Anyway, I'm not thrilled about having to deal with ePN for simple Perl utilities that aren't plugins, but I figured I could get it to work anyway. However, now I'm less confident. Here's the pipeline as originally defined in minimal.cfg: /usr/bin/printf ... | /bin/mail -s ... It's the printf portion of the pipeline that I've been attempting to replace with a Perl script. Once I realized that ePN was mucking things up I hoped that it would be sufficient to exit with an OK "error", but that was apparently wishful thinking. Does anyone know what the shortest functional ePN script might be? John R. Daily Apparatus, Inc. 912 N. Delaware St. Indianapolis, IN 46202 (317) 254-8488 Ext. 320 jdaily at apparatus.net ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Mon Mar 6 02:09:22 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Sun, 05 Mar 2006 20:09:22 -0500 Subject: max_check_attempts, retry_check_interval, and notifications: confusion In-Reply-To: Your message of "Sat, 04 Mar 2006 21:16:46 PST." <20060305051646.GB3860@think.alaya.net> References: <20060305051646.GB3860@think.alaya.net> Message-ID: <200603060109.k2619YbW008571@mx1.cs.umb.edu> In message <20060305051646.GB3860 at think.alaya.net>, prosolutions at gmx.net writes: >I am trying to configure the following behavior from nagios: >1. check a service every normal_check_interval >2. if service check fails, up the check rate to retry_check_interval >3. if 2 successive service checks fail, send notification >4. continue to check at retry_check_interval until service check > succeeds and send notification Yup 4 is the tough one. >my understanding is that once max_check_attempts is reached the service >check interval returns to normal_check_interval even if the service >is still down. Correct. >but this does not make sense to me. The idea for the shortened retry check interval is to allow faster checks while the service is in a soft error state. This way you can run multiple (soft) checks within the time it would take to perform a single normal check. Once the hard state resumes, the "normal" check interval will resume. It would probably have been better if the intervals were called "hard_check_interval" and "soft_check_interval" rather than normal/retry since normal makes it sound like it should be used for the "normal" state which one hopes is "ok" 8-). >if a service is >down - it seems logical to up the check interval and try a couple more >checks before sending an alert. but if the service has not recovered i >don't want the check interval to go back to normal. You don't say what version of nagios you are using but there are a couple of ways to handle this. I believe I saw a patch for nagios 1.x that added another check_interval option. I want to say error_check_interval, but that's not getting any hits on google. I think it was on the nagios developer's list, but it could have been nagios-users. For nagios 2.x you can use the adaptive monitoring (see manual) command: 'CHANGE_NORMAL_SVC_CHECK_INTERVAL:interval' to change the interval from an event handler. I would suggest using the objects.cache file to determine the configured normal_check_interval and retry_check_interval. You may have to cache that info for your event handler as I am not sure if that file is re-written when the intervals change. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 6 06:56:09 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Mon, 6 Mar 2006 16:56:09 +1100 Subject: ePN: notification script Message-ID: Dear Folks, I am writing to thank you for your letters and say, >-----Original Message----- >Message: 8 >To: Nagios-users at lists.sourceforge.net >From: "John R. Daily" >Date: Sun, 5 Mar 2006 19:51:35 -0500 >Subject: [Nagios-users] ePN: notification script > >I've been trying to get a Perl script to work as part of the notify- >by-email command as defined in minimal.cfg, and it's finally dawned >on me that the RPM package I'm using has the embedded Perl >interpreter compiled in. > I am using a home-cooked one with a spec file pretty well copied from the Dag Wieers EL3 RPM. Works fine for me. >(Is there a replacement for nagios -m in v2.0? The documentation >still refers to it, but it doesn't seem to work.) > >Anyway, I'm not thrilled about having to deal with ePN for simple >Perl utilities that aren't plugins, but I figured I could get it to >work anyway. However, now I'm less confident. > It can be a great pain in the proverbial to get going. However, the docco suggests (perldoc p1.pl) that you can enable some debug/verbose output to find where the plugin/Perl code is blowing up. Here's my debug p1.pl header. [sh1517 at acisf011 Nagios-Report-0.016]$ more /usr/bin/p1.pl_debug-epn package Embed::Persistent; # p1.pl for Nagios 2.0 use strict ; use Text::ParseWords qw(parse_line) ; use constant LEAVE_MSG => 1 ; use constant CACHE_DUMP => 2 ; use constant PLUGIN_DUMP => 4 ; use constant DEBUG_LEVEL => LEAVE_MSG ; use constant DEBUG_LOG_PATH => '/var/log/nagios/' ; # use constant DEBUG_LOG_PATH => './' ; You could try backing up your p1.pl, editing it as above and then restart Nagios (its prob good to have a second devel installation - in a second path for this). This will leave messages like Thu Feb 9 11:31:30 2006 eval_file: successfully compiled "/usr/lib/nagios/plugins/eventhandlers/global_host_event_handler acisf011 DOWN HARD 1139444865 1139445090 0 0". Thu Feb 9 11:31:30 2006 run_package: "/usr/lib/nagios/plugins/eventhandlers/global_host_event_handler acisf011 DOWN HARD 1139444865 1139445090 0 0" returning (3, "**ePN /usr/lib/nagios/plugins/eventhandlers/global_host_event_handler: "Can't open /usr/lib/nagios/p lugins/eventhandlers/global_event_handler-debug.log for output in append mode: Permission denied at (eval 1) line 61,". "). in the log. The other suggestion for debugging ePN probs is have a look at new_mini_epn. (Unfortch as I have just now found out, it doesn't appear to have the correct path to p1.pl in it so it doesn't work. This is very useful for debugging Perl scripts for use with ePN). >Here's the pipeline as originally defined in minimal.cfg: > > /usr/bin/printf ... | /bin/mail -s ... (I have been happily using such pipelines for years with ePN eg # 'notify-by-epager' command definition define command{ command_name notify-by-epager command_line /usr/bin/printf "%b" "$SERVICEDESC$ $HOSTNAME$ $SERVICESTATE$ $SERVICEOUTPUT$ $SHORTDATETIME$" | /bin/mail $ CONTACTPAGER$.sms ) > >It's the printf portion of the pipeline that I've been attempting to >replace with a Perl script. Once I realized that ePN was mucking >things up I hoped that it would be sufficient to exit with an OK >"error", but that was apparently wishful thinking. > You should only need to exit with a return code known to Nagios although it is customary to write a line of text. >Does anyone know what the shortest functional ePN script might be? #!/usr/bin/perl use lib q ; use utils ; print "In the beginning was the word.\n" ; exit $ERRORS{OK} ; or more tersely #!/usr/bin/perl print "Foo.\n"; exit 0; If you can't get it going, please post your problem script and someone should be able to spot the bug. Good luck. Yours sincerely. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 6 07:06:02 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Mon, 6 Mar 2006 17:06:02 +1100 Subject: Nagios-users digest, Vol 1 #3076 - 9 msgs Message-ID: Dear Folks, >Message: 8 >To: Nagios-users at lists.sourceforge.net >From: "John R. Daily" >Date: Sun, 5 Mar 2006 19:51:35 -0500 >Subject: [Nagios-users] ePN: notification script > >I've been trying to get a Perl script to work as part of the notify- >by-email command as defined in minimal.cfg, and it's finally dawned >on me that the RPM package I'm using has the embedded Perl >interpreter compiled in. > >(Is there a replacement for nagios -m in v2.0? The documentation >still refers to it, but it doesn't seem to work.) > >Anyway, I'm not thrilled about having to deal with ePN for simple >Perl utilities that aren't plugins, but I figured I could get it to >work anyway. However, now I'm less confident. > Give this a try with your Perl alternative to printf. 1 cd into /usr/bin (if RHEL; Nag bin path otherwise). 2 run new_mini_epn from there (the path to p1.pl should be set in the new_mini_epn binary but is not). (new_mini_epn has readline support so command line history and edit work ok.) eg [sh1517 at acisf011 bin]$ ./new_mini_epn plugin command line: /usr/lib/nagios/plugins/check_rootport -H 10.0.254.168 embedded perl plugin return code and output was: 0 & Ok. No topology change: root port of 10.0.254.168 has not changed from that expected: 1. See Current spanning tree graph. plugin command line: /usr/lib/nagios/plugins/check_rootport -H 10.0.254.168 embedded perl plugin return code and output was: 0 & Ok. No topology change: root port of 10.0.254.168 has not changed from that expected: 1. See Current spanning tree graph. plugin command line: /usr/lib/nagios/plugins/check_rootport -H 10.0.254.168 embedded perl plugin return code and output was: 0 & Ok. No topology change: root port of 10.0.254.168 has not changed from that expected: 1. See Current spanning tree graph. plugin command line: /usr/lib/nagios/plugins/check_rootport -H 10.0.254.168 embedded perl plugin return code and output was: 0 & Ok. No topology change: root port of 10.0.254.168 has not changed from that expected: 1. See Current spanning tree graph. plugin command line: q embedded perl compiled plugin q with error: **ePN failed to open "q": "No such file or directory" at p1.pl line 168. - skipping plugin plugin command line: That's all folks. [sh1517 at acisf011 bin]$ This is repeatedly running a Perl plugin check_rootport (simulating reuse by ePN). It will display probs either 1 at compile time (ePN has some funny limits. See the mod_perl docco for more info). 2 at run time. Good luck. Yours sincerely. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From giovanni.clemente at mail.ing.unibo.it Mon Mar 6 09:41:04 2006 From: giovanni.clemente at mail.ing.unibo.it (Giovanni Clemente) Date: Mon, 6 Mar 2006 09:41:04 +0100 Subject: [newbie] nrpe security Message-ID: Hello, I would know if there's a way to provide authentication in nrpe without resorting to tunnels. As far as I know, nrpe supports strong encryption but no authentication (not even in a weak sense, e.g. a private key hard-coded in the client and the coupled public key in the server). Thank you, Giovanni ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at srishtisoft.com Mon Mar 6 12:14:18 2006 From: tony at srishtisoft.com (Tony John) Date: Mon, 06 Mar 2006 16:44:18 +0530 Subject: SMS Sending Problem Message-ID: <440C198A.4000504@srishtisoft.com> Hello everybody, I am using nagios to monitor our intranet. For this I have configured nagios with the minimal configuration and tested. Its working fine and I am getting mails whenever some system goes down. Now I want to configure SMS sending utilities too. I have a DSL connection. I have downloaded and configured sms_client. But when i tried to test sms_client it has thrown some error as follows / [root at tony libmodem-1.3]# sms_client 9986490187 'Hello Tony' Dialing SMSC 0640900139... ERROR: MODEM: stat() Failed Ensure that the device entry '/dev/eth' exists If you want to use a different device, change the value of 'MDM_device' in '/etc/sms/sms_modem' to that device. Total Elapsed Time: 0 Seconds [root at tony libmodem-1.3]# /Since I am in a LAN i have a proxy server. Is there any other utility which can be used to send SMS through DSL lines. Or any way is there solve the problem. Please help me out. Any help would be highly appreciated. -- Thanks&Regards, Tony John Software Engineer Sristhi Software Pvt. Ltd. L-174, 6th Sector, HSR Layout, Bangalore - 560 034, India. Cell: +91 9986490187 Tel: +91 80 4110 9060/61/62 Ext: 254 url: www.srishtisoft.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From kylet at panix.com Mon Mar 6 12:43:07 2006 From: kylet at panix.com (Kyle Tucker) Date: Mon, 6 Mar 2006 06:43:07 -0500 (EST) Subject: check_snmp on Sol 10 mangling data In-Reply-To: <200603032101.k23L1kK00676@panix3.panix.com> References: <200603032101.k23L1kK00676@panix3.panix.com> Message-ID: <200603061143.k26Bh7j28507@panix1.panix.com> I just want to add that snmpget returns a good clean string on both Solaris 8 and 10. I also copied over and ran the check_snmp that I built (and runs well) on Solaris 8 on the Solaris 10 system and it too returns the garbage strings. So I'm at a total loss as to what about Solaris 10 that would cause such behavior, but it's bad enough that I cannot use check_snmp dependably. > I had check_snmp from the 1.4.2 plugins working great with=20 > Net-SNMP 5.2.2 on Solaris 8. I have built it all on Solaris 10 now=20 > for my production server and I get mangled data back from check_snmp > going to the exact same snmpd client.=20 > > Here's a good working Solaris 8 query from check_snmp and snmpget and it'= > s > output through 'od'. > > # /usr/local/nagios/libexec/check_snmp -t 3 -P 3 -H 192.168.16.11 -L auth= > Priv \ > -U Username -a MD5 -A abcdefg -X hijklmno -o .1.3.6.1.4.1.8072.1.3.2.3.1.= > 2.4.101.120.116.116 > SNMP OK - "extt running okay" | iso.3.6.1.4.1.8072.1.3.2.3.1.2.4.101.120.= > 116.116=3D"extt running okay";;;; =20 > > 0000000 S N M P O K - " e x t t =20 > 0000020 r u n n i n g o k a y " | =20 > 0000040 i s o . 3 . 6 . 1 . 4 . 1 . 8 0 > 0000060 7 2 . 1 . 3 . 2 . 3 . 1 . 2 . 4 > 0000100 . 1 0 1 . 1 2 0 . 1 1 6 . 1 1 6 > 0000120 =3D " e x t t r u n n i n g o > 0000140 k a y " ; ; ; ; \n > > snmpget -l AuthPriv -v 3 -u Username -a MD5 -A abcdefg -x DES -X hijklmno= > 192.168.16.11 .1.3.6.1.4.1.8072.1.3.2.3.1.2.4.101.120.116.116=20 > NET-SNMP-EXTEND-MIB::nsExtendOutputFull."extt" =3D STRING: extt running o= > kay > > And here's the mangled output on Solaris 10 > > /usr/local/nagios/libexec/check_snmp -t 3 -P 3 -H 192.168.16.11 -L authPr= > iv \ > -U Username -a MD5 -A abcdefg -X hijklmno -o .1.3.6.1.4.1.8072.1.3.2.3.1.= > 2.4.101.120.116.116 > SNMP OK - "extt running okay" | iso.3.6.1.4.1.8072.1.3.2.3.1.2.4.101.120.= > 116.116=3D"extt running okay"=FFp=FF?Xiso.3.6.1.4.1.8072.1.3.2.3.1.2.4.10= > 1.120.116.116 =3D STRING: "extt running okay" > ;;;; =20 > > 0000000 S N M P O K - " e x t t =20 > 0000020 r u n n i n g o k a y " | =20 > 0000040 i s o . 3 . 6 . 1 . 4 . 1 . 8 0 > 0000060 7 2 . 1 . 3 . 2 . 3 . 1 . 2 . 4 > 0000100 . 1 0 1 . 1 2 0 . 1 1 6 . 1 1 6 > 0000120 =3D " e x t t r u n n i n g o > 0000140 k a y " 377 " \b p 377 ? 017 X i s o . > 0000160 3 . 6 . 1 . 4 . 1 . 8 0 7 2 . 1 > 0000200 . 3 . 2 . 3 . 1 . 2 . 4 . 1 0 1 > 0000220 . 1 2 0 . 1 1 6 . 1 1 6 =3D S > 0000240 T R I N G : " e x t t r u n > 0000260 n i n g o k a y " \n ; ; ; ; =20 > > snmpget -l AuthPriv -v 3 -u Username -a MD5 -A abcdefg -x DES -X hijklmno= > 192.168.16.11 .1.3.6.1.4.1.8072.1.3.2.3.1.2.4.101.120.116.116=20 > NET-SNMP-EXTEND-MIB::nsExtendOutputFull."extt" =3D STRING: extt running o= > kay > > Oddly the output from the mangled one is 3 lines, 2 for the good one. > Any thoughts what's going on or where to chase this? Thanks. > > --=20 > - Kyle=20 > --------------------------------------------- > kylet at panix.com http://www.panix.com/~kylet =20 > --------------------------------------------- > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel at dep.fem.unicamp.br Mon Mar 6 15:02:32 2006 From: daniel at dep.fem.unicamp.br (Daniel Carvalho) Date: Mon, 6 Mar 2006 11:02:32 -0300 Subject: CHECK_NRPE: Error receiving dates from daemon. Message-ID: <4ed3d40d0603060602s745c8289x68097882ef096484@mail.gmail.com> Hi list. I am running some problems with addon NRPE. I did the installation and configuration as described in the README of the software. However, when I try to execute it in the command line, the following error message appears: CHECK_NRPE: Error receiving dates from daemon. Somebody has an idea? Grateful Thanks Daniel -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Mon Mar 6 16:57:09 2006 From: marc at ena.com (Marc Powell) Date: Mon, 6 Mar 2006 09:57:09 -0600 Subject: SMS Sending Problem Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Tony John > Sent: Monday, March 06, 2006 5:14 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] SMS Sending Problem > > Hello everybody, > > > I am using nagios to monitor our intranet. For this I > have configured nagios with the minimal configuration and tested. Its > working fine and I am getting mails whenever some system goes down. Now I > want to configure SMS sending utilities too. I have a DSL connection. I > have downloaded and configured sms_client. But when i tried to test > sms_client it has thrown some error as follows > > [root at tony libmodem-1.3]# sms_client 9986490187 'Hello > Tony' > Dialing SMSC 0640900139... > ERROR: MODEM: stat() Failed > > Ensure that the device entry '/dev/eth' exists > If you want to use a different device, change the > value of 'MDM_device' in '/etc/sms/sms_modem' to that > device. > > Total Elapsed Time: 0 Seconds > [root at tony libmodem-1.3]# > > > Since I am in a LAN i have a proxy server. Is there any other utility > which can be used to send SMS through DSL lines. Or any way is there solve > the problem. Please help me out. Any help would be highly appreciated. /dev/eth doesn't sound like a modem device. You need to have an analog modem attached to your computer for sms_client to use to connect to the POTS (Plain Old Telephone System) network. A DSL modem != analog modem. As you can see above, it's trying to dial a phone number, not connect to an IP address. A DSL modem is not sufficient and doesn't provide connectivity to the POTS network. As far as alternatives if you can't connect an analog modem to the computer you might see if your provider has a mail->sms gateway. It's not as reliable in the event of a network failure of course... -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Mar 6 17:04:30 2006 From: marc at ena.com (Marc Powell) Date: Mon, 6 Mar 2006 10:04:30 -0600 Subject: Last Check column config on the Service Detail page question Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Simon Cusack > Sent: Sunday, March 05, 2006 6:06 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Last Check column config on the Service Detail > page question > > Hi all, > > I have been trying to find a way to configure the Last Check column (or > something similar) to show the difference between the Last Check and the > Last Updated field, ie the the amount of time passed since the last check That option doesn't currently exist. You'd need to add it. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Mon Mar 6 17:36:24 2006 From: jhmartin at toger.us (Jason Martin) Date: Mon, 6 Mar 2006 08:36:24 -0800 Subject: [newbie] nrpe security In-Reply-To: References: Message-ID: <20060306163624.GZ7611@mal.toger.us> On Mon, Mar 06, 2006 at 09:41:04AM +0100, Giovanni Clemente wrote: > I would know if there's a way to provide authentication in > nrpe without resorting to tunnels. As far as I know, nrpe supports Althought not exactly authentication, you can configure NRPE via tcp wrappers or its own internal configuration to only accept connections from a given set of hosts. What sort of attack are you worried about that isn't covered by tcpwrappers? -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: From jdaily at apparatus.net Mon Mar 6 18:10:32 2006 From: jdaily at apparatus.net (John R. Daily) Date: Mon, 6 Mar 2006 12:10:32 -0500 Subject: ePN: notification script In-Reply-To: References: Message-ID: <2176B198-CBE8-4AF3-A5D3-9086B8C550F2@apparatus.net> On Mar 6, 2006, at 12:56 AM, wrote: > It can be a great pain in the proverbial to get going. However, the > docco suggests (perldoc p1.pl) that you can enable some debug/verbose > output to find where the plugin/Perl code is blowing up. Thanks for your insights. Here's the bare minimum script I had originally set up for testing: --- #!/usr/bin/perl -w use utils qw(%ERRORS); print "Perl here.\n\n"; exit($ERRORS{'OK'}); --- I have been swapping it out with a SH version, which works: --- #!/bin/sh echo "SH here" echo "" --- The debugging log that I set up as per Stanley's suggestion of editing p1.pl: Mon Mar 6 11:27:08 2006 eval_file: successfully compiled "/etc/ nagios/messages/test | /bin/mail -s "** PROBLEM alert - localhost/ HTTPD is CRITICAL **" jdaily at apparatus.net". Mon Mar 6 11:27:08 2006 run_package: "/etc/nagios/messages/test | / bin/mail -s "** PROBLEM alert - localhost/HTTPD is CRITICAL **" jdaily at apparatus.net" returning (0, "Perl here. "). So it looks to me as if ePN is fine with the script, but the output does not seem to be delivered to /bin/mail as it is with the shell version. -John ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From giovanni.clemente at mail.ing.unibo.it Mon Mar 6 19:05:24 2006 From: giovanni.clemente at mail.ing.unibo.it (Giovanni Clemente) Date: Mon, 6 Mar 2006 19:05:24 +0100 Subject: [newbie] nrpe security In-Reply-To: <20060306163624.GZ7611@mal.toger.us> References: <20060306163624.GZ7611@mal.toger.us> Message-ID: Il giorno 06/mar/06, alle ore 17:36, Jason Martin ha scritto: > On Mon, Mar 06, 2006 at 09:41:04AM +0100, Giovanni Clemente wrote: >> I would know if there's a way to provide authentication in >> nrpe without resorting to tunnels. As far as I know, nrpe supports > Althought not exactly authentication, you can configure NRPE via > tcp wrappers or its own internal configuration to only accept > connections from a given set of hosts. > > What sort of attack are you worried about that isn't covered by > tcpwrappers? > -Jason Martin I don't think Nagios will ever be our worst security hole... That said, with a B-class fully switched network tcp-wrappers are of little use... I would have slept more comfortably with x509 :) Bye, Giovanni _________________________________ Giovanni Clemente DEIS - Lab2 tel. 051 20 93890 email: giovanni.clemente at mail.ing.unibo.it I miei molteplici impegni... -------------- next part -------------- An HTML attachment was scrubbed... URL: From lanning at lanning.cc Mon Mar 6 19:08:29 2006 From: lanning at lanning.cc (Robert Hajime Lanning) Date: Mon, 6 Mar 2006 10:08:29 -0800 (PST) Subject: ePN: notification script In-Reply-To: <2176B198-CBE8-4AF3-A5D3-9086B8C550F2@apparatus.net> References: <2176B198-CBE8-4AF3-A5D3-9086B8C550F2@apparatus.net> Message-ID: <45570.192.168.128.102.1141668509.squirrel@ssl.monsoonwind.com> > Here's the bare minimum script I had originally set up for testing: > --- > #!/usr/bin/perl -w > > use utils qw(%ERRORS); > > print "Perl here.\n\n"; > exit($ERRORS{'OK'}); [snip] > The debugging log that I set up as per Stanley's suggestion of > editing p1.pl: > > Mon Mar 6 11:27:08 2006 eval_file: successfully compiled "/etc/ > nagios/messages/test | /bin/mail -s "** PROBLEM alert - localhost/ > HTTPD is CRITICAL **" jdaily at apparatus.net". > Mon Mar 6 11:27:08 2006 run_package: "/etc/nagios/messages/test | / > bin/mail -s "** PROBLEM alert - localhost/HTTPD is CRITICAL **" > jdaily at apparatus.net" returning (0, "Perl here. > > "). > > > So it looks to me as if ePN is fine with the script, but the output > does not seem to be delivered to /bin/mail as it is with the shell > version. Ah, you are running into the problem that in ePN STDOUT does not go to STDOUT. It is redirected to an array inside of p1.pl. The best way to fix this is to not use the "|" on the commandline. Use: open(CMD,"|/bin/mail arg1 arg2..."); print CMD "Perl here.\n\n"; close(CMD); or if you really need to use the commandline pipe, then you have to not use ePN (ie. use "/usr/bin/perl script_name | /bin/mail ..." -- And, did Guloka think the Ulus were too ugly to save? -Centauri ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kylet at panix.com Mon Mar 6 19:58:53 2006 From: kylet at panix.com (Kyle Tucker) Date: Mon, 6 Mar 2006 13:58:53 -0500 (EST) Subject: check_snmp on Sol 10 mangling data In-Reply-To: <200603032101.k23L1kK00676@panix3.panix.com> References: <200603032101.k23L1kK00676@panix3.panix.com> Message-ID: <200603061858.k26IwrA04016@panix3.panix.com> After playing with gdb all day, I found the culprit. The array of chars named "type" was getting initialized with the crud on Solaris 10. On 8 it was zeroed out at runtime. Using bzero on it before it's used fixed it up. *** check_snmp.c.orig Mon Mar 6 08:05:26 2006 --- check_snmp.c Mon Mar 6 13:45:53 2006 *************** *** 242,247 **** --- 242,249 ---- } /* We strip out the datatype indicator for PHBs */ + /* Clean up type array */ + bzero(type, sizeof(type)); if (strstr (response, "Gauge: ")) show = strstr (response, "Gauge: ") + 7; else if (strstr (response, "Gauge32: ")) -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffwilliams05 at gmail.com Mon Mar 6 23:27:03 2006 From: jeffwilliams05 at gmail.com (Jeff Williams) Date: Mon, 6 Mar 2006 16:27:03 -0600 Subject: multiple notification/escalation definitions Message-ID: <17e351010603061427x71e0ac71oc7fed5ebd73e6334@mail.gmail.com> I'm wondering if I'm missing something or thinking about this incorrectly. I have some hosts that have services and their contact groups already defined like so: define service{ use generic-service host_name vader service_description NTP is_volatile 0 check_period 24x7 retry_check_interval 1 contact_groups oncall,ulsysadmins,dba notification_interval 5 notification_period 24x7 notification_options w,u,c,r check_command check_ntp } I also have an escalation for this service: define serviceescalation{ host_name vader service_description NTP first_notification 2 last_notification 2 notification_interval 5 contact_groups oncall } define serviceescalation{ host_name vader service_description NTP first_notification 3 last_notification 4 notification_interval 5 contact_groups oncall,backup } define serviceescalation{ host_name vader service_description NTP first_notification 5 last_notification 0 notification_interval 0 contact_groups oncall,backup } What I'm wondering is if I can add another contact for this service that gets notified after 30 minutes, but only gets notified once. Ideally I would like to be able to do this as easily as possible and for an entire group of servers and for multiple services, if possible. We are migrating from big brother and while big brother is not nearly as complex and functional as Nagios, it can be done in big brother with probably one line. Am I missing something though? Can a service be defined twice? Or can I define it in an escalation that includes the entire hostgroup that I want? Thanks in advance. Jeff ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdaily at apparatus.net Mon Mar 6 19:25:49 2006 From: jdaily at apparatus.net (John R. Daily) Date: Mon, 6 Mar 2006 13:25:49 -0500 Subject: ePN: notification script In-Reply-To: <45570.192.168.128.102.1141668509.squirrel@ssl.monsoonwind.com> References: <2176B198-CBE8-4AF3-A5D3-9086B8C550F2@apparatus.net> <45570.192.168.128.102.1141668509.squirrel@ssl.monsoonwind.com> Message-ID: Thanks, that explains everything. I clearly needed to dig more deeply into the ePN documentation to find that. -John On Mar 6, 2006, at 1:08 PM, Robert Hajime Lanning wrote: > or if you really need to use the commandline pipe, then you have > to not use ePN (ie. use "/usr/bin/perl script_name | /bin/mail ..." ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Mar 7 00:30:33 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Tue, 7 Mar 2006 10:30:33 +1100 Subject: Potential bug in avail.cgi/Nagios 2.0. Message-ID: Dear Folks, I am writing to report a peculiar behaviour of the availability CGI with Nagios 2.0 Firstly, I think the avail.cgi is a wonderful beast that turns the Nagios logs into a very useful and desirable data source. My reporting requirements are down times minus any down time scheduled. I guess that total_time_down is in fact the sum of time_down_scheduled and time_down_unscheduled. But for some of my availability data (last month), I see (with an unpublished SQL interface on top). DB<29> p $SQL SELECT host_name, total_time_down, time_down_scheduled, time_down_unscheduled FROM tab_24x7 where total_time_down > 0 and time_down_unscheduled > 10000 DB<30> $s = $d->prepare($SQL) DB<31> $s->execute DB<32> $s->dump_results 'Lismore_Optus_router_PE_interface', '96712', '0', '96712' 'MTASW203', '800', '10000', '4294958096' 'TODSW210', '429', '6771', '4294960954' 'TRASW202', '200', '7000', '4294960496' 'TRASW203', '1392', '5808', '4294962880' 'TRASW204', '1092', '6108', '4294962280' 6 rows The problem is the too large values of time_down_unscheduled and the fact that the total_time_down is not the sum of sched and unsched downtime. In this case, downtime was scheduled for the TOD\w+ and TRA\w+ hosts (the Lismore entry is correct BTW). What can I provide that may help the investigation progress ? Yours sincerely. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 7 01:30:36 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 7 Mar 2006 13:30:36 +1300 Subject: Potential bug in avail.cgi/Nagios 2.0. In-Reply-To: <14A270C0E2F4124AB0B7320BDBEA949F0B90EF03@vxchange.vcr.auckland.ac.nz> References: <14A270C0E2F4124AB0B7320BDBEA949F0B90EF03@vxchange.vcr.auckland.ac.nz> Message-ID: <006501c6417e$5a6103f0$8ea8d882@438LG01sshi052> > > The problem is the too large values of time_down_unscheduled > and the fact that the total_time_down is not the sum of sched > and unsched downtime. > We get this as well, and it is a big nuisance. It looks very much like someone is using signed integers when they should be using unsigned, or vice-versa. We have had to revert to using an in-house tool to calculate availabilities. I am using Nagios 1.2 -- I don't really want to modify the code since we're likely to move up to 2.0 in a few months time, once it is out of beta and generally stable. Steve ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prosolutions at gmx.net Tue Mar 7 01:52:25 2006 From: prosolutions at gmx.net (prosolutions at gmx.net) Date: Mon, 6 Mar 2006 16:52:25 -0800 Subject: max_check_attempts, retry_check_interval, and notifications: confusion In-Reply-To: <200603060109.k2619YbW008571@mx1.cs.umb.edu> References: <20060305051646.GB3860@think.alaya.net> <200603060109.k2619YbW008571@mx1.cs.umb.edu> Message-ID: <20060307005225.GA5178@think.alaya.net> > >I am trying to configure the following behavior from nagios: > >1. check a service every normal_check_interval > >2. if service check fails, up the check rate to retry_check_interval > >3. if 2 successive service checks fail, send notification > >4. continue to check at retry_check_interval until service check > > succeeds and send notification > > Yup 4 is the tough one. > ... > For nagios 2.x you can use the adaptive monitoring (see manual) > command: 'CHANGE_NORMAL_SVC_CHECK_INTERVAL:interval' to change the > interval from an event handler. I would suggest using the > objects.cache file to determine the configured normal_check_interval > and retry_check_interval. You may have to cache that info for your > event handler as I am not sure if that file is re-written when the > intervals change. > Thanks for your help. Too bad nagios doesn't simply have object configuration file options such as: normal_check_interval - how often to normally check when all OK warning_check_interval - how often to check when WARNING critical_check_interval - how often to check when CRITICAL number_of_warnings_notification - after how many WARNING checks to send notification number_of_critical_notification - after how many CRITICAL checks to send notification at any rate the external command CHANGE_NORMAL_SVC_CHECK_INTERVAL does seem to almost do what I want with one small problem: Service event handlers recieve the following 3 macros: $SERVICESTATE$, $SERVICESTATETYPE$, $SERVICEATTEMPT$, yet in order to run CHANGE_NORMAL_SVC_CHECK_INTERVAL via an external command/event handler I need to provide the following to it: CHANGE_NORMAL_SVC_CHECK_INTERVAL;host1;service1;15\n" $now > $commandfile unfortunately $host$ is not provided to the external command via the event handler. I'm not sure how to tell my external command for what host it should be changing the normal_check_interval. How is the external command supposed to know which host triggered its event handler? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alekseyz at hotmail.com Tue Mar 7 02:00:33 2006 From: alekseyz at hotmail.com (aleksey zakharov) Date: Mon, 6 Mar 2006 17:00:33 -0800 Subject: Cant get NRPE working on Solaris9 Message-ID: I've installed NRPE/Nagios-Plugins binaries - nagios-plugins-1.3.1_2-sol9-sparc-local and nrpe-1.9_5-sol9-sparc-local on Solaris 9 as follows: # pkgadd -d /tmp/nagios-plugins-1.3.1_2-sol9-sparc-local # pkgadd -d /tmp/nrpe-1.9_5-sol9-sparc-local Edited /etc/services and added the following line nrpe 5666/tcp # Nagios NRPE client Modified /etc/init.d/nrpe to point to /etc/nrpe.cfg Configured /etc/nrpe.cfg by editing allowed_hosts to point to my NAGIOS server as well as localhost for testing purposes. But when testing NRPE connection from Nagios server i get: CHECK_NRPE: Socket timeout after 10 seconds. and on the client side /var/adm/messages displays: Could not read request from client, bailing out... When checking from local host I do however bet a response: #check_nrpe -H 127.0.0.1 -c check_load OK - load average: 0.00, 0.00, 0.01 After countless forum searches I wasn't able to find any clues as to what could be wrong with my connection. Thanks for any help in advance. Aleksey -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.johnston at kirtland.af.mil Tue Mar 7 02:02:07 2006 From: michael.johnston at kirtland.af.mil (Johnston Michael J Contr AFRL/DES) Date: Tue, 7 Mar 2006 01:02:07 -0000 Subject: pNSClient.exe port used? Message-ID: I have a silly question about pNSClient.exe for monitoring my windows servers. I added guarddog to my nagios server to better control my firewall, but when I turn it on the "CPU Load" and "DNS Check" and a few other services stop being reported. I'm going to add a custom rule, but I'm not sure what port to allow. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Tue Mar 7 03:15:36 2006 From: marc at ena.com (Marc Powell) Date: Mon, 6 Mar 2006 20:15:36 -0600 Subject: max_check_attempts, retry_check_interval, and notifications: confusion Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of prosolutions at gmx.net > Sent: Monday, March 06, 2006 6:52 PM > To: rouilj at ieee.org > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] max_check_attempts, retry_check_interval, and > notifications: confusion > > > >I am trying to configure the following behavior from nagios: > > >1. check a service every normal_check_interval > > >2. if service check fails, up the check rate to retry_check_interval > > >3. if 2 successive service checks fail, send notification > > >4. continue to check at retry_check_interval until service check > > > succeeds and send notification > > > > Yup 4 is the tough one. > > > > ... > > > For nagios 2.x you can use the adaptive monitoring (see manual) > > command: 'CHANGE_NORMAL_SVC_CHECK_INTERVAL:interval' to change the > > interval from an event handler. I would suggest using the > > objects.cache file to determine the configured normal_check_interval > > and retry_check_interval. You may have to cache that info for your > > event handler as I am not sure if that file is re-written when the > > intervals change. > > > > Thanks for your help. Too bad nagios doesn't simply have object > configuration file options such as: > [chop] > at any rate the external command CHANGE_NORMAL_SVC_CHECK_INTERVAL does > seem to almost do what I want with one small problem: Service event > handlers recieve the following 3 macros: $SERVICESTATE$, > $SERVICESTATETYPE$, $SERVICEATTEMPT$, yet in order to run In the _examples_, sure, but you're not limited to those three at all. There are many macros available to event handlers. > CHANGE_NORMAL_SVC_CHECK_INTERVAL via an external command/event handler I > need to provide the following to it: > > CHANGE_NORMAL_SVC_CHECK_INTERVAL;host1;service1;15\n" $now > $commandfile > > unfortunately $host$ is not provided to the external command via the > event handler. I'm not sure how to tell my external command for what > host it should be changing the normal_check_interval. How is the > external command supposed to know which host triggered its event > handler? By passing it the $HOSTNAME$. http://nagios.sourceforge.net/docs/2_0/macros.html -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 7 05:43:12 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 7 Mar 2006 17:43:12 +1300 Subject: pNSClient.exe port used? In-Reply-To: <14A270C0E2F4124AB0B7320BDBEA949F0B90EF07@vxchange.vcr.auckland.ac.nz> References: <14A270C0E2F4124AB0B7320BDBEA949F0B90EF07@vxchange.vcr.auckland.ac.nz> Message-ID: <009501c641a1$a4604330$8ea8d882@438LG01sshi052> pnsclient 1248/tcp inbound nrpe and nrpe_NT 5666/tcp inbound Eventlog monitor (uses nsca) 5667/tcp outbound Steve I have a silly question about pNSClient.exe for monitoring my windows servers. I added guarddog to my nagios server to better control my firewall, but when I turn it on the "CPU Load" and "DNS Check" and a few other services stop being reported. I'm going to add a custom rule, but I'm not sure what port to allow. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From ka at pacific.net Tue Mar 7 06:01:05 2006 From: ka at pacific.net (Ken A) Date: Mon, 06 Mar 2006 21:01:05 -0800 Subject: check disk_free on windows client In-Reply-To: <1141495128.6123.8.camel@spiekey.lansin.ole> References: <1141495128.6123.8.camel@spiekey.lansin.ole> Message-ID: <440D1391.2030403@pacific.net> wmi should help. http://www.microsoft.com/technet/scriptcenter/guide/sas_fsd_dzbl.mspx Ken Mario Ohnewald wrote: > Hello List, > > whats the easiest way to check the disk free space on a windows box? > All i can think of is via SNMP. > Are there other possibilities? (except mounting the drive with smb and > then use the unix tool check_diskfree). > > Thanks, Mario > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ronald.rojas at gmail.com Tue Mar 7 06:22:52 2006 From: ronald.rojas at gmail.com (Ronald's Gmail) Date: Tue, 7 Mar 2006 13:22:52 +0800 Subject: NRPE Problem Message-ID: <677c22a0603062122n7b6aa4f9t344a48d3f5f213db@mail.gmail.com> Hi, I got a problem. The error displays something like this: CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. This appears on the service monitoring with the 'UNKNOWN' status. Anyone have an idea on how to fix this? Thanks. Ronald Rojas System Administrator -------------- next part -------------- An HTML attachment was scrubbed... URL: From gorste at tesco.net Tue Mar 7 12:09:02 2006 From: gorste at tesco.net (Gordon Stewart) Date: Tue, 7 Mar 2006 11:09:02 +0000 Subject: Configure CGI Message-ID: <20060307110902.YQXM11653.aamtaout01-winn.ispmail.ntl.com@smtp.ntlworld.com> Dear list When I call the cgis scripts from the command line they work fine but when I use the web browser I get an error in my error_log. Premature end of script headers: status.cgi Can someone point me in the right direction to solve this? I am running it on Fedora Core 4. Thanks Gordon Thanks ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kate.harris at gmail.com Tue Mar 7 12:32:48 2006 From: kate.harris at gmail.com (Kate Harris) Date: Tue, 7 Mar 2006 11:32:48 +0000 Subject: Nagios Performance Data shows checks aren't being completed Message-ID: <83db1edb0603070332k717d2dffp4e94cc8fb404d196@mail.gmail.com> I had a similar problem and thought I had fixed it. My situation is that I have 922 services to check (at the moment, I need to ramp up to over 2,500 but the latency problem is a show-stopper at the moment). I'm using a very low-spec Dell running Solaris 10 with Nagios 2.0to do it. Using default settings, I was initially getting average check latencies of the order of 5-6 seconds which was fine, but after a day or so of no Nagios restarts, that figure would rocket to 100 seconds and stay there, not ever re-checking the majority of the services, with re-scheduled check times staying in the past, until I did a nagios reload. There was one directive which solved the stale re-check times:- check_for_orphaned_services=1 Also, I reduced a couple of timeout values so that Nagios stopped wasting time on checks which were bound to fail:- service_check_timeout=30 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 Given that the load on the machine doesn't appear to go over 0.50, I've allowed infinite concurrent services checks now, increased from 400, but that appears to be making no difference at all. And I left the reaper frequency at 10 seconds. So now the checks were being re-scheduled for times in the future, and the latencies stopped running away quite so dramatically. This is the state of things at the moment:- Active Service Checks: Time Frame Checks Completed <= 1 minute: 107 (11.6%) <= 5 minutes: 593 (64.3%) <= 15 minutes: 922 (100.0%) <= 1 hour: 922 (100.0%) Since program start: 922 (100.0%) Metric Min. Max. Average Check Execution Time: 0.06 sec 19.70 sec 0.139 sec Check Latency: 0.00 sec 17.19 sec 2.164 sec Percent State Change: 0.00% 0.00% 0.00% Passive Service Checks: Time Frame Checks Completed <= 1 minute: 0 (0.0%) <= 5 minutes: 0 (0.0%) <= 15 minutes: 0 (0.0%) <= 1 hour: 0 (0.0%) Since program start: 0 (0.0%) Metric Min. Max. Average Percent State Change: 0.00% 0.00% 0.00% Active Host Checks: Time Frame Checks Completed <= 1 minute: 1 (0.9%) <= 5 minutes: 4 (3.6%) <= 15 minutes: 5 (4.5%) <= 1 hour: 5 (4.5%) Since program start: 11 (9.8%) Metric Min. Max. Average Check Execution Time: 0.02 sec 13.52 sec 0.170 sec Check Latency: 0.00 sec 8.16 sec 0.073 sec Percent State Change: 0.00% 0.00% 0.00% Passive Host Checks: Time Frame Checks Completed <= 1 minute: 0 (0.0%) <= 5 minutes: 0 (0.0%) <= 15 minutes: 0 (0.0%) <= 1 hour: 0 (0.0%) Since program start: 0 (0.0%) Metric Min. Max. Average Percent State Change: 0.00% 0.00% 0.00% However, the latencies are creeping upwards again, albeit very very slowly and at some point I think I'll have to do a reload just to get the checking back on track again. Has anyone got any ideas on where I should be looking to make this better? K -- Kate Harris http://www.totkat.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From chertolyas.av at mgsm.ru Tue Mar 7 13:16:42 2006 From: chertolyas.av at mgsm.ru (Andrew V. Chertolyas) Date: Tue, 07 Mar 2006 16:16:42 +0400 Subject: Failover nagios server Message-ID: <440D79AA.9060208@mgsm.ru> Hello, nagios users! I have a standalone server with nagios running on it. I want to tune up an another server, for distributed monitoring. But main task is to provide for failover work of allover nagios configuration - in case of failure of one of the servers another server must provide data collection from all monitoring servers. Is there any solutions for it? Thanks! -- Regards, Andrew V. Chertolyas | JSC MSS Povoljie IT engineer | Samara, Russia ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkoponick at redhawk.info Tue Mar 7 14:46:17 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Tue, 7 Mar 2006 05:46:17 -0800 Subject: ICMP - RTA? Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109C94@raptor.redhawk.info> Hello, I've been using check_icmp and have also used check_ping to test if a host is available or not. It seems like a simple test but I'm running into an interesting issue. I see round trip times in the 500+ ms range, which causes an alert. At first I thought we had a network issue, but when I PING directly to the host which I'm running the check, I receive round trip times in the 1-2ms range, which is puzzling to me. On some sensors I'm testing 40+ hosts with check_icmp, and another sensor I'm only testing 10 hosts, I see the same issue on both sensors. So it doesn't look like its amount of tests I'm running. I wonder what I'm seeing is the time for the complete check to take place for each host. Has anyone else seen this issue? Thanks! Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonathan.w.miner at baesystems.com Tue Mar 7 14:57:12 2006 From: jonathan.w.miner at baesystems.com (Miner, Jonathan W (CSC) (US SSA)) Date: Tue, 7 Mar 2006 08:57:12 -0500 Subject: Nagios notifications References: <885C7EC41C6782488AD7D3A7C3259106095D15CD@blums0009> Message-ID: <7FCB0E206880084DB3D57CBAA2119F1202366A29@blums0010> Hi - We've been running Nagios 2.0 for several months now. Great tool, have been extremely happy with it. I have been asked by my management to "create a list of WHAT we are currently monitoring and WHEN someone is notified and WHO that someone is". This seems pretty trivial, just go through the all the configuration files and cut-n-paste the desired information. A very time consuming task, and something that would need to be updated from time to time. Is there a better way? If not, for those intimate with Nagios internals, any estimate on how much work would be involved in traversing the internal data structures and producing a report? I've got a programming background, and willing to tackle this myself if needed. Thanks ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Tue Mar 7 15:17:22 2006 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 7 Mar 2006 09:17:22 -0500 Subject: Nagios notifications In-Reply-To: <7FCB0E206880084DB3D57CBAA2119F1202366A29@blums0010> References: <885C7EC41C6782488AD7D3A7C3259106095D15CD@blums0009> <7FCB0E206880084DB3D57CBAA2119F1202366A29@blums0010> Message-ID: <302ce8b50603070617k68637e46y3f0653fb67323fa4@mail.gmail.com> > I have been asked by my management to "create a list of WHAT we are currently monitoring and WHEN someone is notified and WHO that someone is". This seems pretty trivial, just go through the all the configuration files and cut-n-paste the desired information. A very time consuming task, and something that would need to be updated from time to time. > Is there a better way? If not, for those intimate with Nagios internals, any estimate on how much work would be involved in traversing the internal data structures and producing a report? I've got a programming background, and willing to tackle this myself if needed. > > Thanks I may not be understanding what exactly your management is asking for here, so bear with me. Isn't this EXACTLY the information that the web interface provides? The host details page shows what hosts you're checking, the service details page shows what services on which hosts you're checking, and the notifications reporting page shows what notifications have been sent out recently. If he wants to know further details, your PHB can click on the configuration information and see who teh contact and contact groups are. That said... be careful about giving your boss THAT much access to things. Managers need to be kept on a short leash, lest they think they have the power to make changes. -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.w.miner at baesystems.com Tue Mar 7 15:39:08 2006 From: jonathan.w.miner at baesystems.com (Miner, Jonathan W (CSC) (US SSA)) Date: Tue, 7 Mar 2006 09:39:08 -0500 Subject: Nagios notifications References: <885C7EC41C6782488AD7D3A7C3259106095D15CD@blums0009> <7FCB0E206880084DB3D57CBAA2119F1202366A29@blums0010> <302ce8b50603070617k68637e46y3f0653fb67323fa4@mail.gmail.com> Message-ID: <7FCB0E206880084DB3D57CBAA2119F1202366A2D@blums0010> -----Original Message----- From: Jim Perrin [mailto:jperrin at gmail.com] Sent: Tue 03/07/2006 09:17 AM To: Miner, Jonathan W (CSC) (US SSA) Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios notifications > I have been asked by my management to "create a list of WHAT we are currently monitoring and WHEN someone is notified and WHO that someone is". This seems pretty trivial, just go through the all the configuration files and cut-n-paste the desired information. A very time consuming task, and something that would need to be updated from time to time. > Is there a better way? If not, for those intimate with Nagios internals, any estimate on how much work would be involved in traversing the internal data structures and producing a report? I've got a programming background, and willing to tackle this myself if needed. > > Thanks I may not be understanding what exactly your management is asking for here, so bear with me. Isn't this EXACTLY the information that the web interface provides? The host details page shows what hosts you're checking, the service details page shows what services on which hosts you're checking, and the notifications reporting page shows what notifications have been sent out recently. If he wants to know further details, your PHB can click on the configuration information and see who teh contact and contact groups are. That said... be careful about giving your boss THAT much access to things. Managers need to be kept on a short leash, lest they think they have the power to make changes. --------------------------- Hi Jim - Thanks for the response... definitely agree with the short leash comment! :) I should have been more specfic... yes, all the information is available by clicking through the web-interface, but I'd rather see a simple document that just listed everything... or even more horid, could be exported as a CSV file. Thay way management could get an inventory of Nagios monitored "stuff" ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Tue Mar 7 16:01:11 2006 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Tue, 07 Mar 2006 10:01:11 -0500 Subject: Latency problem - was - Nagios Performance Data shows checks aren't being completed Message-ID: Diddo here too. I thought that it there was too much process at once, so I changed this line in nagios.cfg... max_service_check_spread=50 But no changes. I have 1300 services checks, so there was about 900 process simultaniously at first. But even changing the max_service_check did not change a thing. I'll go on with some tests and tweaks. --------------------------------------------------- Alexandre Racine - Gardien Virtuel - S?curit? Informatique www.gardienvirtuel.com Montr?al, Qu?bec, Canada >>> kate.harris at gmail.com 2006-03-07 06:32:48 >>> I had a similar problem and thought I had fixed it. My situation is that I have 922 services to check (at the moment, I need to ramp up to over 2,500 but the latency problem is a show-stopper at the moment). I'm using a very low-spec Dell running Solaris 10 with Nagios 2.0to do it. Using default settings, I was initially getting average check latencies of the order of 5-6 seconds which was fine, but after a day or so of no Nagios restarts, that figure would rocket to 100 seconds and stay there, not ever re-checking the majority of the services, with re-scheduled check times staying in the past, until I did a nagios reload. There was one directive which solved the stale re-check times:- check_for_orphaned_services=1 Also, I reduced a couple of timeout values so that Nagios stopped wasting time on checks which were bound to fail:- service_check_timeout=30 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 Given that the load on the machine doesn't appear to go over 0.50, I've allowed infinite concurrent services checks now, increased from 400, but that appears to be making no difference at all. And I left the reaper frequency at 10 seconds. So now the checks were being re-scheduled for times in the future, and the latencies stopped running away quite so dramatically. This is the state of things at the moment:- Active Service Checks: Time Frame Checks Completed <= 1 minute: 107 (11.6%) <= 5 minutes: 593 (64.3%) <= 15 minutes: 922 (100.0%) <= 1 hour: 922 (100.0%) Since program start: 922 (100.0%) Metric Min. Max. Average Check Execution Time: 0.06 sec 19.70 sec 0.139 sec Check Latency: 0.00 sec 17.19 sec 2.164 sec Percent State Change: 0.00% 0.00% 0.00% Passive Service Checks: Time Frame Checks Completed <= 1 minute: 0 (0.0%) <= 5 minutes: 0 (0.0%) <= 15 minutes: 0 (0.0%) <= 1 hour: 0 (0.0%) Since program start: 0 (0.0%) Metric Min. Max. Average Percent State Change: 0.00% 0.00% 0.00% Active Host Checks: Time Frame Checks Completed <= 1 minute: 1 (0.9%) <= 5 minutes: 4 (3.6%) <= 15 minutes: 5 (4.5%) <= 1 hour: 5 (4.5%) Since program start: 11 (9.8%) Metric Min. Max. Average Check Execution Time: 0.02 sec 13.52 sec 0.170 sec Check Latency: 0.00 sec 8.16 sec 0.073 sec Percent State Change: 0.00% 0.00% 0.00% Passive Host Checks: Time Frame Checks Completed <= 1 minute: 0 (0.0%) <= 5 minutes: 0 (0.0%) <= 15 minutes: 0 (0.0%) <= 1 hour: 0 (0.0%) Since program start: 0 (0.0%) Metric Min. Max. Average Percent State Change: 0.00% 0.00% 0.00% However, the latencies are creeping upwards again, albeit very very slowly and at some point I think I'll have to do a reload just to get the checking back on track again. Has anyone got any ideas on where I should be looking to make this better? K -- Kate Harris http://www.totkat.org/ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Tue Mar 7 16:42:17 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Tue, 07 Mar 2006 10:42:17 -0500 Subject: max_check_attempts, retry_check_interval, and notifications: confusion In-Reply-To: Your message of "Mon, 06 Mar 2006 16:52:25 PST." <20060307005225.GA5178@think.alaya.net> References: <20060307005225.GA5178@think.alaya.net> Message-ID: <200603071542.k27FgHr7018265@mx1.cs.umb.edu> In message <20060307005225.GA5178 at think.alaya.net>, prosolutions at gmx.net writes: >> >I am trying to configure the following behavior from nagios: >> >1. check a service every normal_check_interval >> >2. if service check fails, up the check rate to retry_check_interval >> >3. if 2 successive service checks fail, send notification >> >4. continue to check at retry_check_interval until service check >> > succeeds and send notification >> >> Yup 4 is the tough one. >> >... >> For nagios 2.x you can use the adaptive monitoring (see manual) >> command: 'CHANGE_NORMAL_SVC_CHECK_INTERVAL:interval' to change the >> interval from an event handler. I would suggest using the >> objects.cache file to determine the configured normal_check_interval >> and retry_check_interval. You may have to cache that info for your >> event handler as I am not sure if that file is re-written when the >> intervals change. >> > >Thanks for your help. Too bad nagios doesn't simply have object >configuration file options such as: > >normal_check_interval - how often to normally check when all OK >warning_check_interval - how often to check when WARNING >critical_check_interval - how often to check when CRITICAL >number_of_warnings_notification - after how many WARNING checks to send >notification >number_of_critical_notification - after how many CRITICAL checks to >send notification Yeah. I used SEC to correlate when I need this level of detailed correlation. Once you start getting to this level of detail you often find out that you want different types of warnings/critical events handled differently. >at any rate the external command CHANGE_NORMAL_SVC_CHECK_INTERVAL does >seem to almost do what I want with one small problem: Service event >handlers recieve the following 3 macros: $SERVICESTATE$, $SERVICESTATETYPE$, > $SERVICEATTEMPT$, yet in order to run CHANGE_NORMAL_SVC_CHECK_INTERVAL via >an external command/event handler I need to provide the following to it: > >CHANGE_NORMAL_SVC_CHECK_INTERVAL;host1;service1;15\n" $now > $commandfile > >unfortunately $host$ is not provided to the external command via the >event handler. Seems $HOSTNAME$ is provided: http://nagios.sourceforge.net/docs/2_0/macros.html so just add it to the event handler description. E.G. define command { command_name handle_PortScanCheck command_line $USER2$/PortScanCheck $SERVICEATTEMPT$ $SERVICESTATE$ $HOSTADDRESS$ '$SERVICEOUTPUT$' } I use HOSTADDRESS rather then HOSTNAME, but it should still work. >I'm not sure how to tell my external command for what >host it should be changing the normal_check_interval. How is the >external command supposed to know which host triggered its event >handler? It all depends on what arguments you define for the event handler. Also with 2.0 I think all macros are in the environment as well, so you can get NAGIOS_HOSTNAME from the environment rather then passing it on the command line. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Toby_Kraft at KSAinc.com Tue Mar 7 16:49:03 2006 From: Toby_Kraft at KSAinc.com (Toby Kraft) Date: Tue, 7 Mar 2006 09:49:03 -0600 Subject: Configure CGI In-Reply-To: <20060307110902.YQXM11653.aamtaout01-winn.ispmail.ntl.com@smtp.ntlworld.com> References: <20060307110902.YQXM11653.aamtaout01-winn.ispmail.ntl.com@smtp.ntlworld.com> Message-ID: SELinux enabled? check permissions on cgi directory and scripts (see nagios docs) search list archives for "Premature end of script headers" Toby nagios-users-admin at lists.sourceforge.net wrote on 03/07/2006 05:09:02 AM: > Dear list > > When I call the cgis scripts from the command line they work fine > but when I use the web browser I get an error in my error_log. > > Premature end of script headers: status.cgi > > Can someone point me in the right direction to solve this? > > I am running it on Fedora Core 4. > > Thanks > > Gordon > > Thanks > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Tue Mar 7 16:52:06 2006 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Tue, 07 Mar 2006 10:52:06 -0500 Subject: Latency problem - was - Nagios Performance Data shows checksaren't being completed Message-ID: And the weirdest part, is that it is only Netware and Windows clients that are showing this kind of performance problem. Netware are check with the client program mrtgext.nlm and Windows are check with the nsclient program. Everything else is working fine, switchs, linux (nrpe), ups, etc. --------------------------------------------------- Alexandre Racine - Gardien Virtuel - S?curit? Informatique www.gardienvirtuel.com Montr?al, Qu?bec, Canada >>> "Serveur-Faucon Surveillance" 2006-03-07 10:01:11 >>> Diddo here too. I thought that it there was too much process at once, so I changed this line in nagios.cfg... max_service_check_spread=50 But no changes. I have 1300 services checks, so there was about 900 process simultaniously at first. But even changing the max_service_check did not change a thing. I'll go on with some tests and tweaks. --------------------------------------------------- Alexandre Racine - Gardien Virtuel - S?curit? Informatique www.gardienvirtuel.com Montr?al, Qu?bec, Canada >>> kate.harris at gmail.com 2006-03-07 06:32:48 >>> I had a similar problem and thought I had fixed it. My situation is that I have 922 services to check (at the moment, I need to ramp up to over 2,500 but the latency problem is a show-stopper at the moment). I'm using a very low-spec Dell running Solaris 10 with Nagios 2.0to do it. Using default settings, I was initially getting average check latencies of the order of 5-6 seconds which was fine, but after a day or so of no Nagios restarts, that figure would rocket to 100 seconds and stay there, not ever re-checking the majority of the services, with re-scheduled check times staying in the past, until I did a nagios reload. There was one directive which solved the stale re-check times:- check_for_orphaned_services=1 Also, I reduced a couple of timeout values so that Nagios stopped wasting time on checks which were bound to fail:- service_check_timeout=30 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 Given that the load on the machine doesn't appear to go over 0.50, I've allowed infinite concurrent services checks now, increased from 400, but that appears to be making no difference at all. And I left the reaper frequency at 10 seconds. So now the checks were being re-scheduled for times in the future, and the latencies stopped running away quite so dramatically. This is the state of things at the moment:- Active Service Checks: Time Frame Checks Completed <= 1 minute: 107 (11.6%) <= 5 minutes: 593 (64.3%) <= 15 minutes: 922 (100.0%) <= 1 hour: 922 (100.0%) Since program start: 922 (100.0%) Metric Min. Max. Average Check Execution Time: 0.06 sec 19.70 sec 0.139 sec Check Latency: 0.00 sec 17.19 sec 2.164 sec Percent State Change: 0.00% 0.00% 0.00% Passive Service Checks: Time Frame Checks Completed <= 1 minute: 0 (0.0%) <= 5 minutes: 0 (0.0%) <= 15 minutes: 0 (0.0%) <= 1 hour: 0 (0.0%) Since program start: 0 (0.0%) Metric Min. Max. Average Percent State Change: 0.00% 0.00% 0.00% Active Host Checks: Time Frame Checks Completed <= 1 minute: 1 (0.9%) <= 5 minutes: 4 (3.6%) <= 15 minutes: 5 (4.5%) <= 1 hour: 5 (4.5%) Since program start: 11 (9.8%) Metric Min. Max. Average Check Execution Time: 0.02 sec 13.52 sec 0.170 sec Check Latency: 0.00 sec 8.16 sec 0.073 sec Percent State Change: 0.00% 0.00% 0.00% Passive Host Checks: Time Frame Checks Completed <= 1 minute: 0 (0.0%) <= 5 minutes: 0 (0.0%) <= 15 minutes: 0 (0.0%) <= 1 hour: 0 (0.0%) Since program start: 0 (0.0%) Metric Min. Max. Average Percent State Change: 0.00% 0.00% 0.00% However, the latencies are creeping upwards again, albeit very very slowly and at some point I think I'll have to do a reload just to get the checking back on track again. Has anyone got any ideas on where I should be looking to make this better? K -- Kate Harris http://www.totkat.org/ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hv at tbz-pariv.de Tue Mar 7 16:55:01 2006 From: hv at tbz-pariv.de (Thomas Guettler) Date: Tue, 7 Mar 2006 16:55:01 +0100 Subject: Debuggin Check-Scripts Message-ID: <200603071655.01649.hv@tbz-pariv.de> Hi, I had difficulties to debug the check commands. I wrote a little wrapper script, which logs some informtion into a logfile. The is usefull if you want to see how variables (e.g. $USER1$) get expanded and which command is actually run. Use it like this. You need absolute path $USER$ gets only expanded once! command_line /usr/local/nagios/libexec/log_checkcommand $USER1$/check_... Here is the script: #!/bin/bash SCRIPT=`basename $0` LOGFILE=/usr/local/nagios/var/checkcommands.log if [ ! -w $LOGFILE ]; then echo "$SCRIPT: Can not write to $LOGFILE" exit 3 fi echo `date` >> $LOGFILE echo `id` >> $LOGFILE echo $@ >> $LOGFILE for arg in ${1+"$@"}; do echo "arg $arg" >> $LOGFILE done echo >> $LOGFILE ${1+"$@"} ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Mar 7 17:01:56 2006 From: marc at ena.com (Marc Powell) Date: Tue, 7 Mar 2006 10:01:56 -0600 Subject: Configure CGI Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Gordon Stewart > Sent: Tuesday, March 07, 2006 5:09 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Configure CGI > > Dear list > > When I call the cgis scripts from the command line they work fine but when > I use the web browser I get an error in my error_log. > > Premature end of script headers: status.cgi > > Can someone point me in the right direction to solve this? > > I am running it on Fedora Core 4. Most likely SELinux restrictions. Search the archives, you'll find more information. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Mar 7 17:13:53 2006 From: jhmartin at toger.us (Jason Martin) Date: Tue, 7 Mar 2006 08:13:53 -0800 Subject: [newbie] nrpe security In-Reply-To: References: <20060306163624.GZ7611@mal.toger.us> Message-ID: <20060307161353.GE7611@mal.toger.us> On Mon, Mar 06, 2006 at 07:05:24PM +0100, Giovanni Clemente wrote: > I don't think Nagios will ever be our worst security hole... > That said, with a B-class fully switched network tcp-wrappers > are of little use... How does 'fully switched' help you? tcp wrappers make sure that only authorized IP addresses connect, IE your Nagios hosts. There's no need for a random desktop host to be able to invoke NRPE. -Jason Martin -- I distinctly remember forgetting that. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: From jperrin at gmail.com Tue Mar 7 18:06:21 2006 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 7 Mar 2006 12:06:21 -0500 Subject: Nagios notifications In-Reply-To: <7FCB0E206880084DB3D57CBAA2119F1202366A2D@blums0010> References: <885C7EC41C6782488AD7D3A7C3259106095D15CD@blums0009> <7FCB0E206880084DB3D57CBAA2119F1202366A29@blums0010> <302ce8b50603070617k68637e46y3f0653fb67323fa4@mail.gmail.com> <7FCB0E206880084DB3D57CBAA2119F1202366A2D@blums0010> Message-ID: <302ce8b50603070906s64748acq41b43e9fce6b3d12@mail.gmail.com> > Thanks for the response... definitely agree with the short leash comment! :) > > I should have been more specfic... yes, all the information is available by clicking through the web-interface, but I'd rather see a simple document that just listed everything... or even more horid, could be exported as a CSV file. Thay way management could get an inventory of Nagios monitored "stuff" System availability reporting can output to CSV, and shows machine and services as the first two columns. I'm not sure of a way to get the contacts in such a manner. I would assume that if you're using fruity or something similar which uses a DB to store your config options that you could simply script a query to output the information you wanted rather easily. That said, I have no idea what fruity's db schema looks like, as I do damn near everything the cli+vim way.... -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andreaco at email.it Tue Mar 7 18:49:31 2006 From: andreaco at email.it (Andreaco) Date: Tue, 7 Mar 2006 18:49:31 +0100 Subject: Active directory Message-ID: <7cc348bfe247832142c8aa691286dea6@85.18.90.170> Hallo, I need something to check the Microsoft Active Directory under Nagios. In Nagiosexchange I found nothing related with, maybe someone have the right plugin for me. For example something like Ipmonitor, specifing the microsoft server name (or ip) and the server port, it outputs: Server handshaked OK. I don't know what's the logic of this Ipmonitor check. Can I replicate this check in Nagios ? Thanks in advance. Andrea -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Web Marketing: impara tutti i segreti del Posizionamento sui Motori di Ricerca, Pubblicita' on-line, Email Marketing ?- clicca qui Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=3213&d=20060307 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Mar 7 19:03:34 2006 From: CWaters at jeld-wen.com (Chris Waters) Date: Tue, 7 Mar 2006 10:03:34 -0800 Subject: status.dat object definition Message-ID: <83C21E03494FF147B56468B505517821DAFB47@jwmail01.domain.jw.local> Does anyone have a complete definition for the status.dat file? I need to know the possible values and their meanings for each part of a host or service object. I have looked through the docs but I don't seem to be able to locate this. I need to be able to decyper the values associated with certain parts for some real-time statistics displays. I am looking for something like: current_state= 0|1|2|3 0 = Host/Service OK 1 = Host Down 2 = Service Down Thanks! Chris Waters Technology Services: Networks WAN/LAN Technician JELD-WEN, inc. Information Systems cwaters at jeld-wen.com RELIABILITY for real life(r) This correspondence is for the named person's use only. It may contain confidential or legally privileged information and is intended solely for the named addressee. If you receive this correspondence in error, please notify the sender and delete it from your system. You must not disclose, copy or rely on any part of this correspondence if you are not the intended recipient. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Tue Mar 7 19:22:28 2006 From: marc at ena.com (Marc Powell) Date: Tue, 7 Mar 2006 12:22:28 -0600 Subject: status.dat object definition Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Chris Waters > Sent: Tuesday, March 07, 2006 12:04 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] status.dat object definition > > Does anyone have a complete definition for the status.dat file? I need to > know the possible values and their meanings for each part of a host or > service object. I have looked through the docs but I don't seem to be > able to locate this. I need to be able to decyper the values associated > with certain parts for some real-time statistics displays. I am looking > for something like: > > current_state= 0|1|2|3 > 0 = Host/Service OK > 1 = Host Down > 2 = Service Down It's not documented at this time (for 2.0). You could use this FAQ for the 1.x status.log as a guide. There have been a number of changes but it's a good start -- http://www.nagios.org/faqs/viewfaq.php?faq_id=66 The current_state codes are the plugin exit codes -- 0 OK 1 WARNING 2 CRITICAL 3 UNKNOWN (http://nagiosplug.sourceforge.net/developer-guidelines.html). Everything else looks pretty straightforward or directly from the host/service definitions. If you have any you can't figure out or it's not clear from the source then we can help figure them out. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prosolutions at gmx.net Tue Mar 7 19:22:11 2006 From: prosolutions at gmx.net (prosolutions at gmx.net) Date: Tue, 7 Mar 2006 10:22:11 -0800 Subject: how to customize which macros get sent with service event handlers? Message-ID: <20060307182211.GC4077@think.alaya.net> According to http://nagios.sourceforge.net/docs/2_0/eventhandlers.html: "In most cases, event handler commands will be shell or perl scripts. At a minimum, the scripts should take the following macros as arguments: Service event handler macros: $SERVICESTATE$, $SERVICESTATETYPE$, $SERVICEATTEMPT$" I have created a simple external command triggerend by a service event handler that just echoes $@ to a temp file and can verify that it does provide these three macros to the external command. But I want/need to provide other macros (such as $HOSTNAME$) to my external command. I'm am not sure how this is done - am not finding anything in the docs which mentions how to do this. Is there some config option where which macros are sent by an event handler can be defined? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Mar 7 19:41:26 2006 From: marc at ena.com (Marc Powell) Date: Tue, 7 Mar 2006 12:41:26 -0600 Subject: how to customize which macros get sent with service event handlers? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of prosolutions at gmx.net > Sent: Tuesday, March 07, 2006 12:22 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] how to customize which macros get sent with > service event handlers? > > > According to http://nagios.sourceforge.net/docs/2_0/eventhandlers.html: > > "In most cases, event handler commands will be shell or perl scripts. At > a minimum, the scripts should take the following macros as arguments: > > Service event handler macros: $SERVICESTATE$, $SERVICESTATETYPE$, > $SERVICEATTEMPT$" > > > I have created a simple external command triggerend by a service event > handler that just echoes $@ to a temp file and can verify that it does > provide these three macros to the external command. But I want/need to > provide other macros (such as $HOSTNAME$) to my external command. I'm am > not sure how this is done - am not finding anything in the docs which > mentions how to do this. Is there some config option where which macros > are sent by an event handler can be defined? Add it to your command definition for your event handler. Using the example service event handler on the documentation page referenced above it becomes -- define command{ command_name restart-httpd command_line /usr/local/nagios/libexec/eventhandlers/restart-httpd $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ $HOSTNAME$ } Your event handler script needs to grab that extra command line argument to do something useful with it of course. How that's done varies widely based on the scripting language used. For /bin/sh, the hostname would be stored in the $4 variable. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shoktai at gmail.com Tue Mar 7 19:49:29 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Tue, 7 Mar 2006 19:49:29 +0100 Subject: event handlers Message-ID: <619cf3c0603071049h4a307845u@mail.gmail.com> Hi Nachos folks, I would like some of you please to give me advice on how and what could be be the better way to write a simple script to be run as an eventhandler inside nagios. I am currently checking that the Microsoft Exchange services Information Store, System Attendant are running and i would like to restart them once they stop. I was thinking using nrep to run a simple script as a shell script or a perl script. Would that be smart or do you see some better ways ? -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From SrvFaucon at cslaval.qc.ca Tue Mar 7 20:05:40 2006 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Tue, 07 Mar 2006 14:05:40 -0500 Subject: know bug? Next check keep last value until check Message-ID: Hi all, I was testing some checks and performance issue and I changed the value "normal_check_interval" from 1440 (a day) to 60 (one hour) for one service check. This service check something like 100 UPSs. After that... /etc/init.d/nagios stop /etc/init.d/nagios start Looking at the Scheduling Queue, I look at this service, and it shows that the next check will be done in one day for all hosts! I re-schedule one of them in 2 minutes to test. After 2 minutes, Nagios did check the service of that host and the next schedule is in one hour just like it is suppose to be. Strange, normal or a bug? Nagios v2, RH9. --------------------------------------------------- Alexandre Racine - Gardien Virtuel - S?curit? Informatique www.gardienvirtuel.com Montr?al, Qu?bec, Canada ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drwho102003-nagios at yahoo.com Tue Mar 7 20:50:08 2006 From: drwho102003-nagios at yahoo.com (drwho102003-nagios at yahoo.com) Date: Tue, 7 Mar 2006 11:50:08 -0800 (PST) Subject: what external cmd(s) to use to stop escalations/notifications ? Message-ID: <20060307195008.70504.qmail@web34315.mail.mud.yahoo.com> I've some hosts that are under attack and some hosts that will be under attack. What cmd(s) should I use to stop notifications on all of them ? I've tried ACKNOWLEDGE_SVC_PROBLEM but all it does is disabling passive checks. Some of my svc checks are active checks. Should I use DISABLE_HOST_SVC_NOTIFICATION in addition to ACKNOWLEDGE_SVC_PROBLEM ? Also, should I use ACKNOWLEDGE_HOST_PROBLEM instead ? If a host is under attack, multple services could be affected. It'll be nice to issue just one cmd instead of multiple ACKNOWLEDGE_SVC_PROBLEM. Also, should I use the sticky option for ACKNOWLEDGE_{SVC,HOST}_PROBLEM ? Remember that some of the hosts are NOT YET under attack but I THINK that they'll be within 10 mins or so... Thx much. -------------- next part -------------- An HTML attachment was scrubbed... URL: From alekseyz at hotmail.com Tue Mar 7 20:57:03 2006 From: alekseyz at hotmail.com (aleksey zakharov) Date: Tue, 7 Mar 2006 11:57:03 -0800 Subject: Cant get NRPE working on Solaris9 References: <009d01c641a2$149e64b0$8ea8d882@438LG01sshi052> Message-ID: Steve, Thanks for your response. I'm also puzzled as to why there's a /etc/init.d/nrpe, I believe it was installed when I installed binaries: nagios-plugins-1.3.1_2-sol9-sparc-local and nrpe-1.9_5-sol9-sparc-local For now I ignore /etc/init.d/nrpe and edit /etc/inetd.conf to information that I found in README as well as to what you have described bellow. I also edited my path to point to all check_* and edited nrpe.cfg file accordingly, but I still get "CHECK_NRPE: Socket timeout after 10 seconds." from Nagios server and "daemon.error] Could not read request from client, bailing out..." from NRPE client. Executing #check_nrpe -H localhost Does work with the following output. NRPE v1.9 I've tried this on two Solaris9 boxes with the same results. Perhaps there is a problem with the built installation files that I'm installing. Thanks, Aleksey ----- Original Message ----- From: "Steve Shipway" To: "'aleksey zakharov'" Sent: Monday, March 06, 2006 8:46 PM Subject: RE: [Nagios-users] Cant get NRPE working on Solaris9 > > Modified /etc/init.d/nrpe to point to /etc/nrpe.cfg > > What? This doesn't sound right. You shouldn't have added anything in > /etc/init.d, but you should have a line added to your /etc/inetd.conf > similar to > > nrpe stream tcp nowait nobody /usr/local/nrpe/nrpe nrpe -i -c > /usr/local/nrpe/nrpe.cfg > > and then restart inetd. > > Steve > > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 7 22:03:55 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 8 Mar 2006 10:03:55 +1300 Subject: Failover nagios server In-Reply-To: <440D79AA.9060208@mgsm.ru> References: <440D79AA.9060208@mgsm.ru> Message-ID: <002b01c6422a$a56b4c50$8ea8d882@438LG01sshi052> > I have a standalone server with nagios running on it. I want > to tune up an another server, for distributed monitoring. But > main task is to provide for failover work of allover nagios > configuration - in case of failure of one of the servers > another server must provide data collection from all > monitoring servers. Is there any solutions for it? We have such a setup here. I have two Linux servers, each with 2 network cards and one Adaptec serveraid card. There is an external SCSI disk unit, connected to BOTH server's SCSI cards, with a pair of disks configured in mirror. The servers are joined by a crossed ethernet cable on the second network card. The primary network card of each is on the network. I have installed linux-HA on both servers, and have a service group consisting of a virtual IP, the filesystem on the external disk, and the nagios service. This is set to failover between servers, with one server being the primary home with autofailback. (Actually, there is also a mysql database on the nagios server, plus the BigBrother/Nagios gateway and a couple of other services, and the other server normally runs our MRTG setup on a separate filesystem, but this is just extra) Since the Adaptec Serveraid natively supports this configuration, it works very well with linux-HA and the failover goes nicely. The only thing to add is some cleanup code so that, if server1 dies, then server2 picks up the filesystem and needs to delete any Nagios.cmd pipe that may have been left lying around before starting. This was surprisingly easy to set up, once the Raid config had been done. Thereis a bitof problem with how to define 'down' -- if the network interface 1 is down (so people cannot see Nagios) but interface 2 is up (so the heartbeat still works) should it fail over? I would say no. You should also send the heartbeat over the crossed ethernet cable, since otherwise a switch going down would make the 2 servers fight over the services (but thanks to the serveraid having internal locking, youll never get both accessing the filesystem at once and corrupting data) Steve ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Tue Mar 7 23:02:23 2006 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Tue, 07 Mar 2006 17:02:23 -0500 Subject: [Solved] Nagios Performance Data shows checks aren't being completed Message-ID: I found my bug. The DNS server was experimenting lags, slowing down Nagios. There you go. --------------------------------------------------- Alexandre Racine - Gardien Virtuel - S?curit? Informatique www.gardienvirtuel.com Montr?al, Qu?bec, Canada >>> kate.harris at gmail.com 2006-03-07 06:32:48 >>> I had a similar problem and thought I had fixed it. My situation is that I have 922 services to check (at the moment, I need to ramp up to over 2,500 but the latency problem is a show-stopper at the moment). I'm using a very low-spec Dell running Solaris 10 with Nagios 2.0to do it. Using default settings, I was initially getting average check latencies of the order of 5-6 seconds which was fine, but after a day or so of no Nagios restarts, that figure would rocket to 100 seconds and stay there, not ever re-checking the majority of the services, with re-scheduled check times staying in the past, until I did a nagios reload. There was one directive which solved the stale re-check times:- check_for_orphaned_services=1 Also, I reduced a couple of timeout values so that Nagios stopped wasting time on checks which were bound to fail:- service_check_timeout=30 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 Given that the load on the machine doesn't appear to go over 0.50, I've allowed infinite concurrent services checks now, increased from 400, but that appears to be making no difference at all. And I left the reaper frequency at 10 seconds. So now the checks were being re-scheduled for times in the future, and the latencies stopped running away quite so dramatically. This is the state of things at the moment:- Active Service Checks: Time Frame Checks Completed <= 1 minute: 107 (11.6%) <= 5 minutes: 593 (64.3%) <= 15 minutes: 922 (100.0%) <= 1 hour: 922 (100.0%) Since program start: 922 (100.0%) Metric Min. Max. Average Check Execution Time: 0.06 sec 19.70 sec 0.139 sec Check Latency: 0.00 sec 17.19 sec 2.164 sec Percent State Change: 0.00% 0.00% 0.00% Passive Service Checks: Time Frame Checks Completed <= 1 minute: 0 (0.0%) <= 5 minutes: 0 (0.0%) <= 15 minutes: 0 (0.0%) <= 1 hour: 0 (0.0%) Since program start: 0 (0.0%) Metric Min. Max. Average Percent State Change: 0.00% 0.00% 0.00% Active Host Checks: Time Frame Checks Completed <= 1 minute: 1 (0.9%) <= 5 minutes: 4 (3.6%) <= 15 minutes: 5 (4.5%) <= 1 hour: 5 (4.5%) Since program start: 11 (9.8%) Metric Min. Max. Average Check Execution Time: 0.02 sec 13.52 sec 0.170 sec Check Latency: 0.00 sec 8.16 sec 0.073 sec Percent State Change: 0.00% 0.00% 0.00% Passive Host Checks: Time Frame Checks Completed <= 1 minute: 0 (0.0%) <= 5 minutes: 0 (0.0%) <= 15 minutes: 0 (0.0%) <= 1 hour: 0 (0.0%) Since program start: 0 (0.0%) Metric Min. Max. Average Percent State Change: 0.00% 0.00% 0.00% However, the latencies are creeping upwards again, albeit very very slowly and at some point I think I'll have to do a reload just to get the checking back on track again. Has anyone got any ideas on where I should be looking to make this better? K -- Kate Harris http://www.totkat.org/ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Mar 7 23:02:13 2006 From: CWaters at jeld-wen.com (Chris Waters) Date: Tue, 7 Mar 2006 14:02:13 -0800 Subject: status.dat object definition Message-ID: <83C21E03494FF147B56468B505517821DAFB49@jwmail01.domain.jw.local> Thanks Marc. This will go a long way. Chris Waters WAN/LAN Technician JELD-WEN, Inc. Network Services Group =================== -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Tuesday, March 07, 2006 10:22 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] status.dat object definition > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Chris Waters > Sent: Tuesday, March 07, 2006 12:04 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] status.dat object definition > > Does anyone have a complete definition for the status.dat file? I need to > know the possible values and their meanings for each part of a host or > service object. I have looked through the docs but I don't seem to be > able to locate this. I need to be able to decyper the values associated > with certain parts for some real-time statistics displays. I am looking > for something like: > > current_state= 0|1|2|3 > 0 = Host/Service OK > 1 = Host Down > 2 = Service Down It's not documented at this time (for 2.0). You could use this FAQ for the 1.x status.log as a guide. There have been a number of changes but it's a good start -- http://www.nagios.org/faqs/viewfaq.php?faq_id=66 The current_state codes are the plugin exit codes -- 0 OK 1 WARNING 2 CRITICAL 3 UNKNOWN (http://nagiosplug.sourceforge.net/developer-guidelines.html). Everything else looks pretty straightforward or directly from the host/service definitions. If you have any you can't figure out or it's not clear from the source then we can help figure them out. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 7 23:16:13 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 8 Mar 2006 11:16:13 +1300 Subject: [Solved] Nagios Performance Data shows checks aren't being completed In-Reply-To: <14A270C0E2F4124AB0B7320BDBEA949F0B90EF28@vxchange.vcr.auckland.ac.nz> References: <14A270C0E2F4124AB0B7320BDBEA949F0B90EF28@vxchange.vcr.auckland.ac.nz> Message-ID: <004201c64234$bf8b2e20$8ea8d882@438LG01sshi052> > The DNS server was experimenting lags, slowing down Nagios. To get around this problem, I installed an unpublished secondary for the DNS zone on the Nagios server. You could use a caching relay instead, although this way it holds the whole zone and can cache anything else. Made a huge difference, and decreased the load on the DNS servers as well. Steve ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Mar 7 23:17:20 2006 From: marc at ena.com (Marc Powell) Date: Tue, 7 Mar 2006 16:17:20 -0600 Subject: [Solved] Nagios Performance Data shows checks aren't being completed Message-ID: Thanks for posting back to the list. Are you using names or IP's for the host address in your definitions? Was that the lookup that was affecting your performance? We've always used IP's to try to be as independent of other systems as possible and I highly recommend it. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Serveur-Faucon Surveillance > Sent: Tuesday, March 07, 2006 4:02 PM > To: kate.harris at gmail.com; nagios-users at lists.sourceforge.net; > kat at totkat.org > Subject: [Nagios-users] [Solved] Nagios Performance Data shows checks > aren't being completed > > I found my bug. > > The DNS server was experimenting lags, slowing down Nagios. > > There you go. > > > > > > --------------------------------------------------- > Alexandre Racine - Gardien Virtuel - S?curit? Informatique > www.gardienvirtuel.com > Montr?al, Qu?bec, Canada > > >>> kate.harris at gmail.com 2006-03-07 06:32:48 >>> > I had a similar problem and thought I had fixed it. > > My situation is that I have 922 services to check (at the moment, I need > to > ramp up to over 2,500 but the latency problem is a show-stopper at the > moment). I'm using a very low-spec Dell running Solaris 10 with > Nagios 2.0to do it. Using default settings, I was initially getting > average check > latencies of the order of 5-6 seconds which was fine, but after a day or > so > of no Nagios restarts, that figure would rocket to 100 seconds and stay > there, not ever re-checking the majority of the services, with re- > scheduled > check times staying in the past, until I did a nagios reload. > > There was one directive which solved the stale re-check times:- > check_for_orphaned_services=1 > > Also, I reduced a couple of timeout values so that Nagios stopped wasting > time on checks which were bound to fail:- > service_check_timeout=30 > host_check_timeout=30 > event_handler_timeout=30 > notification_timeout=30 > > Given that the load on the machine doesn't appear to go over 0.50, I've > allowed infinite concurrent services checks now, increased from 400, but > that appears to be making no difference at all. And I left the reaper > frequency at 10 seconds. So now the checks were being re-scheduled for > times in the future, and the latencies stopped running away quite so > dramatically. > > This is the state of things at the moment:- > > Active Service Checks: Time Frame Checks Completed > <= 1 minute: 107 (11.6%) > <= 5 minutes: 593 (64.3%) > <= 15 minutes: 922 (100.0%) > <= 1 hour: 922 (100.0%) > Since program start: 922 (100.0%) > > Metric Min. Max. Average > Check Execution Time: 0.06 sec 19.70 sec 0.139 sec > Check Latency: 0.00 sec 17.19 sec 2.164 sec > Percent State Change: 0.00% 0.00% 0.00% > > > Passive Service Checks: Time Frame Checks Completed > <= 1 minute: 0 (0.0%) > <= 5 minutes: 0 (0.0%) > <= 15 minutes: 0 (0.0%) > <= 1 hour: 0 (0.0%) > Since program start: 0 (0.0%) > > Metric Min. Max. Average > Percent State Change: 0.00% 0.00% 0.00% > > > Active Host Checks: Time Frame Checks Completed > <= 1 minute: 1 (0.9%) > <= 5 minutes: 4 (3.6%) > <= 15 minutes: 5 (4.5%) > <= 1 hour: 5 (4.5%) > Since program start: 11 (9.8%) > > Metric Min. Max. Average > Check Execution Time: 0.02 sec 13.52 sec 0.170 sec > Check Latency: 0.00 sec 8.16 sec 0.073 sec > Percent State Change: 0.00% 0.00% 0.00% > > > Passive Host Checks: Time Frame Checks Completed > <= 1 minute: 0 (0.0%) > <= 5 minutes: 0 (0.0%) > <= 15 minutes: 0 (0.0%) > <= 1 hour: 0 (0.0%) > Since program start: 0 (0.0%) > > Metric Min. Max. Average > Percent State Change: 0.00% 0.00% 0.00% > > However, the latencies are creeping upwards again, albeit very very slowly > and at some point I think I'll have to do a reload just to get the > checking > back on track again. > > Has anyone got any ideas on where I should be looking to make this better? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 8 00:50:22 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 8 Mar 2006 12:50:22 +1300 Subject: [Solved] Nagios Performance Data shows checks aren't being completed In-Reply-To: <14A270C0E2F4124AB0B7320BDBEA949F0B90EF2A@vxchange.vcr.auckland.ac.nz> References: <14A270C0E2F4124AB0B7320BDBEA949F0B90EF2A@vxchange.vcr.auckland.ac.nz> Message-ID: <004a01c64241$e6608330$8ea8d882@438LG01sshi052> > Thanks for posting back to the list. Are you using names or > IP's for the host address in your definitions? Was that the > lookup that was affecting your performance? We've always used > IP's to try to be as independent of other systems as possible > and I highly recommend it. We usually use IPs, although with a local DNS it removes our dependency on external services while retaining the flexibility of hostname. The DNS will automatically update the zone files every night from one of our several DNS servers, to keep the cache fresh. Some checks, though (such as http retrieves) we always do via hostnames as this more closely matches a user experience, and allows us to catch DNS changes that break a web site. A local DNS helps here as it means again no dependency on other servers (if we lose communication with ALL the DNS servers for 4 days (long enough for the zone to expire) then I think someone would have already noticed!) Steve ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ross.Minkov at hp.com Wed Mar 8 03:22:51 2006 From: Ross.Minkov at hp.com (Minkov, Ross) Date: Tue, 7 Mar 2006 21:22:51 -0500 Subject: Problems with RPM install Message-ID: <192E38594ACFAF4EB4F40E1C4B604723084A2A6B@tayexc13.americas.cpqcorp.net> > Results in Internal Server error. I don't know what your OS is but this > could be SELinux restrictions if you haven't allowed the proper context > for the Nagios sbin directory. Short Question: Where is the nagios sbin directory if you installed from RPM? Long Story: I just installed Nagios 2.0 (stable) on a FC4 system with SElinux enabled. I used the fc3 RPMs from http://dag.wieers.com/packages/nagios/ (dag doesn't have the FC4 RPMs out there yet): nagios-2.0-2.1.fc3.rf.i386 Also installed nagios-plugins-1.4.1-1.1.fc3.rf.i386 from http://dag.wieers.com/packages/nagios-plugins/. Seems to be ok, except I had to --nodep the installation of the plugins and add "Ignore { nagios-plugins };" to my apt.conf file (yes, I'm still using apt)... The reason was that it was complaining about Perl Net-SNMP, but I already had it installed (net-snmp-perl)... Then I copied my config files from an older server I had (with Nagios 1.2), changed a few things to comply with the new syntax and tried to get the web interface configured. I was able to get to the home page and read the online help/manual ok. But any other attempt to click on hosts, services, etc would not work. I'd get "Error: Could not read object configuration data!" No trace of this in /var/log/nagios/nagios.log... I assume I need to configure SElinux, but unfortunately I don't know how. Any pointers would be appreciated. I tried one thing: chcon -R system_u:object_r:httpd_sys_script_exec_t /usr/lib/nagios/ (although I think I only need to do this on /usr/lib/nagios/cgi/) But that didn't help a bit... Thanks, Ross -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Monday, February 27, 2006 7:41 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Problems with RPM install > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Brook Hurd > Sent: Monday, February 27, 2006 6:22 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problems with RPM install > > The RPM install of Nagios was fairly strait forward. I installed the RPMs > for Nagios and the Nagios-plugins along with the misc. required RPMs. > Unfortunately, all the documentation is written toward a non rpm install. > Not too surprising since RPM installs can vary quite a bit depending on the packager. > The RPM file added all the appropriate httpd.conf configurations, and I > setup up proper users, etc. It is viewable at: > > [link] > > userid: guest > password: guest Results in Internal Server error. I don't know what your OS is but this could be SELinux restrictions if you haven't allowed the proper context for the Nagios sbin directory. > > [root at server nagios]# /etc/rc.d/init.d/nagios start > Starting network monitor: nagios > CONFIG ERROR! Start aborted. Check your Nagios configuration. > [root at server nagios]# > > I just cannot get it to run and cannot see the issue with the Nagios > config. Run /path/to/nagios -v /path/to/nagios.cfg. Nagios will verify your configuration files and report any errors. > I even altered ownership info in the 'nagios.conf' to root: What is the contents of this file? There isn't a nagios.conf that's part of the standard distribution. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Wed Mar 8 05:40:03 2006 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Tue, 7 Mar 2006 22:40:03 -0600 (CST) Subject: Problems with RPM install In-Reply-To: <192E38594ACFAF4EB4F40E1C4B604723084A2A6B@tayexc13.americas.cpqcorp.net> References: <192E38594ACFAF4EB4F40E1C4B604723084A2A6B@tayexc13.americas.cpqcorp.net> Message-ID: Ross, Answers inline below. On Tue, 7 Mar 2006, Minkov, Ross wrote: > > Short Question: Where is the nagios sbin directory if you installed from > RPM? Run the rpm query command against the nagios package to find out: # rpm -ql nagios|grep sbin /usr/sbin/nagios /usr/sbin/p1.pl > > > Long Story: > I just installed Nagios 2.0 (stable) on a FC4 system with SElinux > enabled. I used the fc3 RPMs from http://dag.wieers.com/packages/nagios/ > (dag doesn't have the FC4 RPMs out there yet): > > nagios-2.0-2.1.fc3.rf.i386 > > Also installed nagios-plugins-1.4.1-1.1.fc3.rf.i386 from > http://dag.wieers.com/packages/nagios-plugins/. > I use the dag repository myself. Note, however, that Nagios has been included in the FC distro so you could install the official FC package using apt-get, yum, or even up2date, e.g.: # up2date nagios > Seems to be ok, except I had to --nodep the installation of the plugins > and add "Ignore { nagios-plugins };" to my apt.conf file (yes, I'm still > using apt)... The reason was that it was complaining about Perl > Net-SNMP, but I already had it installed (net-snmp-perl)... > > Then I copied my config files from an older server I had (with Nagios > 1.2), changed a few things to comply with the new syntax and tried to > get the web interface configured. This is undoubtedly where your problem is. Copying the old config files won't get you very far. I would suggest running nagios in flight check mode as follows until you get 0 errors. You may need to iterate a few times but this is the best way to troubleshoot a bad config. # nagios -v /etc/nagios/nagios.cfg ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at srishtisoft.com Wed Mar 8 06:55:50 2006 From: tony at srishtisoft.com (Tony John) Date: Wed, 08 Mar 2006 11:25:50 +0530 Subject: Database Used By Nagios Message-ID: <440E71E6.8080103@srishtisoft.com> Dear all, I am a newbie to nagios. I have configured nagios to monitor our intranet. Now i have a doubt, how nagios stores the information. Whether it is in a Database or filesystem. If it is in a database then which one is that. Where can I find the Db Or files related to my installation directory. Thanks in advance and waiting for your reply. Thanks & Regards Tony John ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian.masopust at siemens.com Wed Mar 8 07:51:54 2006 From: christian.masopust at siemens.com (Masopust, Christian) Date: Wed, 8 Mar 2006 07:51:54 +0100 Subject: Active directory In-Reply-To: <7cc348bfe247832142c8aa691286dea6@85.18.90.170> References: <7cc348bfe247832142c8aa691286dea6@85.18.90.170> Message-ID: <60721B67EAF0994EAFFB561767B700140ACC69@nets13ha.ww300.siemens.net> Hello Andrea, i do this by use of "check_wins" to see if the domaincontrolers are registered to the wins-server.. check_wins -D -W -C chris > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Andreaco > Sent: Tuesday, March 07, 2006 6:50 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Active directory > > Hallo, > I need something to check the Microsoft Active Directory under Nagios. > In Nagiosexchange I found nothing related with, maybe someone > have the right > plugin for me. > For example something like Ipmonitor, specifing the microsoft > server name > (or ip) and the server port, > it outputs: Server handshaked OK. > I don't know what's the logic of this Ipmonitor check. > Can I replicate this check in Nagios ? > Thanks in advance. > Andrea > -- > Email.it, the professional e-mail, gratis per te: > http://www.email.it/f > > Sponsor: > Web Marketing: impara tutti i segreti del Posizionamento sui > Motori di > Ricerca, Pubblicita' on-line, Email Marketing ?- clicca qui > Clicca qui: > http://adv.email.it/cgi-bin/foclick.cgi?mid=3213&d=20060307 > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking > scripting language > that extends applications into web and mobile media. Attend > the live webcast > and join the prime developer group breaking into this new > coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.rwhalen at gmail.com Wed Mar 8 14:39:01 2006 From: lists.rwhalen at gmail.com (Ryan Whalen) Date: Wed, 8 Mar 2006 08:39:01 -0500 Subject: HOST ALERT: hostabc;DOWN;SOFT;1;Segmentation fault Message-ID: <60a326f0603080539t8101fe3k210247eefc015e82@mail.gmail.com> Last night I received three alerts from devices that were down. The only service I am monitoring is ping. Instead of how it normally indicates it didnt receive a response, or timed out, the problem was identified as a "Segmentation Fault": [03-08-2006 00:37:50] HOST ALERT: host_1;DOWN;SOFT;1;Segmentation fault Any ideas what a segmentation fault means? it seems like a problem with the nagios box and not the monitoring host.. Thanks, Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed Mar 8 16:12:51 2006 From: marc at ena.com (Marc Powell) Date: Wed, 8 Mar 2006 09:12:51 -0600 Subject: Database Used By Nagios Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Tony John > Sent: Tuesday, March 07, 2006 11:56 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Database Used By Nagios > > Dear all, > > I am a newbie to nagios. I have configured nagios to monitor > our intranet. Now i have a doubt, how nagios stores the information. > Whether it is in a Database or filesystem. If it is in a database then > which one is that. Where can I find the Db Or files related to my > installation directory. For a standard install/configuration of nagios-1.x or 2.0 from source, nagios uses flat files to store status information. They are located in the path specified by 'status_file' in nagios.cfg. Archived status files are stored in 'log_archive_path'. Typically /usr/local/nagios/var/ and /usr/local/nagios/var/archives respectively. Nagios-1.x natively supported mysql and pgsql databases for status information. Nagios-2.0 requires an external module. In both cases special actions are required on your part to activate those and you would know if you did it. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ntoughe at hotmail.com Wed Mar 8 17:04:31 2006 From: ntoughe at hotmail.com (NTOUGHE GUY-SERGE) Date: Wed, 08 Mar 2006 16:04:31 +0000 Subject: Nagios 2.0 config files Message-ID:

ntoughe at hotmail.com
Hi, I installed nagios 2.0 on RedHat Enterprise 4,i can access to the nagios webpage,my problem concerns, the way to declare hosts in configFiles. Normally there is no hosts.cfg file in this version(Nagios2.0) so is it correct to declare hosts in bigger.cfg or in minimal.cfg files? About services i noticed that services.cfg was absent, and i have to declare services in bigger.cfg, but i can't see all the hosts i want to monitor when i click on host detail menu!! do you have any solutions for me. regards ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 8 17:15:10 2006 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 8 Mar 2006 11:15:10 -0500 Subject: Nagios 2.0 config files In-Reply-To: References: Message-ID: <302ce8b50603080815o56df7ed6g5da152986a805150@mail.gmail.com> On 3/8/06, NTOUGHE GUY-SERGE wrote: > > >

ntoughe at hotmail.com
> > Hi, > I installed nagios 2.0 on RedHat Enterprise 4,i can access to the nagios > webpage,my problem concerns, the way to declare hosts in configFiles. > > Normally there is no hosts.cfg file in this version(Nagios2.0) > so is it correct to declare hosts in bigger.cfg or in minimal.cfg files? > About services i noticed that services.cfg was absent, and i have to declare > services in bigger.cfg, but i can't see all the hosts i want to monitor > when i click on host detail menu!! > I did some documentation for the those of us who use RHEL and similar systems. I include sample configs and templates for checking a host and webserver. Have a look. http://www.cognitive-dissonance.org/journal/2006/02/23/configuring-nagios-on-centos-and-rhel/ -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shoktai at gmail.com Wed Mar 8 17:37:55 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Wed, 8 Mar 2006 17:37:55 +0100 Subject: notes_url Message-ID: <619cf3c0603080837p13010331m@mail.gmail.com> Hi, I am using nagios 1.3 with 1.4 plugins version on debian sid server. I use a file hostextinfo.cfg to put some links on the nagios web interface that redirect to a particular URL It looks like this define hostextinfo{ hostname server1 .... notes_url http://server1/index.html } It was working great but i have done the same for a new host and the link doesn't appear after a reload of nagios even after a restart. It should be working and i would appreciate your thoughts about what make this not to work properly. Thanks in advance. -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From SrvFaucon at cslaval.qc.ca Wed Mar 8 17:53:14 2006 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Wed, 08 Mar 2006 11:53:14 -0500 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20RE:=20[Nagios-users]=20[Solved]=20Na?= =?ISO-8859-1?Q?gios=20Performance=20Data=20shows=20checks=20aren't=20bei?= =?ISO-8859-1?Q?ng=20completed?= Message-ID: You are welcome, I so think it is irresponsible or anti-openess when someone do not post the solution ;) We are using DNS names all the way except in some exceptions like core routers. Since we have 300 hosts to check and more services, managing 300 IP's that do change sometimes is too much time consuming. In this particular situation, the server hosting the dns service was at 100% from time to time. I'll be noticed now when it is 90% or more in a space of 10 minutes or more :) One partial solution was also to put --with-ipv6=no while compiling the plugins. Somehow, when no options are present, when the query goes, there is 1 ipv4 packet and 3 ipv6 packets (retrys). On the other hand, Steve Shipway suggestion of having a local DNS sound good. Or mabe there is a way to keep arp cache longer? But this goes in GNU/Linux and not in Nagios :) --------------------------------------------------- Alexandre Racine - Gardien Virtuel - S?curit? Informatique www.gardienvirtuel.com Montr?al, Qu?bec, Canada >>> "Marc Powell" 2006-03-07 17:17:20 >>> Thanks for posting back to the list. Are you using names or IP's for the host address in your definitions? Was that the lookup that was affecting your performance? We've always used IP's to try to be as independent of other systems as possible and I highly recommend it. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Serveur-Faucon Surveillance > Sent: Tuesday, March 07, 2006 4:02 PM > To: kate.harris at gmail.com; nagios-users at lists.sourceforge.net; > kat at totkat.org > Subject: [Nagios-users] [Solved] Nagios Performance Data shows checks > aren't being completed > > I found my bug. > > The DNS server was experimenting lags, slowing down Nagios. > > There you go. > > > > > > --------------------------------------------------- > Alexandre Racine - Gardien Virtuel - S?curit? Informatique > www.gardienvirtuel.com > Montr?al, Qu?bec, Canada > > >>> kate.harris at gmail.com 2006-03-07 06:32:48 >>> > I had a similar problem and thought I had fixed it. > > My situation is that I have 922 services to check (at the moment, I need > to > ramp up to over 2,500 but the latency problem is a show-stopper at the > moment). I'm using a very low-spec Dell running Solaris 10 with > Nagios 2.0to do it. Using default settings, I was initially getting > average check > latencies of the order of 5-6 seconds which was fine, but after a day or > so > of no Nagios restarts, that figure would rocket to 100 seconds and stay > there, not ever re-checking the majority of the services, with re- > scheduled > check times staying in the past, until I did a nagios reload. > > There was one directive which solved the stale re-check times:- > check_for_orphaned_services=1 > > Also, I reduced a couple of timeout values so that Nagios stopped wasting > time on checks which were bound to fail:- > service_check_timeout=30 > host_check_timeout=30 > event_handler_timeout=30 > notification_timeout=30 > > Given that the load on the machine doesn't appear to go over 0.50, I've > allowed infinite concurrent services checks now, increased from 400, but > that appears to be making no difference at all. And I left the reaper > frequency at 10 seconds. So now the checks were being re-scheduled for > times in the future, and the latencies stopped running away quite so > dramatically. > > This is the state of things at the moment:- > > Active Service Checks: Time Frame Checks Completed > <= 1 minute: 107 (11.6%) > <= 5 minutes: 593 (64.3%) > <= 15 minutes: 922 (100.0%) > <= 1 hour: 922 (100.0%) > Since program start: 922 (100.0%) > > Metric Min. Max. Average > Check Execution Time: 0.06 sec 19.70 sec 0.139 sec > Check Latency: 0.00 sec 17.19 sec 2.164 sec > Percent State Change: 0.00% 0.00% 0.00% > > > Passive Service Checks: Time Frame Checks Completed > <= 1 minute: 0 (0.0%) > <= 5 minutes: 0 (0.0%) > <= 15 minutes: 0 (0.0%) > <= 1 hour: 0 (0.0%) > Since program start: 0 (0.0%) > > Metric Min. Max. Average > Percent State Change: 0.00% 0.00% 0.00% > > > Active Host Checks: Time Frame Checks Completed > <= 1 minute: 1 (0.9%) > <= 5 minutes: 4 (3.6%) > <= 15 minutes: 5 (4.5%) > <= 1 hour: 5 (4.5%) > Since program start: 11 (9.8%) > > Metric Min. Max. Average > Check Execution Time: 0.02 sec 13.52 sec 0.170 sec > Check Latency: 0.00 sec 8.16 sec 0.073 sec > Percent State Change: 0.00% 0.00% 0.00% > > > Passive Host Checks: Time Frame Checks Completed > <= 1 minute: 0 (0.0%) > <= 5 minutes: 0 (0.0%) > <= 15 minutes: 0 (0.0%) > <= 1 hour: 0 (0.0%) > Since program start: 0 (0.0%) > > Metric Min. Max. Average > Percent State Change: 0.00% 0.00% 0.00% > > However, the latencies are creeping upwards again, albeit very very slowly > and at some point I think I'll have to do a reload just to get the > checking > back on track again. > > Has anyone got any ideas on where I should be looking to make this better? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffwilliams05 at gmail.com Wed Mar 8 17:52:56 2006 From: jeffwilliams05 at gmail.com (Jeff Williams) Date: Wed, 8 Mar 2006 10:52:56 -0600 Subject: multiple notification/escalation definitions In-Reply-To: <17e351010603061427x71e0ac71oc7fed5ebd73e6334@mail.gmail.com> References: <17e351010603061427x71e0ac71oc7fed5ebd73e6334@mail.gmail.com> Message-ID: <17e351010603080852i7ac012e9jd20ba3f991bf33fa@mail.gmail.com> I checked again in all the documentation under advanced topics and escalation and I don't see anything about this. Is it in there and I am just missing it? On 3/6/06, Jeff Williams wrote: > > I'm wondering if I'm missing something or thinking about this > incorrectly. I have some hosts that have services and their contact > groups already defined like so: > > define service{ > use generic-service > host_name vader > service_description NTP > is_volatile 0 > check_period 24x7 > retry_check_interval 1 > contact_groups oncall,ulsysadmins,dba > notification_interval 5 > notification_period 24x7 > notification_options w,u,c,r > check_command check_ntp > } > > I also have an escalation for this service: > > define serviceescalation{ > host_name vader > service_description NTP > first_notification 2 > last_notification 2 > notification_interval 5 > contact_groups oncall > } > > define serviceescalation{ > host_name vader > service_description NTP > first_notification 3 > last_notification 4 > notification_interval 5 > contact_groups oncall,backup > } > define serviceescalation{ > host_name vader > service_description NTP > first_notification 5 > last_notification 0 > notification_interval 0 > contact_groups oncall,backup > } > > What I'm wondering is if I can add another contact for this service > that gets notified after 30 minutes, but only gets notified once. > Ideally I would like to be able to do this as easily as possible and > for an entire group of servers and for multiple services, if possible. > We are migrating from big brother and while big brother is not nearly > as complex and functional as Nagios, it can be done in big brother > with probably one line. Am I missing something though? Can a service > be defined twice? Or can I define it in an escalation that includes > the entire hostgroup that I want? Thanks in advance. > > Jeff > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed Mar 8 18:26:40 2006 From: marc at ena.com (Marc Powell) Date: Wed, 8 Mar 2006 11:26:40 -0600 Subject: Nagios 2.0 config files Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of NTOUGHE GUY-SERGE > Sent: Wednesday, March 08, 2006 10:05 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios 2.0 config files > Importance: Low > > > >

ntoughe at hotmail.com
> > Hi, > I installed nagios 2.0 on RedHat Enterprise 4,i can access to the nagios > webpage,my problem concerns, the way to declare hosts in configFiles. > > Normally there is no hosts.cfg file in this version(Nagios2.0) > so is it correct to declare hosts in bigger.cfg or in minimal.cfg files? Whichever you've specified as a cfg_file in nagios.cfg. In fact, those are just example files and you don't need to use them at all. You could specify your own cfg_files or use cfg_dir. We have all our devices in separate files per region and/or function for example. cfg_file=/usr/local/nagios/etc/ena_config/tnops-hosted-dns.cfg cfg_file=/usr/local/nagios/etc/ena_config/tnops-east.cfg cfg_file=/usr/local/nagios/etc/ena_config/tnops-lea-east.cfg cfg_file=/usr/local/nagios/etc/ena_config/tnops-middle.cfg cfg_file=/usr/local/nagios/etc/ena_config/tnops-lea-middle.cfg cfg_file=/usr/local/nagios/etc/ena_config/tnops-west.cfg ... > About services i noticed that services.cfg was absent, and i have to > declare > services in bigger.cfg, but i can't see all the hosts i want to monitor > when i click on host detail menu!! Is the file specified as a cfg_file in nagios.cfg? Try running /path/to/nagios -v /path/to/nagios.cfg and look for warnings or errors. Also verify that the count of hosts and services is correct. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rstewart at eandhis.com Wed Mar 8 19:47:00 2006 From: rstewart at eandhis.com (Robert Stewart) Date: Wed, 08 Mar 2006 13:47:00 -0500 Subject: Nagios users and view that user can see Message-ID: An HTML attachment was scrubbed... URL: From marc at ena.com Wed Mar 8 19:58:00 2006 From: marc at ena.com (Marc Powell) Date: Wed, 8 Mar 2006 12:58:00 -0600 Subject: Nagios users and view that user can see Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Robert Stewart > Sent: Wednesday, March 08, 2006 12:47 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Nagios users and view that user can see > > I need to be able to create a user in nagios and only allow that user to > see only the data that has been granted access > > > > I have been reading through the documentation and I believe I need to do > the following > > > > Create a user in the .htpasswd file > > Create a contact for that user > > Create a contact_group and apply that user into the group > > Add the contact_group to the host and services in the host.cfg and > services.cfg > > > > I have done this and I can logon to nagios with the user that I have > created but that user can still see all the equipment One more step. Enable authentication in cgi.cfg - http://nagios.sourceforge.net/docs/1_0/cgiauth.html#enable_cgi_auth Also, did you create your .htaccess file in the nagios sbin directory (with the cgi's)? It needs to be there specifically for the CGI's to see the authorized username (via the REMOTE_USER environment variable). What does nagios show you logged in as (upper left hand box of any status page). -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Alan_Maxwell at hilton.com Wed Mar 8 20:25:15 2006 From: Alan_Maxwell at hilton.com (Alan Maxwell) Date: Wed, 8 Mar 2006 13:25:15 -0600 Subject: Solaris 10 and SIGHUP Message-ID: Both on Solaris 10 I have an install that when I send the nagios process a SIGHUP, it catches it, but does "hangs" or does not do the reload. I have another install , that it works as designed. Any ideas what could cause such behaviour? -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed Mar 8 21:10:30 2006 From: marc at ena.com (Marc Powell) Date: Wed, 8 Mar 2006 14:10:30 -0600 Subject: HOST ALERT: hostabc;DOWN;SOFT;1;Segmentation fault Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Ryan Whalen > Sent: Wednesday, March 08, 2006 7:39 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] HOST ALERT: hostabc;DOWN;SOFT;1;Segmentation fault > > Last night I received three alerts from devices that were down. The only > service I am monitoring is ping. Instead of how it normally indicates it > didnt receive a response, or timed out, the problem was identified as a > "Segmentation Fault": > > > [03-08-2006 00:37:50] HOST ALERT: host_1;DOWN;SOFT;1;Segmentation fault > > > Any ideas what a segmentation fault means? it seems like a problem with > the nagios box and not the monitoring host.. http://www.google.com/search?hs=NoO&hl=en&lr=&client=firefox-a&rls=org.m ozilla%3Aen-US%3Aofficial&q=segmentation+fault&btnG=Search Consider it a program crash. What OS, plugin and nagios versions are you using? This could be interesting to troubleshoot. My feeling is that it's /bin/ping that is segfaulting when the site is down. I would have expected nagios to report a different kind of error if the plugin crashed (i.e. check of service foo on host bar did not exit properly). I think the only way you're going to be able to narrow it down is to try the check_ping command and using /bin/ping directly when you see this to see which it is. The only seemingly relevant mention I can find of a check_ping segfault is at the bottom of this thread -- http://64.233.179.104/search?q=cache:Svba1PNB27oJ:www.nagiosexchange.org /nagiosplug-devel.31.0.html%3F%26tx_maillisttofaq_pi1%255Bmode%255D%3D1% 26tx_maillisttofaq_pi1%255BshowUid%255D%3D15650+nagios+check_ping+segfau lt&hl=en&gl=us&ct=clnk&cd=1&client=firefox-a Andreas Ericsson was troubleshooting a segfault issue but it isn't clear whether that was check_ping segfaulting or /bin/ping. Not much help I know but it's all I can offer. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.rwhalen at gmail.com Wed Mar 8 21:29:21 2006 From: lists.rwhalen at gmail.com (Ryan Whalen) Date: Wed, 8 Mar 2006 15:29:21 -0500 Subject: HOST ALERT: hostabc;DOWN;SOFT;1;Segmentation fault In-Reply-To: References: Message-ID: <60a326f0603081229t5b32e197s207cf4a012f5fe6f@mail.gmail.com> OS is FreeBSD (5.4 i think?) and Nagios version is 2.0b4....not using any extra plugins or anything. On 3/8/06, Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Ryan Whalen > > Sent: Wednesday, March 08, 2006 7:39 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] HOST ALERT: hostabc;DOWN;SOFT;1;Segmentation > fault > > > > Last night I received three alerts from devices that were down. The > only > > service I am monitoring is ping. Instead of how it normally indicates > it > > didnt receive a response, or timed out, the problem was identified as > a > > "Segmentation Fault": > > > > > > [03-08-2006 00:37:50] HOST ALERT: host_1;DOWN;SOFT;1;Segmentation > fault > > > > > > Any ideas what a segmentation fault means? it seems like a problem > with > > the nagios box and not the monitoring host.. > > http://www.google.com/search?hs=NoO&hl=en&lr=&client=firefox-a&rls=org.m > ozilla%3Aen-US%3Aofficial&q=segmentation+fault&btnG=Search > > Consider it a program crash. What OS, plugin and nagios versions are you > using? This could be interesting to troubleshoot. My feeling is that > it's /bin/ping that is segfaulting when the site is down. I would have > expected nagios to report a different kind of error if the plugin > crashed (i.e. check of service foo on host bar did not exit properly). I > think the only way you're going to be able to narrow it down is to try > the check_ping command and using /bin/ping directly when you see this to > see which it is. > > The only seemingly relevant mention I can find of a check_ping segfault > is at the bottom of this thread -- > > http://64.233.179.104/search?q=cache:Svba1PNB27oJ:www.nagiosexchange.org > /nagiosplug-devel.31.0.html%3F%26tx_maillisttofaq_pi1%255Bmode%255D%3D1% > 26tx_maillisttofaq_pi1%255BshowUid%255D%3D15650+nagios+check_ping+segfau > lt&hl=en&gl=us&ct=clnk&cd=1&client=firefox-a > > Andreas Ericsson was troubleshooting a segfault issue but it isn't clear > whether that was check_ping segfaulting or /bin/ping. > > Not much help I know but it's all I can offer. > > -- > Marc > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: From dschlecht at doit.nv.gov Wed Mar 8 22:16:33 2006 From: dschlecht at doit.nv.gov (David Schlecht) Date: Wed, 8 Mar 2006 22:16:33 +0100 (CET) Subject: failover and notification status Message-ID: <20060308211633.CF8924F40E3@desire.netways.de> Hi All I'm planning to implement failover monitoring at our site but need to know how notification status is handled. Notifications per host/servi ce may be disabled due to flapping or because someone is working on it or has acknowledged a problem. Similarly with downtime. If I enable failover monitoring, how do I get these statuses into the slave Nagios? We sure don't want notifications to start going out, again, after someone has turned them off, if Nagios fails-over. Is this something that I can bring over with NSCA? How are people handling this, now? - David Schlecht (dschl) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ross.Minkov at hp.com Thu Mar 9 02:44:32 2006 From: Ross.Minkov at hp.com (Minkov, Ross) Date: Wed, 8 Mar 2006 20:44:32 -0500 Subject: Problems with RPM install Message-ID: <192E38594ACFAF4EB4F40E1C4B604723084A2EE5@tayexc13.americas.cpqcorp.net> Thanks for you reply. I didn't know that FC4 now has nagios included... Maybe that's why DAG never packaged nagios for FC4... The last version for FC he has in his repo is for FC3. In re: config files --> I already did the nagios -v trick and cleared all errors. My config files are ok (iow, I don't have a bad config problem). I think my problem is that I don't know enough about SElinux to configure it to allow me to see the nagios web interface. Any help in regard to nagios and SElinux would be highly appreciated. Thanks, Ross P.S. BTW, I have nothing from nagios in /sbin... rpm -ql nagios | grep bin /usr/bin/convertcfg /usr/bin/mini_epn /usr/bin/nagios /usr/bin/nagiostats /usr/bin/new_mini_epn /usr/bin/p1.pl rpm -qi nagios|head -12 Name : nagios Relocations: (not relocatable) Version : 2.0 Vendor: Dag Apt Repository, http://dag.wieers.com/apt/ Release : 2.1.fc3.rf Build Date: Wed 08 Feb 2006 02:57:19 PM EST Install Date: Sun 19 Feb 2006 01:02:25 AM EST Build Host: lisse.leuven.wieers.com Group : Applications/System Source RPM: nagios-2.0-2.1.fc3.rf.src.rpm Size : 4933812 License: GPL Signature : DSA/SHA1, Wed 08 Feb 2006 05:01:29 PM EST, Key ID a20e52146b8d79e6 Packager : Dag Wieers URL : http://www.nagios.org/ Summary : Open Source host, service and network monitoring program Description : Nagios is an application, system and network monitoring application. -----Original Message----- From: Demetri Mouratis [mailto:dmourati at cm.math.uiuc.edu] Sent: Tuesday, March 07, 2006 11:40 PM To: Minkov, Ross Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Problems with RPM install Ross, Answers inline below. On Tue, 7 Mar 2006, Minkov, Ross wrote: > > Short Question: Where is the nagios sbin directory if you installed from > RPM? Run the rpm query command against the nagios package to find out: # rpm -ql nagios|grep sbin /usr/sbin/nagios /usr/sbin/p1.pl > > > Long Story: > I just installed Nagios 2.0 (stable) on a FC4 system with SElinux > enabled. I used the fc3 RPMs from http://dag.wieers.com/packages/nagios/ > (dag doesn't have the FC4 RPMs out there yet): > > nagios-2.0-2.1.fc3.rf.i386 > > Also installed nagios-plugins-1.4.1-1.1.fc3.rf.i386 from > http://dag.wieers.com/packages/nagios-plugins/. > I use the dag repository myself. Note, however, that Nagios has been included in the FC distro so you could install the official FC package using apt-get, yum, or even up2date, e.g.: # up2date nagios > Seems to be ok, except I had to --nodep the installation of the plugins > and add "Ignore { nagios-plugins };" to my apt.conf file (yes, I'm still > using apt)... The reason was that it was complaining about Perl > Net-SNMP, but I already had it installed (net-snmp-perl)... > > Then I copied my config files from an older server I had (with Nagios > 1.2), changed a few things to comply with the new syntax and tried to > get the web interface configured. This is undoubtedly where your problem is. Copying the old config files won't get you very far. I would suggest running nagios in flight check mode as follows until you get 0 errors. You may need to iterate a few times but this is the best way to troubleshoot a bad config. # nagios -v /etc/nagios/nagios.cfg ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p_santos at psantos.no-ip.org Thu Mar 9 02:48:02 2006 From: p_santos at psantos.no-ip.org (Pavel Santos) Date: Wed, 8 Mar 2006 20:48:02 -0500 Subject: Nagios escalations not working Message-ID: Hello List, I'm running Nagios 2.0 on Red Hat version 4. I recently configured escalations in some of the services but it is not working. When Nagios sends a notification for a service any issue, it send the alert to the main contact group (sysadmins) and the defined escalated group at the same time, even though they are not be notified until 60 and 90 minutes respectively. Below is a sample of my escalations.cfg file. Thanks in advance. define serviceescalation{ host_name computername service_description HTTP first_notification 3 last_notification 5 notification_interval 60 contact_groups system-group } define serviceescalation{ host_name computername service_description HTTP first_notification 6 last_notification 0 notification_interval 90 contact_groups system-group } Pavel -------------- next part -------------- An HTML attachment was scrubbed... URL: From VINAY_SHARMA at advanex.co.jp Thu Mar 9 05:18:25 2006 From: VINAY_SHARMA at advanex.co.jp (VINAY_SHARMA at advanex.co.jp) Date: Thu, 9 Mar 2006 13:18:25 +0900 Subject: Problems with RPM install Message-ID: Hi, Better go for Binary installation and it will be good in working without error and you can install in few setps. just download nagios latest tar file unzip ./configure ./make ./make install and you can see installation way when you unzip tar file. Thanks & regards ************************************** Vinay Sharma Information Systems and Solutions-Associates Advanex Inc (www.advanex.co.jp) Fon : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp "Minkov, Ross" ??: "Demetri Mouratis" ???: cc: nagios-users-admin at lists.sour ??: RE: [Nagios-users] Problems with RPM install ceforge.net 2006/03/09 10:44 Thanks for you reply. I didn't know that FC4 now has nagios included... Maybe that's why DAG never packaged nagios for FC4... The last version for FC he has in his repo is for FC3. In re: config files --> I already did the nagios -v trick and cleared all errors. My config files are ok (iow, I don't have a bad config problem). I think my problem is that I don't know enough about SElinux to configure it to allow me to see the nagios web interface. Any help in regard to nagios and SElinux would be highly appreciated. Thanks, Ross P.S. BTW, I have nothing from nagios in /sbin... rpm -ql nagios | grep bin /usr/bin/convertcfg /usr/bin/mini_epn /usr/bin/nagios /usr/bin/nagiostats /usr/bin/new_mini_epn /usr/bin/p1.pl rpm -qi nagios|head -12 Name : nagios Relocations: (not relocatable) Version : 2.0 Vendor: Dag Apt Repository, http://dag.wieers.com/apt/ Release : 2.1.fc3.rf Build Date: Wed 08 Feb 2006 02:57:19 PM EST Install Date: Sun 19 Feb 2006 01:02:25 AM EST Build Host: lisse.leuven.wieers.com Group : Applications/System Source RPM: nagios-2.0-2.1.fc3.rf.src.rpm Size : 4933812 License: GPL Signature : DSA/SHA1, Wed 08 Feb 2006 05:01:29 PM EST, Key ID a20e52146b8d79e6 Packager : Dag Wieers URL : http://www.nagios.org/ Summary : Open Source host, service and network monitoring program Description : Nagios is an application, system and network monitoring application. -----Original Message----- From: Demetri Mouratis [mailto:dmourati at cm.math.uiuc.edu] Sent: Tuesday, March 07, 2006 11:40 PM To: Minkov, Ross Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Problems with RPM install Ross, Answers inline below. On Tue, 7 Mar 2006, Minkov, Ross wrote: > > Short Question: Where is the nagios sbin directory if you installed from > RPM? Run the rpm query command against the nagios package to find out: # rpm -ql nagios|grep sbin /usr/sbin/nagios /usr/sbin/p1.pl > > > Long Story: > I just installed Nagios 2.0 (stable) on a FC4 system with SElinux > enabled. I used the fc3 RPMs from http://dag.wieers.com/packages/nagios/ > (dag doesn't have the FC4 RPMs out there yet): > > nagios-2.0-2.1.fc3.rf.i386 > > Also installed nagios-plugins-1.4.1-1.1.fc3.rf.i386 from > http://dag.wieers.com/packages/nagios-plugins/. > I use the dag repository myself. Note, however, that Nagios has been included in the FC distro so you could install the official FC package using apt-get, yum, or even up2date, e.g.: # up2date nagios > Seems to be ok, except I had to --nodep the installation of the plugins > and add "Ignore { nagios-plugins };" to my apt.conf file (yes, I'm still > using apt)... The reason was that it was complaining about Perl > Net-SNMP, but I already had it installed (net-snmp-perl)... > > Then I copied my config files from an older server I had (with Nagios > 1.2), changed a few things to comply with the new syntax and tried to > get the web interface configured. This is undoubtedly where your problem is. Copying the old config files won't get you very far. I would suggest running nagios in flight check mode as follows until you get 0 errors. You may need to iterate a few times but this is the best way to troubleshoot a bad config. # nagios -v /etc/nagios/nagios.cfg ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deviousz at gmail.com Thu Mar 9 05:37:12 2006 From: deviousz at gmail.com (Dustin) Date: Wed, 8 Mar 2006 20:37:12 -0800 Subject: scriptalias error Message-ID: <844950720603082037g7c147d4dwaae19468bcb40719@mail.gmail.com> Hello, New user here, just following the documentation to setup on RHEL4. Installed vi RPM's, getting an error when I restart httpd after I've added the configuration (modified for my system) to httpd.conf. Here's what I added: ScriptAlias /nagios/cgi-bin/ "/usr/lib/nagios/cgi/" Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users Require valid-user Alias /nagios /usr/share/nagios/ Options None AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users Require valid-user And I get this message when restarting httpd: The ScriptAlias directive in /etc/httpd/conf/httpd.conf at line 546 will probably never match because it overlaps an earlier ScriptAlias. When i comment out these 2 lines the daemon restarts clean: ScriptAlias /nagios/cgi-bin/ "/usr/lib/nagios/cgi/" Alias /nagios /usr/share/nagios/ Ideas? TIA, dustin ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Mar 9 08:36:24 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 9 Mar 2006 08:36:24 +0100 (CET) Subject: Nagios escalations not working In-Reply-To: References: Message-ID: On Wed, 8 Mar 2006, Pavel Santos wrote: > define serviceescalation{ > > host_name computername > > service_description HTTP > > first_notification 6 > > last_notification 0 > > notification_interval 90 > > contact_groups system-group > > } Hold on. This one is configured to send notifications every 90 minutes (assuming 60 seconds is the default time measurement) But it should only trigger after 6 * 90 = 540 minutes (9 hours). But it should stop at 0 notifications which, I think, is not valid. If you remove the escalation do you get alerts to the escalation group(s) as well? Please provide relevant details like host + service definitions, nagios version ..... Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shoktai at gmail.com Thu Mar 9 11:19:42 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Thu, 9 Mar 2006 11:19:42 +0100 Subject: nrpe arguments Message-ID: <619cf3c0603090219x39d45003v@mail.gmail.com> Hi, I want to launch event hancler on a remote windows host. The active nagios checks are checking exchange IS, MTA and SA and i want services to be restarted if they stop. Event handlers are enabled. I see in eventlog [09-03-2006 10:43:28] SERVICE EVENT HANDLER: ussfrsv02;Exchange IS;CRITICAL;SOFT;3;restart_exchange I put a service eventhandler in nagios services.cfg file event_handler restart_exchange and put a definition in miscommands.cfg file ####Event-Handlers############# define command { command_name restart_exchange command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c restart_exchange $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ } I am wondering if the concept is ok. On the windows side the nrpe.cfg file got a definition for restart_exchange: # Values: 0=do not allow arguments, 1=allow command arguments dont_blame_nrpe=1 command[restart_exchange]=C:\nrpe\bin\RestartExchangeServices.cmd $ARG1$ $ARG2$ $ARG3$ And my RestartExchangeServices.cmd file contains this and at least it works in command line @ECHO off IF %1 == 'HARD' GOTO :1 ELSE GOTO :999 :1 IF %2 == 'SOFT' GOTO :2 ELSE GOTO :999 :2 IF %3 == '3' GOTO :3 :3 net start MSExchangeIS net start MSExchangeMTA net start MSExchangeSA ECHO "Services Exchange IS, MTA ans SA have been started" REM EXIT exitCode 0 GOTO :999 I commented the Exitcode because it dont see the need for eventhandler. Anyway it is not working at all :( I would greatly appreciate some thoughts, comments, help or solutions. -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From johan.corsini at guest.minfin.fed.be Thu Mar 9 13:02:34 2006 From: johan.corsini at guest.minfin.fed.be (Johan Corsini) Date: Thu, 09 Mar 2006 13:02:34 +0100 Subject: defunct process / more than one nagios "root" process... In-Reply-To: <006501c640a2$4a63ec60$8ea8d882@438LG01sshi052> References: <006501c640a2$4a63ec60$8ea8d882@438LG01sshi052> Message-ID: <200603091302.34756.johan.corsini@guest.minfin.fed.be> Hello everyone. I am facing problems for a few days with my Nagios server (2.0b4). I often have more than one nagios "root" process (launched by the root process), and sometimes have a "defunct" nagios process. It is really anoying, as it can leads to Nagios not working any more, or, at best, only doing half of the checks it should perform,... Often, it also stops recording the results of the checks, or "forget" latest informations after a restart, rolling back to the status data of hours ago. I don't remember doing any big change lately, so I can't find why I am facing all those problems right now... Does any of you know what can cause those defunct processes, or the multiple nagios "root" processes? Or best do you know how I could avoid it :) Thanks a lot for your help, Johan. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 9 13:29:34 2006 From: jperrin at gmail.com (Jim Perrin) Date: Thu, 9 Mar 2006 07:29:34 -0500 Subject: Problems with RPM install In-Reply-To: References: Message-ID: <302ce8b50603090429m44898d62l913f17bd08263eec@mail.gmail.com> > Better go for Binary installation and it will be good in working > without error and you can install in few setps. > > > unzip > ./configure > > ./make > > ./make install I'm not sure what you're definition of binary is, but what you just described isn't it. That's building from source to install. In some shops where rpm based distros are mandated, this is a no-no. Your method doesn't allow for any system-wide software auditing system to know what is installed. Also, your command above will fail because it looks for the 'make' command in the current directory where it won't be. For rpm based systems, it's best to work with the tools of the system and use rpms. In doing that you have to know how to salt the general provided directions to taste. There are guides for working with nagios rpms out there. Basically, understand the theory behind the directions, and the platform becomes irrelevant. > and you can see installation way when you unzip tar file. Nope, you can see the source files. The only binaries in the nagios tarball are the images. -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pavel.santos at cyberlockconsulting.com Thu Mar 9 13:55:36 2006 From: pavel.santos at cyberlockconsulting.com (Pavel Santos) Date: Thu, 9 Mar 2006 07:55:36 -0500 Subject: Nagios escalations not working Message-ID: <1EE2544AB03AD34BAA60E9AA8AF1A8FE6C1903@EPI-EXB2.epidirect.epi> Hugo, I'm running Nagios 2.0 on Red Hat version 4 and the client machine is windows 2003 for now, but I could be another Linux or windows 2000 box. Pavel ________________________________ From: nagios-users-admin at lists.sourceforge.net on behalf of Hugo van der Kooij Sent: Thu 3/9/2006 2:36 AM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Nagios escalations not working On Wed, 8 Mar 2006, Pavel Santos wrote: > define serviceescalation{ > > host_name computername > > service_description HTTP > > first_notification 6 > > last_notification 0 > > notification_interval 90 > > contact_groups system-group > > } Hold on. This one is configured to send notifications every 90 minutes (assuming 60 seconds is the default time measurement) But it should only trigger after 6 * 90 = 540 minutes (9 hours). But it should stop at 0 notifications which, I think, is not valid. If you remove the escalation do you get alerts to the escalation group(s) as well? Please provide relevant details like host + service definitions, nagios version ..... Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wouter.mignon at khleuven.be Thu Mar 9 15:10:01 2006 From: wouter.mignon at khleuven.be (Wouter Mignon) Date: Thu, 09 Mar 2006 15:10:01 +0100 Subject: Host checks not working on certain hosts Message-ID: <44103739.60006@khleuven.be> Hello, I have a few switches that don't have any services attached, some of them do their host-check and i receive mail/sms when they have are unreachable but a few stay in PENDING state and don't seem to do any checks. What could be wrong? -- snip --- switch_cd UP No matching services View Extended Information For This Host View Service Details For This Host switch_dlod UP No matching services View Extended Information For This Host View Service Details For This Host switch_dloh UP No matching services View Extended Information For This Host View Service Details For This Host switch_echo UP No matching services View Extended Information For This Host View Service Details For This Host switch_ludit UP No matching services View Extended Information For This Host View Service Details For This Host switch_ludit_servers PENDING No matching services View Extended Information For This Host View Service Details For This Host switch_rega UP No matching services View Extended Information For This Host View Service Details For This Host switch_rega_gigabit UP No matching services View Extended Information For This Host View Service Details For This Host switch_rega_ilwb UP No matching services View Extended Information For This Host View Service Details For This Host switch_ssh UP No matching services View Extended Information For This Host View Service Details For This Host switch_vv PENDING No matching services View Extended Information For This Host View Service Details For This Host switch_vv_straf PENDING No matching services View Extended Information For This Host View Service Details For This Host -- snip --- greets, Wouter Mignon ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gwcook at arcadis-us.com Thu Mar 9 15:23:30 2006 From: gwcook at arcadis-us.com (Cook, Garry) Date: Thu, 9 Mar 2006 07:23:30 -0700 Subject: Host checks not working on certain hosts Message-ID: <38D6D515FC15924693F2640881AF462032B9DE@corpexbe2.arcadis-us.com> What could be wrong is that you have a few switches that don't have any services attached. Please read the fine manual at: http://nagios.sourceforge.net/docs/1_0/ Specifically, the Network Reachability portion of the Theory of Operations section: http://nagios.sourceforge.net/docs/1_0/networkreachability.html And the FAQ at: http://www.nagios.org/faqs/viewfaq.php?faq_id=39 Thanks, Garry -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Wouter Mignon Sent: Thursday, March 09, 2006 7:10 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Host checks not working on certain hosts Hello, I have a few switches that don't have any services attached, some of them do their host-check and i receive mail/sms when they have are unreachable but a few stay in PENDING state and don't seem to do any checks. What could be wrong? [snip] greets, Wouter Mignon ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 9 15:26:52 2006 From: marc at ena.com (Marc Powell) Date: Thu, 9 Mar 2006 08:26:52 -0600 Subject: Host checks not working on certain hosts Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Wouter Mignon > Sent: Thursday, March 09, 2006 8:10 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Host checks not working on certain hosts > > Hello, > > I have a few switches that don't have any services attached, some of > them do their host-check and i receive mail/sms when they have are > unreachable but a few stay in PENDING state and don't seem to do any > checks. What could be wrong? > Nagios is first-and-foremost a service monitor. With few exceptions*, host checks are never executed unless a service on that host returns a non-OK state. You need to have at least one service defined per host if you want it to be checked regularly. That service could be just another ping check. As to why some show OK and others show PENDING, I would speculate that they are listed as the parent for a device that has failed in the past. Nagios will check the host status of parents to determine if a child is down or unreachable due to higher level outages. * Starting with Nagios 2.0 you _can_ have regularly scheduled host checks but they affect performance and are discouraged. The parent checks are another case where a host check may be executed without a failure of a service on the device. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jduraisw at smtp.aed.org Thu Mar 9 15:44:49 2006 From: jduraisw at smtp.aed.org (John Duraiswamy) Date: Thu, 09 Mar 2006 09:44:49 -0500 Subject: Nagios 2.0 and cgi Message-ID: Hello everyone, I am migrating stuff from 1.1. to 2.0, I did a fresh install of 2.0 on sles 9 and everything worked fine except for "statusmap.cgi trends.cgi histogram.cgi " did not get compiled. I have all the requirements(gd,zlib and png) on the server to compile cgi stuff. If anyone have any workaround on this please let me know. Thanks John Duraiswamy, CCNP Network Engineer Academy for Educational Development Washington, DC Tel. 202-884-8116 Fax. 202-884-8464 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Mar 9 15:48:15 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 9 Mar 2006 15:48:15 +0100 (CET) Subject: Nagios escalations not working In-Reply-To: <1EE2544AB03AD34BAA60E9AA8AF1A8FE6C1903@EPI-EXB2.epidirect.epi> References: <1EE2544AB03AD34BAA60E9AA8AF1A8FE6C1903@EPI-EXB2.epidirect.epi> Message-ID: On Thu, 9 Mar 2006, Pavel Santos wrote: > Hugo, > > I'm running Nagios 2.0 on Red Hat version 4 and the client machine is windows 2003 for now, but I could be another Linux or windows 2000 box. We do not care what your client machine is. But we do care about your definitions in nagios config files. You have not shown a bit of that config so there is still very little to go on. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gorste at tesco.net Thu Mar 9 16:01:00 2006 From: gorste at tesco.net (Gordon Stewart) Date: Thu, 9 Mar 2006 15:01:00 +0000 Subject: Nagios 2.0 and cgi Message-ID: <20060309150100.FQGC1347.aamtaout02-winn.ispmail.ntl.com@smtp.ntlworld.com> John Are you getting an Internal Server error when to click on the links? I am having the same issues. Thanks Gordon > > From: "John Duraiswamy" > Date: 2006/03/09 Thu PM 02:44:49 GMT > To: > Subject: [Nagios-users] Nagios 2.0 and cgi > > Hello everyone, > I am migrating stuff from 1.1. to 2.0, I did a fresh install of 2.0 on > sles 9 and everything worked fine except for "statusmap.cgi trends.cgi > histogram.cgi " did not get compiled. I have all the > requirements(gd,zlib and png) on the server to compile cgi stuff. If > anyone have any workaround on this please let me know. > > Thanks > > > John Duraiswamy, CCNP > Network Engineer > Academy for Educational Development > Washington, DC > Tel. 202-884-8116 > Fax. 202-884-8464 > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Alan_Maxwell at hilton.com Thu Mar 9 16:00:13 2006 From: Alan_Maxwell at hilton.com (Alan Maxwell) Date: Thu, 9 Mar 2006 09:00:13 -0600 Subject: Security in the cgi Message-ID: Is it possible to setup the security to allow a login to be able acknowledge alerts but not be able to disable services and hosts? Using nagios 2.0 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jduraisw at smtp.aed.org Thu Mar 9 16:07:12 2006 From: jduraisw at smtp.aed.org (John Duraiswamy) Date: Thu, 09 Mar 2006 10:07:12 -0500 Subject: Nagios 2.0 and cgi Message-ID: Gordon, Yep I am getting the same errors. "The requested URL /nagios/cgi-bin/trends.cgi was not found on this server" under /sbin I find the following but not the statusmap.cgi, trends.cgi and histogram.cgi . cmd.cgi history.cgi outages.cgi statuswml.cgi tac.cgi .. config.cgi .htaccess showlog.cgi statuswrl.cgi avail.cgi extinfo.cgi notifications.cgi status.cgi summary.cgi >>> Gordon Stewart 3/9/2006 10:01:00 AM >>> John Are you getting an Internal Server error when to click on the links? I am having the same issues. Thanks Gordon > > From: "John Duraiswamy" > Date: 2006/03/09 Thu PM 02:44:49 GMT > To: > Subject: [Nagios-users] Nagios 2.0 and cgi > > Hello everyone, > I am migrating stuff from 1.1. to 2.0, I did a fresh install of 2.0 on > sles 9 and everything worked fine except for "statusmap.cgi trends.cgi > histogram.cgi " did not get compiled. I have all the > requirements(gd,zlib and png) on the server to compile cgi stuff. If > anyone have any workaround on this please let me know. > > Thanks > > > John Duraiswamy, CCNP > Network Engineer > Academy for Educational Development > Washington, DC > Tel. 202-884-8116 > Fax. 202-884-8464 > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rafaelc at vegait.com.br Thu Mar 9 16:06:08 2006 From: rafaelc at vegait.com.br (Rafael Bandeira da Costa) Date: Thu, 09 Mar 2006 12:06:08 -0300 Subject: Security in the cgi In-Reply-To: References: Message-ID: <44104460.6030108@vegait.com.br> Alan Maxwell escreveu: > Is it possible to setup the security to allow a login to be able > acknowledge alerts but not be able to disable services and hosts? > Using nagios 2.0 > You can secure it within apache. I just use the following in my /etc/httpd/conf.d/nagios.conf (maybe you use another file to that) / Require user nagios /Hope that helps you. -- Rafael Costa rafaelc at vegait.com.br Curitiba - Paran? - Brasil -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ross.Minkov at hp.com Thu Mar 9 16:06:37 2006 From: Ross.Minkov at hp.com (Minkov, Ross) Date: Thu, 9 Mar 2006 10:06:37 -0500 Subject: Problems with RPM install Message-ID: <192E38594ACFAF4EB4F40E1C4B604723085067EF@tayexc13.americas.cpqcorp.net> Thanks Jim. I was going to reply, but you beat me to it... :) I totally agree with you. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jim Perrin Sent: Thursday, March 09, 2006 7:30 AM To: VINAY_SHARMA at advanex.co.jp Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problems with RPM install > Better go for Binary installation and it will be good in working > without error and you can install in few setps. > > > unzip > ./configure > > ./make > > ./make install I'm not sure what you're definition of binary is, but what you just described isn't it. That's building from source to install. In some shops where rpm based distros are mandated, this is a no-no. Your method doesn't allow for any system-wide software auditing system to know what is installed. Also, your command above will fail because it looks for the 'make' command in the current directory where it won't be. For rpm based systems, it's best to work with the tools of the system and use rpms. In doing that you have to know how to salt the general provided directions to taste. There are guides for working with nagios rpms out there. Basically, understand the theory behind the directions, and the platform becomes irrelevant. > and you can see installation way when you unzip tar file. Nope, you can see the source files. The only binaries in the nagios tarball are the images. -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rafaelc at vegait.com.br Thu Mar 9 16:25:17 2006 From: rafaelc at vegait.com.br (Rafael Bandeira da Costa) Date: Thu, 09 Mar 2006 12:25:17 -0300 Subject: Nagios escalations not working In-Reply-To: <1EE2544AB03AD34BAA60E9AA8AF1A8FE6C1903@EPI-EXB2.epidirect.epi> References: <1EE2544AB03AD34BAA60E9AA8AF1A8FE6C1903@EPI-EXB2.epidirect.epi> Message-ID: <441048DD.5050008@vegait.com.br> Hugo van der Kooij escreveu: >Hold on. This one is configured to send notifications every 90 minutes >(assuming 60 seconds is the default time measurement) But it should only >trigger after 6 * 90 = 540 minutes (9 hours). But it should stop at 0 >notifications which, I think, is not valid. > > Hugo, actually setting last_notification to 0 is valid, and it means nagios will use this escalation /ad infinitum /(in case there are no other escalation "overwriting" these settings - in which case nagios send notifications in the smallest time frame defined), as we can see on manual (http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#serviceescalation): /*last_notification*: This directive is a number that identifies the //last notification for which this escalation is effective. For instance, if you set this value to 5, this escalation will not be used if more than five notifications are sent out for the service. Setting this value to 0 means to keep using this escalation entry forever (no matter how many notifications go out)./_/ /_ Pavel Santos escreveu: > I'm running Nagios 2.0 on Red Hat version 4. I recently configured > escalations in some of the services but it is not working. When > Nagios sends a notification for a service any issue, it send the alert > to the main contact group (sysadmins) and the defined escalated group > at the same time, even though they are not be notified until 60 and 90 > minutes respectively. Below is a sample of my escalations.cfg file. > Thanks in advance. > Pavel, I haven't understood your problem: does nagios send notifications for both groups since the first notification? And as Hugo has said, you are misinterpretting the docs for escalations: they are not defined to be sent notifications to system-group after 60 and 90 minutes, they mean they are going to be sent every 60 minutes from notifications number 3 to 5, and every 90 minutes from the sixth notification on. -- Rafael Costa rafaelc at vegait.com.br Curitiba - Paran? - Brasil -------------- next part -------------- An HTML attachment was scrubbed... URL: From tcruicksh at gmail.com Thu Mar 9 15:56:58 2006 From: tcruicksh at gmail.com (Tom Cruickshank) Date: Thu, 9 Mar 2006 09:56:58 -0500 Subject: escalation procedures? Message-ID: Hello, I was wondering if it was possible to configure Nagios in a way that if it detects something going down or unreachable, it sends an email to one person, but if it detects it again on the 2nd time, it sends an email to a different person? Kind of like escalation procedures. I tried looking in the manual but could not find anything of that nature. Would anyone happen to know? Thanks for any assistance. Tom Cruickshank -------------- next part -------------- An HTML attachment was scrubbed... URL: From werner.flamme at ufz.de Thu Mar 9 16:36:50 2006 From: werner.flamme at ufz.de (Werner Flamme) Date: Thu, 09 Mar 2006 16:36:50 +0100 Subject: escalation procedures? In-Reply-To: References: Message-ID: <44104B92.1080506@ufz.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tom Cruickshank schrieb am 09.03.2006 15:56: > Hello, > I was wondering if it was possible to configure Nagios in a way that > if it detects something going down or unreachable, it sends an email to one > person, but if it detects it again on the 2nd time, it sends an email to a > different person? Kind of like escalation procedures. > > I tried looking in the manual but could not find anything of that nature. > > Would anyone happen to know? > > Thanks for any assistance. > > Tom Cruickshank > Tom, are you kidding? ;-) Search the mailing list archive for "escalation" or "service escalation", you will find a lot about it. And maybe you read even where to look in the manual ;-) For Release 2.0, look at http://nagios.sourceforge.net/docs/2_0/toc.html. You will find "Notification escalations" under the heading "Advanced Topics". And when you want the documentation of Version 1.x, just change /2_0/ to /1_0/ in the URL. Took me 3 minutes to find out. HTH, Werner - -- Werner Flamme, Abt. WKDV UFZ Umweltforschungszentrum Leipzig-Halle GmbH, Permoserstr. 15 - 04318 Leipzig Tel.: (0341) 235-3921 - Fax (0341) 235-453921 http://www.ufz.de - eMail: werner.flamme at ufz.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEEEuSk33Krq8b42MRArsCAJ9N9op1X/IHFjS0JTAtNWedSd/XdQCffmn5 QtzJ+Uc2ERFtN1EmtIFqn20= =gmUl -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nuffers at tsainc.com Thu Mar 9 16:39:32 2006 From: nuffers at tsainc.com (nuffers at tsainc.com) Date: Thu, 9 Mar 2006 09:39:32 -0600 Subject: Providing configuration Reports In-Reply-To: <20060308040718.0234189490@sc8-sf-spam1.sourceforge.net> References: <20060308040718.0234189490@sc8-sf-spam1.sourceforge.net> Message-ID: I'm looking for a way to send reports on what is currently being monitored to different functional areas. I currently have subdirectories for each of the functional areas. Each has their own hosts.cfg, hostgroups.cfg, services.cfg ....etc. Not all individuals receiving the reports will have access to Nagios. I would like to pull it directly from Nagios but I don't currently see a way that will provide that. The report would be in column format. Type host_name alias address host myhostname myhostname xxx.xxx.xxx.xxx Does anyone have a script/programs that would assist with this from the command line? Steve Nagios 2.X FedoraCore3 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jperrin at gmail.com Thu Mar 9 16:44:55 2006 From: jperrin at gmail.com (Jim Perrin) Date: Thu, 9 Mar 2006 10:44:55 -0500 Subject: Security in the cgi In-Reply-To: <44104460.6030108@vegait.com.br> References: <44104460.6030108@vegait.com.br> Message-ID: <302ce8b50603090744o446e77c0tcf81e0a291f19fda@mail.gmail.com> On 3/9/06, Rafael Bandeira da Costa wrote: > Alan Maxwell escreveu: > > Is it possible to setup the security to allow a login to be able acknowledge > alerts but not be able to disable services and hosts? > Using nagios 2.0 > > There is a patch at http://altinity.blogs.com/dotorg/patches/issue_commands_1.patch that allows users to view items, but not issue any changes. It seems to work rather well. Hopefully it or something like it will make it in the next 2.x update. It looks much nicer than the .htaccess denial from a user perspective. See the 26 Feb article here http://altinity.blogs.com/dotorg/nagios/index.html -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tcruicksh at gmail.com Thu Mar 9 16:47:43 2006 From: tcruicksh at gmail.com (Tom Cruickshank) Date: Thu, 9 Mar 2006 10:47:43 -0500 Subject: escalation procedures? In-Reply-To: <44104B92.1080506@ufz.de> References: <44104B92.1080506@ufz.de> Message-ID: I seem to need a visit to the eye doctor. Apparnantly my eye sight is just not what it used to be. Now if only I could remove my original email from the mailing list :P Tom On 3/9/06, Werner Flamme wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Tom Cruickshank schrieb am 09.03.2006 15:56: > > Hello, > > I was wondering if it was possible to configure Nagios in a way > that > > if it detects something going down or unreachable, it sends an email to > one > > person, but if it detects it again on the 2nd time, it sends an email to > a > > different person? Kind of like escalation procedures. > > > > I tried looking in the manual but could not find anything of that > nature. > > > > Would anyone happen to know? > > > > Thanks for any assistance. > > > > Tom Cruickshank > > > Tom, > > are you kidding? ;-) > > Search the mailing list archive for "escalation" or "service escalation", > you will find a lot about it. And maybe you read even where to look in the > manual ;-) > > For Release 2.0, look at http://nagios.sourceforge.net/docs/2_0/toc.html. > You will find "Notification escalations" under the heading "Advanced > Topics". And when you want the documentation of Version 1.x, just change > /2_0/ to /1_0/ in the URL. > > Took me 3 minutes to find out. > > HTH, > Werner > > - -- > Werner Flamme, Abt. WKDV > UFZ Umweltforschungszentrum Leipzig-Halle GmbH, > Permoserstr. 15 - 04318 Leipzig > Tel.: (0341) 235-3921 - Fax (0341) 235-453921 > http://www.ufz.de - eMail: werner.flamme at ufz.de > > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFEEEuSk33Krq8b42MRArsCAJ9N9op1X/IHFjS0JTAtNWedSd/XdQCffmn5 > QtzJ+Uc2ERFtN1EmtIFqn20= > =gmUl > -----END PGP SIGNATURE----- > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: From matthias.eble at mailing.kaufland-informationssysteme.com Thu Mar 9 16:47:41 2006 From: matthias.eble at mailing.kaufland-informationssysteme.com (Matthias Eble) Date: Thu, 09 Mar 2006 16:47:41 +0100 Subject: defunct process / more than one nagios "root" process... In-Reply-To: <200603091302.34756.johan.corsini@guest.minfin.fed.be> References: <006501c640a2$4a63ec60$8ea8d882@438LG01sshi052> <200603091302.34756.johan.corsini@guest.minfin.fed.be> Message-ID: <44104E1D.50405@mailing.kaufland-informationssysteme.com> hi list, > > I am facing problems for a few days with my Nagios server (2.0b4). > I often have more than one nagios "root" process (launched by the root > process), and sometimes have a "defunct" nagios process. > > It is really anoying, as it can leads to Nagios not working any more, or, at > best, only doing half of the checks it should perform,... > Often, it also stops recording the results of the checks, or "forget" latest > informations after a restart, rolling back to the status data of hours ago. > > I don't remember doing any big change lately, so I can't find why I am facing > all those problems right now... > > Does any of you know what can cause those defunct processes, or the multiple > nagios "root" processes? Or best do you know how I could avoid it :) > we are ocassionaly experiencing the some of your problems, too. I have thought, that this was a special issue in our Environment. I am about to update to 2.0 stable because of the changelog entry Fix for segfault in timed event queue I don't know what this fix does, but I think, it sounds related. Anyone experiencing similar behavior? matthias ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmourani at privalodc.com Thu Mar 9 16:16:26 2006 From: gmourani at privalodc.com (gmourani at privalodc.com) Date: Thu, 9 Mar 2006 10:16:26 -0500 (EST) Subject: Nagios doesn't send mail! Message-ID: <63441.64.235.216.178.1141917386.squirrel@webmail.privalodc.com> Hello list, I'm using nagios 1.2 and it's working fine except the fact that it doens't send mail when servicegoes down! I can see on the web interface that the service is down (red) but I don't get emailed on my phone or email address. The mail program is working on the server, I can use command like "sendmail name at domain.com < /tmp/testmail.txt" and receive the email, I can also use /bin/mail -s to send mail via the terminal and I receive it, therefore /bin/mail and /usr/sbin/sendmail work. I know that Nagios use /bin/mail to send alert because that is what is used and configured inside the misscommand.cfg file. So I don't understand why Nagios doesn't alert me when hosts or service goes down. Somebody has an idea? Thanks. Gerhard, ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JasonFrank at srcp.com Thu Mar 9 17:10:53 2006 From: JasonFrank at srcp.com (Frank, Jason) Date: Thu, 9 Mar 2006 10:10:53 -0600 Subject: Nagios doesn't send mail! Message-ID: <741E24F735AED141B61948AC155E7DAA741EBE@CORPDALLMSG05.na.srcp.net> Do you seeing it trying to send a notification in the log file? Perhaps you've configured it not to send emails. Jason -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of gmourani at privalodc.com Sent: Thursday, March 09, 2006 9:16 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios doesn't send mail! Hello list, I'm using nagios 1.2 and it's working fine except the fact that it doens't send mail when servicegoes down! I can see on the web interface that the service is down (red) but I don't get emailed on my phone or email address. The mail program is working on the server, I can use command like "sendmail name at domain.com < /tmp/testmail.txt" and receive the email, I can also use /bin/mail -s to send mail via the terminal and I receive it, therefore /bin/mail and /usr/sbin/sendmail work. I know that Nagios use /bin/mail to send alert because that is what is used and configured inside the misscommand.cfg file. So I don't understand why Nagios doesn't alert me when hosts or service goes down. Somebody has an idea? Thanks. Gerhard, ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individual(s) to which it is addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender 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 secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or that arise as a result of e-mail transmission. If verification is required please request a hard-copy version from the sender. SOURCECORP, Incorporated www.srcp.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmourani at privalodc.com Thu Mar 9 16:28:45 2006 From: gmourani at privalodc.com (gmourani at privalodc.com) Date: Thu, 9 Mar 2006 10:28:45 -0500 (EST) Subject: Nagios doesn't send mail! In-Reply-To: <741E24F735AED141B61948AC155E7DAA741EBE@CORPDALLMSG05.na.srcp.net> References: <741E24F735AED141B61948AC155E7DAA741EBE@CORPDALLMSG05.na.srcp.net> Message-ID: <63352.64.235.216.178.1141918125.squirrel@webmail.privalodc.com> Hello Frank, > Do you seeing it trying to send a notification in the log file? No, the log file (nagios.log) doesn't show any notification, I can see other info like service alert but nothing about email send notification. > Perhaps you've configured it not to send emails. How/where can I check for this? Gerhard, > Do you seeing it trying to send a notification in the log file? Perhaps > you've configured it not to send emails. > > Jason > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > gmourani at privalodc.com > Sent: Thursday, March 09, 2006 9:16 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios doesn't send mail! > > Hello list, > > I'm using nagios 1.2 and it's working fine except the fact that it > doens't send mail when servicegoes down! I can see on the web interface > that the service is down (red) but I don't get emailed on my phone or > email address. > > The mail program is working on the server, I can use command like > "sendmail name at domain.com < /tmp/testmail.txt" and receive the email, I > can also use /bin/mail -s to send mail via the terminal and I receive > it, therefore /bin/mail and /usr/sbin/sendmail work. I know that Nagios > use /bin/mail to send alert because that is what is used and configured > inside the misscommand.cfg file. So I don't understand why Nagios > doesn't alert me when hosts or service goes down. > > Somebody has an idea? Thanks. > > Gerhard, > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language that extends applications into web and mobile media. Attend the > live webcast and join the prime developer group breaking into this new > coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 (including any attachments) may > contain confidential or otherwise privileged information and is intended > only for the individual(s) to which it is addressed. If you are not the > named addressee you should not disseminate, distribute or copy this > e-mail. Please notify the sender 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 secured or error-free as > information could be intercepted, corrupted, lost, destroyed, arrive late > or incomplete, or contain viruses. The sender therefore does not accept > liability for any errors or omissions in the contents of this message or > that arise as a result of e-mail transmission. If verification is required > please request a hard-copy version from the sender. > > SOURCECORP, Incorporated > www.srcp.com > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deviousz at gmail.com Thu Mar 9 17:50:41 2006 From: deviousz at gmail.com (Dustin) Date: Thu, 9 Mar 2006 08:50:41 -0800 Subject: scriptalias error In-Reply-To: References: <844950720603082037g7c147d4dwaae19468bcb40719@mail.gmail.com> Message-ID: <844950720603090850l39067900y6f6457485bbb1d42@mail.gmail.com> Thanks for the reply, but how am I supposed to know this? The setup docs here say to add those lines to my httpd.conf: http://nagios.sourceforge.net/docs/2_0/installweb.html Is this outdated documentation that I'm following? On 3/8/06, Hugo van der Kooij wrote: > On Wed, 8 Mar 2006, Dustin wrote: > > > New user here, just following the documentation to setup on RHEL4. > > Installed vi RPM's, getting an error when I restart httpd after I've > > added the configuration (modified for my system) to httpd.conf. > > You should not have added these lines to httpd.conf. Beacause you allready > have a valid new config part in ../conf.d/nagios.conf > > Please familiarize yourself a bit more with the config setup of your > apache installation and read the other config files in conf.d as well to > see if you have no further duplication. > > Hugo. > > -- > I hate duplicates. Just reply to the relevant mailinglist. > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ > Don't meddle in the affairs of magicians, > for they are subtle and quick to anger. > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 9 18:11:12 2006 From: marc at ena.com (Marc Powell) Date: Thu, 9 Mar 2006 11:11:12 -0600 Subject: Nagios 2.0 and cgi Message-ID: cgi's being missing is different than an Apache Internal Server Error. Nagios was not able to automagically locate the required libraries you correctly noted below at compile time. They're probably located in non-standard locations. You'll need to pass the following flags to ./configure -- --with-gd-lib=DIR sets location of the gd library --with-gd-inc=DIR sets location of the gd include files -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of John Duraiswamy > Sent: Thursday, March 09, 2006 9:07 AM > To: nagios-users at lists.sourceforge.net; Gordon Stewart > Subject: Re: [Nagios-users] Nagios 2.0 and cgi > > Gordon, > Yep I am getting the same errors. "The requested URL > /nagios/cgi-bin/trends.cgi was not found on this server" > > under /sbin I find the following but not the statusmap.cgi, trends.cgi > and histogram.cgi > > . cmd.cgi history.cgi outages.cgi statuswml.cgi > tac.cgi > .. config.cgi .htaccess showlog.cgi statuswrl.cgi > avail.cgi extinfo.cgi notifications.cgi status.cgi summary.cgi > > >>> Gordon Stewart 3/9/2006 10:01:00 AM >>> > John > > Are you getting an Internal Server error when to click on the links? > > I am having the same issues. > > Thanks > > Gordon > > > > > > From: "John Duraiswamy" > > Date: 2006/03/09 Thu PM 02:44:49 GMT > > To: > > Subject: [Nagios-users] Nagios 2.0 and cgi > > > > Hello everyone, > > I am migrating stuff from 1.1. to 2.0, I did a fresh install of 2.0 > on > > sles 9 and everything worked fine except for "statusmap.cgi > trends.cgi > > histogram.cgi " did not get compiled. I have all the > > requirements(gd,zlib and png) on the server to compile cgi stuff. If > > anyone have any workaround on this please let me know. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 9 18:13:18 2006 From: marc at ena.com (Marc Powell) Date: Thu, 9 Mar 2006 11:13:18 -0600 Subject: Security in the cgi Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Rafael Bandeira da Costa > Sent: Thursday, March 09, 2006 9:06 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Security in the cgi > > Alan Maxwell escreveu: > > Is it possible to setup the security to allow a login to be able > acknowledge alerts but not be able to disable services and hosts? > Using nagios 2.0 > > > > You can secure it within apache. I just use the following in my > /etc/httpd/conf.d/nagios.conf (maybe you use another file to that) > > > Require user nagios > > > Hope that helps you. This is incorrect information. The level of granularity requested is not possible with apache security or within Nagios itself. It's all or nothing unfortunately unless you edit the source to include that functionality. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 9 18:20:03 2006 From: marc at ena.com (Marc Powell) Date: Thu, 9 Mar 2006 11:20:03 -0600 Subject: Nagios doesn't send mail! Message-ID: http://nagios.sourceforge.net/docs/1_0/configmain.html#enable_notificati ons http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#host (notification_* settings) http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service (notification_* settings) http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contact (notification settings) -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of gmourani at privalodc.com > Sent: Thursday, March 09, 2006 9:29 AM > To: Frank, Jason > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios doesn't send mail! > > Hello Frank, > > > Do you seeing it trying to send a notification in the log file? > No, the log file (nagios.log) doesn't show any notification, I can see > other info like service alert but nothing about email send notification. > > > Perhaps you've configured it not to send emails. > How/where can I check for this? > > Gerhard, > > > Do you seeing it trying to send a notification in the log file? Perhaps > > you've configured it not to send emails. > > > > Jason > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > > gmourani at privalodc.com > > Sent: Thursday, March 09, 2006 9:16 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Nagios doesn't send mail! > > > > Hello list, > > > > I'm using nagios 1.2 and it's working fine except the fact that it > > doens't send mail when servicegoes down! I can see on the web interface > > that the service is down (red) but I don't get emailed on my phone or > > email address. > > > > The mail program is working on the server, I can use command like > > "sendmail name at domain.com < /tmp/testmail.txt" and receive the email, I > > can also use /bin/mail -s to send mail via the terminal and I receive > > it, therefore /bin/mail and /usr/sbin/sendmail work. I know that Nagios > > use /bin/mail to send alert because that is what is used and configured > > inside the misscommand.cfg file. So I don't understand why Nagios > > doesn't alert me when hosts or service goes down. > > > > Somebody has an idea? Thanks. > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 9 18:23:21 2006 From: marc at ena.com (Marc Powell) Date: Thu, 9 Mar 2006 11:23:21 -0600 Subject: scriptalias error Message-ID: The document is written for the source install, the primary method of installation. RPM installs can vary widely and any package specific changes made should be documented by the package maintainer. Ethan does not directly manage, maintain or host RPM installations of Nagios. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Dustin > Sent: Thursday, March 09, 2006 10:51 AM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] scriptalias error > > Thanks for the reply, but how am I supposed to know this? The setup > docs here say to add those lines to my httpd.conf: > > http://nagios.sourceforge.net/docs/2_0/installweb.html > > Is this outdated documentation that I'm following? > > > > On 3/8/06, Hugo van der Kooij wrote: > > On Wed, 8 Mar 2006, Dustin wrote: > > > > > New user here, just following the documentation to setup on RHEL4. > > > Installed vi RPM's, getting an error when I restart httpd after I've > > > added the configuration (modified for my system) to httpd.conf. > > > > You should not have added these lines to httpd.conf. Beacause you > allready > > have a valid new config part in ../conf.d/nagios.conf > > > > Please familiarize yourself a bit more with the config setup of your > > apache installation and read the other config files in conf.d as well to > > see if you have no further duplication. > > > > Hugo. > > > > -- > > I hate duplicates. Just reply to the relevant mailinglist. > > hvdkooij at vanderkooij.org > http://hvdkooij.xs4all.nl/ > > Don't meddle in the affairs of magicians, > > for they are subtle and quick to anger. > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > > that extends applications into web and mobile media. Attend the live > webcast > > and join the prime developer group breaking into this new coding > territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pavel.santos at cyberlockconsulting.com Thu Mar 9 18:26:43 2006 From: pavel.santos at cyberlockconsulting.com (Pavel Santos) Date: Thu, 9 Mar 2006 12:26:43 -0500 Subject: Nagios escalations not working Message-ID: <1EE2544AB03AD34BAA60E9AA8AF1A8FE6C1904@EPI-EXB2.epidirect.epi> Hugo, this is my escalations.cfg file: for now define serviceescalation{ host_name server1 service_description HTTP first_notification 3 last_notification 5 notification_interval 60 contact_groups system-manager } define serviceescalation{ host_name server1 service_description HTTP first_notification 6 last_notification 10 notification_interval 90 contact_groups system-manager } ________________________________ From: nagios-users-admin at lists.sourceforge.net on behalf of Hugo van der Kooij Sent: Thu 3/9/2006 9:48 AM To: Nagios Users Mailinglist Subject: RE: [Nagios-users] Nagios escalations not working On Thu, 9 Mar 2006, Pavel Santos wrote: > Hugo, > > I'm running Nagios 2.0 on Red Hat version 4 and the client machine is windows 2003 for now, but I could be another Linux or windows 2000 box. We do not care what your client machine is. But we do care about your definitions in nagios config files. You have not shown a bit of that config so there is still very little to go on. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard.hobbs at crl.toshiba.co.uk Thu Mar 9 18:43:28 2006 From: richard.hobbs at crl.toshiba.co.uk (Richard Hobbs) Date: Thu, 9 Mar 2006 17:43:28 -0000 Subject: Multiple notifications for Host DOWN Message-ID: <000101c643a0$f9cf0440$4b03a8c0@stgmkc5win> Hello, If I am monitoring several services on a host, and the host goes DOWN, will I get a single notification stating that the host is down, or will I get several alerts (one for the host and one for each service)? If this is a configurable setting, could you let me know which option I need to change in the config files? Thanks in advance to anyone who can help! :-) Richard. -- Richard Hobbs (Systems Administrator) Toshiba Research Europe Ltd. - Speech Technology Group Web: http://www.toshiba-europe.com/research/ Normal Email: richard.hobbs at crl.toshiba.co.uk Mobile Email: mobile at mongeese.co.uk Tel: +44 1223 376964 Mobile: +44 7811 803377 _____________________________________________________________________ This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 9 19:10:25 2006 From: marc at ena.com (Marc Powell) Date: Thu, 9 Mar 2006 12:10:25 -0600 Subject: Multiple notifications for Host DOWN Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Richard Hobbs > Sent: Thursday, March 09, 2006 11:43 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Multiple notifications for Host DOWN > > Hello, > > If I am monitoring several services on a host, and the host goes DOWN, > will > I get a single notification stating that the host is down, or will I get > several alerts (one for the host and one for each service)? First section of http://nagios.sourceforge.net/docs/1_0/networkreachability.html. Nagios will suppress notification for services on DOWN or UNREACHABLE hosts. > > If this is a configurable setting, could you let me know which option I > need > to change in the config files? I don't use host checks myself but I believe that this is not configurable. You'd have to add your service contacts to the contact_group for the host. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmaruffi at fppartners.com Thu Mar 9 19:43:15 2006 From: mmaruffi at fppartners.com (Mike Maruffi) Date: Thu, 9 Mar 2006 19:43:15 +0100 (CET) Subject: JMS Plugin Message-ID: <20060309184315.B2F5A4F40E3@desire.netways.de> Does anyone know of any nagios plugins that can be used to monitor JMS queues and topics? Thanks, - Mike Maruffi (mmaruffi) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtran at ssc.ucla.edu Thu Mar 9 19:55:59 2006 From: dtran at ssc.ucla.edu (Daniel Tran) Date: Thu, 9 Mar 2006 10:55:59 -0800 Subject: Sms message Message-ID: I have a scenario like this: Currently we are monitoring devices and send notification as an email message. I understand that you can send text messages to cell phone by sending an email such as (phone number)@vtext.com. If the main internet connection is down, we want to be able to send the message via a modem connection. I guess at this point, the modem needs to dial up to some sort of sms gateway and send out the string of text. Are there anything like this? Does any cell phone provider (eg: tmobile, verizon...) has this support. Thanks Daniel ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Carlos.de_Sousa at ericsson.com Thu Mar 9 20:02:26 2006 From: Carlos.de_Sousa at ericsson.com (Carlos de Sousa) Date: Thu, 09 Mar 2006 20:02:26 +0100 Subject: event_handlers macro contactemail Message-ID: <44107BC2.6040008@ericsson.com> Hi! I am in real need for having access to the $CONTACTx$ macros in my eventhandlers. I am running Nagios V2. Would I get it to work if I did the following? define command { command_name send_snmptrap_host command_line /usr/bin/perl $USER1$/eventhandlers/send_nagiostrap $ARG1$ $ARG2$ } define host { name NOC-MAIN event_handler_enabled 1 ; Host event handler is enabled register 0 ; DONT REGISTER THIS DEFINITION notifications_enabled 0 event_handler send_snmptrap_host!$CONTACTEMAIL$!$CONTACTPAGER$ contact_groups NOC } define host { use NOC-MAIN host_name host1 alias my host1 address xxx.xxx.xxx.xxx check_command check-host-alive } Any other suggestion? would it work if I put the event_handler keyword in the host definition for the host instead of in a template? I have seen the mailing list archives, and there are other people that have asked for the same thing, but they where running Nagios V1 I think, so I wonder if this is duable for Nagios V2. Really greatfull for a solution, and no, I am not going to use the CONTACTEMAIL information to send out notifications from my event handler. Regards Carlos -- Carlos de Sousa Ericsson AB Phone: +46 8 56860605 Mail: Carlos.de_Sousa at ericsson.com Disclaimer This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you. E-mail including attachments is susceptible to data corruption,interruption, unauthorized amendment, tampering and viruses, and we only send and receive e-mails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof. -------------- next part -------------- A non-text attachment was scrubbed... Name: Carlos.de_Sousa.vcf Type: text/x-vcard Size: 161 bytes Desc: not available URL: From rstewart at eandhis.com Thu Mar 9 20:23:00 2006 From: rstewart at eandhis.com (Robert Stewart) Date: Thu, 09 Mar 2006 14:23:00 -0500 Subject: help please - SNMP Message-ID: An HTML attachment was scrubbed... URL: From rstewart at eandhis.com Thu Mar 9 20:27:00 2006 From: rstewart at eandhis.com (Robert Stewart) Date: Thu, 09 Mar 2006 14:27:00 -0500 Subject: FW: help please - SNMP Message-ID: An HTML attachment was scrubbed... URL: From marc at ena.com Thu Mar 9 20:29:56 2006 From: marc at ena.com (Marc Powell) Date: Thu, 9 Mar 2006 13:29:56 -0600 Subject: Sms message Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Daniel Tran > Sent: Thursday, March 09, 2006 12:56 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Sms message > > I have a scenario like this: > > Currently we are monitoring devices and send notification as an email > message. > > I understand that you can send text messages to cell phone by sending an > email such as (phone number)@vtext.com. > > If the main internet connection is down, we want to be able to send the > message via a modem connection. I guess at this point, the modem needs > to dial up to some sort of sms gateway and send out the string of text. > > Are there anything like this? > Does any cell phone provider (eg: tmobile, verizon...) has this support. Yes, there's are specific FAQ entries on sending SMS messages and lots of discussion in the list archives. Search for SMS in those resources. Basically you configure an SMS sending program (yaps, sms-client, etc) and set it as your notification command. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 9 20:40:51 2006 From: marc at ena.com (Marc Powell) Date: Thu, 9 Mar 2006 13:40:51 -0600 Subject: event_handlers macro contactemail Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Carlos de Sousa > Sent: Thursday, March 09, 2006 1:02 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] event_handlers macro contactemail > > Hi! > > I am in real need for having access to the $CONTACTx$ macros in my > eventhandlers. I am running Nagios V2. > > Would I get it to work if I did the following? > > > define command { > command_name send_snmptrap_host > command_line /usr/bin/perl > $USER1$/eventhandlers/send_nagiostrap $ARG1$ $ARG2$ > > } > > define host { > name NOC-MAIN > > event_handler_enabled 1 ; Host event handler is enabled > > > register 0 ; DONT REGISTER THIS DEFINITION > > notifications_enabled 0 > event_handler > send_snmptrap_host!$CONTACTEMAIL$!$CONTACTPAGER$ > contact_groups NOC > } > No, the $CONTACT*$ macros are not available to event handlers. See the chart at -- http://nagios.sourceforge.net/docs/2_0/macros.html > Any other suggestion? Why not make a contact whose notification command runs send_nagiostrap_host and associate them with that host? You could also build in logic into send_nagiostrap_host to gather that information from some other source or the nagios config files themselves if the contact route isn't acceptable to you. > > would it work if I put the event_handler keyword in the host > definition for the host instead of in a template? No, they're just not available to the event_handler subsystem at all. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jduraisw at smtp.aed.org Thu Mar 9 20:43:45 2006 From: jduraisw at smtp.aed.org (John Duraiswamy) Date: Thu, 09 Mar 2006 14:43:45 -0500 Subject: Nagios 2.0 and cgi Message-ID: My bad, although gd and png were installed I had not installed gd-devel and libpng-devel stuff, after installing those stuff the compile worked fine. I only had to do ./configure it picked up everything automatically. Thanks everyone. -john >>> "Alan Maxwell" 3/9/2006 10:08:02 AM >>> Run configure --help Find the options, run configure --whatyouneed , make clean, make all Also make sure during configure, it actually found the JPG, zlib, and png stuff. -----Original Message----- From: John Duraiswamy [mailto:jduraisw at smtp.aed.org] Sent: Thursday, March 09, 2006 8:57 AM To: Alan Maxwell Subject: RE: [Nagios-users] Nagios 2.0 and cgi nope I did not, is there a way I can just recompile that manually ? >>> "Alan Maxwell" 3/9/2006 9:52:16 AM >>> Did you give the configure command the options to enable statusmap..etc? I don't think it tries to compile them by default. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of John Duraiswamy Sent: Thursday, March 09, 2006 8:45 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios 2.0 and cgi Hello everyone, I am migrating stuff from 1.1. to 2.0, I did a fresh install of 2.0 on sles 9 and everything worked fine except for "statusmap.cgi trends.cgi histogram.cgi " did not get compiled. I have all the requirements(gd,zlib and png) on the server to compile cgi stuff. If anyone have any workaround on this please let me know. Thanks John Duraiswamy, CCNP Network Engineer Academy for Educational Development Washington, DC Tel. 202-884-8116 Fax. 202-884-8464 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rstewart at eandhis.com Thu Mar 9 21:08:00 2006 From: rstewart at eandhis.com (Robert Stewart) Date: Thu, 09 Mar 2006 15:08:00 -0500 Subject: FW: help please - SNMP Message-ID: An HTML attachment was scrubbed... URL: From rstewart at eandhis.com Thu Mar 9 21:26:00 2006 From: rstewart at eandhis.com (Robert Stewart) Date: Thu, 09 Mar 2006 15:26:00 -0500 Subject: help please - SNMP Message-ID: An HTML attachment was scrubbed... URL: From estair at ilm.com Thu Mar 9 21:39:19 2006 From: estair at ilm.com (Eli Stair) Date: Thu, 09 Mar 2006 12:39:19 -0800 Subject: help please - SNMP In-Reply-To: References: Message-ID: <44109277.5030202@ilm.com> I think those all came through OK. Check the docs for {net|ucd}-snmp, and the help for check_snmp.* For instance, find out what version of what plugin you're using, what mechanism it uses to read the MIB and access SNMP (bash/perl exec of the binaries, perl module, direct binary implementation compiled-in, etc). Sounds also like you'll want to determine what it is you actually want to poll via SNMP, and whether it's a static value (temp/PS/FAN/link state) or time-dependent (network traffic, IOps/sec, etc). If you don't have those questions answered, you might want to start with installing your MIBs in the net-snmp search path (try the net-snmp FAQ ; 'export MIBS=all'), and saving the output to peruse vs. the MIB while you're reading it. In the situation it sounds like you want, you'll have to understand not just Nagios but SNMP as well. /eli Robert Stewart wrote: > I?m new to setting up SNMP on nagios. > > I need some pointers. > > I have downloaded the mibs that I need but I have never installed them > on Suse 10 for nagios 2.0. > > Could you all tell me how I would get the mibs in place to be used by > the ./check_snmp command. > > > > Could you all send me an example of the ./check_snmp command that you > all use > > > > Thank you > > > > Robert Stewart > > SalesEng. > > E&H Integrated Systems > > > > ------------------------------------------------------- This SF.Net > email is sponsored by xPML, a groundbreaking scripting language that > extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ Nagios-users mailing > list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHATHAWAY at bridgew.edu Thu Mar 9 22:13:14 2006 From: AHATHAWAY at bridgew.edu (Hathaway, Adam B.) Date: Thu, 9 Mar 2006 16:13:14 -0500 Subject: Modifying the TAC.cgi file Message-ID: I was wondering how I would go about modifying the tac.cgi file. What I want to do is create a network bandwidth monitor that displays on the tac.cgi file itself. I searched around but all I really found was how to change colors. Any help would be greatly appreciated. Adam -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.hobbs at crl.toshiba.co.uk Thu Mar 9 22:44:48 2006 From: richard.hobbs at crl.toshiba.co.uk (Richard Hobbs) Date: Thu, 9 Mar 2006 21:44:48 -0000 Subject: Data File Storage Message-ID: <002001c643c2$b0329820$4b03a8c0@stgmkc5win> Hello, Assuming I have not changed any default paths, where would the Nagios data files be held? Basically, I'm looking to add directories into our backup, and so far I've just included "/usr/local/nagios/". Should I include anywhere else, or is the historical data kept in this directory as well? Thanks in advance, Richard. -- Richard Hobbs (Systems Administrator) Toshiba Research Europe Ltd. - Speech Technology Group Web: http://www.toshiba-europe.com/research/ Normal Email: richard.hobbs at crl.toshiba.co.uk Mobile Email: mobile at mongeese.co.uk Tel: +44 1223 376964 Mobile: +44 7811 803377 _____________________________________________________________________ This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Thu Mar 9 22:44:47 2006 From: jhmartin at toger.us (Jason Martin) Date: Thu, 9 Mar 2006 13:44:47 -0800 Subject: Modifying the TAC.cgi file In-Reply-To: References: Message-ID: <20060309214447.GS7611@mal.toger.us> On Thu, Mar 09, 2006 at 04:13:14PM -0500, Hathaway, Adam B. wrote: > I was wondering how I would go about modifying the tac.cgi file. What I > want to do is create a network bandwidth monitor that displays on the > tac.cgi file itself. I searched around but all I really found was how > to change colors. Any help would be greatly appreciated. tac.cgi is built from cgi/tac.c. If you just need to import an image from some other system, then edit the file and modify the HTML portion to do the IMG SRC in the desired location. What you want is probably in the display_tac_overview function. Edit that then recompile. If you want Nagios to create that BW monitoring image for you,well, that is a much larger task. -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: From jgourd at gmail.com Thu Mar 9 22:58:55 2006 From: jgourd at gmail.com (Jonathan Gourd) Date: Thu, 9 Mar 2006 16:58:55 -0500 Subject: check_http -a Question Message-ID: I am defining a service and I am getting stuck. When I define the check command as 'check_http -a foo:bar' I get the following output when starting: ---------BEGIN QUITE----------- Checking services... Error: Service check command 'check_http -a foo:bar' specified in service 'HTTP' for host 'syndb-b' not defined anywhere! ---------END QUOTE------------ Where am I supposed to define this? Thanks, Jonathan Gourd PACS SA The Lahey Clinic -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Thu Mar 9 23:03:08 2006 From: marc at ena.com (Marc Powell) Date: Thu, 9 Mar 2006 16:03:08 -0600 Subject: Data File Storage Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Richard Hobbs > Sent: Thursday, March 09, 2006 3:45 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Data File Storage > > Hello, > > Assuming I have not changed any default paths, where would the Nagios data > files be held? > > Basically, I'm looking to add directories into our backup, and so far I've > just included "/usr/local/nagios/". Should I include anywhere else, or is > the historical data kept in this directory as well? If you've installed from source, that will be sufficient. To be sure, look at the values for cfg_file, log_file, status_file, comment_file, downtime_file and log_archive_path in nagios.cfg. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 9 23:11:03 2006 From: marc at ena.com (Marc Powell) Date: Thu, 9 Mar 2006 16:11:03 -0600 Subject: check_http -a Question Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jonathan Gourd > Sent: Thursday, March 09, 2006 3:59 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_http -a Question > > I am defining a service and I am getting stuck. When I define the check > command as 'check_http -a foo:bar' I get the following output when > starting: > > > ---------BEGIN QUITE----------- > Checking services... > Error: Service check command 'check_http -a foo:bar' specified in service > 'HTTP' for host 'syndb-b' not defined anywhere! > ---------END QUOTE------------ > The check_command for a host or service definition is a reference to a command{} definitions command_name, not the direct command line that is run. You either need to hard-code your '-a foo:bar' to the actual command{} definition itself like define command{ command_name check_http command_line $USER1$/check_http $HOSTADDRESS$ -t 45 -a foo:bar } Or pass it as an argument from your service{} definition to a properly configured command{} definition like define command{ command_name check_http command_line $USER1$/check_http $HOSTADDRESS$ -t 45 -a $ARG1$ } define service{ use generic-service host_name somehost service_description MY_HTTP_CHECK retry_check_interval 3 contact_groups whoever check_command check_http!foo:bar } In the above example, 'foo:bar' becomes $ARG1$ and is substituted into the command_line for the command_name check_http. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Carlos.de_Sousa at ericsson.com Thu Mar 9 23:18:45 2006 From: Carlos.de_Sousa at ericsson.com (Carlos de Sousa) Date: Thu, 09 Mar 2006 23:18:45 +0100 Subject: event_handlers macro contactemail In-Reply-To: References: Message-ID: <4410A9C5.7020504@ericsson.com> Hi! Thanx for the prompt answer, I realize now that I shouldn't try to fool the system by using obscure ways. BUT ..... If I use the suggested "contact"-path, could u pls explain what is the major difference between a notification and an event? If I already have in production a event-handler script that works fine (except for not using the CONTACTx stuff), would I then disable "event_handler processing" completely and use the contactgroup in a host definition to use a contact that would call the same script as I am using for events? The example I gave before is somewhat shortened, here is what I really use define command { command_name send_snmptrap_host command_line /usr/bin/perl $USER1$/eventhandlers/send_nagiostrap HOST $HOSTSTATE$ $HOSTSTATETYPE$ $HOSTATTEMPT$ $HOSTNAME$#$HOSTADDRESS$#$HOSTALIAS$#$SERVICEDESC$#$USER2$ } Would I still be able to use the above macros through a notification command? Would the macros above contain the exact same information if I used them in a notification command rather than in a event_handler? So basically, If I understood u right, u say that I could do define host { name NOC-MAIN event_handler_enabled 0 register 0 notifications_enabled 1 contact_groups NOC_TRAP } define host { name host1 use NOC-MAIN alias my host1 address xxx.xxx.xxx.xxx check_command check-host-alive } define contactgroup { contactgroup_name NOC_TRAP alias noc trap contact members noc_trap } define contact { contact_name noc_trap alias contact for running traps service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands send_snmptrap_svc host_notification_commands send_snmptrap_host email xx at xx pager some number address1 text1 #address2 Network Security #address3 Network Security #address4 Network Security #address5 Network Security #address6 Network Security } would I loose any functionality at all by not using eventhandlers in favor of notification commands? would appreciate your help Regards Carlos de Sousa Marc Powell wrote: > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of Carlos de Sousa >>Sent: Thursday, March 09, 2006 1:02 PM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] event_handlers macro contactemail >> >>Hi! >> >>I am in real need for having access to the $CONTACTx$ macros in my >>eventhandlers. I am running Nagios V2. >> >>Would I get it to work if I did the following? >> >> >>define command { >> command_name send_snmptrap_host >> command_line /usr/bin/perl >>$USER1$/eventhandlers/send_nagiostrap $ARG1$ $ARG2$ >> >>} >> >>define host { >> name NOC-MAIN >> >> event_handler_enabled 1 ; Host event handler is > > enabled > >> >> register 0 ; DONT REGISTER THIS > > DEFINITION > >> notifications_enabled 0 >> event_handler >>send_snmptrap_host!$CONTACTEMAIL$!$CONTACTPAGER$ >> contact_groups NOC >>} >> > > > No, the $CONTACT*$ macros are not available to event handlers. See the > chart at -- > > http://nagios.sourceforge.net/docs/2_0/macros.html > > > >>Any other suggestion? > > > Why not make a contact whose notification command runs > send_nagiostrap_host and associate them with that host? You could also > build in logic into send_nagiostrap_host to gather that information from > some other source or the nagios config files themselves if the contact > route isn't acceptable to you. > > >>would it work if I put the event_handler keyword in the host >>definition for the host instead of in a template? > > > No, they're just not available to the event_handler subsystem at all. > > -- > Marc > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Carlos de Sousa Ericsson AB Phone: +46 8 56860605 Mail: Carlos.de_Sousa at ericsson.com Disclaimer This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you. E-mail including attachments is susceptible to data corruption,interruption, unauthorized amendment, tampering and viruses, and we only send and receive e-mails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof. -------------- next part -------------- A non-text attachment was scrubbed... Name: Carlos.de_Sousa.vcf Type: text/x-vcard Size: 161 bytes Desc: not available URL: From ton.voon at altinity.com Thu Mar 9 23:23:20 2006 From: ton.voon at altinity.com (Ton Voon) Date: Thu, 9 Mar 2006 22:23:20 +0000 Subject: Security in the cgi In-Reply-To: <302ce8b50603090744o446e77c0tcf81e0a291f19fda@mail.gmail.com> References: <44104460.6030108@vegait.com.br> <302ce8b50603090744o446e77c0tcf81e0a291f19fda@mail.gmail.com> Message-ID: <46F8FE7A-81A9-4015-BBC4-3C0606D30137@altinity.com> On 9 Mar 2006, at 15:44, Jim Perrin wrote: > On 3/9/06, Rafael Bandeira da Costa wrote: >> Alan Maxwell escreveu: >> >> Is it possible to setup the security to allow a login to be able >> acknowledge >> alerts but not be able to disable services and hosts? >> Using nagios 2.0 >> >> > > There is a patch at > http://altinity.blogs.com/dotorg/patches/issue_commands_1.patch that > allows users to view items, but not issue any changes. It seems to > work rather well. Hopefully it or something like it will make it in > the next 2.x update. It looks much nicer than the .htaccess denial > from a user perspective. See the 26 Feb article here > http://altinity.blogs.com/dotorg/nagios/index.html Jim, glad you like the patch. Ethan has committed it into Nagios 3.x, but has not chosen to put it into the 2.x branch. Make sure you let Ethan know if it should be in - if there's a lot of users, then I'm sure he'll reconsider. I'll try and make sure it always applies cleanly to 2.x. However, Alan's request won't work with this patch. He wants a user to be able to acknowledge an alert (which would involve submitting a command) but not disable services/hosts (which is submitting a different command). The patch only says whether a user can submit or not. There's no granularity in the types of commands in Nagios yet. 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkoponick at redhawk.info Thu Mar 9 23:24:10 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Thu, 9 Mar 2006 14:24:10 -0800 Subject: help please - SNMP Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109CAD@raptor.redhawk.info> Robert, Here is a brief sample of a check_snmp command that I using to grab the system description. define service { use Sensor-ND hostgroup_name Switches,Routers,Firewalls service_description Check-ND-Show-version check_command check_snmp!sysDescr.0!public register 1 } I do use a template for this one, but it's fairly simple (mostly defaults). When I want to find out what an OID is, or ?? I use snmpwalk to "walk" the MIB of the device. It gives enough information so you will want to start drinking early in the day. ;-) I hope that helped. Mike -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Robert Stewart Sent: Thursday, March 09, 2006 12:26 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] help please - SNMP I'm new to setting up SNMP on nagios. I need some pointers. I have downloaded the mibs that I need but I have never installed them on Suse 10 for nagios 2.0. Could you all tell me how I would get the mibs in place to be used by the ./check_snmp command. Could you all send me an example of the ./check_snmp command that you all use Thank you Robert Stewart SalesEng. E&H Integrated Systems ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: From deviousz at gmail.com Thu Mar 9 23:40:43 2006 From: deviousz at gmail.com (Dustin) Date: Thu, 9 Mar 2006 14:40:43 -0800 Subject: scriptalias error In-Reply-To: References: Message-ID: <844950720603091440r629d587exad58e0eccd031fc5@mail.gmail.com> On 3/9/06, Deborah Martin wrote: > Check that the conf.d/nagios.conf file exists first, then ensure its > included in the httpd.conf > (follow other examples that are in there) and then remove any extra nagios > specific lines from > httpd.conf and try /etc/init.d/apache2 configtest (thats what i use - amend > accordingly) > Yes, that helps... thanks for the info. I did in fact find this line in httpd.conf: /etc/init.d/apache2 configtest and verified that the nagios.conf exists in conf.d. > hope that helps. > > But just remember the docs always assume you are building from source (tars > etc) so RPM installs > are bound to be slightly different... Believe it or not, I was not aware that the install method (rpm vs. source) could change the setup procedure. Good info. Thanks! -Dustin ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnosc at hotmail.com Fri Mar 10 01:21:02 2006 From: jnosc at hotmail.com (Jody Noscov) Date: Fri, 10 Mar 2006 10:21:02 +1000 Subject: Authentication Issues Message-ID: Hi There, I have been having problems with authenticating my nagiosadmin user. It keeps prompting me. I have gone through the documentation over and over and did a complete reinstall of RedHat(8), just in case. I have a fresh new install of nagios, but am still recieving the prompt. I checked the error file and recieved this: [Fri Mar 10 10:06:38 2006] [error] [client 192.168.49.5] (13)Permission denied: Could not open password file: /usr/local/nagios/etc/htpasswd.users [Fri Mar 10 10:06:38 2006] [error] [client 192.168.49.5] user nagiosadmin not found: /nagios The only thing I have changed this time around is the folder in which the nagios user owns. It was the owner of /home/nagios even though i followed the documentation and used the 'chown nagios.nagios /usr/local/nagios' command. I have also re added the nagiosadmin user again using 'htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin' command. Also have added the following snippet to the httpd.conf file: 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 I am still recieving this error. (BAH!) _________________________________________________________________ Shopping made easy @ tradingpost.com.au http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fwww%2Etradingpost%2Ecom%2Eau%2F%3Freferrer%3DnmsnHMetagv1&_t=753082530&_r=emailtagline&_m=EXT ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Mar 10 01:31:13 2006 From: marc at ena.com (Marc Powell) Date: Thu, 9 Mar 2006 18:31:13 -0600 Subject: Authentication Issues Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jody Noscov > Sent: Thursday, March 09, 2006 6:21 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Authentication Issues > > Hi There, > > I have been having problems with authenticating my nagiosadmin user. It > keeps prompting me. I have gone through the documentation over and over > and > did a complete reinstall of RedHat(8), just in case. I have a fresh new > install of nagios, but am still recieving the prompt. > I checked the error file and recieved this: > [Fri Mar 10 10:06:38 2006] [error] [client 192.168.49.5] (13)Permission > denied: Could not open password file: /usr/local/nagios/etc/htpasswd.users ^^^^^^^^^^^^^^^^^^^^^^^^^^ Apache can not read this file either due to filesystem permissions on the file itself or directories above it. The file isn't being accessed by nagios but rather the user that apache is running as (apache? nobody?). You will need to allow sufficient permissions for apache to be able to read the file. If you do not know how to do that, post back the following - ls -l /usr/local/nagios/etc/htpasswd.users ls -l /usr/local | grep nagios ls -l /usr | grep local grep ^User /etc/httpd/conf/httpd.conf grep something /etc/group (where something is the what follows User in the last grep (i.e. apache or nobody)) -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Mar 10 02:07:03 2006 From: marc at ena.com (Marc Powell) Date: Thu, 9 Mar 2006 19:07:03 -0600 Subject: event_handlers macro contactemail Message-ID: Comments inline... > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Carlos de Sousa > Sent: Thursday, March 09, 2006 4:19 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] event_handlers macro contactemail > > Hi! > > Thanx for the prompt answer, I realize now that > I shouldn't try to fool the system by using obscure > ways. > > BUT ..... > > If I use the suggested "contact"-path, could u > pls explain what is the major difference between > a notification and an event? An event-handler is run for every non-OK check up to max_check_attempts (soft and hard states) and once when the service recovers to an OK state. A notification is launched when non-OK checks reach max_check_attempts (hard state), when a recovery occurs and whenever you have repeat notifications scheduled (if at all). I'm excluding escalations but those could be useful as well. > > If I already have in production a event-handler > script that works fine (except for not using the CONTACTx stuff), > would I then disable "event_handler processing" completely > and use the contactgroup in a host definition to use a contact > that would call the same script as I am using for events? If you did this then the event_handler would be redundant. I don't know what you're really trying to accomplish but a notification is the only way that the CONTACT_* macros are currently available directly from within Nagios. > The example I gave before is somewhat shortened, here is what > I really use > > define command { > command_name send_snmptrap_host > command_line /usr/bin/perl > $USER1$/eventhandlers/send_nagiostrap HOST $HOSTSTATE$ $HOSTSTATETYPE$ > $HOSTATTEMPT$ $HOSTNAME$#$HOSTADDRESS$#$HOSTALIAS$#$SERVICEDESC$#$USER2$ > } > > Would I still be able to use the above macros through a notification > command? I presume you'd be adding $CONTACTEMAIL$ and $CONTACTPAGER$ to the above but the answer is yes. Again, the chart linked below details where each macro is valid. Just look for a Yes in the Service Notifications or Host Notifications column, whichever you are going to use -- http://nagios.sourceforge.net/docs/2_0/macros.html > Would the macros above contain the exact same information if I used > them in a notification command rather than in a event_handler? Yes, with the caveat that they're only run when the check reaches a HARD state so $HOSTSTATETYPE$ would always be HARD and $HOSTATTEMPT$ would always be max_check_attempts for that host (I believe). > So basically, If I understood u right, u say that I could do > [config example removed] Looks workable to me. > would I loose any functionality at all by not using eventhandlers > in favor of notification commands? Some, related to when they are executed as noted above. Whether that's important or not is up to you. From what I've gathered, you're looking for kind of fire-and-forget functionality which is very similar to a notification. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Mar 10 02:18:43 2006 From: marc at ena.com (Marc Powell) Date: Thu, 9 Mar 2006 19:18:43 -0600 Subject: Authentication Issues Message-ID: Please always post on-list so that your experience will be available in the archives for the benefit of future users. > -----Original Message----- > From: Jody Noscov [mailto:jnosc at hotmail.com] > Sent: Thursday, March 09, 2006 6:50 PM > To: Marc Powell > Subject: RE: [Nagios-users] Authentication Issues > > This is what I have > > [root at localhost root]# ls -l /usr/local/nagios/etc/htpasswd.users > -rw------- 1 root root 26 Mar 10 09:57 > /usr/local/nagios/etc/htpasswd.users [chop] > [root at localhost root]# grep apache /etc/group > apache:x:48:nagios > nagcmd:x:501:apache,nagios htpasswd.users is only readable by root. To fix, run as root -- chmod 640 /usr/local/nagios/etc/htpasswd.users chown nagios:nagcmd /usr/local/nagios/etc/htpasswd.users When you add new users or edit the file, do so as the nagios user or verify permissions afterward. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Carlos.de_Sousa at ericsson.com Fri Mar 10 02:59:28 2006 From: Carlos.de_Sousa at ericsson.com (Carlos de Sousa) Date: Fri, 10 Mar 2006 02:59:28 +0100 Subject: event_handlers macro contactemail In-Reply-To: References: Message-ID: <4410DD80.9070600@ericsson.com> Thanx again for your answer, I think things are getting clearer now! Actually, it is not a fire-and-forget kind of thing. I started with Nagios V1 a long time ago, and are using the eventhandler to send snmptraps to a TEMIP console. I have developed our own "NAGIOS-MIB" that is integrated into TEMIP (remember this was long before V2 was announced) to Keep the TRAP and TRAP_CLEAR in SYNC, the eventhandler uses a sequence number for the alarm, and the eventhandler keeps a STATE database with seq number, so for example, when I get a UP or OK from Nagios, I lookup the host/service pair in the local DB and send off a CLEAR/RESET trap with the same SEQ number as when SERVICE/HOST went CRITICAL/DOWN. So it's imperative that I always have a matching UP/OK for each DOWN/CRITICAL, that is basically the only states I bother to handle. One of the many MIB variables in the TRAP is a URL, that contains all kind of info, When the NOC people see the alarm in TEMIP, we have a modification so that they get a drop-down menu with the choice to surf to the URL, which will bring up a WEB browser containing alarm instructions (dynamically generated by a CGI I have developed that gets the information for the Instruction thru the URL in the MIB) And that is why I would like to send the CONTACT to be able to present it on the Alarm Inst. WEB page so the NOC knows where to send any questions too as we have different TEAM's that manages different hostgroups We are also doing HEARTBEAT functionality so that TEMIP gets an alarm if the NAGIOS processes are not running on the box, but that is another story. Is there a better way of doing this with Nagios V2? I have seen some references to a NAGIOS MIB for V2, but haven't looked any closer. Would the notification be sufficient to trig the above mentioned states? We have around 600 devices around the world that we monitor from 3 different NAGIOS thats uses my stuff to send all alarms to 1 central TEMIP. Any suggestions? Appreciate any input. Regards Carlos de Sousa Marc Powell wrote: > Comments inline... > > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of Carlos de Sousa >>Sent: Thursday, March 09, 2006 4:19 PM >>To: nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] event_handlers macro contactemail >> >>Hi! >> >>Thanx for the prompt answer, I realize now that >>I shouldn't try to fool the system by using obscure >>ways. >> >>BUT ..... >> >> If I use the suggested "contact"-path, could u >>pls explain what is the major difference between >>a notification and an event? > > > An event-handler is run for every non-OK check up to max_check_attempts > (soft and hard states) and once when the service recovers to an OK > state. A notification is launched when non-OK checks reach > max_check_attempts (hard state), when a recovery occurs and whenever you > have repeat notifications scheduled (if at all). I'm excluding > escalations but those could be useful as well. > > >>If I already have in production a event-handler >>script that works fine (except for not using the CONTACTx stuff), >>would I then disable "event_handler processing" completely >>and use the contactgroup in a host definition to use a contact >>that would call the same script as I am using for events? > > > If you did this then the event_handler would be redundant. I don't know > what you're really trying to accomplish but a notification is the only > way that the CONTACT_* macros are currently available directly from > within Nagios. > > >>The example I gave before is somewhat shortened, here is what >>I really use >> >>define command { >>command_name send_snmptrap_host >>command_line /usr/bin/perl >>$USER1$/eventhandlers/send_nagiostrap HOST $HOSTSTATE$ $HOSTSTATETYPE$ >>$HOSTATTEMPT$ > > $HOSTNAME$#$HOSTADDRESS$#$HOSTALIAS$#$SERVICEDESC$#$USER2$ > >>} >> >>Would I still be able to use the above macros through a notification >>command? > > > I presume you'd be adding $CONTACTEMAIL$ and $CONTACTPAGER$ to the above > but the answer is yes. Again, the chart linked below details where each > macro is valid. Just look for a Yes in the Service Notifications or Host > Notifications column, whichever you are going to use -- > > http://nagios.sourceforge.net/docs/2_0/macros.html > > >>Would the macros above contain the exact same information if I used >>them in a notification command rather than in a event_handler? > > > Yes, with the caveat that they're only run when the check reaches a HARD > state so $HOSTSTATETYPE$ would always be HARD and $HOSTATTEMPT$ would > always be max_check_attempts for that host (I believe). > > >>So basically, If I understood u right, u say that I could do >> > > [config example removed] > > Looks workable to me. > > >>would I loose any functionality at all by not using eventhandlers >>in favor of notification commands? > > > Some, related to when they are executed as noted above. Whether that's > important or not is up to you. From what I've gathered, you're looking > for kind of fire-and-forget functionality which is very similar to a > notification. > > -- > Marc > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Carlos de Sousa Ericsson AB Phone: +46 8 56860605 Mail: Carlos.de_Sousa at ericsson.com Disclaimer This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you. E-mail including attachments is susceptible to data corruption,interruption, unauthorized amendment, tampering and viruses, and we only send and receive e-mails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof. -------------- next part -------------- A non-text attachment was scrubbed... Name: Carlos.de_Sousa.vcf Type: text/x-vcard Size: 161 bytes Desc: not available URL: From jnosc at hotmail.com Fri Mar 10 04:50:15 2006 From: jnosc at hotmail.com (Jody Noscov) Date: Fri, 10 Mar 2006 13:50:15 +1000 Subject: Authentication Issues In-Reply-To: References: Message-ID: Awesome thanks for your help :-) I'm In!! > >Please always post on-list so that your experience will be available in >the archives for the benefit of future users. > > > -----Original Message----- > > From: Jody Noscov [mailto:jnosc at hotmail.com] > > Sent: Thursday, March 09, 2006 6:50 PM > > To: Marc Powell > > Subject: RE: [Nagios-users] Authentication Issues > > > > This is what I have > > > > [root at localhost root]# ls -l /usr/local/nagios/etc/htpasswd.users > > -rw------- 1 root root 26 Mar 10 09:57 > > /usr/local/nagios/etc/htpasswd.users > >[chop] > > > [root at localhost root]# grep apache /etc/group > > apache:x:48:nagios > > nagcmd:x:501:apache,nagios > >htpasswd.users is only readable by root. To fix, run as root -- > >chmod 640 /usr/local/nagios/etc/htpasswd.users >chown nagios:nagcmd /usr/local/nagios/etc/htpasswd.users > >When you add new users or edit the file, do so as the nagios user or >verify permissions afterward. > >-- >Marc > > > > >------------------------------------------------------- >This SF.Net email is sponsored by xPML, a groundbreaking scripting language >that extends applications into web and mobile media. Attend the live >webcast >and join the prime developer group breaking into this new coding territory! >http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null _________________________________________________________________ New year, new job ? there's more than 100,00 jobs at SEEK http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau&_t=752315885&_r=Jan05_tagline&_m=EXT ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard.gliebe at fhv.at Fri Mar 10 12:16:34 2006 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Fri, 10 Mar 2006 12:16:34 +0100 Subject: snmp - mibs Message-ID: <1141989395.7581.24.camel@localhost.localdomain> Hi, I have to monitor the toner capacity of our HPLaserJets via snmp. The Mibs: prtMarkerSuppliesMaxCapacity: 1.3.6.1.2.1.43.11.1.1.8.1.1 prtMarkerSuppliesLevel: 1.3.6.1.2.1.43.11.1.1.9.1.1 from http://www.oidview.com/mibs/0/Printer-MIB.html works fine for most of our HPLaserJet, but for the _HP LaserJet 5000 Series _HP LaserJet 5100 Series _Xerox Phaser 7300 DT _HP LaserJet 5M Printers does someone know the right mibs for these printers ? thanks in advance Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Mar 10 14:35:21 2006 From: xavier at rootshell.be (Xavier Mertens) Date: Fri, 10 Mar 2006 14:35:21 +0100 (CET) Subject: Smallest overview as possible? Message-ID: Hi *, I'm looking for a small overview screen which could be integrated in a frame (on a global monitoring dashboard). I found pdatac.cgi on NagiosExchange but it display a very long TAC page (limited on 280 pixels width) Anybody has another solution? Something displayed in 300x300 should be perfect! Regards, Xavier -- If it works, don't fix it. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Zimmer at oppenheim.de Fri Mar 10 14:58:26 2006 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Fri, 10 Mar 2006 14:58:26 +0100 Subject: AW: Smallest overview as possible? Message-ID: <9A834A8DCEC68648B20701E1CDE109250295ED8A@OKWPMXS01.de.sal-opp.net> Hi Xavier, If you are using windows-clients, the ntray is a fine solution. It sets itself into the windumb taskbar, and alerts with sounds and popup-windows if an error occurs. As far as i know, you can retrieve it from nagios-exchange, and ther should be other quick-overviews and clients in the category "AddOns->Frontends" Greetz, Thomas. Thomas Zimmer Produktservice & Betrieb Betrieb & Support Sal. Oppenheim jr. & Cie., Frankfurt a. Main Telefon: +49 69 7134 5192 Internet: http://www.oppenheim.de E-Mail: thomas.zimmer at oppenheim.de -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Xavier Mertens Gesendet: Freitag, 10. M?rz 2006 14:35 An: Nagios Users Betreff: [Nagios-users] Smallest overview as possible? Hi *, I'm looking for a small overview screen which could be integrated in a frame (on a global monitoring dashboard). I found pdatac.cgi on NagiosExchange but it display a very long TAC page (limited on 280 pixels width) Anybody has another solution? Something displayed in 300x300 should be perfect! Regards, Xavier -- If it works, don't fix it. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Zimmer, Thomas (Produktservices und Betrieb).vcf Type: application/octet-stream Size: 254 bytes Desc: not available URL: From xavier at rootshell.be Fri Mar 10 15:35:10 2006 From: xavier at rootshell.be (Xavier Mertens) Date: Fri, 10 Mar 2006 15:35:10 +0100 (CET) Subject: AW: Smallest overview as possible? In-Reply-To: <9A834A8DCEC68648B20701E1CDE109250295ED8A@OKWPMXS01.de.sal-opp.net> References: <9A834A8DCEC68648B20701E1CDE109250295ED8A@OKWPMXS01.de.sal-opp.net> Message-ID: Hi Thomas, I know ntray, but in this case, the "dashboard" must be web-based :/ Xavier -- "Research is what I'm doing when I don't know what I'm doing." - Wernher Von Braun (1912-1977) On Fri, 10 Mar 2006 Thomas.Zimmer at oppenheim.de wrote: > Hi Xavier, > > If you are using windows-clients, the ntray is a fine solution. It sets > itself into the windumb taskbar, and alerts with sounds and popup-windows if > an error occurs. As far as i know, you can retrieve it from nagios-exchange, > and ther should be other quick-overviews and clients in the category > "AddOns->Frontends" > > Greetz, Thomas. > > Thomas Zimmer > Produktservice & Betrieb > Betrieb & Support > Sal. Oppenheim jr. & Cie., Frankfurt a. Main > Telefon: +49 69 7134 5192 > Internet: http://www.oppenheim.de > E-Mail: thomas.zimmer at oppenheim.de > > > > -----Urspr?ngliche Nachricht----- > Von: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Xavier > Mertens > Gesendet: Freitag, 10. M?rz 2006 14:35 > An: Nagios Users > Betreff: [Nagios-users] Smallest overview as possible? > > > Hi *, > > I'm looking for a small overview screen which could be integrated in a frame > (on a global monitoring dashboard). > > I found pdatac.cgi on NagiosExchange but it display a very long TAC page > (limited on 280 pixels width) > > Anybody has another solution? Something displayed in 300x300 should be > perfect! > > Regards, > Xavier > -- > If it works, don't fix it. > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > From Daniel.Tardy at canson.fr Fri Mar 10 16:03:51 2006 From: Daniel.Tardy at canson.fr (Daniel.Tardy at canson.fr) Date: Fri, 10 Mar 2006 16:03:51 +0100 Subject: Check a telnet on a particular port and launch the dependent procedure In-Reply-To: References: Message-ID: Good morning everybody, I need to do a telnet 10.21211212 22 and check the result. I'm a new user of Nagios and I don't know to tell Nagios to do this telnet and then I don't know how to know the result and send a message or a command depending on this result. Il someone has the know how, tanks a lot to help me. Best regards, Daniel TARDY -------------- next part -------------- An HTML attachment was scrubbed... URL: From gardealuis at gmail.com Fri Mar 10 17:45:27 2006 From: gardealuis at gmail.com (Luis Gardea) Date: Fri, 10 Mar 2006 09:45:27 -0700 Subject: check ldap and oracle Message-ID: <44f056cc0603100845h21c6a43fuea3b1baeace056de@mail.gmail.com> Hi I need install a client in nagios server to monitoring ldap and oracle? Because when I put check_ldap or check_oracle I recived errors Thanks ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Fri Mar 10 17:59:07 2006 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Fri, 10 Mar 2006 11:59:07 -0500 Subject: cluster vs cluster2 vs config suggestions Message-ID: Hi all, Question 1 - Is there a difference between check_cluster and check_cluster2? Question 2 Since the variable $HOSTADDRESS$ is not pass to the check_cluster command and that hosts status are pass in the command, how did you guys configure your stuff for the cluster service? I was thinking about making a "ghost" host , with no notification, with nothing, witch would have multiple cluster services. Something like... define host clusterchecker 127.0.0.1 .... Service cluster-apps{ host_name clusterchecker command check_cluster2..........!server-app1,server-app2,etc } Service cluster-web{ host_name clusterchecker command check_cluster2..................!web1,web2,etc } --------------------------------------------------- Alexandre Racine - Gardien Virtuel - S?curit? Informatique www.gardienvirtuel.com Montr?al, Qu?bec, Canada ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tero.Ripattila at extremia.fi Fri Mar 10 20:48:30 2006 From: Tero.Ripattila at extremia.fi (Tero Ripattila) Date: Fri, 10 Mar 2006 21:48:30 +0200 Subject: What should submit_check_result look like? Message-ID: <537798008.20060310214830@extremia.fi> Hello folks, I'm a bit confused what should submit_check_result command implementation look like as the one shipped with nagios [1] differs from the one presented in documentation, [2]. [1] #!/bin/sh # SUBMIT_CHECK_RESULT # Written by Ethan Galstad (nagios at nagios.org) # Last Modified: 02-18-2002 # # This script will write a command to the Nagios command # file to cause Nagios to process a passive service check # result. Note: This script is intended to be run on the # same host that is running Nagios. If you want to # submit passive check results from a remote machine, look # at using the nsca addon. # # Arguments: # $1 = host_name (Short name of host that the service is # associated with) # $2 = svc_description (Description of the service) # $3 = return_code (An integer that determines the state # of the service check, 0=OK, 1=WARNING, 2=CRITICAL, # 3=UNKNOWN). # $4 = plugin_output (A text string that should be used # as the plugin output for the service check) # echocmd="/bin/echo" CommandFile="/var/log/nagios/rw/nagios.cmd" # get the current date/time in seconds since UNIX epoch datetime=`date +%s` # create the command line to add to the command file cmdline="[$datetime] PROCESS_SERVICE_CHECK_RESULT;$1;$2;$3;$4" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` [2] #!/bin/sh # Arguments: # $1 = host_name (Short name of host that the service is # associated with) # $2 = svc_description (Description of the service) # $3 = state_string (A string representing the status of # the given service - "OK", "WARNING", "CRITICAL" # or "UNKNOWN") # $4 = plugin_output (A text string that should be used # as the plugin output for the service checks) # # Convert the state string to the corresponding return code return_code=-1 case "$3" in OK) return_code=0 ;; WARNING) return_code=1 ;; CRITICAL) return_code=2 ;; UNKNOWN) return_code=-1 ;; esac # pipe the service check info into the send_nsca program, which # in turn transmits the data to the nsca daemon on the central # monitoring server /bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | /usr/sbin/send_nsca 212.16.101.111 -c /etc/nagios/send_nsca.cfg -- Tero Ripattila ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From estair at ilm.com Fri Mar 10 21:12:15 2006 From: estair at ilm.com (Eli Stair) Date: Fri, 10 Mar 2006 12:12:15 -0800 Subject: Check a telnet on a particular port and launch the dependent procedure In-Reply-To: References: Message-ID: <4411DD9F.5070200@ilm.com> Check google and/or nagiosplug.sourceforge.net, you'll find at least plugins to let you check the SSH banner (if that's all you want to do) and run commands/send output back to the plugin (check_ssh | check_by_ssh). That's assuming you meant ssh and not telnet, if you need telnet I've hacked up a simple Net::Telnet script to do the same things as the ssh plugs. Likely you'll want check_ssh however. /eli Daniel.Tardy at canson.fr wrote: > > Good morning everybody, > I need to do a telnet 10.21211212 22 and check the result. > I'm a new user of Nagios and I don't know to tell Nagios to do this > telnet and then I don't know how to know the result and send a message > or a command depending on this result. > Il someone has the know how, tanks a lot to help me. > Best regards, > Daniel TARDY ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdehnert at caymas.com Fri Mar 10 23:29:02 2006 From: jdehnert at caymas.com (Dehnert James Sr) Date: Fri, 10 Mar 2006 14:29:02 -0800 Subject: Event Handlers In-Reply-To: <4411DD9F.5070200@ilm.com> References: <4411DD9F.5070200@ilm.com> Message-ID: Most of all of the processes and such I monitor are not on the Nagios server. I do want to be able to use event handlers to try and resolve things before I get paged though, so I am wondering if there is a plug-in that can be used through NCSA or NRPE that will allow me to run an event handler script on a remote system. Thanks, Zeke -- mailto:jdehnert at caymas.com James "Zeke" Dehnert Phone: 707 283 5042 Fax: 707 283 5001 -= Eschew Obfuscation =- "Life is racing, everything else is just waiting" Arrested Development ==>> http://www.the-op.com -------------- next part -------------- A non-text attachment was scrubbed... Name: caymas-sig2.gif Type: image/gif Size: 11727 bytes Desc: not available URL: -------------- next part -------------- From marc at ena.com Sat Mar 11 00:03:35 2006 From: marc at ena.com (Marc Powell) Date: Fri, 10 Mar 2006 17:03:35 -0600 Subject: Check a telnet on a particular port and launch the dependent procedure Message-ID: Or check_tcp may be more than sufficient. The OP doesn't explain enough about what he's wanting to do to be sure. Daniel - Run 'check_tcp --help' and see if that suits your needs. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Eli Stair > Sent: Friday, March 10, 2006 2:12 PM > To: Daniel.Tardy at canson.fr > Cc: nagios-users at lists.sourceforge.net; nagios-users- > admin at lists.sourceforge.net > Subject: Re: [Nagios-users] Check a telnet on a particular port and launch > the dependent procedure > > > Check google and/or nagiosplug.sourceforge.net, you'll find at least > plugins to let you check the SSH banner (if that's all you want to do) > and run commands/send output back to the plugin (check_ssh | > check_by_ssh). That's assuming you meant ssh and not telnet, if you > need telnet I've hacked up a simple Net::Telnet script to do the same > things as the ssh plugs. Likely you'll want check_ssh however. > > /eli > > Daniel.Tardy at canson.fr wrote: > > > > Good morning everybody, > > I need to do a telnet 10.21211212 22 and check the result. > > I'm a new user of Nagios and I don't know to tell Nagios to do this > > telnet and then I don't know how to know the result and send a message > > or a command depending on this result. > > Il someone has the know how, tanks a lot to help me. > > Best regards, > > Daniel TARDY > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 bydesignpublishing.com Sat Mar 11 00:16:55 2006 From: jim at bydesignpublishing.com (Jim Rice) Date: Fri, 10 Mar 2006 15:16:55 -0800 Subject: How to check disk space on remote systems Message-ID: <1142032615.30483.255.camel@james.homebydesign.com> I've run check_disk_local but did not find a check_disk_remote command. A cursory search of the archives mentioned check_by_ssh ... I did find get a clear answer. How do I issue the appropriate command? Does the executable need to be installed on the remote system? What else might also need to be there to function properly? Thanks! -- Jim Rice by Design Publishing 11626 N. Tracey Road Hayden, Idaho 83835 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From german at gridshield.net Fri Mar 10 18:40:12 2006 From: german at gridshield.net (German Solis) Date: Fri, 10 Mar 2006 17:40:12 +0000 Subject: How to check disk space on remote systems In-Reply-To: <1142032615.30483.255.camel@james.homebydesign.com> References: <1142032615.30483.255.camel@james.homebydesign.com> Message-ID: <4411B9FC.5010309@gridshield.net> I suggest you to check nrpe. With this, you define your commands in the hosts and you invoke the command like this ( I dont remember exactly). file checkcommands.cfg ..... command check_nrpr!check_my_command .... on the host, in your /etc/nrpe.cfg you have: command{check_my_command}=/urs/lib/nagios/pluguins/whatever_pluging_you_want_to_excecute_and_parameters. Reggards. G.. Jim Rice wrote: >I've run check_disk_local but did not find a check_disk_remote command. > >A cursory search of the archives mentioned check_by_ssh ... >I did find get a clear answer. > >How do I issue the appropriate command? >Does the executable need to be installed on the remote system? >What else might also need to be there to function properly? > >Thanks! > > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matisse.enzer at barclaysglobal.com Sat Mar 11 01:08:32 2006 From: matisse.enzer at barclaysglobal.com (Enzer, Matisse BGI SF) Date: Fri, 10 Mar 2006 16:08:32 -0800 Subject: check_ping segmentation fault on Solaris 10 Message-ID: Hmmm. The check_ping plugin dumps core.... Is this a known issue? ~/nagios/libexec: uname -a SunOS rdcuxsrv143 5.10 Generic_118822-20 sun4u sparc SUNW,Sun-Fire-V890 Solaris ~/nagios/libexec: ./check_ping -H localhost -w "99,5%" -c "100,20%" -p 1 Segmentation fault (core dumped) ~/nagios/libexec: And here's the tailend of truss output: 3980: open64("/var/run/name_service_door", O_RDONLY) = 3 3980: fcntl(3, F_SETFD, 0x00000001) = 0 3980: door_info(3, 0xFEBEF7E8) = 0 3980: door_call(3, 0xFFBFC1F8) = 0 3980: brk(0x0002B7E8) = 0 3980: brk(0x0002D7E8) = 0 3980: sigaction(SIGALRM, 0xFFBFE778, 0xFFBFE818) = 0 3980: alarm(10) = 0 3980: fstat64(63, 0xFFBFD978) Err#9 EBADF 3980: fstat64(63, 0xFFBFD820) Err#9 EBADF 3980: ioctl(63, TCGETA, 0xFFBFD904) Err#9 EBADF 3980: Incurred fault #6, FLTBOUNDS %pc = 0xFF1D099C 3980: siginfo: SIGSEGV SEGV_MAPERR addr=0x0002E000 3980: Received signal #11, SIGSEGV [default] 3980: siginfo: SIGSEGV SEGV_MAPERR addr=0x0002E000 This message and any attachments are confidential, proprietary, and may be privileged. If this message was misdirected, Barclays Global Investors (BGI) does not waive any confidentiality or privilege. If you are not the intended recipient, please notify us immediately and destroy the message without disclosing its contents to anyone. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. The views and opinions expressed in this e-mail message are the author's own and may not reflect the views and opinions of BGI, unless the author is authorized by BGI to express such views or opinions on its behalf. All email sent to or from this address is subject to electronic storage and review by BGI. Although BGI operates anti-virus programs, it does not accept responsibility for any damage whatsoever caused by viruses being passed. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asmoore at edge.net Sat Mar 11 01:29:39 2006 From: asmoore at edge.net (Alex Moore) Date: Fri, 10 Mar 2006 18:29:39 -0600 Subject: check_ping segmentation fault on Solaris 10 In-Reply-To: References: Message-ID: <20060310182939.00006052@sws602.mcsun.local> On Fri, 10 Mar 2006 16:08:32 -0800 "Enzer, Matisse BGI SF" wrote: > Hmmm. The check_ping plugin dumps core.... Is this a known issue? > > ~/nagios/libexec: uname -a > SunOS rdcuxsrv143 5.10 Generic_118822-20 sun4u sparc > SUNW,Sun-Fire-V890 Solaris > ~/nagios/libexec: ./check_ping -H localhost -w "99,5%" -c "100,20%" > -p 1 > Segmentation fault (core dumped) > ~/nagios/libexec: I do not know why you are getting SEGV, but here is the output on my workstation. --- [amoore at sws602 ~]$ uname -a SunOS sws602 5.10 Generic_118822-30 sun4u sparc SUNW,Ultra-60 [amoore at sws602 ~]$ /opt/csw/libexec/nagios-plugins/check_ping -H localhost -w "88,5%" -c "100,20%" -p 1 PING OK - Packet loss = 0%, RTA = 0.42 ms [amoore at sws602 ~]$ pkgparam -v CSWnagiosp VERSION VERSION='1.4.2,REV=2006.02.28' --- Alex ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vladimir.smirnov at military-inc.com Sat Mar 11 02:37:38 2006 From: vladimir.smirnov at military-inc.com (Vladimir Smirnov) Date: Fri, 10 Mar 2006 17:37:38 -0800 Subject: URGENT!!! Notifications are not being sent! HELP!!! Message-ID: <6D6559E2F45EED44A9DF53617970FE2B068E5162@sfpmail-3.military-inc.net> I have nagios setup and running. I have contactgroups.cfg setup and basically everything is running. Even the command that sends an email from nagios in the command line works, but from nagios I am not able to receive any email. Please help. I will post any cfg files that you need to help me. Thanks Vladimir -------------- next part -------------- An HTML attachment was scrubbed... URL: From az at whoever.org Sat Mar 11 03:29:30 2006 From: az at whoever.org (Az) Date: Sat, 11 Mar 2006 12:29:30 +1000 Subject: cluster vs cluster2 vs config suggestions In-Reply-To: References: Message-ID: <4412360A.5080104@whoever.org> >Question 1 - Is there a difference between check_cluster and check_cluster2? > > Outwardly, just the way you use them. #2 seems tidier in the way you do it. Inwardly, I would assume #2 does it better but I've not looked into the code of each to confirm this myself. >Question 2 > >Since the variable $HOSTADDRESS$ is not pass to the check_cluster command and that hosts status are pass in the command, how did you guys configure your stuff for the cluster service? > >I was thinking about making a "ghost" host , with no notification, with nothing, witch would have multiple cluster services. Something like... > > There's probably 100 ways to skin this cat. The way we've done these sorts of setups in v1.x (and again when we upgraded to v2) are along the lines of... * A host definition for each _physical_ cluster node (eg ahost01a, ahost01b...). * Add the usual suspects for service checks to each _physical_ (eg local disk, cpu, memory, swap...). * A host definition for the _virtual_ node(s) in the cluster (eg ahost01-print, ahost01-file...). * Add the clustered service checks to the _virtuals_, including a check_cluster one as well (eg only the disks and service checks that relate to that clustered service). This would only work if you have a separate service IP for each of the _virtuals_, and the host names in all cases would depend on how you name your hosts. We name our cluster nodes with the node suffix for this reason (ahost01a and ahost01b are part of a cluster, virtually, called ahost01). The above gets messy when you have, say, 10 services on a 2 node cluster. You end up with 12 host defs, most of which have a single service. A variant is to have a pseudo-virtual node for the entire cluster (eg, physicals ahost01a and ahost01b, and virtual ahost01), and add the clustered services to that virtual. Thus you have only 3 host definitions. The down side is you will need to tweak the command defs as most use $HOSTNAME$ etc for the IP, and this wouldnt necessarily be valid if you have a unique IP for each service the cluster is providing. I guess it depends on how you expect things to appear (that is, what makes more sense in the mind of those who monitor your Nagios instance). ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffwilliams05 at gmail.com Sat Mar 11 04:11:00 2006 From: jeffwilliams05 at gmail.com (Jeff Williams) Date: Fri, 10 Mar 2006 21:11:00 -0600 Subject: multiple notification/escalation definitions In-Reply-To: <17e351010603080852i7ac012e9jd20ba3f991bf33fa@mail.gmail.com> References: <17e351010603061427x71e0ac71oc7fed5ebd73e6334@mail.gmail.com> <17e351010603080852i7ac012e9jd20ba3f991bf33fa@mail.gmail.com> Message-ID: <17e351010603101911s36a97275meb3fe599136a4da5@mail.gmail.com> On 3/6/06, Jeff Williams wrote: > > I'm wondering if I'm missing something or thinking about this > incorrectly. I have some hosts that have services and their contact > groups already defined like so: > > define service{ > use generic-service > host_name vader > service_description NTP > is_volatile 0 > check_period 24x7 > retry_check_interval 1 > contact_groups oncall,ulsysadmins,dba > notification_interval 5 > notification_period 24x7 > notification_options w,u,c,r > check_command check_ntp > } > > I also have an escalation for this service: > > define serviceescalation{ > host_name vader > service_description NTP > first_notification 2 > last_notification 2 > notification_interval 5 > contact_groups oncall > } > > define serviceescalation{ > host_name vader > service_description NTP > first_notification 3 > last_notification 4 > notification_interval 5 > contact_groups oncall,backup > } > define serviceescalation{ > host_name vader > service_description NTP > first_notification 5 > last_notification 0 > notification_interval 0 > contact_groups oncall,backup > } > > What I'm wondering is if I can add another contact for this service > that gets notified after 30 minutes, but only gets notified once. > Ideally I would like to be able to do this as easily as possible and > for an entire group of servers and for multiple services, if possible. > We are migrating from big brother and while big brother is not nearly > as complex and functional as Nagios, it can be done in big brother > with probably one line. Am I missing something though? Can a service > be defined twice? Or can I define it in an escalation that includes > the entire hostgroup that I want? Thanks in advance. > > Jeff Did my message get through to the list? -------------- next part -------------- An HTML attachment was scrubbed... URL: From RPreston at invacare.com Sat Mar 11 10:01:13 2006 From: RPreston at invacare.com (RPreston at invacare.com) Date: Sat, 11 Mar 2006 04:01:13 -0500 Subject: Rod Preston is out of the office. Message-ID: I will be out of the office starting 03/10/2006 and will not return until 03/15/2006. I will respond to your message when I return. ----------------------------------------- CONFIDENTIALITY NOTICE: The information in this e-mail message and any attachments may contain confidential health and/or other information protected by Federal and Ohio law. Such information is intended only for the individual or entity named above. If you are not the intended recipient, you are hereby notified that any use or disclosure is prohibited by law. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s4nag at no-where.at Sat Mar 11 12:23:28 2006 From: s4nag at no-where.at (Peter Gritsch) Date: Sat, 11 Mar 2006 12:23:28 +0100 Subject: SNMP4Nagios version 0.3 released Message-ID: <200603111223.28275.s4nag@no-where.at> Hi all, today version 0.3 of SNMP4Nagios was published. Major changes are: - Added "Nagios Plugins" style performance data. - Added compile time option "--without-rrd". - Replaced non-portable functions (asprintf(), basename()). - Improved configure output. For known issues with RRDTool please visit http://snmp4nagios.sourceforge.net/requirements.html SNMP4Nagios is a package of Nagios plugins which use SNMP to query hosts. While some of the plugins use standard MIBs, most are designed for vendor specific agents. Unlike other Nagios plugins, they are able to scan hosts for objects which can be monitored. Additionally they can keep performance logs and draw plots of these using Tobias Oetiker's RRDTool (now optionally). Currently devices by Brocade, Cisco, Compaq/HP and Network Appliance as well as computers running Microsoft Windows or Net-SNMP and uninterruptable power supplies are supported. Ciao, Peter -- Peter Gritsch mail: s4nag at no-where.at web: http://snmp4nagios.sourceforge.net/ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From az at whoever.org Sun Mar 12 01:26:59 2006 From: az at whoever.org (Az) Date: Sun, 12 Mar 2006 10:26:59 +1000 Subject: Sms message In-Reply-To: References: Message-ID: <44136AD3.2080003@whoever.org> You could always avoid the dialup part (what if your local telephone exchange is dead/lines cut) by using a GSM terminal (like the old Siemens M20). Get two with diffferent carrier SIMs to give yourself redundancy using SMS server tools (http://smstools.meinemullemaus.de/) to drive them. Of course, this just moves your point of failure further down the line... ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deballing at vassar.edu Sun Mar 12 01:47:53 2006 From: deballing at vassar.edu (Derek J. Balling) Date: Sat, 11 Mar 2006 19:47:53 -0500 Subject: Sms message In-Reply-To: <44136AD3.2080003@whoever.org> References: <44136AD3.2080003@whoever.org> Message-ID: <8E976385-99A3-418F-9625-B19EE0A1DC1C@vassar.edu> On Mar 11, 2006, at 7:26 PM, Az wrote: > You could always avoid the dialup part (what if your local > telephone exchange is dead/lines cut) by using a GSM terminal (like > the old Siemens M20). Get two with diffferent carrier SIMs to give > yourself redundancy using SMS server tools (http:// > smstools.meinemullemaus.de/) to drive them. Of course, this just > moves your point of failure further down the line... Does anyone know a good source for an M20 in the US? Or, alternatively, something functionally identical? I'm willing to import it, so long as it'd work on our Cingular GSM network. I'm fairly confident in my ability to convince our Cingular rep to let us put one of their SIM cards in it, etc. Cheers, D -- Derek J. Balling Systems Administrator Vassar College 124 Raymond Ave Box 13 - Computer Center 221 Poughkeepsie, NY 12604 (845) 437-7231 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2423 bytes Desc: not available URL: From john at johnbass.co.uk Sun Mar 12 10:56:41 2006 From: john at johnbass.co.uk (John Bass) Date: Sun, 12 Mar 2006 10:56:41 +0100 (CET) Subject: Status Map In-Reply-To: <626FC7C6A97381468FB872072AB5DDC801FE56@XCH-SW-42.sw.nos.boeing.com> References: <626FC7C6A97381468FB872072AB5DDC801FE56@XCH-SW-42.sw.nos.boeing.com> Message-ID: <20060312095641.B3E5D4F40E3@desire.netways.de> Hi EXT-Fuentes, Well, I hit the same problem of wanting to change the background colour of a host dependant on service status... which I have done.. a few mods to the statusmap.c, works a treat. - John Bass (JohnneyBoy) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=6916 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john at johnbass.co.uk Sun Mar 12 10:56:53 2006 From: john at johnbass.co.uk (John Bass) Date: Sun, 12 Mar 2006 10:56:53 +0100 (CET) Subject: Status Map In-Reply-To: <626FC7C6A97381468FB872072AB5DDC801FE56@XCH-SW-42.sw.nos.boeing.com> References: <626FC7C6A97381468FB872072AB5DDC801FE56@XCH-SW-42.sw.nos.boeing.com> Message-ID: <20060312095653.6AF424F40E3@desire.netways.de> Hi EXT-Fuentes, Well, I hit the same problem of wanting to change the background colour of a host dependant on service status... which I have done.. a few mods to the statusmap.c, works a treat. - John Bass (JohnneyBoy) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=6916 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 12 13:01:03 2006 From: moshesharon at gmail.com (moshe sharon) Date: Sun, 12 Mar 2006 14:01:03 +0200 Subject: Status Map In-Reply-To: <20060312095653.6AF424F40E3@desire.netways.de> References: <626FC7C6A97381468FB872072AB5DDC801FE56@XCH-SW-42.sw.nos.boeing.com> <20060312095653.6AF424F40E3@desire.netways.de> Message-ID: <88ad29240603120401uae2e481kfc65f545cae6d33f@mail.gmail.com> Hello This adds service problems information for the statusmap. im not sure about nagios 2.0 final but i manage to patch version 1.3 the link: http://www.nagiosexchange.org/Patches_2_0.67.0.html?&tx_netnagext_pi1[p_view]=386 No need for "couple of good books on programming and a few hundred hours of practicing" Moshe Sharon -------------- next part -------------- An HTML attachment was scrubbed... URL: From hvdkooij at vanderkooij.org Sun Mar 12 13:05:22 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 12 Mar 2006 13:05:22 +0100 (CET) Subject: scriptalias error In-Reply-To: <844950720603090850l39067900y6f6457485bbb1d42@mail.gmail.com> References: <844950720603082037g7c147d4dwaae19468bcb40719@mail.gmail.com> <844950720603090850l39067900y6f6457485bbb1d42@mail.gmail.com> Message-ID: On Thu, 9 Mar 2006, Dustin wrote: > Thanks for the reply, but how am I supposed to know this? The setup > docs here say to add those lines to my httpd.conf: > > http://nagios.sourceforge.net/docs/2_0/installweb.html > > Is this outdated documentation that I'm following? No. But you did not install from source. So the rest of the documentation must be not followed blindly either. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sun Mar 12 13:07:33 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 12 Mar 2006 13:07:33 +0100 (CET) Subject: Nagios escalations not working In-Reply-To: <1EE2544AB03AD34BAA60E9AA8AF1A8FE6C1904@EPI-EXB2.epidirect.epi> References: <1EE2544AB03AD34BAA60E9AA8AF1A8FE6C1904@EPI-EXB2.epidirect.epi> Message-ID: On Thu, 9 Mar 2006, Pavel Santos wrote: > Hugo, > > this is my escalations.cfg file: for now > > > define serviceescalation{ > host_name server1 > service_description HTTP > first_notification 3 > last_notification 5 > notification_interval 60 > contact_groups system-manager > } > define serviceescalation{ > host_name server1 > service_description HTTP > first_notification 6 > last_notification 10 > notification_interval 90 > contact_groups system-manager > } Where is the host definition? Escalation do not work untill you have a host defined. PS: Please, don't top post: A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Mar 12 14:01:58 2006 From: jperrin at gmail.com (Jim Perrin) Date: Sun, 12 Mar 2006 08:01:58 -0500 Subject: scriptalias error In-Reply-To: <844950720603091440r629d587exad58e0eccd031fc5@mail.gmail.com> References: <844950720603091440r629d587exad58e0eccd031fc5@mail.gmail.com> Message-ID: <302ce8b50603120501r27b71afbqbde72333fcf00ed@mail.gmail.com> On 3/9/06, Dustin wrote: > On 3/9/06, Deborah Martin wrote: > > Check that the conf.d/nagios.conf file exists first, then ensure its > > included in the httpd.conf > > (follow other examples that are in there) and then remove any extra nagios > > specific lines from > > httpd.conf and try /etc/init.d/apache2 configtest (thats what i use - amend > > accordingly) > > > > Yes, that helps... thanks for the info. I did in fact find this line > in httpd.conf: > > /etc/init.d/apache2 configtest > > and verified that the nagios.conf exists in conf.d. > > > hope that helps. > > > > But just remember the docs always assume you are building from source (tars > > etc) so RPM installs > > are bound to be slightly different... > > Believe it or not, I was not aware that the install method (rpm vs. > source) could change the setup procedure. Good info. For what it's worth, if you look back a couple days in the list, I've done up some rpm tutorials for nagios using dag's repo package. Might be worth a read for you. > Thanks! > -Dustin -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From forums at emat.be Sun Mar 12 16:20:31 2006 From: forums at emat.be (js) Date: Sun, 12 Mar 2006 16:20:31 +0100 Subject: WAP pages aren't working with serviceoutput containing html Message-ID: <44143C3F.5030904@emat.be> Hi all, The output of one of my plugin looks like this: Pressure is 12 bar. I don't use urlize to generate this, but instead I programmed my plugin to output this way. In de webinterface of nagios this tells me the status of the service. When clicking on the pluginoutput a page is generated with graphs etc,.... It's all working well within Nagios. But I'm having difficulties with the WAP/WML pages generated by Nagios for this service on my PDA and with the WML plugin for Firefox. It complains with an error like this: XML Parsing Error: not well-formed Location: resource://gre/res/hiddenWindow.html Line Number 12, Column 84: Info:Pressure is 12 bar. ----------------------------------------------------------------------------------^ It seems to indicate that the "=" is a problem? How can I solve or circumvent this problem? Wouldn't it be sensefull that nagios filters out the html tags from the serviceoutput when generating the wap pages? I can't drop this feature because it's needed for my pusposes. Tips, advice and comments are welcome! thanks in advance Jelle ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnosc at hotmail.com Mon Mar 13 01:28:30 2006 From: jnosc at hotmail.com (Jody Noscov) Date: Mon, 13 Mar 2006 10:28:30 +1000 Subject: Problems with the pre-flight check Message-ID: I have managed to start nagios, but it is not monitoring anything due to some problems encountered in the preflight check (which I had commented out to be able to at least start nagios) these problems are: Error: Command 'check-host-alive' has already been defined Error: Could not register command (config file '/usr/local/nagios/etc/minimal.cfg', starting on line 76) Error: Command 'check_local_disk' has already been defined Error: Could not register command (config file '/usr/local/nagios/etc/minimal.cfg', starting on line 92) How do I overcome these? Regards J _________________________________________________________________ mycareer.com.au: http://www.mycareer.com.au/?s_cid=213596 Land the Job ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Mon Mar 13 01:34:30 2006 From: jperrin at gmail.com (Jim Perrin) Date: Sun, 12 Mar 2006 19:34:30 -0500 Subject: Problems with the pre-flight check In-Reply-To: References: Message-ID: <302ce8b50603121634m1a7e2cfeyc21a6a651e86ae2b@mail.gmail.com> > How do I overcome these? You'll need to edit your nagios.cfg. minimal.cfg conflicts with some of the other files. You need to go through the files and check for conflicts. -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 13 02:20:34 2006 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Mon, 13 Mar 2006 12:20:34 +1100 Subject: SNMP, Dell Hardware Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6ABE6F15@mail01.ccia.local> Hi All I'm using Nagios (on Debian Sarge) to monitor our servers and I'm having difficulties getting chack_snmp to work. If I use the command `snmpget -v1 -m /root/DELL_10892.mib -c public myserver powerSupplyStatus.1.1` I get the result : MIB-Dell-10892::powerSupplyStatus.1.1 = INTEGER: ok(3) I'm pretty happy with that, but I need check_snmp to report back to nagios. >From the MIB I can see the following... DellStatus ::= INTEGER { other(1), -- the status of the object is not one of the following: unknown(2), -- the status of the object is unknown -- (not known or monitored) ok(3), -- the status of the object is ok nonCritical(4), -- the status of the object is warning, non-critical critical(5), -- the status of the object is critical (failure) nonRecoverable(6) -- the status of the object is non-recoverable (dead) } So for Nagios I expected the following to work... `./check_snmp -C public -H myserver -o powerSupplyStatus.1.1 -w 4 -c 5:6` results : SNMP CRITICAL - *3* Have I misunderstood how the warning and critical thresholds work ? Can anyone help ? I feel I'm close, if I can crack this I'll be set. thanks Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research -------------- next part -------------- An HTML attachment was scrubbed... URL: From jnosc at hotmail.com Mon Mar 13 02:22:48 2006 From: jnosc at hotmail.com (Jody Noscov) Date: Mon, 13 Mar 2006 11:22:48 +1000 Subject: Problems with the pre-flight check Message-ID: I have commented out the following in minimal.cfg #define command{ # command_name check_local_disk # command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ # } #define command{ # command_name check-host-alive # command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 99,99% -c #100,100% -p 1 # } This is not going to cause any problems later down the track is it? It is running ok now through the pre-flight check. _________________________________________________________________ Search for local singles online @ Lavalife - Click here http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Flavalife9%2Eninemsn%2Ecom%2Eau%2Fclickthru%2Fclickthru%2Eact%3Fid%3Dninemsn%26context%3Dan99%26locale%3Den%5FAU%26a%3D21550&_t=21550&_r=endtext&_m=EXT ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Mon Mar 13 04:40:33 2006 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sun, 12 Mar 2006 22:40:33 -0500 (EST) Subject: SNMP, Dell Hardware In-Reply-To: <2A67EA781EC7F949A2AB0A0D07A86C6ABE6F15@mail01.ccia.local> References: <2A67EA781EC7F949A2AB0A0D07A86C6ABE6F15@mail01.ccia.local> Message-ID: On Mon, 13 Mar 2006, Matthew Joyce wrote: > > Hi All > > I'm using Nagios (on Debian Sarge) to monitor our servers and I'm having > difficulties getting chack_snmp to work. > > If I use the command `snmpget -v1 -m /root/DELL_10892.mib -c public > myserver powerSupplyStatus.1.1` > I get the result : MIB-Dell-10892::powerSupplyStatus.1.1 = INTEGER: > ok(3) > > I'm pretty happy with that, but I need check_snmp to report back to > nagios. > >> From the MIB I can see the following... > > DellStatus ::= INTEGER { > other(1), -- the status of the object is not one of > the following: > unknown(2), -- the status of the object is unknown > -- (not known or monitored) > ok(3), -- the status of the object is ok > nonCritical(4), -- the status of the object is warning, > non-critical > critical(5), -- the status of the object is critical > (failure) > nonRecoverable(6) -- the status of the object is > non-recoverable (dead) > } > > So for Nagios I expected the following to work... > > `./check_snmp -C public -H myserver -o powerSupplyStatus.1.1 -w 4 -c > 5:6` > results : SNMP CRITICAL - *3* > > Have I misunderstood how the warning and critical thresholds work ? > Can anyone help ? > > I feel I'm close, if I can crack this I'll be set. > > thanks > which version of plugins? you may want to use "-w 4:6 -c 5:6" (-c will override -w) -- -sg ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 13 04:59:07 2006 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Mon, 13 Mar 2006 14:59:07 +1100 Subject: SNMP, Dell Hardware Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6ABE6F17@mail01.ccia.local> > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Monday, 13 March 2006 2:41 PM > To: Matthew Joyce > Cc: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] SNMP, Dell Hardware > > On Mon, 13 Mar 2006, Matthew Joyce wrote: > > > > > Hi All > > > > I'm using Nagios (on Debian Sarge) to monitor our servers and I'm > > having difficulties getting chack_snmp to work. > > > > If I use the command `snmpget -v1 -m /root/DELL_10892.mib -c public > > myserver powerSupplyStatus.1.1` I get the result : > > MIB-Dell-10892::powerSupplyStatus.1.1 = INTEGER: > > ok(3) > > > > I'm pretty happy with that, but I need check_snmp to report back to > > nagios. > > > >> From the MIB I can see the following... > > > > DellStatus ::= INTEGER { > > other(1), -- the status of the object is not one of > > the following: > > unknown(2), -- the status of the object is unknown > > -- (not known or monitored) > > ok(3), -- the status of the object is ok > > nonCritical(4), -- the status of the object is warning, > > non-critical > > critical(5), -- the status of the object is critical > > (failure) > > nonRecoverable(6) -- the status of the object is > > non-recoverable (dead) > > } > > > > So for Nagios I expected the following to work... > > > > `./check_snmp -C public -H myserver -o > powerSupplyStatus.1.1 -w 4 -c > > 5:6` results : SNMP CRITICAL - *3* > > > > Have I misunderstood how the warning and critical thresholds work ? > > Can anyone help ? > > > > I feel I'm close, if I can crack this I'll be set. > > > > thanks > > > > which version of plugins? > > you may want to use "-w 4:6 -c 5:6" (-c will override -w) > > > -- > -sg > I tried that, and many other permutations, but I always get either SNMP WARNING or CRITICAL. plugins Verion 1.4 I think I may have to write a wrapper around snmpget. mj ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnosc at hotmail.com Mon Mar 13 06:31:59 2006 From: jnosc at hotmail.com (Jody Noscov) Date: Mon, 13 Mar 2006 15:31:59 +1000 Subject: Correct Syntax?? Message-ID: While attempting to start nagios I am recieving error similar to this one. sh: line 1: /check_ping: No such file or directory Warning: Return code of 127 for check of service 'PING' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. sh: line 1: /check_disk: No such file or directory I have done some reading on the forums and changed the location to the following so the plugins can be accessed. It doesn't seem to be working either. Am I using the correct syntax for these changes? define command{ command_name check-host-alive command_line $USER1$=/usr/local/nagios/libexec check_ping -H $HOSTADDRESS$ -w 99,99% -c 100,100% -p 1 } Thanx for your help :-) _________________________________________________________________ Shopping made easy @ tradingpost.com.au http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fwww%2Etradingpost%2Ecom%2Eau%2F%3Freferrer%3DnmsnHMetagv1&_t=753082530&_r=emailtagline&_m=EXT ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnosc at hotmail.com Mon Mar 13 06:57:47 2006 From: jnosc at hotmail.com (Jody Noscov) Date: Mon, 13 Mar 2006 15:57:47 +1000 Subject: Correct Syntax?? In-Reply-To: References: Message-ID: OK so after changing it around a little, I now get this error sh: line 1: =/usr/local/nagios/libexec/check_load: Permission denied Warning: Return code of 126 for check of service 'Current Load' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Sorry, Obviously this is for the Check_load file and not the one I stated earlier, as I said though I had a few errors, I was just changing the one that occured first to save time. Is there a command I can run to change the permissions on my libexec folder? Forgive my inexperience with linux. >From: "Jody Noscov" >To: Nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Correct Syntax?? >Date: Mon, 13 Mar 2006 15:31:59 +1000 > >While attempting to start nagios I am recieving error similar to this one. > > > >sh: line 1: /check_ping: No such file or directory >Warning: Return code of 127 for check of service 'PING' on host 'localhost' >was out of bounds. Make sure the plugin you're trying to run actually >exists. >sh: line 1: /check_disk: No such file or directory > >I have done some reading on the forums and changed the location to the >following so the plugins can be accessed. It doesn't seem to be working >either. Am I using the correct syntax for these changes? > > >define command{ > command_name check-host-alive > command_line $USER1$=/usr/local/nagios/libexec check_ping -H >$HOSTADDRESS$ -w 99,99% -c 100,100% -p 1 > } > >Thanx for your help :-) > >_________________________________________________________________ >Shopping made easy @ tradingpost.com.au >http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fwww%2Etradingpost%2Ecom%2Eau%2F%3Freferrer%3DnmsnHMetagv1&_t=753082530&_r=emailtagline&_m=EXT > > > >------------------------------------------------------- >This SF.Net email is sponsored by xPML, a groundbreaking scripting language >that extends applications into web and mobile media. Attend the live >webcast >and join the prime developer group breaking into this new coding territory! >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. ::: Messages without supporting info will risk being >sent to /dev/null _________________________________________________________________ careerone.com.au http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fadsfac%2Enet%2Flink%2Easp%3Fcc%3DNWS014%2E19163%2E0%26clk%3D1%26creativeID%3D28927&_t=752722611&_m=EXT ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 13 07:22:49 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 13 Mar 2006 07:22:49 +0100 (CET) Subject: Correct Syntax?? In-Reply-To: References: Message-ID: On Mon, 13 Mar 2006, Jody Noscov wrote: > define command{ > command_name check-host-alive > command_line $USER1$=/usr/local/nagios/libexec check_ping -H > $HOSTADDRESS$ -w 99,99% -c 100,100% -p 1 This can not be right. Either $USER1$ is defined so you do not have to use an absolute path: command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 99,99% -c 100,100% -p 1 Or you need to use the full path to the check: command_line /usr/local/nagios/libexec check_ping -H $HOSTADDRESS$ -w 99,99% -c 100,100% -p 1 But your syntax is not valid. Please refer to this mailinglist archive and the manual for other $USER1$ knowledge. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rod at arwholesalers.com Mon Mar 13 07:23:50 2006 From: rod at arwholesalers.com (rod at arwholesalers.com) Date: Mon, 13 Mar 2006 16:23:50 +1000 Subject: Incorrect command line arguments supplied Message-ID: I'm moving Nagios to a new server. I've installed and set-up as per instructions and its running fine except for all the UNIX check commands that use check_nrpe. They all show the "Incorrect command line arguments supplied" error in status information. System Details: Nagios Server: Fedora Core 4 Nagios v1.2 Plugins v1.30 NRPE v1.8 Monitored Servers: Solaris 8, 9 and RHEL3. Plugins - NetSaint v 1.2.9-4 (also tried v1.3 and 1.4) NRPE v1.5 (also tried v1.8 and v2.4)) I still have the old Nagios server running and the above configuration works fine for all services - Windows, linux and Unix. Pre Flight check shows no errors or warnings. I am running the same configuration on the new server as the old so I just tarred the ETC config files. Checked file permission's are OK. libexec files are executable. Check-ping works fine and interestingly so does check_http, check_dns and check_ftp on my RHEL server. As well there are no problems checking Windows services using check_nt_... The only problem is with the check_nrpe on UNIX. This is my config for zombie process, as an example. All check_nrpe processes give the same error. checkcommands.cfg define command { command_name check_local_procs command_line $USER1$/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$ } services.cfg define service { use generic-service host_name mercury service_description Zombie Processes contact_groups sysadmins check_command check_nrpe!check_zombie_procs } nrpe.cfg command on monitored server.. command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs 5 10 Z I've been hacking around for a week now, re-compiling trying different combos of NRPE and plugins. I even set up Ubuntu server to see if the Problem was Fedora. No Luck. Any ideas would be gratefully accepted Thanks. __________________________ Rod Pudwell IT Systems Support Australian Regional Wholesalers -------------- next part -------------- An HTML attachment was scrubbed... URL: From tony at srishtisoft.com Mon Mar 13 08:24:58 2006 From: tony at srishtisoft.com (Tony John) Date: Mon, 13 Mar 2006 12:54:58 +0530 Subject: Database Problem Message-ID: <44151E4A.4070509@srishtisoft.com> Dear all, I have configured nagios and installed mysql. I got two scripts called loadconfig.pl and loadlogs.pl from nagiosexchange(http://www.nagiosexchange.org/Misc.36.0.html?&tx_netnagext_pi1%5Bp_view%5D=462) site. I ran these scripts successfully and it has loaded the logs into my database. Now my problem is I want to load the logs and configuration into my database dynamically so that whatever changes me or others makes on the config files or whatever comes to the log file has to be updated automatically to my Database. Is there anyway to do this. Waiting for your help. Thanks in advance.. Thanks & Regards Tony John ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bohara at gmail.com Mon Mar 13 14:31:40 2006 From: bohara at gmail.com (Ben O'Hara) Date: Mon, 13 Mar 2006 13:31:40 +0000 Subject: check_apache.pl and apache2 Message-ID: <2b36e660603130531od57d97alb8ed13b141955579@mail.gmail.com> Hi, Ive been using check_apache.pl fro mthe contrib/ folder in the official plugins, ive just installed a couple more webservers and upgraded to apache2, these dont check anymore, it appears the /server-status page has changed layout. Anyone have a copy that works or already updated it to deal with apache2? Thanks in advance Ben -- "A Scientist will earn a living by taking a really difficult problem and spends many years solving it, an engineer earns a living by finding really difficult problems and side stepping them" -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Mon Mar 13 15:58:04 2006 From: marc at ena.com (Marc Powell) Date: Mon, 13 Mar 2006 08:58:04 -0600 Subject: Problems with the pre-flight check Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jody Noscov > Sent: Sunday, March 12, 2006 7:23 PM > To: Nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Problems with the pre-flight check > > I have commented out the following in minimal.cfg > > #define command{ > # command_name check_local_disk > # command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ > # } > > #define command{ > # command_name check-host-alive > # command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 99,99% -c > #100,100% -p 1 > # } > > This is not going to cause any problems later down the track is it? Probably not. The problem was that you had 2 check_local_disk command definitions and the same for check-host-alive. You can't have two command definitions with the same command_name (nagios wouldn't be able to tell them apart). If the command definitions are identical then it's no big deal to comment one of the duplicates out. If they're different, and you intend to use both versions then you'll need to change the command_name's so that they're unique. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Mar 13 16:13:25 2006 From: marc at ena.com (Marc Powell) Date: Mon, 13 Mar 2006 09:13:25 -0600 Subject: Incorrect command line arguments supplied Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of rod at arwholesalers.com > Sent: Monday, March 13, 2006 12:24 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Incorrect command line arguments supplied > > > I'm moving Nagios to a new server. I've installed and set-up as per > instructions and its running fine except for all the UNIX check commands > that use check_nrpe. > They all show the "Incorrect command line arguments supplied" error in > status information. This error indicates that you are passing incorrect values to the check_nrpe command on your Nagios server. [chop] > > This is my config for zombie process, as an example. All check_nrpe > processes give the same error. > > checkcommands.cfg > define command { > command_name check_local_procs > command_line $USER1$/check_procs -w $ARG1$ - > c $ARG2$ -s $ARG3$ > } It's your check_nrpe command definition that is incorrect somehow. Can you post that? It should look something like the following -- define command{ command_name check_nrpe command_line $USER1$/check_nrpe $HOSTADDRESS$ -c $ARG1$ -to 30 } > > services.cfg > define service { > use generic-service > host_name mercury > service_description Zombie Processes > contact_groups sysadmins > check_command > check_nrpe!check_zombie_procs > } -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jay.Brunker at twc.state.tx.us Mon Mar 13 17:11:31 2006 From: Jay.Brunker at twc.state.tx.us (Brunker, Jay) Date: Mon, 13 Mar 2006 10:11:31 -0600 Subject: Nagios install directory Message-ID: <11741698C5E1574E9E0357305D55B47402272A@exchg101p.actdc101p.rtdcx101p.twc.state.tx.us> Alrighty, so what's the preferred directory to install Nagios into ? Thanks, JZB Jay Brunker Unix Systems Administrator Texas Workforce Commission 101 E. 15th St. 512-475-2625 Desk Phone 512-849-4985 Pager -------------- next part -------------- An HTML attachment was scrubbed... URL: From bruce.gilbert at mosaic.com Mon Mar 13 17:13:43 2006 From: bruce.gilbert at mosaic.com (Gilbert, Bruce) Date: Mon, 13 Mar 2006 10:13:43 -0600 Subject: Nagios install directory Message-ID: /usr/local/nagios is my preference ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Brunker, Jay Sent: Monday, March 13, 2006 10:12 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Nagios install directory Alrighty, so what's the preferred directory to install Nagios into ? Thanks, JZB Jay Brunker Unix Systems Administrator Texas Workforce Commission 101 E. 15th St. 512-475-2625 Desk Phone 512-849-4985 Pager ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jay.Brunker at twc.state.tx.us Mon Mar 13 17:32:16 2006 From: Jay.Brunker at twc.state.tx.us (Brunker, Jay) Date: Mon, 13 Mar 2006 10:32:16 -0600 Subject: Inherited Server Message-ID: <11741698C5E1574E9E0357305D55B47402272D@exchg101p.actdc101p.rtdcx101p.twc.state.tx.us> Howdee: I've inherited a server that once had a nagios install on it. The previous owner removed the '/usr/local/nagios' directory, but not all parts apparently of nagios. OK, so how do I go about removing the old nagios install ? ... or ... Do I need to worry about the old bits of nagios ? i.e. Will a new/fresh install just do an overwrite ? I want to make sure I start off with a clean slate. Thanks, JZB Jay Brunker Unix Systems Administrator Texas Workforce Commission 101 E. 15th St. 512-475-2625 Desk Phone 512-849-4985 Pager -------------- next part -------------- An HTML attachment was scrubbed... URL: From AHATHAWAY at bridgew.edu Mon Mar 13 17:49:18 2006 From: AHATHAWAY at bridgew.edu (Hathaway, Adam B.) Date: Mon, 13 Mar 2006 11:49:18 -0500 Subject: Check_DHCP Message-ID: Should the Check_DHCP script work if the nagios server is statically assigned an IP address? The script was working before but now that I statically assigned an IP it is no longer working. Adam B. Hathaway Network/Telephony Support Specialist Technology Systems & Networking Bridgewater State College Bridgewater, MA 02325 -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Mon Mar 13 18:03:55 2006 From: marc at ena.com (Marc Powell) Date: Mon, 13 Mar 2006 11:03:55 -0600 Subject: Inherited Server Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Brunker, Jay > Sent: Monday, March 13, 2006 10:32 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Inherited Server > > > > Howdee: > > I've inherited a server that once had a nagios install on it. > The previous owner removed the '/usr/local/nagios' directory, but not all > parts > apparently of nagios. > > OK, so how do I go about removing the old nagios install ? > > ... or ... Do I need to worry about the old bits of nagios ? > i.e. Will a new/fresh install just do an overwrite ? > > I want to make sure I start off with a clean slate. For a standard source-based install, nagios puts everything except the init script in /usr/local/nagios. If installed via rpm, rpm -e should remove all parts of nagios. If it was installed in a non-standard location only you could know what that was. What parts are you seeing to make you think there are pieces left around? -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Mar 13 18:13:00 2006 From: marc at ena.com (Marc Powell) Date: Mon, 13 Mar 2006 11:13:00 -0600 Subject: Check_DHCP Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Hathaway, Adam B. > Sent: Monday, March 13, 2006 10:49 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check_DHCP > > Should the Check_DHCP script work if the nagios server is statically > assigned an IP address? The script was working before but now that I > statically assigned an IP it is no longer working. Yup. IP assignment on the host machine doesn't matter. You do still need to be on the same broadcast network as your DHCP server though. If you're seeing a specific error (or not even), that's clearly useful to us in helping you. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From askarali at beaconet.net Mon Mar 13 18:21:16 2006 From: askarali at beaconet.net (Askar Ali) Date: Mon, 13 Mar 2006 22:21:16 +0500 Subject: nagios plugin for listen ports Message-ID: <4415AA0C.80506@beaconet.net> Hi list, I'm wondering if there is a plugin for nagios which monitor open ports of a server eg I told him that these ports is legal to be in listen state say 22, 80, 21 and any other port found open generate an alert. I am sure you ppl got my point, all I want to be notify if any extra port found open on a machine. Regards. Askar. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Mar 13 18:38:09 2006 From: brady.maxwell at gmail.com (Brady Maxwell) Date: Mon, 13 Mar 2006 12:38:09 -0500 Subject: Nagios Training and Certification. Does it exist? Message-ID: <4415AE01.6040609@gmail.com> Hiya everyone, Anyone know of a facility that provides training classes for Nagios implementors and is inside the US? Are there any certifications or plans to develop certification tracks for Nagios engineers? I have been working with Nagios for about a year and have set up several single servers and one multi server distributed system. Work is offering to let me spend some money on training courses so I thought it would be good to learn some more Nagios (or at least get out of the office for a week or two) but have found very little on line about it. Thanks Brady ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From askarali at beaconet.net Mon Mar 13 18:42:04 2006 From: askarali at beaconet.net (Askar Ali) Date: Mon, 13 Mar 2006 22:42:04 +0500 Subject: Nagios Training and Certification. Does it exist? In-Reply-To: <4415AE01.6040609@gmail.com> References: <4415AE01.6040609@gmail.com> Message-ID: <4415AEEC.4060603@beaconet.net> Nagios training, certification sound cool :) love to teach "paid" to these classes. However their is one problem I am outside of US. Askar. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 13 20:06:56 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 13 Mar 2006 20:06:56 +0100 (CET) Subject: Nagios install directory In-Reply-To: <11741698C5E1574E9E0357305D55B47402272A@exchg101p.actdc101p.rtdcx101p.twc.state.tx.us> References: <11741698C5E1574E9E0357305D55B47402272A@exchg101p.actdc101p.rtdcx101p.twc.state.tx.us> Message-ID: On Mon, 13 Mar 2006, Brunker, Jay wrote: > Alrighty, so what's the preferred directory to install Nagios into ? /tmp/nagios on Solaris ;-) But as sysadmin you are the one defining where applications live on your system. It pretty much depends on how you laid out your filesystems. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Mon Mar 13 20:37:00 2006 From: jperrin at gmail.com (Jim Perrin) Date: Mon, 13 Mar 2006 14:37:00 -0500 Subject: Nagios install directory In-Reply-To: <11741698C5E1574E9E0357305D55B47402272A@exchg101p.actdc101p.rtdcx101p.twc.state.tx.us> References: <11741698C5E1574E9E0357305D55B47402272A@exchg101p.actdc101p.rtdcx101p.twc.state.tx.us> Message-ID: <302ce8b50603131137i79b3dd45w794e738358598d12@mail.gmail.com> > Alrighty, so what's the preferred directory to install Nagios into ? I'd say it depends on the system you're using. Ideally you should use or make use of the packaging style for your OS, be it solaris, debian, rhel etc. As previously pointed out, it's admin specific, but I'd amend that to say it should follow the style consistent with other packages on the OS. -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JoeRegular at gov.nl.ca Mon Mar 13 20:56:33 2006 From: JoeRegular at gov.nl.ca (Joe Regular) Date: Mon, 13 Mar 2006 16:26:33 -0330 Subject: Nagios and VMware Message-ID: Does anyone have a plug-in to monitor VMware Esx server and/or services? Jason ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Mar 13 21:04:28 2006 From: marc at ena.com (Marc Powell) Date: Mon, 13 Mar 2006 14:04:28 -0600 Subject: Nagios and VMware Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Joe Regular > Sent: Monday, March 13, 2006 1:57 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios and VMware > > Does anyone have a plug-in to monitor VMware Esx server and/or services? Number 2 hit on Google for "nagios vmware" ;) http://www.nagiosexchange.org/Linux.55.0.html?&tx_netnagext_pi1%5Bp_view %5D=148 -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tcruicksh at gmail.com Mon Mar 13 21:44:41 2006 From: tcruicksh at gmail.com (Tom Cruickshank) Date: Mon, 13 Mar 2006 15:44:41 -0500 Subject: Problems with the pre-flight check In-Reply-To: References: Message-ID: The problem you encountered was probably having checkcommands.cfguncommented in the nagios.cfg file as well as minimal.cfg (they have duplicate commands). I encountered the same thing myself when I set things up. Tom PS: Sorry Marc for having posted just to you. Mis-clicked on the button On 3/13/06, Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Jody Noscov > > Sent: Sunday, March 12, 2006 7:23 PM > > To: Nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Problems with the pre-flight check > > > > I have commented out the following in minimal.cfg > > > > #define command{ > > # command_name check_local_disk > > # command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ > > # } > > > > #define command{ > > # command_name check-host-alive > > # command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 99,99% > -c > > #100,100% -p 1 > > # } > > > > This is not going to cause any problems later down the track is it? > > Probably not. The problem was that you had 2 check_local_disk command > definitions and the same for check-host-alive. You can't have two > command definitions with the same command_name (nagios wouldn't be able > to tell them apart). If the command definitions are identical then it's > no big deal to comment one of the duplicates out. If they're different, > and you intend to use both versions then you'll need to change the > command_name's so that they're unique. > > -- > Marc > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: From zaidthegeek at yahoo.com Mon Mar 13 23:46:34 2006 From: zaidthegeek at yahoo.com (Zaid) Date: Mon, 13 Mar 2006 14:46:34 -0800 (PST) Subject: no notification when host down Message-ID: <20060313224634.42168.qmail@web61125.mail.yahoo.com> I am experiencing a strange issue with host down notification. I currently check host status with http checks. The way I have set it up is such that if a web server goes down it is considered a host down. The problem is that when this happens I dont get an alert even though I have notification enabled. I do see it logged as host down critical in the event log but no alert message sent. Anyone know why this could be happening or is having a similar issue? Here is my host config: define host { host_name web1-app-sf alias App Coloserve-SF address xxx.xx.xx.xx hostgroups ApplicationServers check_command check_http max_check_attempts 3 check_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 obsess_over_host 1 check_freshness 0 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 contact_groups Netops notification_interval 2 notification_period 24x7 notification_options d,u,r,f notifications_enabled 1 register 1 } Thanks, Zaid ++------------------------------------------------------------++ If we don't believe in freedom of expression for people we despise, we don't believe in it at all. Chomsky, Noam Zaid's Blog: http://drummergeek.blogspot.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffwilliams05 at gmail.com Tue Mar 14 00:39:21 2006 From: jeffwilliams05 at gmail.com (Jeff Williams) Date: Mon, 13 Mar 2006 17:39:21 -0600 Subject: notification escalations after state change Message-ID: <17e351010603131539i7c545662kf73fcfff2154d183@mail.gmail.com> Let's say I have a service called x that is at an OK status. Service x has contacts oncall and admins specified in its service definition. In its escalation, service x will notify oncall for notification number 2 and oncall and backup for notifications 3 through 5. If service x goes to a WARNING status and notifies oncall and admins, but then remains in the WARNING status for several days before moving to the CRITICAL status, the notification number is not reset and Nagios will therefore page oncall once about the CRITICAL status and then oncall and backup will each receive 3 more notifications. Is there a way to reset the notification number whenever the state changes? Or is there a way I can compensate for this behavior of Nagios? Thanks. Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim at bydesignpublishing.com Tue Mar 14 00:57:42 2006 From: jim at bydesignpublishing.com (Jim Rice) Date: Mon, 13 Mar 2006 15:57:42 -0800 Subject: How to check disk space on remote systems In-Reply-To: <4411B9FC.5010309@gridshield.net> References: <1142032615.30483.255.camel@james.homebydesign.com> <4411B9FC.5010309@gridshield.net> Message-ID: <1142294262.23300.87.camel@james.homebydesign.com> On Fri, 2006-03-10 at 17:40 +0000, German Solis wrote: > I suggest you to check nrpe. With this, you define your commands in > the hosts and you invoke the command like this ( I dont remember exactly). > > file checkcommands.cfg > > ..... > command check_nrpr!check_my_command > .... > > > > on the host, in your /etc/nrpe.cfg you have: > > command{check_my_command}=/urs/lib/nagios/pluguins/whatever_pluging_you_want_to_excecute_and_parameters. > > > Reggards. > > G.. The docs didn't offer much in the way of details. Is there a better source for examples? I can't be the first one to want to run "df" on a remote system. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rod at arwholesalers.com Tue Mar 14 00:45:22 2006 From: rod at arwholesalers.com (Rod Pudwell) Date: Mon, 13 Mar 2006 23:45:22 +0000 (UTC) Subject: Incorrect command line arguments supplied References: Message-ID: Marc Powell ena.com> writes: > It's your check_nrpe command definition that is incorrect somehow. Can > you post that? It should look something like the following -- > > define command{ > command_name check_nrpe > command_line $USER1$/check_nrpe $HOSTADDRESS$ -c $ARG1$ -to > 30 > } Marc, I checked the syntax by executing ./check_nrpe ,my check command is below: define command { command_name check_nrpe command_line $USER1$/check_nrpe $HOSTADDRESS$ -p 5666-c $ARG1$ } Even tried typing the full path to check_nrpe executable. What puzzles me is that all my check commands are working fine on old Nagios server which is running on Solaris 9 box. The only difference that I can think of is that the new server is Fedora Core 4. Maybe their is a compatability issue because I compiled the check commands with wrong libraries..??? Also made sure the use external commands switch was enable at compile time. I don't know...I'm just about ready to scrap the lot and biuld another solaris server. At least I know it will work with my current ETC config files. Cheers Rod. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Tue Mar 14 01:15:01 2006 From: jperrin at gmail.com (Jim Perrin) Date: Mon, 13 Mar 2006 19:15:01 -0500 Subject: How to check disk space on remote systems In-Reply-To: <1142294262.23300.87.camel@james.homebydesign.com> References: <1142032615.30483.255.camel@james.homebydesign.com> <4411B9FC.5010309@gridshield.net> <1142294262.23300.87.camel@james.homebydesign.com> Message-ID: <302ce8b50603131615n55552808k84b54d450da57f44@mail.gmail.com> > I can't be the first one to want to run "df" on a remote system. Not at all, but poor documtentation doesn't mean people aren't doing it, it just means they aren't TALKING about doing it. The machines I monitor are all on the same lan, so I use snmp to monitor disk usage. There are plugins for this on nagiosexchange, or you can use check_snmp to do it. -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chertolyas.av at mgsm.ru Thu Mar 9 07:19:34 2006 From: chertolyas.av at mgsm.ru (Andrew V. Chertolyas) Date: Thu, 09 Mar 2006 10:19:34 +0400 Subject: Failover nagios server In-Reply-To: <002b01c6422a$a56b4c50$8ea8d882@438LG01sshi052> References: <002b01c6422a$a56b4c50$8ea8d882@438LG01sshi052> Message-ID: <440FC8F6.9000206@mgsm.ru> Steve Shipway wrote: >>I have a standalone server with nagios running on it. I want >>to tune up an another server, for distributed monitoring. But >>main task is to provide for failover work of allover nagios >>configuration - in case of failure of one of the servers >>another server must provide data collection from all >>monitoring servers. Is there any solutions for it? > > > We have such a setup here. > > I have two Linux servers, each with 2 network cards and one Adaptec > serveraid card. There is an external SCSI disk unit, connected to BOTH > server's SCSI cards, with a pair of disks configured in mirror. The servers > are joined by a crossed ethernet cable on the second network card. The > primary network card of each is on the network. > > I have installed linux-HA on both servers, and have a service group > consisting of a virtual IP, the filesystem on the external disk, and the > nagios service. This is set to failover between servers, with one server > being the primary home with autofailback. > > (Actually, there is also a mysql database on the nagios server, plus the > BigBrother/Nagios gateway and a couple of other services, and the other > server normally runs our MRTG setup on a separate filesystem, but this is > just extra) > > Since the Adaptec Serveraid natively supports this configuration, it works > very well with linux-HA and the failover goes nicely. The only thing to add > is some cleanup code so that, if server1 dies, then server2 picks up the > filesystem and needs to delete any Nagios.cmd pipe that may have been left > lying around before starting. > > This was surprisingly easy to set up, once the Raid config had been done. > Thereis a bitof problem with how to define 'down' -- if the network > interface 1 is down (so people cannot see Nagios) but interface 2 is up (so > the heartbeat still works) should it fail over? I would say no. You should > also send the heartbeat over the crossed ethernet cable, since otherwise a > switch going down would make the 2 servers fight over the services (but > thanks to the serveraid having internal locking, youll never get both > accessing the filesystem at once and corrupting data) > > Steve Thank you! -- WBR, Andrew V. Chertolyas ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Mar 9 08:41:04 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 9 Mar 2006 08:41:04 +0100 (CET) Subject: scriptalias error In-Reply-To: <844950720603082037g7c147d4dwaae19468bcb40719@mail.gmail.com> References: <844950720603082037g7c147d4dwaae19468bcb40719@mail.gmail.com> Message-ID: On Wed, 8 Mar 2006, Dustin wrote: > New user here, just following the documentation to setup on RHEL4. > Installed vi RPM's, getting an error when I restart httpd after I've > added the configuration (modified for my system) to httpd.conf. You should not have added these lines to httpd.conf. Beacause you allready have a valid new config part in ../conf.d/nagios.conf Please familiarize yourself a bit more with the config setup of your apache installation and read the other config files in conf.d as well to see if you have no further duplication. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From list at everywhereinternet.com Tue Mar 14 02:23:00 2006 From: list at everywhereinternet.com (Nick) Date: Tue, 14 Mar 2006 12:23:00 +1100 Subject: Making alarms less sensitive Message-ID: <44161AF4.10002@everywhereinternet.com> Is there any way of making nagios a bit less sensitive to outages? I have it setup monitoring a webserver that will often go away for a few seconds and come back which nagios will quite rightly report on. I just wondered how i'd go about extending the down time before notify to say 10 mins? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Tue Mar 14 02:38:05 2006 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Mon, 13 Mar 2006 19:38:05 -0600 (CST) Subject: Making alarms less sensitive In-Reply-To: <44161AF4.10002@everywhereinternet.com> References: <44161AF4.10002@everywhereinternet.com> Message-ID: On Tue, 14 Mar 2006, Nick wrote: > Is there any way of making nagios a bit less sensitive to outages? I have it > setup monitoring a webserver that will often go away for a few seconds and > come back which nagios will quite rightly report on. I just wondered how i'd > go about extending the down time before notify to say 10 mins? You'll want to adjust the following paramters for the service definitions in question, with max_check_attempts being the most direct fix to the problem you've presented. max_check_attempts normal_check_interval retry_check_interval ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scotjenkins at gmail.com Tue Mar 14 04:54:07 2006 From: scotjenkins at gmail.com (Scot Jenkins) Date: Mon, 13 Mar 2006 21:54:07 -0600 Subject: How to check disk space on remote systems In-Reply-To: <1142294262.23300.87.camel@james.homebydesign.com> References: <1142032615.30483.255.camel@james.homebydesign.com> <4411B9FC.5010309@gridshield.net> <1142294262.23300.87.camel@james.homebydesign.com> Message-ID: On 3/13/06, Jim Rice wrote: > > The docs didn't offer much in the way of details. > Is there a better source for examples? > > I can't be the first one to want to run "df" on a remote system. > I found this link helpful in setting up NRPE: http://michael.gargantuan.com/nrpe.htm There's also check_by_ssh which comes with the standard nagios-plugins. In either case, you need to install nagios-plugins on the remote systems. scot ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From step-one-too at bdg.centrin.net.id Tue Mar 14 05:56:19 2006 From: step-one-too at bdg.centrin.net.id (stevanus) Date: Tue, 14 Mar 2006 11:56:19 +0700 Subject: nagios SIGSEGV Message-ID: <44164CF3.5090101@bdg.centrin.net.id> Hi, Why nagios shutted down itself when I executed command "service nagios start" on Redhat Enterprise 3? When I executed the init script directly by using /etc/rc.d/init.d/nagios start, I didn't get any problem... Regards, Stevanus ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at srishtisoft.com Tue Mar 14 06:04:56 2006 From: tony at srishtisoft.com (Tony John) Date: Tue, 14 Mar 2006 10:34:56 +0530 Subject: Database Usage With Nagios Message-ID: <44164EF8.90409@srishtisoft.com> Dear all, I have configured nagios and installed mysql. I got two scripts called loadconfig.pl and loadlogs.pl from nagiosexchange(http://www.nagiosexchange.org/Misc.36.0.html?&tx_netnagext_pi1%5Bp_view%5D=462) site. I ran these scripts successfully and it has loaded the logs into my database. Now my problem is I want to load the logs and configuration into my database dynamically so that whatever changes me or others makes on the config files or whatever comes to the log file has to be updated automatically to my Database. Is there anyway to do this. I have tried ndoutils from sourceforge.net. But it is not loading the logs. Is it the right choice to use. I want customized tables so that i want to make a web application based on this database. Waiting for your help. Thanks in advance.. Thanks & Regards Tony John ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 14 07:54:31 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 14 Mar 2006 07:54:31 +0100 (CET) Subject: nagios SIGSEGV In-Reply-To: <44164CF3.5090101@bdg.centrin.net.id> References: <44164CF3.5090101@bdg.centrin.net.id> Message-ID: On Tue, 14 Mar 2006, stevanus wrote: > Why nagios shutted down itself when I executed command "service nagios > start" on Redhat Enterprise 3? > When I executed the init script directly by using > /etc/rc.d/init.d/nagios start, I didn't get any problem... Running it twice will not work. By lack of detail about your installation, nagios version, ... That is just about all one can say about it. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 14 08:06:22 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 14 Mar 2006 08:06:22 +0100 (CET) Subject: No resending of questions please (Was: Database Usage With Nagios) In-Reply-To: <44164EF8.90409@srishtisoft.com> References: <44164EF8.90409@srishtisoft.com> Message-ID: On Tue, 14 Mar 2006, Tony John wrote: > I have configured nagios and installed mysql. I got two > scripts called loadconfig.pl and loadlogs.pl from .... Thank you Tony, for rerunning old shows. In general on mailinglist this section applies to unanswered questions: As most questions get sone sort of reply it just does not mean every question gets answered by someone. Resending a question within a day is not the way to go. Give it a week and rephrase a question if there is no reply to a question. And always considere that your particular question might just not have the easy answer you are looking for. If you are in a hurry: hire someone to do the job. Just do not push a free support mechanisme like this mailinglist to the point where regular posters of answers get annoyed and go away because they have had it with all the pushing and resends on the list. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From powo+lists.nagios-users at powo.priv.at Tue Mar 14 09:59:23 2006 From: powo+lists.nagios-users at powo.priv.at (Wolfgang Powisch) Date: Tue, 14 Mar 2006 09:59:23 +0100 Subject: host DOWN if all services CRITICAL Message-ID: <441685EB.9080709@powo.priv.at> Hi, I'd like to have a host-check plugin which considers a host as down if all services are Critical (or unknown). The usual host check command is to ping the hostaddress, but especially for routers it does not mean, the router is down, when only the main-ip-address is not pingable. Does there exist any plugin that checks a host by by the current state if it's services ? mfg -- Wolfgang Powisch www.powo.priv.at ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From julienford at gmail.com Tue Mar 14 10:03:08 2006 From: julienford at gmail.com (Julien Ford) Date: Tue, 14 Mar 2006 10:03:08 +0100 Subject: multiple alerts for the same service Message-ID: <3ec361dd0603140103v2ec1a5c7vefd8166ad70e6c89@mail.gmail.com> Hello, I'm monitoring a log file with the check_log plugin. The plugin tries to find patterns in the log file and if it finds, sends an alert to the nagios server. In nagios this service is volatile,passive and has a "max_check_attempts" to 1. My trouble is when there are two or more alerts for the same service, only the last is show in the web interface and only this one can by acknowledge. Is it possible to show in the web interface all alerts and to acknowledge them independently ? If the last alert is acknowledged is it possible that the service become OK only if there isn't any previous unacknowledged alert ? Thanks. Regards, Julien ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From powo+lists.nagios-users at powo.priv.at Tue Mar 14 12:21:10 2006 From: powo+lists.nagios-users at powo.priv.at (Wolfgang Powisch) Date: Tue, 14 Mar 2006 12:21:10 +0100 Subject: host DOWN if all services CRITICAL In-Reply-To: References: <441685EB.9080709@powo.priv.at> Message-ID: <4416A726.7020702@powo.priv.at> Tomas Macek wrote: > Hi, only Nagios knows the states of all the services of the host, so I > think you cannot program such a plugin, that would know about results of > the other services I assume that it is rather trivial (even since i'm using ndoutils and can lookup the service states in db) to get the service-states out of nagios. I think check_cluster does something like this too, but it's used for a different purpose. What I'm really interested in, is, if there are any dangerous pitfalls I could run in, when I use the service states to determine the host-state. Has anybody ever used something like this ? > > Tomas > > > On Tue, 14 Mar 2006, Wolfgang Powisch wrote: > >> Hi, >> >> I'd like to have a host-check plugin which considers a host as down if >> all services are Critical (or unknown). >> >> The usual host check command is to ping the hostaddress, but especially >> for routers it does not mean, the router is down, when only the >> main-ip-address is not pingable. >> >> Does there exist any plugin that checks a host by by the current state >> if it's services ? >> >> mfg >> -- >> Wolfgang Powisch >> www.powo.priv.at >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by xPML, a groundbreaking scripting >> language >> that extends applications into web and mobile media. Attend the live >> webcast >> and join the prime developer group breaking into this new coding >> territory! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roland.sorgenfrei at spb.de Tue Mar 14 14:18:53 2006 From: roland.sorgenfrei at spb.de (Roland Sorgenfrei) Date: Tue, 14 Mar 2006 14:18:53 +0100 (CET) Subject: nagios SIGSEGV In-Reply-To: <44164CF3.5090101@bdg.centrin.net.id> References: <44164CF3.5090101@bdg.centrin.net.id> Message-ID: <20060314131853.D15E54F40E3@desire.netways.de> Hi all, I have the same problem after executed ext. command. When I execude the init scipt, nagios started without problems. nagios.log [1141784121] EXTERNAL COMMAND: DEL_ALL_HOST_COMMENTS;XXXXXXX [1141784121] Caught SIGSEGV, shutting down... [1141890524] Nagios 2.0 starting... (PID=14428) [1141890524] LOG VERSION: 2.0 Nagios version : 2.0 Plugins version : 1.4 OS : RH 2.1 roland ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=16270 > Hi, > > Why nagios shutted down itself when I executed command "service nagios > start" on Redhat Enterprise 3? > When I executed the init script directly by using > /etc/rc.d/init.d/nagios start, I didn't get any problem... > > Regards, > > Stevanus > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat =121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Daniel.Tardy at canson.fr Tue Mar 14 16:09:28 2006 From: Daniel.Tardy at canson.fr (Daniel.Tardy at canson.fr) Date: Tue, 14 Mar 2006 16:09:28 +0100 Subject: Check a telnet on a particular port and launch the dependent procedure In-Reply-To: References: Message-ID: Hi everybody With Nagios, I've tried the two manners => But these two manners gave me a message => Connection Refused. But when I run the command manually all is OK. I've tried many manners and always this issue: maually = ok Nagios = bad. Do you have any idea ? Many thanks in advance, Cordialement, Daniel TARDY Tel 33 (0) 4 75 69 88 10 Fax 33 (0) 4 75 69 02 00 Daniel.Tardy at canson.fr http://www.canson.fr http://www.arjowiggins.com "Marc Powell" Envoy? par : nagios-users-admin at lists.sourceforge.net 11/03/2006 00:03 A cc Objet RE: [Nagios-users] Check a telnet on a particular port and launch the dependent procedure Or check_tcp may be more than sufficient. The OP doesn't explain enough about what he's wanting to do to be sure. Daniel - Run 'check_tcp --help' and see if that suits your needs. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Eli Stair > Sent: Friday, March 10, 2006 2:12 PM > To: Daniel.Tardy at canson.fr > Cc: nagios-users at lists.sourceforge.net; nagios-users- > admin at lists.sourceforge.net > Subject: Re: [Nagios-users] Check a telnet on a particular port and launch > the dependent procedure > > > Check google and/or nagiosplug.sourceforge.net, you'll find at least > plugins to let you check the SSH banner (if that's all you want to do) > and run commands/send output back to the plugin (check_ssh | > check_by_ssh). That's assuming you meant ssh and not telnet, if you > need telnet I've hacked up a simple Net::Telnet script to do the same > things as the ssh plugs. Likely you'll want check_ssh however. > > /eli > > Daniel.Tardy at canson.fr wrote: > > > > Good morning everybody, > > I need to do a telnet 10.21211212 22 and check the result. > > I'm a new user of Nagios and I don't know to tell Nagios to do this > > telnet and then I don't know how to know the result and send a message > > or a command depending on this result. > > Il someone has the know how, tanks a lot to help me. > > Best regards, > > Daniel TARDY > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: not available Type: image/gif Size: 2214 bytes Desc: not available URL: From marc at ena.com Tue Mar 14 16:27:13 2006 From: marc at ena.com (Marc Powell) Date: Tue, 14 Mar 2006 09:27:13 -0600 Subject: multiple alerts for the same service Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Julien Ford > Sent: Tuesday, March 14, 2006 3:03 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] multiple alerts for the same service > > Hello, > > I'm monitoring a log file with the check_log plugin. > > The plugin tries to find patterns in the log file and > if it finds, sends an alert to the nagios server. In > nagios this service is volatile,passive and has a > "max_check_attempts" to 1. > > My trouble is when there are two or more alerts for > the same service, only the last is show in the web > interface and only this one can by acknowledge. > > Is it possible to show in the web interface all alerts > and to acknowledge them independently ? If the last > alert is acknowledged is it possible that the service > become OK only if there isn't any previous > unacknowledged alert ? You would need to have a unique service definition for each and a way to distinguish them to get close to the above. As far as nagios is concerned, 1 service definition == 1 service and there is no concept of multiple 'flavors' of that service outside of the volatility technique that you are already implementing. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Mar 14 16:32:06 2006 From: marc at ena.com (Marc Powell) Date: Tue, 14 Mar 2006 09:32:06 -0600 Subject: Check a telnet on a particular port and launch the dependent procedure Message-ID: Daniel -- Please don't CC: nagios-users-admin at . That's an administrative e-mail address, not for general posts. Please provide your service and command definitions for this check and exactly how you are testing it from the command line and the results. >From the error, the port you are testing isn't listening or isn't the port you think you're testing. -- Marc > -----Original Message----- > From: Daniel.Tardy at canson.fr [mailto:Daniel.Tardy at canson.fr] > Sent: Tuesday, March 14, 2006 9:09 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net; nagios-users- > admin at lists.sourceforge.net > Subject: RE: [Nagios-users] Check a telnet on a particular port and launch > the dependent procedure > > > Hi everybody > > With Nagios, I've tried the two manners => > But these two manners gave me a message => Connection Refused. > But when I run the command manually all is OK. > I've tried many manners and always this issue: maually = ok Nagios = bad. > Do you have any idea ? > Many thanks in advance, > Cordialement, > > Daniel TARDY > > Tel 33 (0) 4 75 69 88 10 > Fax 33 (0) 4 75 69 02 00 > Daniel.Tardy at canson.fr > http://www.canson.fr > http://www.arjowiggins.com > > > > "Marc Powell" > Envoy? par : nagios-users-admin at lists.sourceforge.net > > 11/03/2006 00:03 A > > cc > Objet > RE: [Nagios-users] Check a telnet on a particular port and launch the > dependent procedure > > > > > > > Or check_tcp may be more than sufficient. The OP doesn't explain enough > about what he's wanting to do to be sure. > > Daniel - Run 'check_tcp --help' and see if that suits your needs. > > -- > Marc > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Eli Stair > > Sent: Friday, March 10, 2006 2:12 PM > > To: Daniel.Tardy at canson.fr > > Cc: nagios-users at lists.sourceforge.net; nagios-users- > > admin at lists.sourceforge.net > > Subject: Re: [Nagios-users] Check a telnet on a particular port and > launch > > the dependent procedure > > > > > > Check google and/or nagiosplug.sourceforge.net, you'll find at least > > plugins to let you check the SSH banner (if that's all you want to do) > > and run commands/send output back to the plugin (check_ssh | > > check_by_ssh). That's assuming you meant ssh and not telnet, if you > > need telnet I've hacked up a simple Net::Telnet script to do the same > > things as the ssh plugs. Likely you'll want check_ssh however. > > > > /eli > > > > Daniel.Tardy at canson.fr wrote: > > > > > > Good morning everybody, > > > I need to do a telnet 10.21211212 22 and check the result. > > > I'm a new user of Nagios and I don't know to tell Nagios to do this > > > telnet and then I don't know how to know the result and send a > message > > > or a command depending on this result. > > > Il someone has the know how, tanks a lot to help me. > > > Best regards, > > > Daniel TARDY ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 14 16:47:19 2006 From: td3201 at gmail.com (Terry) Date: Tue, 14 Mar 2006 09:47:19 -0600 Subject: Fruity, nag2web, or NagiosWeb?? Message-ID: <8ee061010603140747j76850cf4ndf2df109d271273@mail.gmail.com> Anyone have input on why they use any of the above? I am currently on 1.x but looking to migrate to 2.x soon. Thanks! ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jay.Brunker at twc.state.tx.us Tue Mar 14 16:50:53 2006 From: Jay.Brunker at twc.state.tx.us (Brunker, Jay) Date: Tue, 14 Mar 2006 09:50:53 -0600 Subject: /usr/local/nagios/etc directory not created Message-ID: <11741698C5E1574E9E0357305D55B474022732@exchg101p.actdc101p.rtdcx101p.twc.state.tx.us> OK, so I ran make install-init ... no problems ... then I attempted to run 'make commandmode' and Received the error : Make: *** No rule to make target 'install-commandmode'. Stop. I manually create the '/etc/local/nagios/etc' directory with correct permissions ( nagios.nagios) and copied the files from source/nagios/sample-config over to '/usr/local/bin/nagios/etc'. Are there any other files that I should copy to '/usr/local/nagios/etc' before proceeding with the config ? Thanks, JZB Jay Brunker Unix Systems Administrator Texas Workforce Commission 101 E. 15th St. 512-475-2625 Desk Phone 512-849-4985 Pager -------------- next part -------------- An HTML attachment was scrubbed... URL: From sorin.valcu at net-aptitude.fr Tue Mar 14 17:10:41 2006 From: sorin.valcu at net-aptitude.fr (Sorin VALCU) Date: Tue, 14 Mar 2006 17:10:41 +0100 Subject: SNMP Traps in Nagios Message-ID: <4E13BD0442DACA4D9606CAD98924F09A592746@srv-nap-atlas-1.net-aptitude.fr> Hello I'm trying to use SNMP Traps in Nagios. The SNMP Traps are collected by snmptrapd that passes them to snmptthandler and then to snmptt. Snmptt (via an EXEC command) writes a service status notification in the nagios.cmd file. The problem is that snmptt can not translate the traps received from a cisco catalyst. All OID's in the snmptt.conf file are all numeric values. All the cisco mibs (snmp v1) are present in the /usr/share/snmp/mibs/ directory. There is no snmp.conf file. Here is the output from the snmptt.debug file. Thank you for your help Sorin V Processing file: #snmptt-trap-1142269412443608 Reading trap. Current time: Mon Mar 12 11:00:00 2006 Symbolic trap variable name detected (SNMPv2-MIB::sysUpTime.0). Will attempt to translate to a numerical OID Could not translate - will leave as-is Symbolic trap variable name detected (SNMPv2-MIB::snmpTrapOID.0). Will attempt to translate to a numerical OID Could not translate - will leave as-is Symbolic trap variable name detected (SNMPv2-SMI::enterprises.9.2.9.3.1.1.4.1). Will attempt to translate to a numerical OID Could not translate - will leave as-is Symbolic trap variable name detected (TCP-MIB::tcpConnState.172.18.36.31.80.172.18.36.50.3399). Will attempt to translate to a numerical OID Could not translate - will leave as-is Symbolic trap variable name detected (SNMPv2-SMI::enterprises.9.2.6.1.1.5.172.18.36.31.80.172.18.36.50.3399). Will attempt to translate to a numerical OID Could not translate - will leave as-is Symbolic trap variable name detected (SNMPv2-SMI::enterprises.9.2.6.1.1.1.172.18.36.31.80.172.18.36.50.3399). Will attempt to translate to a numerical OID Could not translate - will leave as-is Symbolic trap variable name detected (SNMPv2-SMI::enterprises.9.2.6.1.1.2.172.18.36.31.80.172.18.36.50.3399). Will attempt to translate to a numerical OID Could not translate - will leave as-is Symbolic trap variable name detected (SNMPv2-SMI::enterprises.9.2.9.2.1.18.4). Will attempt to translate to a numerical OID Could not translate - will leave as-is Symbolic trap variable name detected (SNMP-COMMUNITY-MIB::snmpTrapAddress.0). Will attempt to translate to a numerical OID Could not translate - will leave as-is Symbolic trap variable name detected (SNMP-COMMUNITY-MIB::snmpTrapCommunity.0). Will attempt to translate to a numerical OID Could not translate - will leave as-is Symbolic trap variable name detected (SNMPv2-MIB::snmpTrapEnterprise.0). Will attempt to translate to a numerical OID Could not translate - will leave as-is Items passed from snmptrapd: value 0: testcisco value 1: 123.123.123.123 value 2: SNMPv2-MIB::sysUpTime.0 value 3: 0:5:49:22.74 value 4: SNMPv2-MIB::snmpTrapOID.0 value 5: SNMPv2-SMI::enterprises.9.0.1 value 6: SNMPv2-SMI::enterprises.9.2.9.3.1.1.4.1 value 7: 5 value 8: TCP-MIB::tcpConnState.172.18.36.31.80.172.18.36.50.3399 value 9: established value 10: SNMPv2-SMI::enterprises.9.2.6.1.1.5.172.18.36.31.80.172.18.36.50.3399 value 11: 0:0:00:01.48 value 12: SNMPv2-SMI::enterprises.9.2.6.1.1.1.172.18.36.31.80.172.18.36.50.3399 value 13: 470 value 14: SNMPv2-SMI::enterprises.9.2.6.1.1.2.172.18.36.31.80.172.18.36.50.3399 value 15: 5343 value 16: SNMPv2-SMI::enterprises.9.2.9.2.1.18.4 value 17: value 18: SNMP-COMMUNITY-MIB::snmpTrapAddress.0 value 19: 123.123.123.123 value 20: SNMP-COMMUNITY-MIB::snmpTrapCommunity.0 value 21: public value 22: SNMPv2-MIB::snmpTrapEnterprise.0 value 23: SNMPv2-SMI::enterprises.9 Symbolic trap variable name detected (SNMPv2-SMI::enterprises.9.0.1). Will attempt to translate to a numerical OID Could not translate - will leave as-is Agent IP address was blank, so setting to the same as the host IP address of 123.123.123.123 Agent IP address (123.123.123.123) is the same as the host IP, so copying the host name: testcisco Trap received from comm4e-droite.lotsys.corp: SNMPv2-SMI::enterprises.9.0.1 0: hostname 1: ip address 2: uptime 3: trapname / OID 4: ip address from trap agent 5: trap community string 6: enterprise 0+: passed variables Value 0: testcisco Value 1: 123.123.123.123 Value 2: 0:5:49:22.74 Value 3: SNMPv2-SMI::enterprises.9.0.1 Value 4: 123.123.123.123 Value 5: Value 6: Agent dns name: testcisco Ent Value 0 ($1): SNMPv2-SMI::enterprises.9.2.9.3.1.1.4.1=5 Ent Value 1 ($2): TCP-MIB::tcpConnState.172.18.36.31.80.172.18.36.50.3399=established Ent Value 2 ($3): SNMPv2-SMI::enterprises.9.2.6.1.1.5.172.18.36.31.80.172.18.36.50.3399=0: 0:00:01.48 Ent Value 3 ($4): SNMPv2-SMI::enterprises.9.2.6.1.1.1.172.18.36.31.80.172.18.36.50.3399=47 0 Ent Value 4 ($5): SNMPv2-SMI::enterprises.9.2.6.1.1.2.172.18.36.31.80.172.18.36.50.3399=53 43 Ent Value 5 ($6): SNMPv2-SMI::enterprises.9.2.9.2.1.18.4= Ent Value 6 ($7): SNMP-COMMUNITY-MIB::snmpTrapAddress.0=123.123.123.123 Ent Value 7 ($8): SNMP-COMMUNITY-MIB::snmpTrapCommunity.0=public Ent Value 8 ($9): SNMPv2-MIB::snmpTrapEnterprise.0=SNMPv2-SMI::enterprises.9 Exact match of trap NOT found in EVENT hash table Looking for wildcards in the EVENT hash table Drilling down looking for wildcards in the EVENT hash table SNMPv2-SMI::enterprises.9.0.* Drilling down looking for wildcards in the EVENT hash table SNMPv2-SMI::enterprises.9.* Trap not defined... -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Tue Mar 14 17:26:50 2006 From: marc at ena.com (Marc Powell) Date: Tue, 14 Mar 2006 10:26:50 -0600 Subject: /usr/local/nagios/etc directory not created Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Brunker, Jay > Sent: Tuesday, March 14, 2006 9:51 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] /usr/local/nagios/etc directory not created > > > > OK, so I ran make install-init ... no problems ... > then I attempted to run 'make commandmode' and > Received the error : > > Make: *** No rule to make target 'install-commandmode'. Stop. 'make commandmode' is invalid and seems to have been a typo in this e-mail. 'make install-commandmode' _is_ a valid command. Are you sure you did it from the root of the compiled source tree? I don't recall ever hearing of a failure of that command before. > I manually create the '/etc/local/nagios/etc' directory with correct > permissions ( nagios.nagios) and copied the files from > source/nagios/sample-config over to '/usr/local/bin/nagios/etc'. > > Are there any other files that I should copy to '/usr/local/nagios/etc' > before proceeding with the config ? I would recommend just running 'make install-config' from the compiled source tree -- make install-config - This installs *SAMPLE* config files in /usr/local/nagios/etc You'll have to modify these sample files before you can use Nagios. Read the HTML documentation for more info on doing this. Pay particular attention to the docs on object configuration files, as they determine what/how things get monitored! -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lanning at lanning.cc Tue Mar 14 18:28:15 2006 From: lanning at lanning.cc (Robert Hajime Lanning) Date: Tue, 14 Mar 2006 09:28:15 -0800 (PST) Subject: SNMP Traps in Nagios In-Reply-To: <4E13BD0442DACA4D9606CAD98924F09A592746@srv-nap-atlas-1.net-aptitude.f r> References: <4E13BD0442DACA4D9606CAD98924F09A592746@srv-nap-atlas-1.net-aptitude.fr> Message-ID: <54507.192.168.128.102.1142357295.squirrel@ssl.monsoonwind.com> I have attached the snmptt.ini that I use. Make sure you have: net_snmp_perl_enable = 1 net_snmp_perl_best_guess = 1 translate_value_oids = 1 translate_log_trap_oid = 1 translate_enterprise_oid_format = 1 translate_trap_oid_format = 1 translate_varname_oid_format = 1 mibs_environment = ALL > Hello > > I'm trying to use SNMP Traps in Nagios. > > The SNMP Traps are collected by snmptrapd that passes them to > snmptthandler and then to snmptt. > > Snmptt (via an EXEC command) writes a service status notification > in the nagios.cmd file. > > The problem is that snmptt can not translate the traps received > from a cisco catalyst. > > All OID's in the snmptt.conf file are all numeric values. > > All the cisco mibs (snmp v1) are present in the > /usr/share/snmp/mibs/ directory. > > There is no snmp.conf file. > > Here is the output from the snmptt.debug file. > > Thank you for your help > > Sorin V -- And, did Guloka think the Ulus were too ugly to save? -Centauri -------------- next part -------------- A non-text attachment was scrubbed... Name: snmptt.ini Type: application/octet-stream Size: 20299 bytes Desc: not available URL: From mkoponick at redhawk.info Tue Mar 14 18:28:28 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Tue, 14 Mar 2006 09:28:28 -0800 Subject: The best way to test notifications Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109CDD@raptor.redhawk.info> Hello all! I have a need to test notifications on a monthly basis. We have sections of our network that are very quiet; thusly we do not see any alerts from these sites. The way I have been testing notification is shutting down Nagios at the remote end and waiting for the notifications to start/end. It seems crude to me to perform this function in order to get a "test" notification. Anyone have any suggestions or ideas? Is this something that could be in 3.0? Thanks in advance, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From pavel.santos at cyberlockconsulting.com Tue Mar 14 18:29:28 2006 From: pavel.santos at cyberlockconsulting.com (Pavel Santos) Date: Tue, 14 Mar 2006 12:29:28 -0500 Subject: Nagios escalations not working Message-ID: <1EE2544AB03AD34BAA60E9AA8AF1A8FE6C190A@EPI-EXB2.epidirect.epi> All, I am still having problems with the notification escalation. The issue is that the alerts are not being escalated to the different contact groups, the alerts are going to all contact groups at the same time. Has anyone gotten this to work? Thanks, Pavel ________________________________ From: nagios-users-admin at lists.sourceforge.net on behalf of Pavel Santos Sent: Thu 3/9/2006 12:26 PM To: Nagios Users Mailinglist; Nagios Users Mailinglist Subject: RE: [Nagios-users] Nagios escalations not working Hugo, this is my escalations.cfg file: for now define serviceescalation{ host_name server1 service_description HTTP first_notification 3 last_notification 5 notification_interval 60 contact_groups system-manager } define serviceescalation{ host_name server1 service_description HTTP first_notification 6 last_notification 10 notification_interval 90 contact_groups system-manager } ________________________________ From: nagios-users-admin at lists.sourceforge.net on behalf of Hugo van der Kooij Sent: Thu 3/9/2006 9:48 AM To: Nagios Users Mailinglist Subject: RE: [Nagios-users] Nagios escalations not working On Thu, 9 Mar 2006, Pavel Santos wrote: > Hugo, > > I'm running Nagios 2.0 on Red Hat version 4 and the client machine is windows 2003 for now, but I could be another Linux or windows 2000 box. We do not care what your client machine is. But we do care about your definitions in nagios config files. You have not shown a bit of that config so there is still very little to go on. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Mar 14 18:31:54 2006 From: jhmartin at toger.us (Jason Martin) Date: Tue, 14 Mar 2006 09:31:54 -0800 Subject: The best way to test notifications In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD4109CDD@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD4109CDD@raptor.redhawk.info> Message-ID: <20060314173154.GJ25220@mal.toger.us> On Tue, Mar 14, 2006 at 09:28:28AM -0800, Mike Koponick wrote: > It seems crude to me to perform this function in order to get a "test" > notification. Anyone have any suggestions or ideas? Is this something > that could be in 3.0? You can echo the necessary external commands into the nagios.cmd file to cause Nagios to believe there is a failure. Look up 'passive check results'. -Jason Martin -- You can't go home again, unless you set $HOME. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: From Jay.Brunker at twc.state.tx.us Tue Mar 14 18:19:54 2006 From: Jay.Brunker at twc.state.tx.us (Brunker, Jay) Date: Tue, 14 Mar 2006 11:19:54 -0600 Subject: Plugin Directory Message-ID: <11741698C5E1574E9E0357305D55B474022734@exchg101p.actdc101p.rtdcx101p.twc.state.tx.us> Greetings: YANNG ( Yet Another Nagios Newbie Question ). OK, so my 'make install-commandmode' failed and I manually created a '/usr/local/nagios/etc' filesystem. I copied from source/sample-config to '/usr/local/nagios/etc'. Downloaded and installed the plugins. The thing is ... the plugins install message says to verify that my nagios.cfg file ( hosts.cfg ) file is correct with regards to my plugin directory. OK, so ... I'm assuming that the 'nagios.cfg' file is referring to the 'Plugins' section with: cfg_file=/usr/local/nagios/etc/checkcommands.cfg line. I'm confused. I don't have a '/usr/local/nagios/etc/checkcommands.cfg file in my '/usr/local/nagios/etc' directory. I do have the file in my 'source/template-object' directory though. Aren't the plugins in '/usr/local/nagios/libexec' ? Some help/clarification would be most appreciated here. Thanks, JZB Jay Brunker Unix Systems Administrator Texas Workforce Commission 101 E. 15th St. 512-475-2625 Desk Phone 512-849-4985 Pager -------------- next part -------------- An HTML attachment was scrubbed... URL: From td3201 at gmail.com Tue Mar 14 18:50:04 2006 From: td3201 at gmail.com (Terry) Date: Tue, 14 Mar 2006 11:50:04 -0600 Subject: The best way to test notifications In-Reply-To: <20060314173154.GJ25220@mal.toger.us> References: <8C18BAD1F46B2245B0A08BCF1A823DD4109CDD@raptor.redhawk.info> <20060314173154.GJ25220@mal.toger.us> Message-ID: <8ee061010603140950q4a09a00bwe19bfbd946611b4b@mail.gmail.com> I set up a test service in nagios. The service checks for the webmin port. Then just set up in cron to shutdown and startup webmin. Leave it shutdown long enough to trigger a notification in nagios. On 3/14/06, Jason Martin wrote: > On Tue, Mar 14, 2006 at 09:28:28AM -0800, Mike Koponick wrote: > > It seems crude to me to perform this function in order to get a "test" > > notification. Anyone have any suggestions or ideas? Is this something > > that could be in 3.0? > You can echo the necessary external commands into the nagios.cmd > file to cause Nagios to believe there is a failure. Look up > 'passive check results'. > > -Jason Martin > -- > You can't go home again, unless you set $HOME. > This message is PGP/MIME signed. > > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From estair at ilm.com Tue Mar 14 19:53:02 2006 From: estair at ilm.com (Eli Stair) Date: Tue, 14 Mar 2006 10:53:02 -0800 Subject: multiple alerts for the same service In-Reply-To: <3ec361dd0603140103v2ec1a5c7vefd8166ad70e6c89@mail.gmail.com> References: <3ec361dd0603140103v2ec1a5c7vefd8166ad70e6c89@mail.gmail.com> Message-ID: <4417110E.7080900@ilm.com> The way check_log works is to compare the current log vs. the log at the time the last check was run so that behaviour is "normal"... I don't recall if I changed this or not, but I have the output set to summarize the number of instances matches, and alert based on that value, so the check becomes effectively "this many alerts over this timeperiod". IMO this plugin is really only useful for this method. Extending this in perl to foreach over the search pattern, and generate an alert directly (via the CGI/command file) instead of having the return value return state and Nagios generate the alert directly... is simple (if unorthodox). That's one way I can think of off hand that would let you fire the check at scheduled time intervals, and still have a single alert generated for _each_ entry in the log since the last check. At the same time, it'd be smaller/faster to just use a diff since the last check, vs the entire file (gets bloated/slow with a huge number of hosts, esp. if they go log-happy). /eli Julien Ford wrote: > Hello, > > I'm monitoring a log file with the check_log plugin. > > The plugin tries to find patterns in the log file and > if it finds, sends an alert to the nagios server. In > nagios this service is volatile,passive and has a > "max_check_attempts" to 1. > > My trouble is when there are two or more alerts for > the same service, only the last is show in the web > interface and only this one can by acknowledge. > > Is it possible to show in the web interface all alerts > and to acknowledge them independently ? If the last > alert is acknowledged is it possible that the service > become OK only if there isn't any previous > unacknowledged alert ? > > Thanks. > > Regards, > Julien > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian.masopust at siemens.com Tue Mar 14 19:59:04 2006 From: christian.masopust at siemens.com (Masopust, Christian) Date: Tue, 14 Mar 2006 19:59:04 +0100 Subject: AW: Fruity, nag2web, or NagiosWeb?? References: <8ee061010603140747j76850cf4ndf2df109d271273@mail.gmail.com> Message-ID: <60721B67EAF0994EAFFB561767B700140E3896@nets13ha.ww300.siemens.net> Hello Terry, i had the same question two or three month ago :-)) and then did some tests and finally decided to use fruity. it's now in RC1-state and it works very well here. Chris ________________________________ Von: nagios-users-admin at lists.sourceforge.net im Auftrag von Terry Gesendet: Di 14.03.2006 16:47 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Fruity, nag2web, or NagiosWeb?? Anyone have input on why they use any of the above? I am currently on 1.x but looking to migrate to 2.x soon. Thanks! ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joeregular at gov.nl.ca Tue Mar 14 20:24:37 2006 From: joeregular at gov.nl.ca (Joe Regular) Date: Tue, 14 Mar 2006 15:54:37 -0330 Subject: Any Reason to Update Message-ID: I'm currently running version 2.0b4. Is there any real performance benefits to upgrading to the stable 2.0? Joe ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agalue at sync.com.ve Tue Mar 14 20:33:56 2006 From: agalue at sync.com.ve (Alejandro Galue) Date: Tue, 14 Mar 2006 15:33:56 -0400 Subject: About Event Broker and Nagios Administration Message-ID: <44171AA4.70108@sync.com.ve> Hello, I was reading about Nagios Event Broker (NEB), and there seems to be modules like ndoutils or nagios-db that update a MySQL database with Nagios configuration and event logs data. If I understand this correctly, this means that the NEB module can send data from Nagios to other Applications (a Data Base in this case). Am I right ? I have another question : is it possible for other Applications to send data to Nagios using Event Broker ? : For example will it be possible to configure Nagios using MySQL Tables and then inform to NEB module to apply changes on nagios configuration ? ; or to change the state of a service ? Thanks in Advance, Alejandro. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zaeem.chaudhry at fmr.com Tue Mar 14 21:11:39 2006 From: zaeem.chaudhry at fmr.com (Chaudhry, Zaeem) Date: Tue, 14 Mar 2006 15:11:39 -0500 Subject: host.cfg file - help Message-ID: <43C51169756115468E235A12F7A680A304151605@MSGBOSCLD2WIN.DMN1.FMR.COM> Hello, Can I use an IP address instead of a DNS name for hosts in my /usr/local/nagios/etc/servers/hosts.cfg file? Is this the only place where I can define my hosts to be monitored by Nagios? I can ping the host below but am unable to monitor it, even when I use a fully qualified DNS. Curently, my host file looks like this: define host { use host-template host_name 192.168.0.2 alias 192.168.0.2 address 192.168.0.2 } define service { use service-http host_name 192.168.0.2 } I have also tried: define host { use host-template host_name dns.fmr.com alias dns.fmr.com address dns.fmr.com } define service { use service-http host_name dns.fmr.com } Do you see any problems with the above? Thanks, Zaeme. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zaeem.chaudhry at fmr.com Tue Mar 14 21:16:32 2006 From: zaeem.chaudhry at fmr.com (Chaudhry, Zaeem) Date: Tue, 14 Mar 2006 15:16:32 -0500 Subject: host.cfg file - help References: <43C51169756115468E235A12F7A680A304151605@MSGBOSCLD2WIN.DMN1.FMR.COM> Message-ID: <43C51169756115468E235A12F7A680A304151607@MSGBOSCLD2WIN.DMN1.FMR.COM> Hello, Can I use an IP address instead of a DNS name for hosts in my /usr/local/nagios/etc/servers/hosts.cfg file? Is this the only place where I can define hosts to be monitored by Nagios? I can ping the host below but cannot monitor it even when I use a fully qualified DNS name for this host. Curently, my host file looks like this: define host { use host-template host_name 192.168.0.2 alias 192.168.0.2 address 192.168.0.2 } define service { use service-http host_name 192.168.0.2 } I have also tried: define host { use host-template host_name dns.fmr.com alias dns.fmr.com address dns.fmr.com } define service { use service-http host_name dns.fmr.com } Do you see any config problems? Thanks, Zaeme. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rstewart at eandhis.com Tue Mar 14 21:30:00 2006 From: rstewart at eandhis.com (Robert Stewart) Date: Tue, 14 Mar 2006 15:30:00 -0500 Subject: nagios db help Message-ID: An HTML attachment was scrubbed... URL: From rtparies at gmail.com Tue Mar 14 21:55:53 2006 From: rtparies at gmail.com (Randy Paries) Date: Tue, 14 Mar 2006 14:55:53 -0600 Subject: Need help to determine what service to use Message-ID: Hello, I have a box that i need to make sure that certian processes are running So in my snmpd.conf i have the setting proc heartbeat so could someone tell me what service i use to monitor this Thanks Randy ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zaeem.chaudhry at fmr.com Tue Mar 14 22:10:15 2006 From: zaeem.chaudhry at fmr.com (Chaudhry, Zaeem) Date: Tue, 14 Mar 2006 16:10:15 -0500 Subject: hosts.cfg file - Help Message-ID: <43C51169756115468E235A12F7A680A30492018B@MSGBOSCLD2WIN.DMN1.FMR.COM> Hello, Can I use an IP address instead of a DNS name for hosts in my /usr/local/nagios/etc/servers/hosts.cfg file? Is this the only place where I can define hosts to be monitored by Nagios? I can ping the host below but cannot monitor it even when I use a fully qualified DNS name for this host. Curently, my host file looks like this: define host { use host-template host_name 192.168.0.2 alias 192.168.0.2 address 192.168.0.2 } define service { use service-http host_name 192.168.0.2 } I have also tried: define host { use host-template host_name dns.fmr.com alias dns.fmr.com address dns.fmr.com } define service { use service-http host_name dns.fmr.com } Do you see any config problems? Thanks, Zaeem. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rstewart at eandhis.com Tue Mar 14 22:24:00 2006 From: rstewart at eandhis.com (Robert Stewart) Date: Tue, 14 Mar 2006 16:24:00 -0500 Subject: host status detail page help Message-ID: An HTML attachment was scrubbed... URL: From Ygao at soundbite.com Tue Mar 14 22:24:17 2006 From: Ygao at soundbite.com (Yunsong Gao) Date: Tue, 14 Mar 2006 16:24:17 -0500 Subject: Write a lot more in the Status Information Message-ID: <9303A9A4755F584187871678E54487B60380A8C7@sbmail.soundbite.com> How to set up the parameter to write a lot more into the "Status Information"? Thanks. Yunsong Gao -------------- next part -------------- An HTML attachment was scrubbed... URL: From zaeem.chaudhry at fmr.com Tue Mar 14 22:44:21 2006 From: zaeem.chaudhry at fmr.com (Chaudhry, Zaeem) Date: Tue, 14 Mar 2006 16:44:21 -0500 Subject: Hosts file - help Message-ID: <43C51169756115468E235A12F7A680A30492018D@MSGBOSCLD2WIN.DMN1.FMR.COM> Hello, Can I use an IP address instead of a DNS name for hosts in my /usr/local/nagios/etc/servers/hosts.cfg file? Is this the only place where I can define hosts to be monitored by Nagios? I can ping the host below but cannot monitor it even when I use a fully qualified DNS name for this host. Currently, my host file looks like this: define host { use host-template host_name 192.168.0.2 alias 192.168.0.2 address 192.168.0.2 } define service { use service-http host_name 192.168.0.2 } I have also tried: define host { use host-template host_name dns.fmr.com alias dns.fmr.com address dns.fmr.com } define service { use service-http host_name dns.fmr.com } Do you see any config problems? Thanks, Zaeem. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 14 23:34:47 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 14 Mar 2006 23:34:47 +0100 (CET) Subject: Write a lot more in the Status Information In-Reply-To: <9303A9A4755F584187871678E54487B60380A8C7@sbmail.soundbite.com> References: <9303A9A4755F584187871678E54487B60380A8C7@sbmail.soundbite.com> Message-ID: On Tue, 14 Mar 2006, Yunsong Gao wrote: > How to set up the parameter to write a lot more into the "Status > Information"? Thanks. Please define 'a lot more info' in your question. At present the question is not clear. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shoktai at gmail.com Tue Mar 14 23:42:52 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Tue, 14 Mar 2006 23:42:52 +0100 Subject: Plugin Directory In-Reply-To: <11741698C5E1574E9E0357305D55B474022734@exchg101p.actdc101p.rtdcx101p.twc.state.tx.us> References: <11741698C5E1574E9E0357305D55B474022734@exchg101p.actdc101p.rtdcx101p.twc.state.tx.us> Message-ID: <619cf3c0603141442s41fad16fs@mail.gmail.com> The plugins are located in the libexec directory but they need to be defined to be used in nagios and it is done in the checkcommands.cfg file and also in the miscommands.cfg file. As you said those file are refernced in nagios.cfg. So you should copy the source template checkcommands.cfg and miscommands.cfgfile to nagios/etc/ 2006/3/14, Brunker, Jay : > > > Greetings: > > YANNG ( Yet Another Nagios Newbie Question ). > > OK, so my 'make install-commandmode' failed and I manually > created a '/usr/local/nagios/etc' filesystem. I copied from > source/sample-config to '/usr/local/nagios/etc'. > > Downloaded and installed the plugins. > > The thing is ... the plugins install message says to verify > that my nagios.cfg file ( hosts.cfg ) file is correct with regards > to my plugin directory. > > OK, so ... I'm assuming that the 'nagios.cfg' file is referring > to the 'Plugins' section with: > cfg_file=/usr/local/nagios/etc/checkcommands.cfg line. > > I'm confused. I don't have a '/usr/local/nagios/etc/checkcommands.cfg file > in my > '/usr/local/nagios/etc' directory. I do have the file in my > 'source/template-object' directory > though. > > Aren't the plugins in '/usr/local/nagios/libexec' ? > > Some help/clarification would be most appreciated here. > > > Thanks, > > JZB > > Jay Brunker > Unix Systems Administrator > Texas Workforce Commission > 101 E. 15th St. > 512-475-2625 Desk Phone > 512-849-4985 Pager > > -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed Mar 15 00:24:37 2006 From: marc at ena.com (Marc Powell) Date: Tue, 14 Mar 2006 17:24:37 -0600 Subject: host status detail page help Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Robert Stewart > Sent: Tuesday, March 14, 2006 3:24 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] host status detail page help > > I have noticed that that the last check of the host detail page is showing > the data of last month. How do I make it check everyday This is normal. Hosts are never checked unless a service on the host fails. If a service is up, the host _must_ be up. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Mar 15 00:30:38 2006 From: marc at ena.com (Marc Powell) Date: Tue, 14 Mar 2006 17:30:38 -0600 Subject: Write a lot more in the Status Information Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Yunsong Gao > Sent: Tuesday, March 14, 2006 3:24 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Write a lot more in the Status Information > > How to set up the parameter to write a lot more into the "Status > Information"? Thanks. Beyond Hugo van der Kooij's response, current versions of Nagios only accept a single line of output from plugins up to 348 characters. That line can be
formatted to emulate multiline output in the GUI though. Multi-line plugin output is planned for Nagios 3.0. http://www.nagios.org/development/upcoming.php -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From step-one-too at bdg.centrin.net.id Wed Mar 15 04:06:45 2006 From: step-one-too at bdg.centrin.net.id (stevanus) Date: Wed, 15 Mar 2006 10:06:45 +0700 Subject: nagios SIGSEGV In-Reply-To: <20060314131853.D15E54F40E3@desire.netways.de> References: <44164CF3.5090101@bdg.centrin.net.id> <20060314131853.D15E54F40E3@desire.netways.de> Message-ID: <441784C5.6020903@bdg.centrin.net.id> Hi, Just for your information, I've solved the problem. It turned out to be permission problem and caused me bad headache for the previous 2 days :P Regards, Stevanus Roland Sorgenfrei wrote: >Hi all, > > > >I have the same problem after executed ext. command. > >When I execude the init scipt, nagios started without problems. > > > >nagios.log > > > >[1141784121] EXTERNAL COMMAND: DEL_ALL_HOST_COMMENTS;XXXXXXX > >[1141784121] Caught SIGSEGV, shutting down... > >[1141890524] Nagios 2.0 starting... (PID=14428) > >[1141890524] LOG VERSION: 2.0 > > > >Nagios version : 2.0 > >Plugins version : 1.4 > >OS : RH 2.1 > > > >roland > >----------------------- > >This thread is located in the archive at this URL: > >http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi >1[showUid]=16270 > > > > > >>Hi, >> >> > > > > > > >>Why nagios shutted down itself when I executed command "service >> >> > nagios > > > >>start" on Redhat Enterprise 3? >> >> > > > >>When I executed the init script directly by using >> >> > > > >>/etc/rc.d/init.d/nagios start, I didn't get any problem... >> >> > > > > > > >>Regards, >> >> > > > > > > >>Stevanus >> >> > > > > > > > > > >>------------------------------------------------------- >> >> > > > >>This SF.Net email is sponsored by xPML, a groundbreaking scripting >> >> > language > > > >>that extends applications into web and mobile media. Attend the >> >> > live webcast > > > >>and join the prime developer group breaking into this new coding >> >> > territory! > > > >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat >> >> >=121642 > > > >>_______________________________________________ >> >> > > > >>Nagios-users mailing list >> >> > > > >>Nagios-users at lists.sourceforge.net >> >> > > > >>https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> > > > >>::: 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 xPML, a groundbreaking scripting language >that extends applications into web and mobile media. Attend the live webcast >and join the prime developer group breaking into this new coding territory! >http://sel.as-us.falkag.net/sel?cmd_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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: From rtparies at gmail.com Wed Mar 15 09:21:11 2006 From: rtparies at gmail.com (Randy Paries) Date: Wed, 15 Mar 2006 02:21:11 -0600 Subject: Help with making sure a process is running on a snmp box Message-ID: Hello, i am trying to set up nagios to verify the a process called heartbeat is running on a remote box. Here are some details: remote box: RH9 my /etc/snmp/snmpd.conf has the line: #---------------------------------------------------------------------------------- proc heartbeat On my nagios box i have the entry in my services.cfg ------------------------------------------------------------------------------------ define service{ use generic-service ; Name of service template to use host_name springfield service_description smnp proc check is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 240 notification_period 24x7 notification_options c,r check_command check_snmp_proc!springfield } The error i get is check_snmp_proc: Could not fetch list of processes snmpwalk -v 1 -c public springfield .1.3.6.1.4.1.2021.2 UCD-SNMP-MIB::prIndex.1 = INTEGER: 1 UCD-SNMP-MIB::prNames.1 = STRING: heartbeat UCD-SNMP-MIB::prMin.1 = INTEGER: 0 UCD-SNMP-MIB::prMax.1 = INTEGER: 0 UCD-SNMP-MIB::prCount.1 = INTEGER: 4 UCD-SNMP-MIB::prErrorFlag.1 = INTEGER: 0 UCD-SNMP-MIB::prErrMessage.1 = STRING: UCD-SNMP-MIB::prErrFix.1 = INTEGER: 0 UCD-SNMP-MIB::prErrFixCmd.1 = STRING: can someone please give me some ideas of where to look next Thanks ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthias.eble at mailing.kaufland-informationssysteme.com Wed Mar 15 11:00:20 2006 From: matthias.eble at mailing.kaufland-informationssysteme.com (Matthias Eble) Date: Wed, 15 Mar 2006 11:00:20 +0100 Subject: 2.0 stable stops checking Message-ID: <4417E5B4.4070801@mailing.kaufland-informationssysteme.com> hi all! we are experiencing occassional problems with nagios 2.0 stable. The main process was reloaded due to configuration changes yesterday (Mar 14th). since then ps -ef looks like this: nagios 1078 1 12 Mar09 ? 16:49:43 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 9431 1078 0 Mar14 ? 00:00:00 [nagios] and nagios stopped to check. Has anyone an idea what could have happened ? The nagios.log and status.dat files have not been updated since then. thanks matthias ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mdash at juniper.net Wed Mar 15 14:50:36 2006 From: mdash at juniper.net (Mrutyunjaya Dash) Date: Wed, 15 Mar 2006 19:20:36 +0530 Subject: check_if_by_snmp output Message-ID: <0DB0FFEA6887E349861A3F6B40D71C3AAD0AC2@gaugeboson.jnpr.net> Hi List, I just installed the snmp4nagios with all the required libraries. Now when I am trying to execute the following command, I am getting the output as below. But according to the document, the output should be something in different way. I believe there is something wrong. Can anyone give some idea on this? ./check_if_by_snmp -R /opt/rrdtool/ -T -L -H localhost -i 2 -I eth0 Timeout! Peer = localhost, OID = 1.3.6.1.2.1.2.2.1.7.2 Whereas the output should be in this way as below OK - eth0: I: 1410937 kO, 12672117 Pkt; O: 1339265 kO, 12722878 Pkt |'estimated speed'=100000000 'input octets'=1444800491c 'input packets'=12672117c 'input errors'=0c 'output octets'=1371407644c 'output packets'=12722878c 'output errors'=0c Regards, Mrutyunjaya Dash IT Engineer Juniper Networks Pvt Ltd. Bangalore -------------- next part -------------- An HTML attachment was scrubbed... URL: From liste at publisher.de Wed Mar 15 14:52:11 2006 From: liste at publisher.de (Ulrich Wisser) Date: Wed, 15 Mar 2006 14:52:11 +0100 Subject: check_apache.pl and apache2 In-Reply-To: <2b36e660603130531od57d97alb8ed13b141955579@mail.gmail.com> References: <2b36e660603130531od57d97alb8ed13b141955579@mail.gmail.com> Message-ID: <44181C0B.2060606@publisher.de> Hi, but this is performance check only, no load check. Ulrich -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: check_apache_perf.pl URL: From bohara at gmail.com Wed Mar 15 15:21:55 2006 From: bohara at gmail.com (Ben O'Hara) Date: Wed, 15 Mar 2006 14:21:55 +0000 Subject: check_apache.pl and apache2 In-Reply-To: <44181C0B.2060606@publisher.de> References: <2b36e660603130531od57d97alb8ed13b141955579@mail.gmail.com> <44181C0B.2060606@publisher.de> Message-ID: <2b36e660603150621r73c94067m3ddeabdea231d203@mail.gmail.com> Cheers Ulrich, That seems to work a treat for what im trying to check Ben On 3/15/06, Ulrich Wisser wrote: > > Hi, > > but this is performance check only, no load check. > > Ulrich > > > #!/usr/bin/perl > # > # (c) 2006 Ulrich Wisser, Relevant Traffic AB > # ulrich.wisser at relevanttraffic.com > # > # Derived work from: > # > # (c)2001 Sebastian Hetze, Linux Information Systems AG > # send bug reports to > # > # Some fixes by Rob. > # > # This program is free software; you can redistribute it and/or > # modify it under the terms of the GNU General Public License > # as published by the Free Software Foundation; version 2 > # of the License > # > # This program is distributed in the hope that it will be useful, > # but WITHOUT ANY WARRANTY; without even the implied warranty > # of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > # GNU General Public License for more details. > # > # you should have received a copy of the GNU General Public License > # along with this program (or with Nagios); if not, write to the > # Free Software Foundation, Inc., 59 Temple Place - Suite 330, > # Boston, MA 02111-1307, USA > # > # > # Check apache status information provided by mod_status to find > # out about the load (number of servers working) and the > # performance (average response time for recent requests). > # > use strict; > use LWP::UserAgent; > use URI::URL; > use Getopt::Long; > Getopt::Long::Configure('bundling'); > use vars qw($VERSION); > > $VERSION=0.01; > > my %ERRORS = ('UNKNOWN' , '-1', > 'OK' , '0', > 'WARNING', '1', > 'CRITICAL', '2'); > # > # global default values > # > my $perf_w=500; > my $perf_c=1000; > my $load_w=80; > my $load_c=100; > my $timeout=15; > my $autostring="?auto"; > # > # get command line options the regular way > # > my ($opt_V, $opt_h, $opt_l, $opt_w, $opt_c, $opt_H, $opt_u, $verbose); > GetOptions( > "V" => \$opt_V, "version" => \$opt_V, > "h" => \$opt_h, "help" => \$opt_h, > "v" => \$verbose, "verbose" => \$verbose, > "w=s" => \$opt_w, "warning=s" => \$opt_w, > "c=s" => \$opt_c, "critical=s" => \$opt_c, > "H=s" => \$opt_H, "hostname=s" => \$opt_H, > "u=s" => \$opt_u, "url=s" => \$opt_u > ); > > # > # handle the verbose stuff first > # > if ($opt_V) { > print "\n"; > print "check_apache_perf nagios plugin version $VERSION\n"; > print "\n"; > print "The nagios plugins come with ABSOLUTELY NO WARRANTY. You may > redistribute\n"; > print "copies of the plugins under the terms of the GNU General Public > License.\n"; > print "For more information about these matters, see the file named > COPYING.\n"; > print "\n"; > exit $ERRORS{'UNKNOWN'}; > } > > if ($opt_h) { > print_help(); > exit $ERRORS{'UNKNOWN'}; > } > > # > # now get options the weired way and set the defaults > # if nothing else is provided > # > if (!$opt_H) {print_usage(); exit $ERRORS{'UNKNOWN'}; }; > if (!$opt_u) {print_usage(); exit $ERRORS{'UNKNOWN'}; }; > my $warn = $1 if ($opt_w =~ /([0-9]+)/); > my $alert = $1 if ($opt_c =~ /([0-9]+)/); > if (!$warn) {print_usage(); exit $ERRORS{'UNKNOWN'}; }; > if (!$alert) {print_usage(); exit $ERRORS{'UNKNOWN'}; }; > > > > # > # dont let us wait forever... > # > $SIG{'ALRM'} = sub { > print ("ERROR: No response from HTTP server (alarm)n"); > exit $ERRORS{"UNKNOWN"}; > }; > alarm($timeout); > # > # now we set things up for the real work > # and fire up the request > # > my $ua = new LWP::UserAgent; > my $url = url("http://" . $opt_H . $opt_u . $autostring); > my $req = new HTTP::Request 'GET', $url; > my $res = $ua->request($req); > # > # hopefully we?ve got something usefull > # > if ($res->is_success) { > my ($accesses, $kbytes, $load, $uptime, $rps, $bps, $bpr, $busy, > $idle, $performance, $score); > $performance = "| "; > foreach $_ (split /^/m, $res->content) { > next if /^s*$/; > # > # this is the load checking section > # we parse the whole content, just in case someone > # wants to use this some day in the future > # > if (/^Total Accesses:\s+([0-9.]+)/) { $accesses = > $1; $performance .= "totalaccess=$accesses "; next; } > if (/^Total kBytes:\s+([0-9.]+)/) { $kbytes = > $1; $performance .= "totalkB=".$kbytes." "; next; } > if (/^CPULoad:\s+([0-9.]+)\s+/) { $load = > $1; $performance .= "CPUload=".$load." "; next; } > if (/^CPULoad:\s+[0-9.]+e/) { $load = 'E'; > $performance .= "CPUload=E "; next; } > if (/^Uptime:\s+([0-9.]+)\s+/) { $uptime = > $1; $performance .= "Uptime=$uptime "; next; } > if (/^ReqPerSec:\s+([0-9.]+)\s+/) { $rps = > $1; $performance .= "ReqPerSec=".$rps." "; next; } > if (/^ReqPerSec:\s+[0-9.]+e/) { $rps = 'E'; > $performance .= "ReqPerSec=E "; next; } > if (/^BytesPerSec:\s+([0-9.]+)\s+/) { $bps = > $1; $performance .= "kBytesPerSec=".($bps/1024)." "; next; } > if (/^BytesPerSec:\s+[0-9.]+e/) { $bps = 'E'; > $performance .= "kBytesPerSec=E "; next; } > if (/^BytesPerReq:\s+([0-9.]+)\s+/) { $bpr = > $1; $performance .= "kBytesPerReq=".($bpr/1024)." "; next; } > if (/^ReqPerSec:\s+[0-9.]+e/) { $bpr = 'E'; > $performance .= "kBytesPerReq=E "; next; } > if (/^BusyServers:\s+([0-9.]+)\s+/) { $busy = > $1; $performance .= "BusyServers=".$busy." "; next; } > if (/^BusyWorkers:\s+([0-9.]+)\s+/) { $busy = > $1; $performance .= "BusyServers=".$busy." "; next; } > if (/^IdleServers:\s+([0-9.]+)\s+/) { $idle = > $1; $performance .= "IdleServers=".$idle." "; next; } > if (/^IdleWorkers:\s+([0-9.]+)\s+/) { $idle = > $1; $performance .= "IdleServers=".$idle." "; next; } > if (/^Scoreboard:\s+([CSRWKDLG_.]+)\s+/) { $score = > $1; next; } > print "Unknown Status: $_\n"; > } > # > # now we even parse the whole scoreboard, just for fun > # > my %scores; > $scores{'.'} = 0; # Unused > $scores{'_'} = 0; # Waiting > $scores{'S'} = 0; # Starting > $scores{'R'} = 0; # Reading > $scores{'W'} = 0; # Writing > $scores{'K'} = 0; # Keepalive > $scores{'D'} = 0; # DNS Lookup > $scores{'L'} = 0; # Logging > $scores{'G'} = 0; # Going > $scores{'C'} = 0; # Closing > foreach my $scorepoint (split //m, $score) { $scores{$scorepoint} += > 1; } > $performance .= "unused=$scores{'.'} wait=$scores{'_'} > start=$scores{'S'} read=$scores{'R'} write=$scores{'W'} > keepalive=$scores{'K'} dns=$scores{'D'} log=$scores{'L'} go=$scores{'G'} > close=$scores{'C'}"; > # > # compute return code > # > my $status = 'OK'; > $status = 'WARNING' if($busy > $warn); > $status = 'CRITICAL' if($busy > $alert); > print "HTTPD $status: servers running $busy, idle $idle > $performance\n"; > exit $ERRORS{$status}; > } else { > print "HTTP request failed\n"; > exit $ERRORS{"CRITICAL"}; > } > # > # ok, now we are almost through > # These last subroutines do the things for those that do not > # read source code. > # > sub print_usage () { > print "Usage: $0 [-hV] -H -u -w -c \n"; > } > > sub print_help () { > print "\n"; > print "\n"; > print "check_apache nagios plugin version $VERSION\n"; > print "\n"; > print "The nagios plugins come with ABSOLUTELY NO WARRANTY. You may > redistribute\n"; > print "copies of the plugins under the terms of the GNU General Public > License.\n"; > print "For more information about these matters, see the file named > COPYING.\n"; > print "\n"; > print "Copyright (c) 2001 Sebastian Hetze Linux Information Systems > AG\n"; > print "\n"; > print "\n"; > print "This plugin checks the apache HTTP service on the specified > host.\n"; > print "It uses the mod_status facilities provided by the apache > server.\n"; > print "The monitoring server must be authorized in httpd.conf.\n"; > print "\n"; > print "\n"; > print_usage(); > print "\n"; > print "Options:\n"; > print " -c, --critical=INTEGER\n"; > print " performance level at which a critical message will be > gererated.\n"; > print " -H, --hostname=ADDRESS\n"; > print " host name argument for server.\n"; > print " -h, --help\n"; > print " print detailed help screen.\n"; > print " -u, --url=PATH\n"; > print " location to call mod_status.\n"; > print " -V, --version\n"; > print " print version information.\n"; > print " -w, --warning=INTEGER\n"; > print " performance level at which a warning message will be > gererated.\n"; > print "\n"; > print "\n"; > } > # > # the end > # > > > -- "A Scientist will earn a living by taking a really difficult problem and spends many years solving it, an engineer earns a living by finding really difficult problems and side stepping them" -------------- next part -------------- An HTML attachment was scrubbed... URL: From boinger at tradingtechnologies.com Wed Mar 15 15:56:46 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Wed, 15 Mar 2006 08:56:46 -0600 Subject: check_ssh_login ? Message-ID: <1142434606.24001.40.camel@chi101100.int.tt.local> I need to check if I can log into a specific account on a system via SSH, but due to the nature of the system (tunneled to a serial console), I am unable to set up a key pair. check_ssh only verifies that the system is answering to SSH requests (which doesn't help me, the serial console host almost certainly responds). check_by_ssh is *close*, but provides no method of passing a password via the command line (which, yes, is a ghetto method of doing things, but you would still have to know the login to the system, and it *is different*), and it requires a remote command to execute. So, before I delve into hacking this functionality into check_by_ssh, does anyone have a solution with existing tools? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: From justin.shore at sktbcs.com Wed Mar 15 17:35:56 2006 From: justin.shore at sktbcs.com (Justin Shore) Date: Wed, 15 Mar 2006 10:35:56 -0600 Subject: Escalation best practices Message-ID: I've just started rolling out escalations at one of my sites using Nagios. I'm not a big escalation buff though. I have a question that I couldn't answer via that docs. Is there any other way of matching up a serviceescalation definition with a service definition other than the service_description value? I use that field for a verbose description of my services (not just SMTP, HTTP, etc). For example I use check_snmp_int to check the state of a serial interface on a router. The service_description field includes the circuit provider's name, circuit ID, support telephone #, and a description of the circuit. All that text is what's used to match the serviceescalation definition to the service definition. I don't know what else we could match on but I'm hopeful that there's something else. Many thanks Justin -- Justin Shore, Network Engineer SKT Business Communication Solutions Office: (316) 265-9555 x3217 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JBilder at bacons.com Wed Mar 15 18:33:34 2006 From: JBilder at bacons.com (Jeffry Bilder) Date: Wed, 15 Mar 2006 11:33:34 -0600 Subject: Service Dependancies Message-ID: I am currently trying to find a way to supress emails about services being down if PING has a problem. Does anyone else have it setup in this manner? For example... A windows machine is not pingable, suppress all other notifications until Ping is accessible again. I am also having an issue with Plugins timing out, or being refused. Is there a setting in nagios to increase the # of checks it can run simultaneously? Thanks, JB ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From markkram at tin.it Wed Mar 15 18:44:43 2006 From: markkram at tin.it (Andrea) Date: Wed, 15 Mar 2006 18:44:43 +0100 Subject: escape bang character in command line Message-ID: <2fcf01c64858$25045280$450314ac@MITS> Hi all, how can i escape bang character in check_command_parameter directive in services.cfg ? The bang character is included in password account, thank Andrea -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed Mar 15 19:02:03 2006 From: marc at ena.com (Marc Powell) Date: Wed, 15 Mar 2006 12:02:03 -0600 Subject: Service Dependancies Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jeffry Bilder > Sent: Wednesday, March 15, 2006 11:34 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Service Dependancies > > I am currently trying to find a way to supress emails about services > being down if PING has a problem. Does anyone else have it setup in > this manner? For example... > > A windows machine is not pingable, suppress all other notifications > until Ping is accessible again. This is standard behavior if you have a host check_command that returns non-OK when the host is unavailable. http://nagios.sourceforge.net/docs/1_0/networkreachability.html > I am also having an issue with Plugins timing out, or being refused. Is > there a setting in nagios to increase the # of checks it can run > simultaneously? http://nagios.sourceforge.net/docs/1_0/configmain.html#max_concurrent_ch ecks You'll probably be interested in the *_timeout settings there as well. These control the maximum amount of time allowed for each type of action. Bear in mind that each plugin typically has its own timeout value as well. You can see what those are and how to change them by running 'plugin_name --help' and modifying the command definitions that call that plugin appropriately. Finally, you can run '/path/to/nagios -s /path/to/nagios.cfg' to get information about scheduling and recommendations for some settings. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JBilder at bacons.com Wed Mar 15 19:16:13 2006 From: JBilder at bacons.com (Jeffry Bilder) Date: Wed, 15 Mar 2006 12:16:13 -0600 Subject: Service Dependancies Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jeffry Bilder > Sent: Wednesday, March 15, 2006 11:34 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Service Dependancies > > I am currently trying to find a way to supress emails about services > being down if PING has a problem. Does anyone else have it setup in > this manner? For example... > > A windows machine is not pingable, suppress all other notifications > until Ping is accessible again. This is standard behavior if you have a host check_command that returns non-OK when the host is unavailable. http://nagios.sourceforge.net/docs/1_0/networkreachability.html I have read the documentation, and I am using 2.0. I really wish this were the case by default cause I am getting notified that all the services are down when the host cannot be pinging. Please check an example of a host in my hosts.cfg section: define host { host_name S2NA1ROCK alias S2NA1ROCK address 192.168.1.10 parents ROCK-Firewall hostgroups Servers max_check_attempts 10 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 obsess_over_host 1 check_freshness 0 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 contact_groups admins,Server-Administrator notification_interval 0 notification_period 24x7 notification_options d,r notifications_enabled 1 register 1 } Do I have something misconfigured that is still allowing all subsequest services to alert? Thanks so much for all the help! ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Mar 15 19:30:07 2006 From: marc at ena.com (Marc Powell) Date: Wed, 15 Mar 2006 12:30:07 -0600 Subject: Service Dependancies Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jeffry Bilder > Sent: Wednesday, March 15, 2006 12:16 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Service Dependancies > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Jeffry Bilder > > Sent: Wednesday, March 15, 2006 11:34 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Service Dependancies > > > > I am currently trying to find a way to supress emails about services > > being down if PING has a problem. Does anyone else have it setup in > > this manner? For example... > > > > A windows machine is not pingable, suppress all other notifications > > until Ping is accessible again. > > This is standard behavior if you have a host check_command that returns > non-OK when the host is unavailable. > > http://nagios.sourceforge.net/docs/1_0/networkreachability.html > > I have read the documentation, and I am using 2.0. I really wish this > were the case by default cause I am getting notified that all the > services are down when the host cannot be pinging. Please check an > example of a host in my hosts.cfg section: > > define host { > host_name S2NA1ROCK > alias S2NA1ROCK > address 192.168.1.10 > parents ROCK-Firewall > hostgroups Servers > max_check_attempts 10 > active_checks_enabled 1 > passive_checks_enabled 1 > check_period 24x7 > obsess_over_host 1 > check_freshness 0 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > contact_groups admins,Server-Administrator > notification_interval 0 > notification_period 24x7 > notification_options d,r > notifications_enabled 1 > register 1 > } > > Do I have something misconfigured that is still allowing all subsequest > services to alert? Yes, you're missing a check_command for this host. That is required for the behavior you want and with your config above the host itself is never checked. If you're using the sample config files as a base, there is a command definition named check-host-alive that you can use. check_command check-host-alive I would also set max_check_attempts to 1 or 2. You don't need more than that to determine if the host is down and you want host checks to finish as quickly as possible. _All_ other activity stops while hosts are being checked. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Wed Mar 15 21:44:58 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Wed, 15 Mar 2006 15:44:58 -0500 Subject: check_ssh_login ? In-Reply-To: Your message of "Wed, 15 Mar 2006 08:56:46 CST." <1142434606.24001.40.camel@chi101100.int.tt.local> References: <1142434606.24001.40.camel@chi101100.int.tt.local> Message-ID: <200603152045.k2FKjXQo006200@mx1.cs.umb.edu> In message <1142434606.24001.40.camel at chi101100.int.tt.local>, jeff vier writes: >I need to check if I can log into a specific account on a system via >SSH, but due to the nature of the system (tunneled to a serial console), >I am unable to set up a key pair. Replace your serial consoles with something like a Cyclades that allows use of public keys. >check_by_ssh is *close*, but provides no method of passing a password >via the command line (which, yes, is a ghetto method of doing things, >but you would still have to know the login to the system, and it *is >different*), and it requires a remote command to execute. > >So, before I delve into hacking this functionality into check_by_ssh, I don't think check_by_ssh is going to work since the ssh->serial connection will probably not permit execution of a script and the return of the exit code without a lot of work. Also it has no real interactive support and it should like you need that. >does anyone have a solution with existing tools? An expect wrapper around ssh should do the trick and it can negotiate the login prompt on the serial port as well. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s4nag at no-where.at Wed Mar 15 22:42:43 2006 From: s4nag at no-where.at (Peter Gritsch) Date: Wed, 15 Mar 2006 22:42:43 +0100 Subject: check_if_by_snmp output In-Reply-To: <0DB0FFEA6887E349861A3F6B40D71C3AAD0AC2@gaugeboson.jnpr.net> References: <0DB0FFEA6887E349861A3F6B40D71C3AAD0AC2@gaugeboson.jnpr.net> Message-ID: <200603152242.43758.s4nag@no-where.at> On Wednesday 15 March 2006 14:50, Mrutyunjaya Dash wrote: Hi all, > Hi List, > > I just installed the snmp4nagios with all the required libraries. > Now when I am trying to execute the following command, I am getting > the output as below. But according to the document, the output > should be something in different way. I believe there is something > wrong. Can anyone give some idea on this? > > ./check_if_by_snmp -R /opt/rrdtool/ -T -L -H localhost -i 2 -I eth0 > Timeout! Peer = localhost, OID = 1.3.6.1.2.1.2.2.1.7.2 This indicates a problem with SNMP. Did you set up a default community file? Try snmpwalk -v 2c -c `cat $HOME/.snmp4nagios/community` \ localhost .1.3.6.1.2.1.1 This should return some information about localhost. Otherwise there is likely a problem with either the SNMP agent at localhost or the way communities are configured in SNMP4Nagios. Run the plugin with (additionally) -v -v -v and check the log (usually /var/log/messages) for the debugging messages about the community the plugin uses. > Whereas the output should be in this way as below > > OK - eth0: I: 1410937 kO, 12672117 Pkt; O: 1339265 kO, 12722878 Pkt > > |'estimated speed'=100000000 > > 'input octets'=1444800491c 'input packets'=12672117c 'input > errors'=0c 'output octets'=1371407644c 'output packets'=12722878c > 'output errors'=0c This is the non-default "Nagios Plugins" style. It is enabled at runtime using the command line switch "-N". Therefor your command should be something like ./check_if_by_snmp -R /opt/rrdtool/ -T -L -H localhost -i 2 -I eth0 -N Hope that helps, Peter -- Peter Gritsch mail: s4nag at no-where.at web: http://snmp4nagios.sourceforge.net/ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Wed Mar 15 22:44:23 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Wed, 15 Mar 2006 15:44:23 -0600 Subject: check_ssh_login ? In-Reply-To: <200603152045.k2FKjXQo006200@mx1.cs.umb.edu> References: <200603152045.k2FKjXQo006200@mx1.cs.umb.edu> Message-ID: <1142459063.8119.8.camel@chi100400> On Wed, 2006-03-15 at 15:44 -0500, John P. Rouillard wrote: > In message <1142434606.24001.40.camel at chi101100.int.tt.local>, > jeff vier writes: > >I need to check if I can log into a specific account on a system via > >SSH, but due to the nature of the system (tunneled to a serial console), > >I am unable to set up a key pair. > > Replace your serial consoles with something like a Cyclades that > allows use of public keys. it's an off-site hosted box for a side-project of mine. This isn't enterprise-level stuff (and I can't influence changes directly). > I don't think check_by_ssh is going to work since the ssh->serial > connection will probably not permit execution of a script and the > return of the exit code without a lot of work. Also it has no real > interactive support and it should like you need that. that's a good point. I was envisioning it functioning like, as you said below, an expect wrapper or something similar. In the mean time, I'm forcing myself to be satisfied with just checking that I can connect to the SSH server at all. > >does anyone have a solution with existing tools? > An expect wrapper around ssh should do the trick and it can negotiate > the login prompt on the serial port as well. I don't want to actually log in, I just want to see that I'm prompted for the username with the correct hostname. So, yeah, I think we're on the same page. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: From dschlecht at doit.nv.gov Wed Mar 15 23:51:42 2006 From: dschlecht at doit.nv.gov (David Schlecht) Date: Wed, 15 Mar 2006 23:51:42 +0100 (CET) Subject: Acknowledge issues via e-mail In-Reply-To: <76CF93775035B64589C218D2B034B71EFFF36E@post1.aeso.ca> References: <76CF93775035B64589C218D2B034B71EFFF36E@post1.aeso.ca> Message-ID: <20060315225142.188844F40E3@desire.netways.de> Hi Dany So, Dany, how did your endeavors go? Did you get it working? We're looking for the same solution. Are you willing to share your experience with the list? - David Schlecht (dschl) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=14824 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dany.allard at aeso.ca Thu Mar 16 00:00:40 2006 From: dany.allard at aeso.ca (Dany Allard) Date: Wed, 15 Mar 2006 16:00:40 -0700 Subject: Acknowledge issues via e-mail Message-ID: <8BDF7AA2F8FED84588A2446B0F4FFD87A4B9@post2.aeso.ca> David We are still working on getting it implemented (change control/paperwork). The script that was sent to the list by Terry works well enough on the command line. We are now working on the e-mail parsing piece. Unfortunately due to other priorities this has fallen behind a bit. Once I have the completed solution I will post back to the list. Thanks Dany Allard -----Original Message----- From: David Schlecht [mailto:dschlecht at doit.nv.gov] Sent: Wednesday, March 15, 2006 3:52 PM To: nagios-users at lists.sourceforge.net; td3201 at gmail.com; andrew at profitability.net; Dany Allard; chad.osmond at holburn.com Subject: Re: [Nagios-users] Acknowledge issues via e-mail Hi Dany So, Dany, how did your endeavors go? Did you get it working? We're looking for the same solution. Are you willing to share your= experience with the list? - David Schlecht (dschl) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_p i= 1[showUid]=14824 This message is intended only for the addressee and may contain personal, privileged or confidential information. If you have received this message in error, please notify the sender immediately and delete or destroy this message without making copies or opening any attachments. Any further distribution, duplication or disclosure is prohibited. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dick at uchicago.edu Thu Mar 16 01:19:42 2006 From: dick at uchicago.edu (dick at uchicago.edu) Date: Wed, 15 Mar 2006 18:19:42 -0600 Subject: switch host definition: no IP Message-ID: i want some advice on if and how i should add an IP-less switch into my host definitions. the templates i've found for switches always have an IP associated with them, like so: define host{ use generic-host host_name switch1 alias Switch #1 address 192.168.1.230 check_command check-host-alive max_check_attempts 10 notification_interval 60 notification_period 24x7 notification_options d,u,r contact_groups switch-admins } but my switches do not have an IP associated with them, being setup thusly: (firewall)---(switch1)----(mailserver) 10.9.0.1 | 10.9.0.3 | (wifi AP) 10.9.0.2 in this case, would i want to make a host named switch1 and have it be the parent of the mailserver and wifi AP machines, or should i omit the switch1 host and have firewall be the parent of the two machines behind switch1? i would like to be able to detect if the switch has burned out, not just that the hosts are both down. perhaps my switch is too crappy? thx for reading. cheers, jake ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 16 02:12:45 2006 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Thu, 16 Mar 2006 12:12:45 +1100 Subject: Service dependencies Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6ABE6F51@mail01.ccia.local> Hi all, I check a lot of window services from linux via snmp. One service is SNMP, if this fails or stops, others will fail. An I going to get a heap of notification for each service ? I've looked at the service dependency section in the docs, and it looks like I need to define a dependency for each service, for each host. That's a lot of defining. Is there any tools available to help manage configurations ? thanks Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research -------------- next part -------------- An HTML attachment was scrubbed... URL: From td3201 at gmail.com Thu Mar 16 02:49:02 2006 From: td3201 at gmail.com (Terry) Date: Wed, 15 Mar 2006 19:49:02 -0600 Subject: Acknowledge issues via e-mail In-Reply-To: <8BDF7AA2F8FED84588A2446B0F4FFD87A4B9@post2.aeso.ca> References: <8BDF7AA2F8FED84588A2446B0F4FFD87A4B9@post2.aeso.ca> Message-ID: <8ee061010603151749g7d087fb7rbfa606047822430e@mail.gmail.com> Here is my working updated script. - Set up a pop3 account with the same email address as the FROM address of your nagios alerts - When you receive an alert, simply reply to the alert and prepend your password and command to the subject. Like this: foobar ack PROBLEM: server01/Test Service Webmin is CRITICAL You can get fancy and have people specify their name too as the author of the comment if you are in a large environment. Might even do FROM header matching and pass that on as the author if you really feel the need. Also, here is the updated procmail recipe: BODY=`formail -I ""` :0w: | /usr/share/nagios/contrib/processmailcommands.sh "$BODY" Script: #!/usr/bin/perl $commandfile = "/var/log/nagios/rw/nagios.cmd"; $now = `date +%s`; $body = "$ARGV[0]"; chomp $body; $body =~ s/\n//g; $comment = "Remote Acknowledgement"; $author = "remote"; ($password, $action, $crap, $crap, $crap, $crap) = split(/ /,"$body"); ($foo) = $body=~/PROBLEM: (.*\/.*) is/; ($host, $service) = split(/\//,"$foo"); if( $password =~ /(?i)foobar/ ){ if( $action =~ /(?i)ack/ ){ open(F,">>$commandfile") or die ("Cant open"); $output = `/usr/bin/printf "[%lu] ACKNOWLEDGE_SVC_PROBLEM;$host;$service;1;$comment\n" $now`; print F $output; $output = `/usr/bin/printf "[%lu] ADD_SVC_COMMENT;$host;$service;1;$author;$comment\n" $now`; print F $output; close F; } elsif ( $action =~ /(?i)nosvcchk/ ){ open(F,">>$commandfile") or die ("Cant open"); $output = `/usr/bin/printf "[%lu] DISABLE_SVC_CHECK;$host;$service\n" $now`; print F $output; close F; } elsif ( $action =~ /(?i)nosvcnotify/ ){ open(F,">>$commandfile") or die ("Cant open"); $output = `/usr/bin/printf "[%lu] DISABLE_SVC_NOTIFICATIONS;$host;$service\n" $now`; print F $output; close F; } elsif ( $action =~ /(?i)nohostchk/ ){ open(F,">>$commandfile") or die ("Cant open"); $output = `/usr/bin/printf "[%lu] DISABLE_HOST_SVC_CHECKS;$host\n" $now`; print F $output; close F; } } else { exit 1; } On 3/15/06, Dany Allard wrote: > David > > We are still working on getting it implemented (change > control/paperwork). > The script that was sent to the list by Terry works well enough on the > command line. We are now working on the e-mail parsing piece. > Unfortunately due to other priorities this has fallen behind a bit. > Once I have the completed solution I will post back to the list. > > Thanks > > Dany Allard > > -----Original Message----- > From: David Schlecht [mailto:dschlecht at doit.nv.gov] > Sent: Wednesday, March 15, 2006 3:52 PM > To: nagios-users at lists.sourceforge.net; td3201 at gmail.com; > andrew at profitability.net; Dany Allard; chad.osmond at holburn.com > Subject: Re: [Nagios-users] Acknowledge issues via e-mail > > Hi Dany > > > > So, Dany, how did your endeavors go? Did you get it working? > > > > We're looking for the same solution. Are you willing to share your= > experience with the list? > > > > > > - David Schlecht (dschl) > > > > ----------------------- > > This thread is located in the archive at this URL: > > http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_p > i= > 1[showUid]=14824 > > > This message is intended only for the addressee and may contain personal, privileged or confidential information. > If you have received this message in error, please notify the sender immediately and delete or destroy this > message without making copies or opening any attachments. Any further distribution, duplication or disclosure > is prohibited. > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jorge at ccc.uba.ar Thu Mar 16 04:14:52 2006 From: jorge at ccc.uba.ar (Jorge Polinotto) Date: Thu, 16 Mar 2006 00:14:52 -0300 (ART) Subject: statusmap.cgi Message-ID: <1201.200.127.203.72.1142478892.squirrel@webmail.ccc.uba.ar> Hi all! Could anybody compile Nagios with gd library and so on in FreeBSD, either using the tar.gz file or ports as well? I've tried many differents ways but i couldn't get the statusmap.cgi... Thanks to all... Jorge.- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 16 04:34:00 2006 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 15 Mar 2006 22:34:00 -0500 Subject: statusmap.cgi In-Reply-To: <1201.200.127.203.72.1142478892.squirrel@webmail.ccc.uba.ar> References: <1201.200.127.203.72.1142478892.squirrel@webmail.ccc.uba.ar> Message-ID: <302ce8b50603151934u7cf153c9w732c615162596fce@mail.gmail.com> On 3/15/06, Jorge Polinotto wrote: > Hi all! > Could anybody compile Nagios with gd library and so on in FreeBSD, either > using the tar.gz file or ports as well? > I've tried many differents ways but i couldn't get the statusmap.cgi... > Thanks to all... > Jorge.- Which version of nagios? How are you trying to build, and how is it failing? -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Mar 16 07:36:36 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 16 Mar 2006 07:36:36 +0100 (CET) Subject: switch host definition: no IP In-Reply-To: References: Message-ID: On Wed, 15 Mar 2006 dick at uchicago.edu wrote: > (firewall)---(switch1)----(mailserver) > 10.9.0.1 | 10.9.0.3 > | > (wifi AP) > 10.9.0.2 > > in this case, would i want to make a host named switch1 and have it be the > parent of the mailserver and wifi AP machines, or should i omit the switch1 host > and have firewall be the parent of the two machines behind switch1? > > i would like to be able to detect if the switch has burned out, not just that > the hosts are both down. perhaps my switch is too crappy? You can not check an unmanaged switch. It is that simple. ("You can't change the laws of physics captain") The closest you can get is to verify if the interface from the firewall is up and let the firewall be the parent of servers. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Mar 16 07:38:46 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 16 Mar 2006 07:38:46 +0100 (CET) Subject: Service dependencies In-Reply-To: <2A67EA781EC7F949A2AB0A0D07A86C6ABE6F51@mail01.ccia.local> References: <2A67EA781EC7F949A2AB0A0D07A86C6ABE6F51@mail01.ccia.local> Message-ID: On Thu, 16 Mar 2006, Matthew Joyce wrote: > I check a lot of window services from linux via snmp. > One service is SNMP, if this fails or stops, others will fail. > > An I going to get a heap of notification for each service ? > > I've looked at the service dependency section in the docs, and it looks > like I need to define a dependency for each service, for each host. > That's a lot of defining. Not at all. Read the archives for samples of how to use the wildcards in your dependencies definitions. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mdash at juniper.net Thu Mar 16 08:35:04 2006 From: mdash at juniper.net (Mrutyunjaya Dash) Date: Thu, 16 Mar 2006 13:05:04 +0530 Subject: check_if_by_snmp output Message-ID: <0DB0FFEA6887E349861A3F6B40D71C3AAD0B80@gaugeboson.jnpr.net> Hi Gritsch, I tried executing the command but it seems the command is not there in the system. I have installed net-snmp on the system. Can you please let me know whether snmpwalk comes along with net-snmp package or I need to install some other package separately to get the snmpwalk? Regards, Dash ________________________________ From: Gritsch Peter [mailto:peter.gritsch at fh-joanneum.at] Sent: Wednesday, March 15, 2006 7:49 PM To: Mrutyunjaya Dash Subject: AW: [Nagios-users] check_if_by_snmp output Hi Dash! Looks like a problem with SNMP generally. Did you set up a default community file? Try snmpwalk -v 2c -c `cat $HOME/.snmp4nagios/community` \ localhost .1.3.6.1.2.1.1 Unless this returns some information about localhost, there is likely a problem with either the snmp agent @ localhost or the way communities are configured in SNMP4Nagios. Run with -v -v -v and check the log (/var/log/messages usually) for the community the plugin uses. Concerning the "Nagios Plugins" Style output you describe below: Use the command line switch "-N" to get this (i.e. use something like ./check_if_by_snmp -R /opt/rrdtool/ \ -T -L -H localhost -i 2 -I eth0 -N Hope that helps, Peter ________________________________ Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Mrutyunjaya Dash Gesendet: Mittwoch, 15. M?rz 2006 14:51 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] check_if_by_snmp output Hi List, I just installed the snmp4nagios with all the required libraries. Now when I am trying to execute the following command, I am getting the output as below. But according to the document, the output should be something in different way. I believe there is something wrong. Can anyone give some idea on this? ./check_if_by_snmp -R /opt/rrdtool/ -T -L -H localhost -i 2 -I eth0 Timeout! Peer = localhost, OID = 1.3.6.1.2.1.2.2.1.7.2 Whereas the output should be in this way as below OK - eth0: I: 1410937 kO, 12672117 Pkt; O: 1339265 kO, 12722878 Pkt |'estimated speed'=100000000 'input octets'=1444800491c 'input packets'=12672117c 'input errors'=0c 'output octets'=1371407644c 'output packets'=12722878c 'output errors'=0c Regards, Mrutyunjaya Dash IT Engineer Juniper Networks Pvt Ltd. Bangalore -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.borsani at it.net Thu Mar 16 10:30:13 2006 From: m.borsani at it.net (Marco Borsani) Date: Thu, 16 Mar 2006 10:30:13 +0100 Subject: Strange situation.. Message-ID: <009801c648dc$3a872c20$0900d40a@intranet.it.net> Hi all! I prepare a very simple check (called check_fax) that read a text file. If check_fax find an "OK" it will return a status 0, if check_fax find a "CRITICAL" it will return a status 2. Well, when I run manually check_fax (like nagios user or root user) it work correctly (returns 0), but when Nagios run check_fax, it returns a status 2. I try to modify check_fax permissions like: -rwxr-xr-x 1 root sys 654 Mar 16 09:42 check_fax -rwxr-xr-x 1 nagios nagios 654 Mar 16 09:42 check_fax But nothing has been changed. Here it is the check_fax: ---------------------------------------------------------------------- #!/bin/csh # set dir2 = /tmp set STATUS = `cat $dir2/Invio_Rice.log | grep -c OK` if ( "$STATUS" == "1" ) then echo "FAX OK - Invio e ricezione di prova avvenuto" > $dir2/Rice.log echo "FAX OK - Invio e ricezione di prova avvenuto" else echo "FAX CRITICAL - Invio e ricezione di prova NON avvenuto" > $dir2/Rice.log echo "FAX CRITICAL - Invio e ricezione di prova NON avvenuto" exit 2 endif exit 0 ------------------------------------------------------------------------ Any idea? Regards Marco Borsani Unix & Monitoring System Administrator Technical Operation Tel. +39 010 4310115 Fax +39 010 4327454 E-mail: m.borsani at IT.net ITnet S.r.l. - Direzione e Coordinamento di WIND Telecomunicazioni S.p.A. Internet Service Provider Sede legale: Via C.G.Viola, 48 - 00148 Roma Dir. Centrale e Amministrativa: Via Pacinotti, 39 16151 Genova (Italy) http://www.it.net mailto:info at IT.net _______________________________________________________________ Altre sedi ITnet: MILANO tel.: +39 02 30114900 info-milano at IT.net ROMA tel.: +39 06 83116707 info-roma at IT.net _______________________________________________________________ ITnet is associated to CIX (Commercial IP eXchange) and RIPE ITnet is associated to AIIP (Associazione Italiana Internet Providers) ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Zimmer at oppenheim.de Thu Mar 16 10:45:19 2006 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Thu, 16 Mar 2006 10:45:19 +0100 Subject: AW: Strange situation.. Message-ID: <9A834A8DCEC68648B20701E1CDE109250295EDA3@OKWPMXS01.de.sal-opp.net> What is the logfile-output? Why do you only check 1 occurence of 'OK'? Wouldn?t it be better to the opposite (if possible): ---------------------------------------------------------------------- #!/bin/csh # set dir2 = /tmp set STATUS = `cat $dir2/Invio_Rice.log | grep -c CRITICAL` [or "Error", "Exception" o.s.] if ( "$STATUS" != "0" ) then echo "FAX CRITICAL - Invio e ricezione di prova NON avvenuto" > $dir2/Rice.log echo "FAX CRITICAL - Invio e ricezione di prova NON avvenuto" exit 2 else echo "FAX OK - Invio e ricezione di prova avvenuto" > $dir2/Rice.log echo "FAX OK - Invio e ricezione di prova avvenuto" exit 0 endif ------------------------------------------------------------------------ Thomas Zimmer Produktservice & Betrieb Betrieb & Support Sal. Oppenheim jr. & Cie., Frankfurt a. Main Telefon: +49 69 7134 5192 Internet: http://www.oppenheim.de E-Mail: thomas.zimmer at oppenheim.de -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Marco Borsani Gesendet: Donnerstag, 16. M?rz 2006 10:30 An: 'NAGIOS' Betreff: [Nagios-users] Strange situation.. Wichtigkeit: Hoch Hi all! I prepare a very simple check (called check_fax) that read a text file. If check_fax find an "OK" it will return a status 0, if check_fax find a "CRITICAL" it will return a status 2. Well, when I run manually check_fax (like nagios user or root user) it work correctly (returns 0), but when Nagios run check_fax, it returns a status 2. I try to modify check_fax permissions like: -rwxr-xr-x 1 root sys 654 Mar 16 09:42 check_fax -rwxr-xr-x 1 nagios nagios 654 Mar 16 09:42 check_fax But nothing has been changed. Here it is the check_fax: ---------------------------------------------------------------------- #!/bin/csh # set dir2 = /tmp set STATUS = `cat $dir2/Invio_Rice.log | grep -c OK` if ( "$STATUS" == "1" ) then echo "FAX OK - Invio e ricezione di prova avvenuto" > $dir2/Rice.log echo "FAX OK - Invio e ricezione di prova avvenuto" else echo "FAX CRITICAL - Invio e ricezione di prova NON avvenuto" > $dir2/Rice.log echo "FAX CRITICAL - Invio e ricezione di prova NON avvenuto" exit 2 endif exit 0 ------------------------------------------------------------------------ Any idea? Regards Marco Borsani Unix & Monitoring System Administrator Technical Operation Tel. +39 010 4310115 Fax +39 010 4327454 E-mail: m.borsani at IT.net ITnet S.r.l. - Direzione e Coordinamento di WIND Telecomunicazioni S.p.A. Internet Service Provider Sede legale: Via C.G.Viola, 48 - 00148 Roma Dir. Centrale e Amministrativa: Via Pacinotti, 39 16151 Genova (Italy) http://www.it.net mailto:info at IT.net _______________________________________________________________ Altre sedi ITnet: MILANO tel.: +39 02 30114900 info-milano at IT.net ROMA tel.: +39 06 83116707 info-roma at IT.net _______________________________________________________________ ITnet is associated to CIX (Commercial IP eXchange) and RIPE ITnet is associated to AIIP (Associazione Italiana Internet Providers) ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Zimmer, Thomas (Produktservices und Betrieb).vcf Type: application/octet-stream Size: 254 bytes Desc: not available URL: From m.borsani at it.net Thu Mar 16 10:50:25 2006 From: m.borsani at it.net (Marco Borsani) Date: Thu, 16 Mar 2006 10:50:25 +0100 Subject: R: Strange situation.. In-Reply-To: <9A834A8DCEC68648B20701E1CDE109250295EDA3@OKWPMXS01.de.sal-opp.net> References: <9A834A8DCEC68648B20701E1CDE109250295EDA3@OKWPMXS01.de.sal-opp.net> Message-ID: <00b201c648df$0d22f720$0900d40a@intranet.it.net> The logfile have only one line, that could be: FAX OK or FAX CRITICAL This is the meaning because I only check 1 occurence. -}-----Messaggio originale----- -}Da: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net] Per conto -}di Thomas.Zimmer at oppenheim.de -}Inviato: gioved? 16 marzo 2006 10.45 -}A: nagios-users at lists.sourceforge.net -}Oggetto: AW: [Nagios-users] Strange situation.. -} -}What is the logfile-output? -} -}Why do you only check 1 occurence of 'OK'? Wouldn?t it be -}better to the opposite (if possible): -}---------------------------------------------------------------------- -}#!/bin/csh -}# -}set dir2 = /tmp -} -}set STATUS = `cat $dir2/Invio_Rice.log | grep -c CRITICAL` -}[or "Error", "Exception" o.s.] -} -}if ( "$STATUS" != "0" ) then -} echo "FAX CRITICAL - Invio e ricezione di prova NON -}avvenuto" > $dir2/Rice.log -} echo "FAX CRITICAL - Invio e ricezione di prova NON avvenuto" -} exit 2 -}else -} echo "FAX OK - Invio e ricezione di prova avvenuto" > -}$dir2/Rice.log -} echo "FAX OK - Invio e ricezione di prova avvenuto" -} exit 0 -}endif -}-------------------------------------------------------------- -}---------- -} -} -} -}Thomas Zimmer -}Produktservice & Betrieb -}Betrieb & Support -}Sal. Oppenheim jr. & Cie., Frankfurt a. Main -}Telefon: +49 69 7134 5192 -}Internet: http://www.oppenheim.de -}E-Mail: thomas.zimmer at oppenheim.de -} -} -} -}-----Urspr?ngliche Nachricht----- -}Von: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag -}von Marco Borsani -}Gesendet: Donnerstag, 16. M?rz 2006 10:30 -}An: 'NAGIOS' -}Betreff: [Nagios-users] Strange situation.. -}Wichtigkeit: Hoch -} -} -}Hi all! -} -}I prepare a very simple check (called check_fax) that read a -}text file. -} -}If check_fax find an "OK" it will return a status 0, if -}check_fax find a "CRITICAL" it will return a status 2. -} -}Well, when I run manually check_fax (like nagios user or root -}user) it work correctly (returns 0), but when Nagios run -}check_fax, it returns a status 2. -} -}I try to modify check_fax permissions like: -}-rwxr-xr-x 1 root sys 654 Mar 16 09:42 check_fax -}-rwxr-xr-x 1 nagios nagios 654 Mar 16 09:42 check_fax -}But nothing has been changed. -} -}Here it is the check_fax: -}---------------------------------------------------------------------- -}#!/bin/csh -}# -}set dir2 = /tmp -} -}set STATUS = `cat $dir2/Invio_Rice.log | grep -c OK` -} -}if ( "$STATUS" == "1" ) then -} echo "FAX OK - Invio e ricezione di prova avvenuto" > -}$dir2/Rice.log -} echo "FAX OK - Invio e ricezione di prova avvenuto" else -} echo "FAX CRITICAL - Invio e ricezione di prova NON -}avvenuto" > $dir2/Rice.log -} echo "FAX CRITICAL - Invio e ricezione di prova NON avvenuto" -} exit 2 -}endif -} -}exit 0 -}-------------------------------------------------------------- -}---------- -} -}Any idea? -}Regards -} -}Marco Borsani -}Unix & Monitoring System Administrator -}Technical Operation -}Tel. +39 010 4310115 -}Fax +39 010 4327454 -}E-mail: m.borsani at IT.net -} -}ITnet S.r.l. - Direzione e Coordinamento di WIND -}Telecomunicazioni S.p.A. -}Internet Service Provider -}Sede legale: Via C.G.Viola, 48 - 00148 Roma -}Dir. Centrale e Amministrativa: Via Pacinotti, 39 -} 16151 Genova (Italy) -} -}http://www.it.net -}mailto:info at IT.net -}_______________________________________________________________ -}Altre sedi ITnet: -}MILANO tel.: +39 02 30114900 info-milano at IT.net -}ROMA tel.: +39 06 83116707 info-roma at IT.net -}_______________________________________________________________ -}ITnet is associated to CIX (Commercial IP eXchange) and RIPE -}ITnet is associated to AIIP (Associazione Italiana Internet Providers) -} -} -} -} -}------------------------------------------------------- -}This SF.Net email is sponsored by xPML, a groundbreaking -}scripting language -}that extends applications into web and mobile media. Attend -}the live webcast -}and join the prime developer group breaking into this new -}coding territory! -}http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720& -}dat=121642 -}_______________________________________________ -}Nagios-users mailing list -}Nagios-users at lists.sourceforge.net -}https://lists.sourceforge.net/lists/listinfo/nagios-users -}::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Zimmer at oppenheim.de Thu Mar 16 10:51:05 2006 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Thu, 16 Mar 2006 10:51:05 +0100 Subject: AW: Strange situation.. Message-ID: <9A834A8DCEC68648B20701E1CDE109250295EDA4@OKWPMXS01.de.sal-opp.net> Again.:) What are the logfile-permissions? Thomas Zimmer Produktservice & Betrieb Betrieb & Support Sal. Oppenheim jr. & Cie., Frankfurt a. Main Telefon: +49 69 7134 5192 Internet: http://www.oppenheim.de E-Mail: thomas.zimmer at oppenheim.de -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Marco Borsani Gesendet: Donnerstag, 16. M?rz 2006 10:30 An: 'NAGIOS' Betreff: [Nagios-users] Strange situation.. Wichtigkeit: Hoch Hi all! I prepare a very simple check (called check_fax) that read a text file. If check_fax find an "OK" it will return a status 0, if check_fax find a "CRITICAL" it will return a status 2. Well, when I run manually check_fax (like nagios user or root user) it work correctly (returns 0), but when Nagios run check_fax, it returns a status 2. I try to modify check_fax permissions like: -rwxr-xr-x 1 root sys 654 Mar 16 09:42 check_fax -rwxr-xr-x 1 nagios nagios 654 Mar 16 09:42 check_fax But nothing has been changed. Here it is the check_fax: ---------------------------------------------------------------------- #!/bin/csh # set dir2 = /tmp set STATUS = `cat $dir2/Invio_Rice.log | grep -c OK` if ( "$STATUS" == "1" ) then echo "FAX OK - Invio e ricezione di prova avvenuto" > $dir2/Rice.log echo "FAX OK - Invio e ricezione di prova avvenuto" else echo "FAX CRITICAL - Invio e ricezione di prova NON avvenuto" > $dir2/Rice.log echo "FAX CRITICAL - Invio e ricezione di prova NON avvenuto" exit 2 endif exit 0 ------------------------------------------------------------------------ Any idea? Regards Marco Borsani Unix & Monitoring System Administrator Technical Operation Tel. +39 010 4310115 Fax +39 010 4327454 E-mail: m.borsani at IT.net ITnet S.r.l. - Direzione e Coordinamento di WIND Telecomunicazioni S.p.A. Internet Service Provider Sede legale: Via C.G.Viola, 48 - 00148 Roma Dir. Centrale e Amministrativa: Via Pacinotti, 39 16151 Genova (Italy) http://www.it.net mailto:info at IT.net _______________________________________________________________ Altre sedi ITnet: MILANO tel.: +39 02 30114900 info-milano at IT.net ROMA tel.: +39 06 83116707 info-roma at IT.net _______________________________________________________________ ITnet is associated to CIX (Commercial IP eXchange) and RIPE ITnet is associated to AIIP (Associazione Italiana Internet Providers) ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Zimmer, Thomas (Produktservices und Betrieb).vcf Type: application/octet-stream Size: 254 bytes Desc: not available URL: From christian.masopust at siemens.com Thu Mar 16 10:57:31 2006 From: christian.masopust at siemens.com (Masopust, Christian) Date: Thu, 16 Mar 2006 10:57:31 +0100 Subject: Strange situation.. In-Reply-To: <009801c648dc$3a872c20$0900d40a@intranet.it.net> References: <009801c648dc$3a872c20$0900d40a@intranet.it.net> Message-ID: <60721B67EAF0994EAFFB561767B700140ACC95@nets13ha.ww300.siemens.net> Does your nagios user have read permissions to your Invio_Rice.log? > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Marco Borsani > Sent: Thursday, March 16, 2006 10:30 AM > To: 'NAGIOS' > Subject: [Nagios-users] Strange situation.. > Importance: High > > Hi all! > > I prepare a very simple check (called check_fax) that read a > text file. > > If check_fax find an "OK" it will return a status 0, if > check_fax find a > "CRITICAL" it will return a status 2. > > Well, when I run manually check_fax (like nagios user or root > user) it work > correctly (returns 0), but when Nagios run check_fax, it > returns a status 2. > > I try to modify check_fax permissions like: > -rwxr-xr-x 1 root sys 654 Mar 16 09:42 check_fax > -rwxr-xr-x 1 nagios nagios 654 Mar 16 09:42 check_fax > But nothing has been changed. > > Here it is the check_fax: > ---------------------------------------------------------------------- > #!/bin/csh > # > set dir2 = /tmp > > set STATUS = `cat $dir2/Invio_Rice.log | grep -c OK` > > if ( "$STATUS" == "1" ) then > echo "FAX OK - Invio e ricezione di prova avvenuto" > > $dir2/Rice.log > echo "FAX OK - Invio e ricezione di prova avvenuto" > else > echo "FAX CRITICAL - Invio e ricezione di prova NON > avvenuto" > > $dir2/Rice.log > echo "FAX CRITICAL - Invio e ricezione di prova NON avvenuto" > exit 2 > endif > > exit 0 > -------------------------------------------------------------- > ---------- > > Any idea? > Regards > > Marco Borsani > Unix & Monitoring System Administrator > Technical Operation > Tel. +39 010 4310115 > Fax +39 010 4327454 > E-mail: m.borsani at IT.net > > ITnet S.r.l. - Direzione e Coordinamento di WIND > Telecomunicazioni S.p.A. > Internet Service Provider > Sede legale: Via C.G.Viola, 48 - 00148 Roma > Dir. Centrale e Amministrativa: Via Pacinotti, 39 > 16151 Genova (Italy) > > http://www.it.net > mailto:info at IT.net > _______________________________________________________________ > Altre sedi ITnet: > MILANO tel.: +39 02 30114900 info-milano at IT.net > ROMA tel.: +39 06 83116707 info-roma at IT.net > _______________________________________________________________ > ITnet is associated to CIX (Commercial IP eXchange) and RIPE > ITnet is associated to AIIP (Associazione Italiana Internet Providers) > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking > scripting language > that extends applications into web and mobile media. Attend > the live webcast > and join the prime developer group breaking into this new > coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720& > dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.belik at centrum.cz Thu Mar 16 12:28:38 2006 From: michael.belik at centrum.cz (Michael Belik) Date: Thu, 16 Mar 2006 12:28:38 +0100 (CET) Subject: notify-by-snmp=?ISO-8859-1?Q?_?= Message-ID: <20060316112838.ADE264F40E3@desire.netways.de> Hi all, Please help,do you know anybody how do send notify about host and service state to other NMS by snmptrap? I found some about that on this forum, but it is not complete. Thank you very much for help Michael Belik http://www.nagiosexchange.org/nagios-users.34.0.html ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerhard.Lausser at consol.de Thu Mar 16 13:44:20 2006 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Thu, 16 Mar 2006 13:44:20 +0100 Subject: Multiple Nagios instances on one server Message-ID: <01b801c648f7$5b3379e0$a601000a@int.consol.de> Hi all, i made a small HOWTO for those who want to run more than one Nagios servers on a single host. You can find it here: http://people.consol.de/~lausser/nagios/more-than-one-nagios.html Greetings from Munich, Gerhard ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From satish_lsurf at yahoo.com Thu Mar 16 13:45:26 2006 From: satish_lsurf at yahoo.com (satish kumar) Date: Thu, 16 Mar 2006 04:45:26 -0800 (PST) Subject: NRPE: Unable to read output Message-ID: <20060316124526.10768.qmail@web53507.mail.yahoo.com> Hi, I am getting this message when i try to run a perl script on a nagios server requesting via check_nrpe for remote server running with nrpe.The script is on the remote server.Please help me it is immediate. Thanks, Satish --------------------------------- Yahoo! Mail Bring photos to life! New PhotoMail makes sharing a breeze. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sandeep-n-murthy at telecom.pt Thu Mar 16 14:10:04 2006 From: sandeep-n-murthy at telecom.pt (Sandeep Narasimha Murthy) Date: Thu, 16 Mar 2006 13:10:04 -0000 Subject: Weblogic Message-ID: Hi, I am searching for a script/ plugin for Nagios which monitors BEA Weblogic server and returns information like JVM heap size, number of threads in utilization etc.. Does anyone know of any such scripts/ plugins ?? Thanks in adv, sg -------------- next part -------------- An HTML attachment was scrubbed... URL: From jorge at ccc.uba.ar Thu Mar 16 14:14:10 2006 From: jorge at ccc.uba.ar (Jorge Polinotto) Date: Thu, 16 Mar 2006 10:14:10 -0300 (ART) Subject: statusmap.cgi In-Reply-To: <302ce8b50603151934u7cf153c9w732c615162596fce@mail.gmail.com> References: <1201.200.127.203.72.1142478892.squirrel@webmail.ccc.uba.ar> <302ce8b50603151934u7cf153c9w732c615162596fce@mail.gmail.com> Message-ID: <1235.200.127.203.72.1142514850.squirrel@webmail.ccc.uba.ar> Hi Jim... hi all! i'm trying to install version 2.0. When i'm configuring it I get: checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... no checking for gdImagePng in -lgd (order 3)... no checking for gdImagePng in -lgd (order 4)... no *** GD, PNG, and/or JPEG libraries could not be located... ********* I got the same error with the tar.gz file or using ports. On my FreeBSD6 i have the following ports installed: jpeg-6b_3 png-1.2.8_3 gd-2.0.33_4,1 The error also says: NOTE: In addition to the gd-devel library, you'll also need to make sure you have the png-devel and jpeg-devel libraries installed on your system. Where I can get this libraries? Thanks for reading me and for your patience... Jorge.- > On 3/15/06, Jorge Polinotto wrote: >> Hi all! >> Could anybody compile Nagios with gd library and so on in FreeBSD, either >> using the tar.gz file or ports as well? >> I've tried many differents ways but i couldn't get the statusmap.cgi... >> Thanks to all... >> Jorge.- > > Which version of nagios? How are you trying to build, and how is it > failing? > > -- > "They that can give up essential liberty to obtain a little temporary > safety deserve neither liberty nor safety'' > Benjamin Franklin 1775 > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martin at andorinha.ist.utl.pt Thu Mar 16 14:51:34 2006 From: martin at andorinha.ist.utl.pt (Jorge Daniel Sequeira Matias) Date: Thu, 16 Mar 2006 13:51:34 +0000 Subject: Bug with escalations in Nagios? Message-ID: <200603161351.34096.martin@andorinha.ist.utl.pt> Hello everyone, I have a problem with host and service escalations in Nagios 2.0. I have upgraded to Nagios 2.0 when I tried to use escalations and thought there was a bug in Nagios 1.2. I'm going to describe the problem: I'd like to escalate the notifications to send only once an SMS about an HOST or SERVICE DOWN, but still have the e-mails being sent periodically. To get things even more complicated I would like that, in some cases, the SMS to sent only in the nightly hours. For start I have built a config using only 24x7 time periods. This way I prepared the following config: (See the results after this sample config) -- start of sample config -- # 'sms-host' host group definition define hostgroup { hostgroup_name sms-host alias SMS Hosts members testhost } define host { host_name testhost alias testhost address 1.2.3.4 check_command check-host-alive active_checks_enabled 1 checks_enabled 1 max_check_attempts 3 check_interval 5 notification_interval 5 contact_groups testhost-email-contacts,testhost-sms-contacts } # Send the first notification to the SMS-Contacts (only when DOWN) define hostescalation { host_name testhost contact_groups testhost-sms-contacts first_notification 1 last_notification 1 notification_interval 5 escalation_period 24x7 escalation_options d } # Send notifications to e-mail contacts periodically since the beginning # of the problem until RECOVERY. define hostescalation { host_name testhost contact_groups testhost-email-contacts first_notification 1 last_notification 0 notification_interval 5 escalation_period 24x7 escalation_options d,u,r } # For the service let's try a different approach # The first notification will use service default "contact_groups" define service { host_name testhost service_description SSH check_command check_ssh max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 5 notification_period 24x7 notification_options c,r contact_groups testhost-email-contacts,testhost-sms-contacts } # The rest of notifications send only to email contacts define serviceescalation { host_name testhost service_description SSH first_notification 2 last_notification 0 notification_interval 5 contact_groups testhost-email-contacts } -- end of sample config -- The Results: For the host config, Nagios doesn't send any notification at all no matter the host status is (DOWN, UNREACHABLE or RECOVERY)! For the service config it sends the first notification to both e-mail and sms contacts and rest of notifications only to e-mail contacts. The service config approach almost does what I need, but doesn't let change the timeperiod of the first notification for the sms contacts without affecting the e-mail contacts too. Of course the notification intervals are short for test purposes only. The problem: Why Nagios doesn't send any notification at all with sample host config? What am I doing wrong? Is there a global variable config that I have missed in documentation that could change escalations behaviour? I have read several times this explanation about escalation and I can't reproduce the same behaviour the document states: http://nagios.sourceforge.net/docs/2_0/escalations.html Thanks in advance for the help! Best Regards, Jorge Matias ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gwcook at arcadis-us.com Thu Mar 16 15:07:50 2006 From: gwcook at arcadis-us.com (Cook, Garry) Date: Thu, 16 Mar 2006 07:07:50 -0700 Subject: switch host definition: no IP Message-ID: <38D6D515FC15924693F2640881AF4620382D8D@corpexbe2.arcadis-us.com> Or define the switch as a device in your configs and give it the IP Address of the firewall interface. Then it could act as the parent to the other two devices. Thanks, Garry -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Hugo van der Kooij Sent: Wednesday, March 15, 2006 11:37 PM To: dick at uchicago.edu Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] switch host definition: no IP On Wed, 15 Mar 2006 dick at uchicago.edu wrote: > (firewall)---(switch1)----(mailserver) > 10.9.0.1 | 10.9.0.3 > | > (wifi AP) > 10.9.0.2 > > in this case, would i want to make a host named switch1 and have it be > the parent of the mailserver and wifi AP machines, or should i omit > the switch1 host and have firewall be the parent of the two machines behind switch1? > > i would like to be able to detect if the switch has burned out, not > just that the hosts are both down. perhaps my switch is too crappy? You can not check an unmanaged switch. It is that simple. ("You can't change the laws of physics captain") The closest you can get is to verify if the interface from the firewall is up and let the firewall be the parent of servers. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Thu Mar 16 15:09:31 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 16 Mar 2006 08:09:31 -0600 Subject: NRPE: Unable to read output In-Reply-To: <20060316124526.10768.qmail@web53507.mail.yahoo.com> References: <20060316124526.10768.qmail@web53507.mail.yahoo.com> Message-ID: <1142518171.8119.24.camel@chi100400> On Thu, 2006-03-16 at 04:45 -0800, satish kumar wrote: > Hi, > > I am getting this message when i try to run a perl script on a nagios > server requesting via check_nrpe for remote server running with > nrpe.The script is on the remote server.Please help me it is > immediate. is it any particular script? The first thing I would do is add " 2>&1" to the end of your command definition in nrpe.cfg. This will echo back stderr, which will tell you what's wrong (with Perl, almost certainly a missing library). -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: From heiko.jaberg at innovative-navigation.de Thu Mar 16 15:54:13 2006 From: heiko.jaberg at innovative-navigation.de (Heiko Jaberg) Date: Thu, 16 Mar 2006 15:54:13 +0100 Subject: Problems with check_by_ssh Message-ID: <44197C15.8080005@innovative-navigation.de> Hi, I encounter some problems using check_by_ssh. Im trying to grep some version information from a header file on a remote host. Both of the following command lines generate the desired information when called directly from the shell. But only the second line works when scheduled by Nagios. The second one produces the error "No output". Whats wrong here ? 1.) command_line $USER1$/check_by_ssh -i /export/home/nagios/.ssh/id_rsa -l user -H $HOSTADDRESS$ -C 'if [ -e /usr/local/ACE/VERSION ]; then echo `head -1 /usr/local/ACE/VERSION`; else echo No ACE found; fi' 2.) command_line $USER1$/check_by_ssh -i /export/home/nagios/.ssh/id_rsa -l user -H $HOSTADDRESS$ -C 'head -1 /usr/local/ACE/VERSION' Regards Heiko -- Heiko Jaberg email: Heiko.Jaberg at innovative-navigation.de IN - Innovative Navigation GmbH web: http://www.innovative-navigation.de Leibnizstrasse 11 tel.: +49 7154 807159 D-70806 Kornwestheim fax: +49 7154 807154 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 16 16:24:17 2006 From: jperrin at gmail.com (Jim Perrin) Date: Thu, 16 Mar 2006 10:24:17 -0500 Subject: POLL: nagios integration with other tools Message-ID: <302ce8b50603160724t4bacc3f1x1bf11c3d1ce9eabf@mail.gmail.com> I've been using nagios heavily for about a year now and have been quite pleased with it. It monitors nearly every aspect of the servers I'm responsible for, but in the interest of never sitting still, I've been looking to see what tools have been integrated with nagios. A post on the rt (bestpractical) mailing list has a patch for 1.x to open rt tickets etc, and I wanted to see what others are doing with customizations. Has anyone combined nagios with an asset management system, bugzilla, etc. How do others on the list work with nagios, and how does it fit into your environment? -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Thu Mar 16 16:50:46 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 16 Mar 2006 09:50:46 -0600 Subject: POLL: nagios integration with other tools In-Reply-To: <302ce8b50603160724t4bacc3f1x1bf11c3d1ce9eabf@mail.gmail.com> References: <302ce8b50603160724t4bacc3f1x1bf11c3d1ce9eabf@mail.gmail.com> Message-ID: <1142524246.8119.33.camel@chi100400> On Thu, 2006-03-16 at 10:24 -0500, Jim Perrin wrote: > I've been using nagios heavily for about a year now and have been > quite pleased with it. It monitors nearly every aspect of the servers > I'm responsible for, but in the interest of never sitting still, I've > been looking to see what tools have been integrated with nagios. A > post on the rt (bestpractical) mailing list has a patch for 1.x to > open rt tickets etc, and I wanted to see what others are doing with > customizations. Has anyone combined nagios with an asset management > system, bugzilla, etc. How do others on the list work with nagios, and > how does it fit into your environment? Let's see. Wrote a new (for me, better) MRTG RRD checker. Notifies on any interface over-threshold (some of our switches have hundreds and hundreds of interfaces - individual watching wouldn't be practical). Integrated support for Trading Technologies' SuperGuardian Agent (This probably doesn't mean much unless you're a derivative market trading firm). minor link-in to an internal asset management system (lets you pull up serial numbers, contract numbers, purchase information, etc, etc). probably some other stuff I've forgotten. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: From djohnson at jsatech.com Thu Mar 16 17:00:43 2006 From: djohnson at jsatech.com (David Johnson) Date: Thu, 16 Mar 2006 10:00:43 -0600 Subject: POLL: nagios integration with other tools In-Reply-To: <1142524246.8119.33.camel@chi100400> References: <1142524246.8119.33.camel@chi100400> Message-ID: <02fd01c64912$d9e80ba0$1e02a8c0@crm.local> We've done little integration, except automatically building the configuration scripts based upon hosts in a database. It is likely we will integrate with Zope soon. I would suggest Zope might be a great environment long run for maintenance. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of jeff vier > Sent: Thursday, March 16, 2006 9:51 AM > To: Jim Perrin > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] POLL: nagios integration with other tools > > On Thu, 2006-03-16 at 10:24 -0500, Jim Perrin wrote: > > I've been using nagios heavily for about a year now and have been > > quite pleased with it. It monitors nearly every aspect of the servers > > I'm responsible for, but in the interest of never sitting still, I've > > been looking to see what tools have been integrated with nagios. A > > post on the rt (bestpractical) mailing list has a patch for 1.x to > > open rt tickets etc, and I wanted to see what others are doing with > > customizations. Has anyone combined nagios with an asset management > > system, bugzilla, etc. How do others on the list work with nagios, and > > how does it fit into your environment? > > Let's see. > > Wrote a new (for me, better) MRTG RRD checker. Notifies on any > interface over-threshold (some of our switches have hundreds and > hundreds of interfaces - individual watching wouldn't be practical). > > Integrated support for Trading Technologies' SuperGuardian Agent (This > probably doesn't mean much unless you're a derivative market trading > firm). > > minor link-in to an internal asset management system (lets you pull up > serial numbers, contract numbers, purchase information, etc, etc). > > probably some other stuff I've forgotten. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 16 17:13:29 2006 From: marc at ena.com (Marc Powell) Date: Thu, 16 Mar 2006 10:13:29 -0600 Subject: Problems with check_by_ssh Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Heiko Jaberg > Sent: Thursday, March 16, 2006 8:54 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problems with check_by_ssh > > Hi, > > I encounter some problems using check_by_ssh. > Im trying to grep some version information from a header file on a > remote host. > > Both of the following command lines generate the desired information > when called > directly from the shell. But only the second line works when scheduled > by Nagios. > The second one produces the error "No output". > > Whats wrong here ? > > > 1.) > command_line $USER1$/check_by_ssh -i /export/home/nagios/.ssh/id_rsa > -l user -H $HOSTADDRESS$ -C 'if [ -e /usr/local/ACE/VERSION ]; then > echo `head -1 /usr/local/ACE/VERSION`; else echo No ACE found; fi' > > 2.) > command_line $USER1$/check_by_ssh -i > /export/home/nagios/.ssh/id_rsa -l user -H $HOSTADDRESS$ -C 'head -1 > /usr/local/ACE/VERSION' While not specifically addressing your question, you're using the check_by_ssh plugin in an unintended manner. It's designed to execute Nagios plugins on remote hosts and simply acts as a proxy for the plugin return code and output. As such, the command you are running must comply with the plugin output standards in order to work correctly with check_by_ssh and Nagios -- http://nagiosplug.sourceforge.net/developer-guidelines.html#PLUGOUTPUT You'll need to pay special attention to exiting with the correct exit code and only 1 line of output (you've got the latter covered). That might change your approach some and negate the need to troubleshoot further. I suspect that you might be encountering a permissions problem related to /usr/local/ACE/VERSION or an environment issue where 'head' isn't in the default path. Try specifying the full path to head. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pavel.santos at cyberlockconsulting.com Thu Mar 16 17:37:09 2006 From: pavel.santos at cyberlockconsulting.com (Pavel Santos) Date: Thu, 16 Mar 2006 11:37:09 -0500 Subject: Notification escalation not working Message-ID: <1EE2544AB03AD34BAA60E9AA8AF1A8FE6C190B@EPI-EXB2.epidirect.epi> Hello list, Running Nagios 2.0 on a Red Hat Ent. V4 I am going insane trying to get this escalation to work. The requirement is to escalate service notification after 60 minutes to the system manager contact group and 90 minutes to the Project Manager contact group. I tested the configuration below but it does not seem to work, it will notify all contact groups on the first notification as supposed to escalate the notification to the appropriate group after 60 and 90 minutes as described in my escalation.cfg file. define serviceescalation{ host_name server1 service_description HTTP first_notification 3 last_notification 4 notification_interval 60 contact_groups system-manager } define serviceescalation{ host_name server1 service_description HTTP first_notification 6 last_notification 10 notification_interval 90 contact_groups system-manager,project-manager } Any assistance is appreciated, I looked at the previous posting and the documentation but was unable to find the solution to my problem. Thanks, Pavel ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wgking at shaw.ca Thu Mar 16 17:49:27 2006 From: wgking at shaw.ca (Greg King) Date: Thu, 16 Mar 2006 09:49:27 -0700 Subject: check_ssh_login ? Message-ID: <24d841a24d1cd3.24d1cd324d841a@shaw.ca> I would use the existing remote plugin execution facilities of NRPE with a custom plugin to verify the id. Pseudo code for a "check_valid_uid" would be: valid_id=1 UID=$ARG1 grep $UID /etc/passwd if return_code=0 then valid_id=0 print "User $UID is valid" else print "User $UID is not valid" fi return valid_id There are probably more thorough ways of validing that the id will work than just verifying existence in the /etc/passwd file, but you get the idea. Regards, Greg >Message: 6 >From: jeff vier >To: nagios-users >Date: Wed, 15 Mar 2006 08:56:46 -0600 >Subject: [Nagios-users] check_ssh_login ? >--=-V2oL6qqSss3ngPlX8Yvy >Content-Type: text/plain >Content-Transfer-Encoding: quoted-printable > >I need to check if I can log into a specific account on a system via SSH, but due to >the nature of the system (tunneled to a serial console), I am unable to set up a key >pair. > >check_ssh only verifies that the system is answering to SSH requests (which doesn't >help me, the serial console host almost certainly responds). > >check_by_ssh is *close*, but provides no method of passing a password via the command >line (which, yes, is a ghetto method of doing things, but you would still have to >know the login to the system, and it *is different*), and it requires a remote >command to execute. >So, before I delve into hacking this functionality into check_by_ssh, does anyone >have a solution with existing tools? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jay.Brunker at twc.state.tx.us Thu Mar 16 18:00:49 2006 From: Jay.Brunker at twc.state.tx.us (Brunker, Jay) Date: Thu, 16 Mar 2006 11:00:49 -0600 Subject: dependencies.cfg Message-ID: <11741698C5E1574E9E0357305D55B47402273D@exchg101p.actdc101p.rtdcx101p.twc.state.tx.us> Greetings: I'm having some troubles getting nagios to start correctly. On my first attempt to start I received an error due to 'check_host_alive' being defined in a couple of spots ... bigger.cfg and minimal.cfg ... read a post where it was recommended to comment out minimal.cfg in nagios.cfg ... OK ... so far so good. Now, when I attempt to start nagios I get an error due to dependencies.cfg not being readable. The file is owned by nagios.nagios ( 664 ) , but a test of nagios.cfg still gives me a 'cannot read' dependencies.cfg error. Permissions on the directory '/usr/local/nagios/etc': 775 What up with dependencies.cfg ? Any help will be greatly appreciated. Thanks, JZB. Jay Brunker Unix Systems Administrator Texas Workforce Commission 101 E. 15th St. 512-475-2625 Desk Phone 512-849-4985 Pager -------------- next part -------------- An HTML attachment was scrubbed... URL: From martin at andorinha.ist.utl.pt Thu Mar 16 18:11:30 2006 From: martin at andorinha.ist.utl.pt (Jorge Daniel Sequeira Matias) Date: Thu, 16 Mar 2006 17:11:30 +0000 Subject: Notification escalation not working In-Reply-To: <1EE2544AB03AD34BAA60E9AA8AF1A8FE6C190B@EPI-EXB2.epidirect.epi> References: <1EE2544AB03AD34BAA60E9AA8AF1A8FE6C190B@EPI-EXB2.epidirect.epi> Message-ID: <200603161711.30576.martin@andorinha.ist.utl.pt> It seems that I' not the only one with problems in using escalations. What notifications are you receiving? Only the first and second? I'm assuming that your service default contact_groups are receiving the first and second notifications because these are not escalated. Jorge Matias On Thursday 16 March 2006 16:37, Pavel Santos wrote: > Hello list, > > Running Nagios 2.0 on a Red Hat Ent. V4 I am going insane trying to get > this escalation to work. The requirement is to escalate service > notification after 60 minutes to the system manager contact group and 90 > minutes to the Project Manager contact group. I tested the configuration > below but it does not seem to work, it will notify all contact groups on > the first notification as supposed to escalate the notification to the > appropriate group after 60 and 90 minutes as described in my escalation.cfg > file. > > > define serviceescalation{ > host_name server1 > service_description HTTP > first_notification 3 > last_notification 4 > notification_interval 60 > contact_groups system-manager > } > define serviceescalation{ > host_name server1 > service_description HTTP > first_notification 6 > last_notification 10 > notification_interval 90 > contact_groups system-manager,project-manager > } > > > Any assistance is appreciated, I looked at the previous posting and the > documentation but was unable to find the solution to my problem. > > Thanks, > > Pavel > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live > webcast and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Deborah.Martin at Kognitio.com Thu Mar 16 18:23:08 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Thu, 16 Mar 2006 17:23:08 -0000 Subject: dependencies.cfg Message-ID: Have you checked that nagios.cfg is not pointing to another copy of dependencies.cfg elsewhere on your system ? regs, deborah -----Original Message----- From: Brunker, Jay [mailto:Jay.Brunker at twc.state.tx.us] Sent: 16 March 2006 17:01 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] dependencies.cfg Greetings: I'm having some troubles getting nagios to start correctly. On my first attempt to start I received an error due to 'check_host_alive' being defined in a couple of spots ... bigger.cfg and minimal.cfg ... read a post where it was recommended to comment out minimal.cfg in nagios.cfg ... OK ... so far so good. Now, when I attempt to start nagios I get an error due to dependencies.cfg not being readable. The file is owned by nagios.nagios ( 664 ) , but a test of nagios.cfg still gives me a 'cannot read' dependencies.cfg error. Permissions on the directory '/usr/local/nagios/etc': 775 What up with dependencies.cfg ? Any help will be greatly appreciated. Thanks, JZB. Jay Brunker Unix Systems Administrator Texas Workforce Commission 101 E. 15th St. 512-475-2625 Desk Phone 512-849-4985 Pager ************************************************************************ 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. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From pavel.santos at cyberlockconsulting.com Thu Mar 16 19:35:00 2006 From: pavel.santos at cyberlockconsulting.com (Pavel Santos) Date: Thu, 16 Mar 2006 13:35:00 -0500 Subject: Notification escalation not working Message-ID: <1EE2544AB03AD34BAA60E9AA8AF1A8FE6C190C@EPI-EXB2.epidirect.epi> Jorge, My default contact_group is getting the alerts regular first alerts and the contact groups are getting them too. Nagios just not escalation the alerts, it is sending them to all contact groups without using the escalation.cfg file. Do I have to add all the contact groups in the hosts.cfg and services.cfg? Right now, I only have them in the escalation.cfg and services.cfg. Thanks,. Pavel ________________________________ From: nagios-users-admin at lists.sourceforge.net on behalf of Jorge Daniel Sequeira Matias Sent: Thu 3/16/2006 12:11 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Notification escalation not working It seems that I' not the only one with problems in using escalations. What notifications are you receiving? Only the first and second? I'm assuming that your service default contact_groups are receiving the first and second notifications because these are not escalated. Jorge Matias On Thursday 16 March 2006 16:37, Pavel Santos wrote: > Hello list, > > Running Nagios 2.0 on a Red Hat Ent. V4 I am going insane trying to get > this escalation to work. The requirement is to escalate service > notification after 60 minutes to the system manager contact group and 90 > minutes to the Project Manager contact group. I tested the configuration > below but it does not seem to work, it will notify all contact groups on > the first notification as supposed to escalate the notification to the > appropriate group after 60 and 90 minutes as described in my escalation.cfg > file. > > > define serviceescalation{ > host_name server1 > service_description HTTP > first_notification 3 > last_notification 4 > notification_interval 60 > contact_groups system-manager > } > define serviceescalation{ > host_name server1 > service_description HTTP > first_notification 6 > last_notification 10 > notification_interval 90 > contact_groups system-manager,project-manager > } > > > Any assistance is appreciated, I looked at the previous posting and the > documentation but was unable to find the solution to my problem. > > Thanks, > > Pavel > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live > webcast and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ktynagios at richard-group.com Thu Mar 16 19:52:05 2006 From: ktynagios at richard-group.com (Kurt Yoder) Date: Thu, 16 Mar 2006 13:52:05 -0500 Subject: "double free or corruption" message Message-ID: <851953F2-AC3F-4716-8D67-DB1AF9F0B474@richard-group.com> Hi list Recently my main nagios process started crashing. After switching it to foreground so I can see what's going on, I found this message after the latest crash: *** glibc detected *** double free or corruption (!prev): 0x080a4820 *** Aborted The main process usually runs several hours before it crashes like this. It seems to have started doing this yesterday, though I can't think of anything significant that I changed on the monitoring server around that time. I'm using Nagios 1.3 (Debian package is 1.3-cvs.20050402-2.sarge.1) and glibc 2.95.4. Can anyone offer any suggestions toward fixing this so it stops crashing? -Kurt ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martin at andorinha.ist.utl.pt Thu Mar 16 20:29:04 2006 From: martin at andorinha.ist.utl.pt (Jorge Daniel Sequeira Matias) Date: Thu, 16 Mar 2006 19:29:04 +0000 Subject: Notification escalation not working In-Reply-To: <1EE2544AB03AD34BAA60E9AA8AF1A8FE6C190C@EPI-EXB2.epidirect.epi> References: <1EE2544AB03AD34BAA60E9AA8AF1A8FE6C190C@EPI-EXB2.epidirect.epi> Message-ID: <200603161929.04585.martin@andorinha.ist.utl.pt> On Thursday 16 March 2006 18:35, Pavel Santos wrote: > Jorge, > > My default contact_group is getting the alerts regular first alerts and the > contact groups are getting them too. Nagios just not escalation the > alerts, it is sending them to all contact groups without using the > escalation.cfg file. > > Do I have to add all the contact groups in the hosts.cfg and services.cfg? > Right now, I only have them in the escalation.cfg and services.cfg. > I have one contact_groups entry in each host/service object definition. When a host/service doesn't have any escalation defined it uses the "contact_groups" defined inside its host/service object definition. So, my tip to you is to add a "contact_groups" entry in every host object definition. Of course you can add the "contact_groups" to a host object template definition and then use the template in every host object definition of the same kind. Regards, Jorge Matias ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From EmmettH at Examen.com Thu Mar 16 21:29:51 2006 From: EmmettH at Examen.com (Emmett Hogan) Date: Thu, 16 Mar 2006 12:29:51 -0800 Subject: "check_http --ssl" problem In-Reply-To: <4405D667.7070807@Examen.com> References: <4405D667.7070807@Examen.com> Message-ID: <4419CABF.8020008@Examen.com> Wow...this is a first for me in my dealings with Nagios and the list. Usually, one of the "super smart" folks on this list sees what the problem is in a matter of minutes..but not this time. Has no one else tried to verify ssl certs on a web server which requires STRONG encryption from a nagios server running Redhat v4 x86_64? :-( Anybody have any suggestions? -Emmett Emmett Hogan wrote: > Hi Folks, > > I am having a very strange problem. I am moving nagios to a new server > and updating to V2.0 (from V2.0b1), at the same time upgrading from > nagios-plugins-1.4beta to nagios-plugins-1.4.2. > > The big difference, and I think the source of my problem, is that I am > going from Debian Linux to Redhat Enterprise Linux. > > In a nutshell, "check_http --ssl" doesn't work for our servers which > REQUIRE strong encryption. > > Examples: > > On our OLD Debian machine (everything is great): > > # ./check_http -V > check_http (nagios-plugins 1.4-beta1) 1.79 > > # ./check_http -v -C 60 --ssl www.wellsfargo.com > SSL seeding: OK > OK - Certificate will expire on 08/19/2006 23:59. > > # ./check_http -v -C 60 --ssl my-web-server > SSL seeding: OK > OK - Certificate will expire on 08/14/2011 18:21. > > New Redhat Server: > > # ./check_http -V > check_http (nagios-plugins 1.4.2) 1.81 > > # ./check_http -v -C 60 --ssl www.wellsfargo.com > SSL seeding: OK > OK - Certificate will expire on 08/19/2006 23:59. > > # ./check_http -v -C 120 --ssl my-web-server > SSL seeding: OK > CRITICAL - Cannot retrieve server certificate. > > This happens even if I compile version 1.79 on the Redhat box and try to > run it. So, I figured it must be an ssl library problem...right? > Nope. I grabbed the latest openssl, compiled it, and used it to build > both versions of check_http, and got the exact same problem. > > I receive this error even when checking to make sure the https side is > up and running: > > # ./check_http --ssl -v my-web-server > SSL seeding: OK > CRITICAL - Cannot retrieve server certificate. > > I am pretty sure it has to do with my requirement of strong encryption > within my Apache server, but it works fine with my old setup. > > Has anyone else on the list run into this problem before?? > > Any help would be GREATLY appreciated! > > Thanks, > Emmett > > -- ========= LexisNexis Examen, Inc. ========== Emmett Hogan Senior UNIX Administrator emmetth at examen.com === Outside Counsel Management Solutions === ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zaeem.chaudhry at fmr.com Thu Mar 16 21:46:31 2006 From: zaeem.chaudhry at fmr.com (Chaudhry, Zaeem) Date: Thu, 16 Mar 2006 15:46:31 -0500 Subject: Pre-flight OK, but can't see any hosts - Help Message-ID: <43C51169756115468E235A12F7A680A304920194@MSGBOSCLD2WIN.DMN1.FMR.COM> Hello all, BELOW IS THE OUTPUT FROM PRE-FLIGHT CONFIG COMMAND ON NAGIOS SERVER: ===================================================================== [root at localhost servers]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios 2.0 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 02-07-2006 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 7 services. Checking hosts... Checked 7 hosts. Checking host groups... Checked 1 host groups. Checking service groups... Checked 1 service groups. Checking contacts... Checked 1 contacts. Checking contact groups... Checked 1 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 22 commands. Checking time periods... Checked 1 time periods. Checking extended host info definitions... Checked 0 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: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check =================================================================== When I click on "Host Detail" under "Monitoring" menu on the webserver to check the status of the switches I want to monitor, I don't see any, although I can ping the switches on my network. Below is a snapshot of my "hosts.cfg" file: ================================================================== define host { use firn-host-template host_name 65.91.73.226 alias C29V4FCATFIRNA01 address 65.91.73.226 } define service { use firn-service-http host_name 65.91.73.226 } # IP: 65.91.73.226 define host { use firn-host-template host_name 192.168.0.2 alias C29V4FCATFIRNA02 address 192.168.0.2 } define service { use firn-service-http host_name 192.168.0.2 } # IP: 192.168.0.2 ============================================================== Any idea why this is happening? Thanks, Zaeem. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 16 22:01:57 2006 From: marc at ena.com (Marc Powell) Date: Thu, 16 Mar 2006 15:01:57 -0600 Subject: Pre-flight OK, but can't see any hosts - Help Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Chaudhry, Zaeem > Sent: Thursday, March 16, 2006 2:47 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Pre-flight OK, but can't see any hosts - Help > > > Hello all, > > BELOW IS THE OUTPUT FROM PRE-FLIGHT CONFIG COMMAND ON NAGIOS SERVER: > > ===================================================================== > > [root at localhost servers]# /usr/local/nagios/bin/nagios -v > /usr/local/nagios/etc/nagios.cfg > > Nagios 2.0 > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) > Last Modified: 02-07-2006 > License: GPL [chop] > > Total Warnings: 0 > Total Errors: 0 > > Things look okay - No serious problems were detected during the > pre-flight check > =================================================================== > > > When I click on "Host Detail" under "Monitoring" menu on the webserver > to check the status of the switches I want to monitor, I don't see any, > although I can ping the switches on my network. You don't see any hosts or services at all? What does show? Do you have authentication enabled in cgi.cfg but haven't yet set up .htaccess? > Below is a snapshot of my "hosts.cfg" file: > > ================================================================== > > define host { > use firn-host-template > host_name 65.91.73.226 > alias C29V4FCATFIRNA01 > address 65.91.73.226 > } > define service { > use firn-service-http > host_name 65.91.73.226 > } Please post the appropriate templates, hostgroup and contact definitions associated with this host/service. Thanks, marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jay.Brunker at twc.state.tx.us Thu Mar 16 23:14:09 2006 From: Jay.Brunker at twc.state.tx.us (Brunker, Jay) Date: Thu, 16 Mar 2006 16:14:09 -0600 Subject: service_notification_commands Message-ID: <11741698C5E1574E9E0357305D55B474022742@exchg101p.actdc101p.rtdcx101p.twc.state.tx.us> YANNQ ( Yet Another Nagios Newbie Question ) I'm correcting errors from my pre flight test and I am working on the service_notification_commands errors in 'contacts.cfg' right now. Are there any existing/pre built commands for such things are 'notify-by-email' or 'notify-by-pager' ? OK, so if I need to build my own commands do those definitions go in the 'contacts.cfg' ? ... or would those commands go in a 'commands.cfg' file ? Thanks, JZB Jay Brunker Unix Systems Administrator Texas Workforce Commission 101 E. 15th St. 512-475-2625 Desk Phone 512-849-4985 Pager -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Thu Mar 16 23:29:23 2006 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 16 Mar 2006 17:29:23 -0500 (EST) Subject: service_notification_commands In-Reply-To: <11741698C5E1574E9E0357305D55B474022742@exchg101p.actdc101p.rtdcx101p.twc.state.tx.us> References: <11741698C5E1574E9E0357305D55B474022742@exchg101p.actdc101p.rtdcx101p.twc.state.tx.us> Message-ID: On Thu, 16 Mar 2006, Brunker, Jay wrote: > > > YANNQ ( Yet Another Nagios Newbie Question ) welcome > > I'm correcting errors from my pre flight test and I am working on the > service_notification_commands errors in 'contacts.cfg' > right now. > > Are there any existing/pre built commands for such things are > 'notify-by-email' or 'notify-by-pager' ? > Those should be in miscommands.cfg in the distributions. > OK, so if I need to build my own commands do those definitions go in the > 'contacts.cfg' ? > ... or would those commands go in a 'commands.cfg' file ? > you can create multiple "command" definition files Just point to/include them using cfg_file or cfg_dir pointer in nagios.cfg. > > Thanks, > > > JZB > > > Jay Brunker > Unix Systems Administrator > Texas Workforce Commission > 101 E. 15th St. > 512-475-2625 Desk Phone > 512-849-4985 Pager > > > -- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 16 23:34:05 2006 From: marc at ena.com (Marc Powell) Date: Thu, 16 Mar 2006 16:34:05 -0600 Subject: service_notification_commands Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Brunker, Jay > Sent: Thursday, March 16, 2006 4:14 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] service_notification_commands > > > > YANNQ ( Yet Another Nagios Newbie Question ) > > I'm correcting errors from my pre flight test and I am working on the > service_notification_commands errors in 'contacts.cfg' > > right now. > > Are there any existing/pre built commands for such things are 'notify-by- > email' or 'notify-by-pager' ? Yes, they're included in the sample config files that you can optionally install at compile time (make install-config). If you don't want to install the sample configs (and they're good examples), you can find the command definitions for these in /path/to/src/nagios-2.0/sample-config/template-object/miscommands.cfg (_not_ miscommands.cfg.in). For hosts - host-notify-by-email host-notify-by-epager For services - notify-by-email notify-by-epager > OK, so if I need to build my own commands do those definitions go in the > 'contacts.cfg' ? > ... or would those commands go in a 'commands.cfg' file ? Generally they'd go in commands.cfg but in reality they can go in any file you define as a cfg_file in nagios.cfg. It's up to you whether you have a single, few or hundreds of cfg_files and how they're organized. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prosolutions at gmx.net Thu Mar 16 23:33:29 2006 From: prosolutions at gmx.net (prosolutions at gmx.net) Date: Thu, 16 Mar 2006 14:33:29 -0800 Subject: where to get help with ext. cmd CHANGE_NORMAL_SVC_CHECK_INTERVAL ? Message-ID: <20060316223329.GA7653@mini.alaya.net> I am using the CHANGE_NORMAL_SVC_CHECK_INTERVAL so that if a state of CRITICAL HARD exists longer than the time period covered by retry_check_interval and max_check_attempts nagios will still continue checking the service at an increased interval until it returns to OK. The essence of my external check command, based on the example in the nagios documentation, is: #!/bin/sh OK) now=`date +%s` commandfile='/mnt/ha0/tmon/var/rw/nagios.cmd' printf "[%lu] CHANGE_NORMAL_SVC_CHECK_INTERVAL;$4;$5;90\n" $now > $comm andfile ;; WARNING) ;; UNKNOWN) ;; CRITICAL) case "$2" in SOFT) # now=`date +%s` # commandfile='/mnt/ha0/tmon/var/rw/nagios.cmd' # printf "[%lu] CHANGE_NORMAL_SVC_CHECK_INTERVAL;'$4';$5;15\n" $now > $comm andfile ;; HARD) now=`date +%s` commandfile='/mnt/ha0/tmon/var/rw/nagios.cmd' printf "[%lu] CHANGE_NORMAL_SVC_CHECK_INTERVAL;$4;$5;15\n" $now > $commandfile # echo "[%lu] CHANGE_NORMAL_SVC_CHECK_INTERVAL;$4;$5;15\n" $now $commandfile >> /tmp/args.txt ;; esac ;; esac exit 0 I see after max_check_attempts that state to go CRITICAL HARD for the service and then it runs the event_handler which runs the external command: [1142543941] EXTERNAL COMMAND: CHANGE_NORMAL_SVC_CHECK_INTERVAL;test_host;test.html;15 this should set the check_interval to 15 seconds in stead of the default 90 seconds. However, watching the log I see that the checks on the service revert to 90 s. I cannot find ANY documentation nor mention of this command, CHANGE_NORMAL_SVC_CHECK_INTERVAL, anywhere on the users or dev mailing lists, via google, or anywhere else except here: http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=110 At this point I know the command is being run but for whatever reason it appears to not be working. I'm not sure where to get more help with this. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanglinden at gmail.com Thu Mar 16 15:07:41 2006 From: stanglinden at gmail.com (Mike Linden) Date: Thu, 16 Mar 2006 09:07:41 -0500 Subject: phantom host up messages Message-ID: <703708a60603160607u48c1d039t5c4b438bcd72b18e@mail.gmail.com> Hi, I have a couple systems that have been unplugged and removed from the rack ,yet Nagios still reports a Host UP alert for them from the check_ping process. How is this possible? ***** Nagios ***** Notification Type: RECOVERY Host: csep1039 State: UP Address: csep1039 Info: (No output!) Date/Time: Thu Mar 16 08:56:42 EST 2006 Thanks Mike -- Mike Linden http://linden.linuxps.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Thu Mar 16 23:41:28 2006 From: marc at ena.com (Marc Powell) Date: Thu, 16 Mar 2006 16:41:28 -0600 Subject: phantom host up messages Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mike Linden > Sent: Thursday, March 16, 2006 8:08 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] phantom host up messages > > Hi, > I have a couple systems that have been unplugged and removed from the rack > ,yet Nagios still reports a Host UP alert for them from the check_ping > process. > How is this possible? > > ***** Nagios ***** > > Notification Type: RECOVERY > Host: csep1039 > State: UP > Address: csep1039 > Info: (No output!) > > Date/Time: Thu Mar 16 08:56:42 EST 2006 The plugin/command you are using to check the host is providing no command line output but is still exiting with a code of 0 (successful). Try running the check_command, as the nagios user, exactly as it's defined, from the command line and then 'echo $?'. The results of the echo for a down host should be '2'. Chances are you're going to see some additional error output from ping/check_ping. There was also a suggestion earlier for another issue to add '2>&1' to the end of the check_command definition to redirect error output back to Nagios. If that works as advertised, and I believe it will, that could be informative as well. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Fri Mar 17 00:10:50 2006 From: teng at dataway.com (Tedman Eng) Date: Thu, 16 Mar 2006 15:10:50 -0800 Subject: switch host definition: no IP Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2D34@dw-mail.dataway.com> You can approach monitoring an IP-less unmanaged switch a few ways: 1) Hang a device with and IP address off the switch. This device's sole purpose would be to provide reliable monitorable status through the switch (ie via ping, embedded web server, etc). Such a device would need to be more reliable than the switch, otherwise you're not monitoring the switch for failure, you're monitoring the IP device for failure. For suggestions of very small IP devices for this purpose, see this discussion: http://ask.slashdot.org/article.pl?sid=05/11/07/2111240 2) Monitor link status of some device connected to the switch. Again, this device is standing in for the switch, so you're actually monitoring the connected device, it's ethernet cable, it's ethernet card, and only that one particular switch port. 3) Create a cluster object (ie. check_cluster) that's tied to numerous hosts behind the switch. If all those hosts are out at the same time, then your cluster object would signal a problem, most likely the switch, but it could be your whole computer room went down too. > -----Original Message----- > From: dick at uchicago.edu [mailto:dick at uchicago.edu] > Sent: Wednesday, March 15, 2006 4:20 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] switch host definition: no IP > > > i want some advice on if and how i should add an IP-less > switch into my host > definitions. the templates i've found for switches always > have an IP associated > with them, like so: > > define host{ > use generic-host > host_name switch1 > alias Switch #1 > address 192.168.1.230 > check_command check-host-alive > max_check_attempts 10 > notification_interval 60 > notification_period 24x7 > notification_options d,u,r > contact_groups switch-admins > } > > but my switches do not have an IP associated with them, being > setup thusly: > > (firewall)---(switch1)----(mailserver) > 10.9.0.1 | 10.9.0.3 > | > (wifi AP) > 10.9.0.2 > > in this case, would i want to make a host named switch1 and > have it be the > parent of the mailserver and wifi AP machines, or should i > omit the switch1 host > and have firewall be the parent of the two machines behind switch1? > > i would like to be able to detect if the switch has burned > out, not just that > the hosts are both down. perhaps my switch is too crappy? > > thx for reading. > > cheers, > jake > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking > scripting language > that extends applications into web and mobile media. Attend > the live webcast > and join the prime developer group breaking into this new > coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720& dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Carlos.de_Sousa at ericsson.com Fri Mar 17 00:23:25 2006 From: Carlos.de_Sousa at ericsson.com (Carlos de Sousa) Date: Fri, 17 Mar 2006 00:23:25 +0100 Subject: Macros CONTACTADDRESSx not in ENV Message-ID: <4419F36D.4080800@ericsson.com> Hi! It seems that the CONTACTADDRESSx macros are not available as environment variables as the CONTACTEMAIL and CONTACTPAGER are. I couln't find anything in the documentation that they wouldn't be. Any reason for that? I know I can use the $CONTACTADDRESSx$ macro in the command_line of misccommands, but it would be nicer to get it from the ENVIRONMENT. Regards Carlos de Sousa Ericsson AB -------------- next part -------------- A non-text attachment was scrubbed... Name: Carlos.de_Sousa.vcf Type: text/x-vcard Size: 161 bytes Desc: not available URL: From rouilj at cs.umb.edu Fri Mar 17 00:23:27 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Thu, 16 Mar 2006 18:23:27 -0500 Subject: where to get help with ext. cmd CHANGE_NORMAL_SVC_CHECK_INTERVAL ? In-Reply-To: Your message of "Thu, 16 Mar 2006 14:33:29 PST." <20060316223329.GA7653@mini.alaya.net> References: <20060316223329.GA7653@mini.alaya.net> Message-ID: <200603162323.k2GNNR7N027718@mx1.cs.umb.edu> In message <20060316223329.GA7653 at mini.alaya.net>, prosolutions writes: >I am using the CHANGE_NORMAL_SVC_CHECK_INTERVAL so >that if a state of CRITICAL HARD exists longer than >the time period covered by retry_check_interval and >max_check_attempts nagios will still continue checking >the service at an increased interval until it returns >to OK. > [mangled broken shell script removed] What I saw as a shell script isn't a valid shell script. At the very least it looks like a case statement got chopped off at the top. Also you have a lot of redundant code there. Also there is no standard for the arguments to event handler scripts, including the command definition would have been useful. >I see after max_check_attempts that state to go >CRITICAL HARD for the service and then it runs the >event_handler which runs the external command: > >[1142543941] EXTERNAL COMMAND: CHANGE_NORMAL_SVC_CHECK_INTERVAL;test_host;test.html;15 I assume you mean it sends: [1142543941] CHANGE_NORMAL_SVC_CHECK_INTERVAL;test_host;test.html;15 the inclusion of "EXTERNAL COMMAND:" is a syntax error. If that is actually the command sent, Nagios will ignore the command. What you showed above is the log entry and not what is sent to the command file right? >this should set the check_interval to 15 seconds instead >of the default 90 seconds. However, watching the log I see >that the checks on the service revert to 90 s. What are you seeing in the log that makes you think it's getting reset? If I use: echo "[`date +%s`] CHANGE_NORMAL_SVC_CHECK_INTERVAL;tigris;DiskBackupMountCheck;3" to change the check interval to three minutes, and direct it to the command pipe, I see it take effect and stay in effect. Looking at the Event Log in the web interface shows: [03-16-2006 22:54:25] EXTERNAL COMMAND: CHANGE_NORMAL_SVC_CHECK_INTERVAL;tigris;DiskBackupMountCheck;3 No other CHANGE_NORMAL_SVC_CHECK_INTERVAL commands occur. If you are seeing another command reset it, maybe something is wacky in the event handler. After the command, /var/log/nagios/retention.dat and /var/log/nagios/object.cache both show: normal_check_interval 3 for the service just as expected. It is normally set to 60 minutes in the configuration files. When you change the check interval, it doesn't force a reschedule of the service with the new interval. I rescheduled from the web interface, but I suspect that a "SCHEDULE_FORCED_HOST_CHECK" command would also do the trick. Then I saw the 3 minute reschedule take effect and stay in effect. >I cannot find ANY documentation nor mention of this command, >CHANGE_NORMAL_SVC_CHECK_INTERVAL, anywhere on the users or dev >mailing lists, via google, or anywhere else except here: > >http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=110 That's the only place I have found it. The source is the only other doc. Also I am using nagios 2.0rc1, so YMMV. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Fri Mar 17 00:42:13 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Thu, 16 Mar 2006 18:42:13 -0500 Subject: switch host definition: no IP In-Reply-To: Your message of "Thu, 16 Mar 2006 15:10:50 PST." <37ED92F9890FAF4BB947613C66FF8B1A08BB2D34@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2D34@dw-mail.dataway.com> Message-ID: <200603162342.k2GNgDq0000627@mx1.cs.umb.edu> In message <37ED92F9890FAF4BB947613C66FF8B1A08BB2D34 at dw-mail.dataway.com>, Tedman Eng writes: >You can approach monitoring an IP-less unmanaged switch a few ways: > but my switches do not have an IP associated with them, being > setup thusly: >> From: dick >> >> (firewall)---(switch1)----(mailserver) >> 10.9.0.1 | 10.9.0.3 >> | >> (wifi AP) >> 10.9.0.2 >> >> in this case, would i want to make a host named switch1 and >> have it be the >> parent of the mailserver and wifi AP machines, or should i >[...] >3) Create a cluster object (ie. check_cluster) that's tied to numerous hosts >behind the switch. If all those hosts are out at the same time, then your >cluster object would signal a problem, most likely the switch, but it could >be your whole computer room went down too. Another hack on the cluster object is to use the check_host mode of check_icmp. Create a link to check_icmp called check_host. Use the command: check_host 10.9.0.2 10.9.0.3 as the check_host command for switch1 (and possibly a check_ping service command for switch1). As long as one of the IP addresses to check_host responds, it will returns an ok state. So the switch will be found down only if both the 0.2 and 0.3 hosts are down. Needless to say this works best is 0.2 and 0.3 are on separate power systems/UPS legs so that a power failure doesn't make it look like the switch went down. However if you plug all three devices into the same power plug then it works right. Dick, does switch1 have a serial console that is network accessible (via a terminal server for example) that you could use to probe the switch? Using an expect script to drive an interaction with the switch can also be used as a "ping" operation. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 17 00:43:33 2006 From: ton.voon at altinity.com (Ton Voon) Date: Thu, 16 Mar 2006 23:43:33 +0000 Subject: "check_http --ssl" problem In-Reply-To: <4419CABF.8020008@Examen.com> References: <4405D667.7070807@Examen.com> <4419CABF.8020008@Examen.com> Message-ID: On 16 Mar 2006, at 20:29, Emmett Hogan wrote: > Wow...this is a first for me in my dealings with Nagios and the list. > Usually, one of the "super smart" folks on this list sees what the > problem is in a matter of minutes..but not this time. That's a taunt if ever I heard one! Try the plugins snapshot at http://nagiosplug.sourceforge.net/ snapshot. Sean Finney has done some cleanup for SSL connections and I think this is fixed in there. Ton > > Has no one else tried to verify ssl certs on a web server which > requires > STRONG encryption from a nagios server running Redhat v4 x86_64? :-( > > Anybody have any suggestions? > > -Emmett > > Emmett Hogan wrote: >> Hi Folks, >> >> I am having a very strange problem. I am moving nagios to a new >> server >> and updating to V2.0 (from V2.0b1), at the same time upgrading from >> nagios-plugins-1.4beta to nagios-plugins-1.4.2. >> >> The big difference, and I think the source of my problem, is that >> I am >> going from Debian Linux to Redhat Enterprise Linux. >> >> In a nutshell, "check_http --ssl" doesn't work for our servers which >> REQUIRE strong encryption. >> >> Examples: >> >> On our OLD Debian machine (everything is great): >> >> # ./check_http -V >> check_http (nagios-plugins 1.4-beta1) 1.79 >> >> # ./check_http -v -C 60 --ssl www.wellsfargo.com >> SSL seeding: OK >> OK - Certificate will expire on 08/19/2006 23:59. >> >> # ./check_http -v -C 60 --ssl my-web-server >> SSL seeding: OK >> OK - Certificate will expire on 08/14/2011 18:21. >> >> New Redhat Server: >> >> # ./check_http -V >> check_http (nagios-plugins 1.4.2) 1.81 >> >> # ./check_http -v -C 60 --ssl www.wellsfargo.com >> SSL seeding: OK >> OK - Certificate will expire on 08/19/2006 23:59. >> >> # ./check_http -v -C 120 --ssl my-web-server >> SSL seeding: OK >> CRITICAL - Cannot retrieve server certificate. >> >> This happens even if I compile version 1.79 on the Redhat box and >> try to >> run it. So, I figured it must be an ssl library problem...right? >> Nope. I grabbed the latest openssl, compiled it, and used it to >> build >> both versions of check_http, and got the exact same problem. >> >> I receive this error even when checking to make sure the https >> side is >> up and running: >> >> # ./check_http --ssl -v my-web-server >> SSL seeding: OK >> CRITICAL - Cannot retrieve server certificate. >> >> I am pretty sure it has to do with my requirement of strong >> encryption >> within my Apache server, but it works fine with my old setup. >> >> Has anyone else on the list run into this problem before?? >> >> Any help would be GREATLY appreciated! >> >> Thanks, >> Emmett >> 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dick at uchicago.edu Fri Mar 17 01:33:13 2006 From: dick at uchicago.edu (dick at uchicago.edu) Date: Thu, 16 Mar 2006 18:33:13 -0600 Subject: switch host definition: no IP Message-ID: > >Another hack on the cluster object is to use the check_host mode of >check_icmp. Create a link to check_icmp called check_host. Use the >command: > > check_host 10.9.0.2 10.9.0.3 > >as the check_host command for switch1 (and possibly a check_ping >service command for switch1). As long as one of the IP addresses to >check_host responds, it will returns an ok state. So the switch will >be found down only if both the 0.2 and 0.3 hosts are down. Needless to >say this works best is 0.2 and 0.3 are on separate power systems/UPS >legs so that a power failure doesn't make it look like the switch went >down. However if you plug all three devices into the same power plug >then it works right. > >Dick, does switch1 have a serial console that is network accessible >(via a terminal server for example) that you could use to probe the >switch? Using an expect script to drive an interaction with the switch >can also be used as a "ping" operation. > john, the switches in question are total junk "autosensing" switches i grabbed from bestbuy, no serial console for management access. the idea of using the expect script to run checks via a console server is a good one, but i don't have the right equipment. thx for the ideas y'all. i'll try them to see how they work out. i'll post back later if any one of them seems to work best. cheers, jake ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnosc at hotmail.com Fri Mar 17 02:29:37 2006 From: jnosc at hotmail.com (Jody Noscov) Date: Fri, 17 Mar 2006 11:29:37 +1000 Subject: Local host is Down, Couldnotparse arguements Message-ID: Usage: check_ping -H -w ,% -c ,% [-p packets] [-t timeout] [-L] [-4|-6] I am not sure what I need to set the following to -w ,% -c ,% [-p packets] [-t timeout] [-L] [-4|-6] Is there a document in the help files someone could point me to _________________________________________________________________ Shopping made easy @ tradingpost.com.au http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fwww%2Etradingpost%2Ecom%2Eau%2F%3Freferrer%3DnmsnHMetagv1&_t=753082530&_r=emailtagline&_m=EXT ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Fri Mar 17 02:37:46 2006 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Thu, 16 Mar 2006 19:37:46 -0600 (CST) Subject: Local host is Down, Couldnotparse arguements In-Reply-To: References: Message-ID: On Fri, 17 Mar 2006, Jody Noscov wrote: > Usage: check_ping -H -w ,% -c ,% > [-p packets] [-t timeout] [-L] [-4|-6] > > I am not sure what I need to set the following to > > -w ,% -c ,% > [-p packets] [-t timeout] [-L] [-4|-6] > > Is there a document in the help files someone could point me to Here's how I have my check_ping setup. First, in checkcommands.cfg, I have the following definition: # check_ping command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } Then, in services.cfg, I have the following: define service{ use dev3-service service_description PING hostgroup_name dev3 check_command check_ping!100,20%!200,40% } That's it. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From estair at ilm.com Fri Mar 17 02:48:25 2006 From: estair at ilm.com (Eli Stair) Date: Thu, 16 Mar 2006 17:48:25 -0800 Subject: Service dependencies In-Reply-To: References: <2A67EA781EC7F949A2AB0A0D07A86C6ABE6F51@mail01.ccia.local> Message-ID: <441A1569.4060901@ilm.com> To be fair, one situation where these wildcard template dependencies don't work is when you want to define a number of dependent services that rely on a service on the same host (i.e. not a number of separate services on different hosts that rely on a single (or wildcardable) host/service). I re-wrote my entire config tree with templates at one point, only to find it was wasted effort (in my situation) as I have large numbers of hosts/services all relying on others within the same host, not a single point elsewhere... so they aren't expressible that way. So I've still got megabytes of config files to generate when there's a change, vs. the idea of changing a simple template and having it propagate :( /eli Hugo van der Kooij wrote: > On Thu, 16 Mar 2006, Matthew Joyce wrote: > > >>I check a lot of window services from linux via snmp. >>One service is SNMP, if this fails or stops, others will fail. >> >>An I going to get a heap of notification for each service ? >> >>I've looked at the service dependency section in the docs, and it looks >>like I need to define a dependency for each service, for each host. >>That's a lot of defining. > > > Not at all. Read the archives for samples of how to use the wildcards in > your dependencies definitions. > > Hugo. > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnosc at hotmail.com Fri Mar 17 03:26:57 2006 From: jnosc at hotmail.com (Jody Noscov) Date: Fri, 17 Mar 2006 12:26:57 +1000 Subject: Local host is Down, Couldnotparse arguements In-Reply-To: References: Message-ID: Tried that using the CLI and i get: !200: Event not found Bummer, Is there some documentation somewhere that will show me what I need to put into these arguements? I am also trying to run the Check_load, Check_disk, check_ping all with the same result. Could not parse arguements the Check_users is coming up with no output returned from plugin, However good news is that the check_procs is working fine...hooray something works! I am not that experienced in either linux or nagios, so whatever tips you can give me would be greatly appreciated :-) >From: Demetri Mouratis >To: Jody Noscov >CC: Nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Local host is Down, Couldnotparse arguements >Date: Thu, 16 Mar 2006 19:37:46 -0600 (CST) > >On Fri, 17 Mar 2006, Jody Noscov wrote: > >>Usage: check_ping -H -w ,% -c ,% >>[-p packets] [-t timeout] [-L] [-4|-6] >> >>I am not sure what I need to set the following to >> >>-w ,% -c ,% >>[-p packets] [-t timeout] [-L] [-4|-6] >> >>Is there a document in the help files someone could point me to > >Here's how I have my check_ping setup. First, in checkcommands.cfg, I have >the following definition: > ># check_ping command definition >define command{ > command_name check_ping > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c >$ARG2$ -p 5 > } > >Then, in services.cfg, I have the following: > >define service{ > use dev3-service > service_description PING > hostgroup_name dev3 > check_command check_ping!100,20%!200,40% > } > >That's it. > > >------------------------------------------------------- >This SF.Net email is sponsored by xPML, a groundbreaking scripting language >that extends applications into web and mobile media. Attend the live >webcast >and join the prime developer group breaking into this new coding territory! >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. ::: Messages without supporting info will risk being >sent to /dev/null _________________________________________________________________ realestate.com.au: the biggest address in property http://ninemsn.realestate.com.au ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnosc at hotmail.com Fri Mar 17 03:50:09 2006 From: jnosc at hotmail.com (Jody Noscov) Date: Fri, 17 Mar 2006 12:50:09 +1000 Subject: Local host is Down, Couldnotparse arguements In-Reply-To: References: Message-ID: So Far so good, I just copied the snippet from the checkcommands.cfg file, changed it to suit and wella! Now my Host is up, but I am still having problems with the other commands. >From: Demetri Mouratis >To: Jody Noscov >CC: Nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Local host is Down, Couldnotparse arguements >Date: Thu, 16 Mar 2006 19:37:46 -0600 (CST) > >On Fri, 17 Mar 2006, Jody Noscov wrote: > >>Usage: check_ping -H -w ,% -c ,% >>[-p packets] [-t timeout] [-L] [-4|-6] >> >>I am not sure what I need to set the following to >> >>-w ,% -c ,% >>[-p packets] [-t timeout] [-L] [-4|-6] >> >>Is there a document in the help files someone could point me to > >Here's how I have my check_ping setup. First, in checkcommands.cfg, I have >the following definition: > ># check_ping command definition >define command{ > command_name check_ping > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c >$ARG2$ -p 5 > } > >Then, in services.cfg, I have the following: > >define service{ > use dev3-service > service_description PING > hostgroup_name dev3 > check_command check_ping!100,20%!200,40% > } > >That's it. > > >------------------------------------------------------- >This SF.Net email is sponsored by xPML, a groundbreaking scripting language >that extends applications into web and mobile media. Attend the live >webcast >and join the prime developer group breaking into this new coding territory! >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. ::: Messages without supporting info will risk being >sent to /dev/null _________________________________________________________________ mycareer.com.au: http://www.mycareer.com.au/?s_cid=213596 Land the Job ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prosolutions at gmx.net Fri Mar 17 04:06:31 2006 From: prosolutions at gmx.net (prosolutions at gmx.net) Date: Thu, 16 Mar 2006 19:06:31 -0800 Subject: where to get help with ext. cmd CHANGE_NORMAL_SVC_CHECK_INTERVAL ? In-Reply-To: <200603162323.k2GNNR7N027718@mx1.cs.umb.edu> References: <20060316223329.GA7653@mini.alaya.net> <200603162323.k2GNNR7N027718@mx1.cs.umb.edu> Message-ID: <20060317030214.GA10825@mini.alaya.net> > > [mangled broken shell script removed] > oops yes part of it got chopped. and yes it wasn't elegant - i threw it together to get it to run. it does run - it handles the cases correctly, etc. > What I saw as a shell script isn't a valid shell script. At > the very least it looks like a case statement got chopped > off at the top. Also you have a lot of redundant code there. > > Also there is no standard for the arguments to event handler > scripts, including the command definition would have been > useful. > > >I see after max_check_attempts that state to go > >CRITICAL HARD for the service and then it runs the > >event_handler which runs the external command: > > > >[1142543941] EXTERNAL COMMAND: CHANGE_NORMAL_SVC_CHECK_INTERVAL;test_host;test.html;15 no. sorry i wasn't clear on this. that is what i see in the log file. the command that is run is that which is in the script, namely: printf "[%lu] CHANGE_NORMAL_SVC_CHECK_INTERVAL;$4;$5;15\n" $now > $commandfile this is taken directly from the canonical definition of this command listed at http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=110, which is: #!/bin/sh now=`date +%s` commandfile='/usr/local/nagios/var/rw/nagios.cmd' /bin/printf "[%lu] CHANGE_NORMAL_SVC_CHECK_INTERVAL;host1;service1;15\n" $now > $commandfile i see that this differs from what you claim to have succesfully run (see below) > > the inclusion of "EXTERNAL COMMAND:" is a syntax error. If no, that is what the log file showed after the command ran, not what i sent > > >this should set the check_interval to 15 seconds instead > >of the default 90 seconds. However, watching the log I see > >that the checks on the service revert to 90 s. > > What are you seeing in the log that makes you think it's > getting reset? If I use: i am watching the log and timing it and watching how frequently the service checks get run. they run at retry_check_interval up until max_check_attempts gets reached, then, even though the event handler runs the script to execute the CHANGE_NORMAL_SVC_CHECK_INTERVAL command, setting the interval to 15 seconds (same as retry_check_interval), it does not set (i.e. it reverts back to check_interval (90s) > > echo "[`date +%s`] CHANGE_NORMAL_SVC_CHECK_INTERVAL;tigris;DiskBackupMountCheck;3" okay this looks substantially differnt than the cannonical example above. first off instead of [%lu] following the echo/print, you have [`date +%s`] also, i don't see \n `date +%s` > $commandfile at the end of your script. is the date command supposed to go before and after the command? > > to change the check interval to three minutes, and direct it > to the command pipe, I see it take effect and stay in > effect. Looking at the Event Log in the web interface shows: > > [03-16-2006 22:54:25] EXTERNAL COMMAND: CHANGE_NORMAL_SVC_CHECK_INTERVAL;tigris;DiskBackupMountCheck;3 yep i see an entry just like this: [1142543941] EXTERNAL COMMAND: CHANGE_NORMAL_SVC_CHECK_INTERVAL;test_host;test.html;15 but alas object.cache shows check_interval to still be 90s > > No other CHANGE_NORMAL_SVC_CHECK_INTERVAL commands occur. i agree there are no others > > When you change the check interval, it doesn't force a > reschedule of the service with the new interval. i'm not sure what you mean here. you mean, even though check_interval gets changed, that it must somehow be rescheduled before actually taking effect? > > Also I am using nagios 2.0rc1, so YMMV. > nagios 2.0b3 here. thanks much for your help. i will mess around with the command a bit and if i can get it to work. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 17 05:33:54 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Fri, 17 Mar 2006 15:33:54 +1100 Subject: Nagios-Report-0.002 on CPAN/NagiosExchange. Message-ID: Dear Folks, I am writing to say that Nagios::Report 0.002 has been 'released' and is available at the usual places. This relase fixes a bug, and adds limited charting capability and a weaker alternate interface (provided by the Perl DBD::AnyData module) that allows client code to select the report data with SQL (the small subset that AnyData accepts). 0.002 Fri Mar 17 14:44:36 EST 2006 - fix bug in mkreport() processing of MUNGE_CALLBACK (would not change report values). *** This entailed a change _non_ backward compatible change in the MUNGE_CALLBACK interface. *** Client code that calls the alter->() callback _requires_ changing. *** The alter callback is now called with one parm, a ref to a hash of the field values *** indexed by field name. See examples/ for scripts that have been changed. - added to_dbh() method to allow DBD::AnyData provided use of SQL (simple) on report data - added primitive support for chart templates to excel_dump. The workbook written by Spreadsheet::WriteExcel can contain _one_ (1) chart of the availability data. This project does not scale very well. It provides a limited capability to provide a Data source for processing by Reporting tools such as Excel. This module has probably reached the end of development (some may say it would better have not started) apart from bug fixes. If you are serious about reporting look at the DB NEB modules or Steve Shipways stuff on NagiosExchange. This module provides however, a limited capacity to provide reports in the format beloved by PHBs. Yours sincerely. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Fri Mar 17 05:51:22 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Thu, 16 Mar 2006 23:51:22 -0500 Subject: where to get help with ext. cmd CHANGE_NORMAL_SVC_CHECK_INTERVAL ? In-Reply-To: Your message of "Thu, 16 Mar 2006 19:06:31 PST." <20060317030214.GA10825@mini.alaya.net> References: <20060317030214.GA10825@mini.alaya.net> Message-ID: <200603170451.k2H4pM6N011415@mx1.cs.umb.edu> In message <20060317030214.GA10825 at mini.alaya.net>, prosolutions writes: >no. sorry i wasn't clear on this. that is what i see in the log file. >the command that is run is that which is in the script, namely: > >printf "[%lu] CHANGE_NORMAL_SVC_CHECK_INTERVAL;$4;$5;15\n" $now > $commandfile > >this is taken directly from the canonical definition of this command > [...] >i see that this differs from what you claim to have succesfully run (see > below) >> >this should set the check_interval to 15 seconds instead >> >of the default 90 seconds. However, watching the log I see >> >that the checks on the service revert to 90 s. >> >> What are you seeing in the log that makes you think it's >> getting reset? If I use: > >i am watching the log and timing it and watching how frequently the >service checks get run. they run at retry_check_interval up until >max_check_attempts gets reached, then, even though the event handler >runs the script to execute the CHANGE_NORMAL_SVC_CHECK_INTERVAL command, >setting the interval to 15 seconds (same as retry_check_interval), it >does not set (i.e. it reverts back to check_interval (90s) Hmm, I would expect a timeline something like the following: id time state 1 0 poll fails in state soft failure try number 1 (aka soft 1) 2 15s soft alert 2 3 30s soft alert 3 4 45s hard alert (scheduled with 90 seconds because change of check interval hasn't occurred yet) 5 45s+ event handler called generates CHANGE_NORMAL_SVC_CHECK_INTERVAL 6 135s still hard (but now it schedules using the 15 second timeperiod) 7 150s hard 8 165s hard 9 stays with 15 second interval. If you wanted to have the interval between 4 and 6 be something other than 90 seconds you have to generate a SCHEDULE_FORCED_SVC_CHECK for the date "now + 15 seconds" at line 5 in addition to the change in check interval. >> echo "[`date +%s`] CHANGE_NORMAL_SVC_CHECK_INTERVAL;tigris;DiskBackupMountCheck;3" Printf is POSIX standard, but both my command and the printf produce the same output. Try both and see. If you don't understand why they produce the same output, read the man pages and get a book on shell programming. >okay this looks substantially differnt than the cannonical example >above. first off instead of [%lu] following the echo/print, you have >[`date +%s`] also, i don't see > >\n `date +%s` > $commandfile > >at the end of your script. is the date command supposed to go before >and after the command? No. I am just using shell substitution in the quoted string. Functionally they are equivalent. RTFM for bash, echo, printf, date etc.. >> to change the check interval to three minutes, and direct it >> to the command pipe, I see it take effect and stay in >> effect. Looking at the Event Log in the web interface shows: >> >> [03-16-2006 22:54:25] EXTERNAL COMMAND: CHANGE_NORMAL_SVC_CHECK_INTERVAL;tigris;DiskBackupMountCheck;3 > >yep i see an entry just like this: > >[1142543941] EXTERNAL COMMAND: CHANGE_NORMAL_SVC_CHECK_INTERVAL;test_host;te >st.html;15 > >but alas object.cache shows check_interval to still be 90s Hmm, maybe a bug in 2.0b3? >> When you change the check interval, it doesn't force a >> reschedule of the service with the new interval. > >i'm not sure what you mean here. you mean, even though check_interval >gets changed, that it must somehow be rescheduled before actually taking >effect? Right. The new schedule won't take effect until the currently scheduled poll is run at the original scheduling interval AFAICT. If you want the new interval to take affect immediately you need to force it with a SCHEDULE_FORCED_SVC_CHECK command. >> Also I am using nagios 2.0rc1, so YMMV. >nagios 2.0b3 here. > >thanks much for your help. i will mess around with the command a bit >and if i can get it to work. Good luck. I'd be interested in seeing what finally works. Also you should check the nagios 2.0 release notes between 2.0b3 and 2.0rc1 and see if there is a reference to this problem. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prosolutions at gmx.net Fri Mar 17 08:04:29 2006 From: prosolutions at gmx.net (prosolutions at gmx.net) Date: Thu, 16 Mar 2006 23:04:29 -0800 Subject: where to get help with ext. cmd CHANGE_NORMAL_SVC_CHECK_INTERVAL ? In-Reply-To: <200603170451.k2H4pM6N011415@mx1.cs.umb.edu> References: <20060317030214.GA10825@mini.alaya.net> <200603170451.k2H4pM6N011415@mx1.cs.umb.edu> Message-ID: <20060317070428.GB10825@mini.alaya.net> > > >> echo "[`date +%s`] CHANGE_NORMAL_SVC_CHECK_INTERVAL;tigris;DiskBackupMountCheck;3" > > Printf is POSIX standard, but both my command and the printf produce > the same output. Try both and see. If you don't understand why they > produce the same output, read the man pages and get a book on shell > programming. the issue isn't with the use of printf or echo, but rather the strings which they are printing. also, i know what shell substitution is but am not familiar with the expression [%lu] and had no idea that was equivalent to the output of `date +%s`. what is confusing about your example is that you seem to omit the trailing `date +%s` at the end of your command, as opposed to the provided example: now=`date +%s` commandfile='/usr/local/nagios/var/rw/nagios.cmd' /bin/printf "[%lu] CHANGE_NORMAL_SVC_CHECK_INTERVAL;host1;service1;15\n" $now > $commandfile the $now preceeding the redirection to the command file being equivalent to the string returned by `date +%s` this cannonical example is a bit confusing then: why does it have the date at the beginning, i.e. the first [%lu], and then again at the end with $now ? you seem to omit the second date from your command although in your example you also don't echo a newline nor show the redirect which that part I at least assume. > > Right. The new schedule won't take effect until the currently > scheduled poll is run at the original scheduling interval AFAICT. If > you want the new interval to take affect immediately you need to force > it with a SCHEDULE_FORCED_SVC_CHECK command. > thank you for the clarification regarding this. but i am still not seeing the CHANGE_NORMAL_SVC_CHECK_INTERVAL register in objects.cache. i will continue delving into that and then eventually implement SCHEDULE_FORCED_SVC_CHECK as per your suggestion. thanks again for your illuminating help! ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Fri Mar 17 08:16:02 2006 From: m.borsani at it.net (Marco Borsani) Date: Fri, 17 Mar 2006 08:16:02 +0100 Subject: R: Strange situation.. In-Reply-To: <60721B67EAF0994EAFFB561767B700140ACC95@nets13ha.ww300.siemens.net> References: <60721B67EAF0994EAFFB561767B700140ACC95@nets13ha.ww300.siemens.net> Message-ID: <003e01c64992$a69085e0$0900d40a@intranet.it.net> I found the problem. Nagios does not keep nagios user environment (and PATH variable), so it did not find command like "grep" ! I can't believe.... ;-) Regards Marco -}-----Messaggio originale----- -}Da: Masopust, Christian [mailto:christian.masopust at siemens.com] -}Inviato: gioved? 16 marzo 2006 10.58 -}A: Marco Borsani; NAGIOS -}Oggetto: RE: [Nagios-users] Strange situation.. -} -} -}Does your nagios user have read permissions to your Invio_Rice.log? -} -} -} -}> -----Original Message----- -}> From: nagios-users-admin at lists.sourceforge.net -}> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf -}Of Marco -}> Borsani -}> Sent: Thursday, March 16, 2006 10:30 AM -}> To: 'NAGIOS' -}> Subject: [Nagios-users] Strange situation.. -}> Importance: High -}> -}> Hi all! -}> -}> I prepare a very simple check (called check_fax) that read a text -}> file. -}> -}> If check_fax find an "OK" it will return a status 0, if -}check_fax find -}> a "CRITICAL" it will return a status 2. -}> -}> Well, when I run manually check_fax (like nagios user or root -}> user) it work -}> correctly (returns 0), but when Nagios run check_fax, it returns a -}> status 2. -}> -}> I try to modify check_fax permissions like: -}> -rwxr-xr-x 1 root sys 654 Mar 16 09:42 check_fax -}> -rwxr-xr-x 1 nagios nagios 654 Mar 16 09:42 check_fax -}> But nothing has been changed. -}> -}> Here it is the check_fax: -}> -}---------------------------------------------------------------------- -}> #!/bin/csh -}> # -}> set dir2 = /tmp -}> -}> set STATUS = `cat $dir2/Invio_Rice.log | grep -c OK` -}> -}> if ( "$STATUS" == "1" ) then -}> echo "FAX OK - Invio e ricezione di prova avvenuto" > -}> $dir2/Rice.log -}> echo "FAX OK - Invio e ricezione di prova avvenuto" -}> else -}> echo "FAX CRITICAL - Invio e ricezione di prova NON -}avvenuto" -}> > $dir2/Rice.log -}> echo "FAX CRITICAL - Invio e ricezione di prova NON -}avvenuto" -}> exit 2 -}> endif -}> -}> exit 0 -}> -------------------------------------------------------------- -}> ---------- -}> -}> Any idea? -}> Regards -}> -}> Marco Borsani -}> Unix & Monitoring System Administrator Technical Operation -}> Tel. +39 010 4310115 -}> Fax +39 010 4327454 -}> E-mail: m.borsani at IT.net -}> -}> ITnet S.r.l. - Direzione e Coordinamento di WIND Telecomunicazioni -}> S.p.A. -}> Internet Service Provider -}> Sede legale: Via C.G.Viola, 48 - 00148 Roma -}> Dir. Centrale e Amministrativa: Via Pacinotti, 39 -}> 16151 Genova (Italy) -}> -}> http://www.it.net -}> mailto:info at IT.net -}> _______________________________________________________________ -}> Altre sedi ITnet: -}> MILANO tel.: +39 02 30114900 info-milano at IT.net -}> ROMA tel.: +39 06 83116707 info-roma at IT.net -}> _______________________________________________________________ -}> ITnet is associated to CIX (Commercial IP eXchange) and -}RIPE ITnet is -}> associated to AIIP (Associazione Italiana Internet Providers) -}> -}> -}> -}> -}> ------------------------------------------------------- -}> This SF.Net email is sponsored by xPML, a groundbreaking scripting -}> language that extends applications into web and mobile -}media. Attend -}> the live webcast and join the prime developer group -}breaking into this -}> new coding territory! -}> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720& -}> dat=121642 -}> _______________________________________________ -}> Nagios-users mailing list -}> Nagios-users at lists.sourceforge.net -}> https://lists.sourceforge.net/lists/listinfo/nagios-users -}> ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 cloud9.co.uk Fri Mar 17 14:43:42 2006 From: james at cloud9.co.uk (James Fidell) Date: Fri, 17 Mar 2006 13:43:42 +0000 Subject: Empty hostgroups Message-ID: <441ABD0E.3060508@cloud9.co.uk> Is there an easy way to make nagios v2 not care if a hostgroup is empty? I'm migrating a live configuration from v1 to v2 at the same time as correcting some errors and adding functionality and have it would be useful to have all the hostgroups in the configuration files before adding all the hosts. Is it liable to cause pain if I change the code to warn about empty hostgroups rather than fail with an error? James ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 17 14:51:37 2006 From: joseph.petrucci at wachovia.com (joseph.petrucci at wachovia.com) Date: Fri, 17 Mar 2006 08:51:37 -0500 Subject: Empty hostgroups In-Reply-To: <441ABD0E.3060508@cloud9.co.uk> References: <441ABD0E.3060508@cloud9.co.uk> Message-ID: only thing I can think of is the same host can be in multiple hostgroups so pick one host already defined and placeit in all empty hostgroups as a placeholder then when you put a host in the hstgroup that actually belongs remove that placeholder. Joe Petrucci Office: 704-383-6089 Cell : 724-462-0443 James Fidell Sent by: nagios-users-admin at lists.sourceforge.net 03/17/2006 08:43 AM To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] Empty hostgroups Is there an easy way to make nagios v2 not care if a hostgroup is empty? I'm migrating a live configuration from v1 to v2 at the same time as correcting some errors and adding functionality and have it would be useful to have all the hostgroups in the configuration files before adding all the hosts. Is it liable to cause pain if I change the code to warn about empty hostgroups rather than fail with an error? James ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ForwardSourceID:NT00010C52 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Deborah.Martin at Kognitio.com Fri Mar 17 14:58:13 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Fri, 17 Mar 2006 13:58:13 -0000 Subject: Empty hostgroups Message-ID: You can also use a wildcard as well. -----Original Message----- From: joseph.petrucci at wachovia.com [mailto:joseph.petrucci at wachovia.com] Sent: 17 March 2006 13:52 To: James Fidell Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Subject: Re: [Nagios-users] Empty hostgroups only thing I can think of is the same host can be in multiple hostgroups so pick one host already defined and placeit in all empty hostgroups as a placeholder then when you put a host in the hstgroup that actually belongs remove that placeholder. Joe Petrucci Office: 704-383-6089 Cell : 724-462-0443 James Fidell Sent by: nagios-users-admin at lists.sourceforge.net 03/17/2006 08:43 AM To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] Empty hostgroups Is there an easy way to make nagios v2 not care if a hostgroup is empty? I'm migrating a live configuration from v1 to v2 at the same time as correcting some errors and adding functionality and have it would be useful to have all the hostgroups in the configuration files before adding all the hosts. Is it liable to cause pain if I change the code to warn about empty hostgroups rather than fail with an error? James ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ForwardSourceID:NT00010C52 ************************************************************************ 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. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From joseph.petrucci at wachovia.com Fri Mar 17 15:30:50 2006 From: joseph.petrucci at wachovia.com (joseph.petrucci at wachovia.com) Date: Fri, 17 Mar 2006 09:30:50 -0500 Subject: Empty hostgroups In-Reply-To: References: Message-ID: I missed that you can use wildcards in the hostname field. thanks that may save me some work in the future. Joe Petrucci Office: 704-383-6089 Cell : 724-462-0443 Deborah Martin 03/17/2006 08:58 AM To "'joseph.petrucci at wachovia.com'" , James Fidell cc nagios-users at lists.sourceforge.net, nagios-users-admin at lists.sourceforge.net Subject RE: [Nagios-users] Empty hostgroups You can also use a wildcard as well. -----Original Message----- From: joseph.petrucci at wachovia.com [mailto:joseph.petrucci at wachovia.com] Sent: 17 March 2006 13:52 To: James Fidell Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Subject: Re: [Nagios-users] Empty hostgroups only thing I can think of is the same host can be in multiple hostgroups so pick one host already defined and placeit in all empty hostgroups as a placeholder then when you put a host in the hstgroup that actually belongs remove that placeholder. Joe Petrucci Office: 704-383-6089 Cell : 724-462-0443 James Fidell Sent by: nagios-users-admin at lists.sourceforge.net 03/17/2006 08:43 AM To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] Empty hostgroups Is there an easy way to make nagios v2 not care if a hostgroup is empty? I'm migrating a live configuration from v1 to v2 at the same time as correcting some errors and adding functionality and have it would be useful to have all the hostgroups in the configuration files before adding all the hosts. Is it liable to cause pain if I change the code to warn about empty hostgroups rather than fail with an error? James ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ForwardSourceID:NT00010C52 ************************************************************************ 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. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ForwardSourceID:NT00010C6E -------------- next part -------------- An HTML attachment was scrubbed... URL: From rstory-l at 2006.revelstone.com Fri Mar 17 15:59:51 2006 From: rstory-l at 2006.revelstone.com (Robert Story) Date: Fri, 17 Mar 2006 09:59:51 -0500 Subject: check_if_by_snmp output In-Reply-To: <0DB0FFEA6887E349861A3F6B40D71C3AAD0B80@gaugeboson.jnpr.net> References: <0DB0FFEA6887E349861A3F6B40D71C3AAD0B80@gaugeboson.jnpr.net> Message-ID: <20060317095951.7d5bbc70@aud.vb.futz.org> On Thu, 16 Mar 2006 13:05:04 +0530 Mrutyunjaya wrote: MD> I tried executing the command but it seems the command is not there in the MD> system. I have installed net-snmp on the system. Can you please let me MD> know whether snmpwalk comes along with net-snmp package or I need to MD> install some other package separately to get the snmpwalk? If you installed from source, it should be there. If you are using a RedHat based system and only installed net-snmp, you just have the daemons. The net-snmp-utils package has the user utilities. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Mar 17 16:34:53 2006 From: marc at ena.com (Marc Powell) Date: Fri, 17 Mar 2006 09:34:53 -0600 Subject: Local host is Down, Couldnotparse arguements Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jody Noscov > Sent: Thursday, March 16, 2006 7:30 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Local host is Down, Couldnotparse arguements > > Usage: check_ping -H -w ,% -c ,% > [-p packets] [-t timeout] [-L] [-4|-6] > > I am not sure what I need to set the following to > > -w ,% -c ,% > [-p packets] [-t timeout] [-L] [-4|-6] > > Is there a document in the help files someone could point me to Use 'check_ping --help'. That'll return more verbose help. THRESHOLD is ,% where is the round trip average travel time (ms) which triggers a WARNING or CRITICAL state, and is the percentage of packet loss to trigger an alarm state. The example from Demetri Mouratis should clarify these further. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dschlecht at doit.nv.gov Fri Mar 17 16:36:23 2006 From: dschlecht at doit.nv.gov (David Schlecht) Date: Fri, 17 Mar 2006 16:36:23 +0100 (CET) Subject: e-mail acknowledgements Message-ID: <20060317153623.88BBF4F40E3@desire.netways.de> Hi list I would like to allow our users to send e-mail to the Nagios server to initiate events such as acknowledge notifications, enable/disable notifications, and such. A procmail interface seems like a good solution. I noticed a post from long ago regarding this. Has anyone had any luck implementing such an interface? - David Schlecht (dschl) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dschlecht at doit.nv.gov Fri Mar 17 16:50:20 2006 From: dschlecht at doit.nv.gov (David Schlecht) Date: Fri, 17 Mar 2006 16:50:20 +0100 (CET) Subject: e-mail acknowledgements In-Reply-To: <20060317153623.88BBF4F40E3@desire.netways.de> References: <20060317153623.88BBF4F40E3@desire.netways.de> Message-ID: <20060317155020.DAC5E4F40E3@desire.netways.de> My thanks to Terry and Dany for their input regarding the acknowledgments part of this. - David Schlecht (dschl) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=16416 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Mar 17 16:51:45 2006 From: marc at ena.com (Marc Powell) Date: Fri, 17 Mar 2006 09:51:45 -0600 Subject: e-mail acknowledgements Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of David Schlecht > Sent: Friday, March 17, 2006 9:36 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] e-mail acknowledgements > > Hi list > > > > I would like to allow our users to send e-mail to the Nagios > > server to initiate events such as acknowledge notifications, > > enable/disable notifications, and such. > > > > A procmail interface seems like a good solution. I noticed a > > post from long ago regarding this. > > > > Has anyone had any luck implementing such an interface? There was a post just 2 days ago from Terry with a Subject of "Re: [Nagios-users] Acknowledge issues via e-mail" that included a procmail recipe and a script. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanglinden at gmail.com Fri Mar 17 15:36:37 2006 From: stanglinden at gmail.com (Mike Linden) Date: Fri, 17 Mar 2006 09:36:37 -0500 Subject: phantom host up messages In-Reply-To: References: Message-ID: <703708a60603170636m6459ad36xaba1363322982e@mail.gmail.com> On 3/16/06, Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Mike Linden > > Sent: Thursday, March 16, 2006 8:08 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] phantom host up messages > > > > Hi, > > I have a couple systems that have been unplugged and removed from the > rack > > ,yet Nagios still reports a Host UP alert for them from the check_ping > > process. > > How is this possible? > > > > ***** Nagios ***** > > > > Notification Type: RECOVERY > > Host: csep1039 > > State: UP > > Address: csep1039 > > Info: (No output!) > > > > Date/Time: Thu Mar 16 08:56:42 EST 2006 > > The plugin/command you are using to check the host is providing no > command line output but is still exiting with a code of 0 (successful). > Try running the check_command, as the nagios user, exactly as it's > defined, from the command line and then 'echo $?'. The results of the > echo for a down host should be '2'. Chances are you're going to see some > additional error output from ping/check_ping. > > There was also a suggestion earlier for another issue to add '2>&1' to > the end of the check_command definition to redirect error output back to > Nagios. If that works as advertised, and I believe it will, that could > be informative as well. > > -- > Marc > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Marc, indeed there are other issues here. The check_ping is seg faulting with an error code of 139 ./check_ping -H csep0602 -w 100.0,20% -c 500.0,60% ; echo $? Segmentation fault 139 Which is resulting in a host up message. Do you have any idea why this would occur on a seemingly random basis? I also manually ran the command for other servers, which also resulted in the same output. Thanks Mike -- Mike Linden http://linden.linuxps.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Fri Mar 17 17:29:28 2006 From: marc at ena.com (Marc Powell) Date: Fri, 17 Mar 2006 10:29:28 -0600 Subject: phantom host up messages Message-ID: > -----Original Message----- > From: Mike Linden [mailto:stanglinden at gmail.com] > Sent: Friday, March 17, 2006 8:37 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] phantom host up messages > > > > On 3/16/06, Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios- > users- > > admin at lists.sourceforge.net] On Behalf Of Mike Linden > > Sent: Thursday, March 16, 2006 8:08 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] phantom host up messages > > > > Hi, > > I have a couple systems that have been unplugged and removed from > the > rack > > ,yet Nagios still reports a Host UP alert for them from the > check_ping > > process. > > How is this possible? > > > > The plugin/command you are using to check the host is providing no > command line output but is still exiting with a code of 0 > (successful). > Try running the check_command, as the nagios user, exactly as it's > defined, from the command line and then 'echo $?'. The results of > the > echo for a down host should be '2'. Chances are you're going to see > some > additional error output from ping/check_ping. > > Marc, > indeed there are other issues here. > The check_ping is seg faulting with an error code of 139 > > ./check_ping -H csep0602 -w 100.0,20% -c 500.0,60% ; echo $? > Segmentation fault > 139 > > Which is resulting in a host up message. > Do you have any idea why this would occur on a seemingly random basis? I > also manually ran the command for other servers, which also resulted in > the same output. I sure don't. Are you running the latest version of the plugins? What OS are you running on? Maybe that'll trigger recall for someone ;) -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Fri Mar 17 17:29:37 2006 From: td3201 at gmail.com (Terry) Date: Fri, 17 Mar 2006 10:29:37 -0600 Subject: 2.0 stable stops checking In-Reply-To: <4417E5B4.4070801@mailing.kaufland-informationssysteme.com> References: <4417E5B4.4070801@mailing.kaufland-informationssysteme.com> Message-ID: <8ee061010603170829y2bd8b610p5392765c43fd477b@mail.gmail.com> I am seeing this as well. I have services that do not get checked when they are scheduled: Last Check Type: ACTIVE Last Check Time: 03-17-2006 08:50:47 Status Data Age: 0d 1h 37m 51s Next Scheduled Active Check: 03-17-2006 10:09:01 Latency: 342.408 seconds Check Duration: 10.015 seconds Last State Change: 03-16-2006 11:55:02 Current State Duration: 0d 22h 33m 36s It is currently 10:29 and it still hasnt been checked. This is one of many examples. On 3/15/06, Matthias Eble wrote: > hi all! > > we are experiencing occassional problems with nagios 2.0 stable. The > main process was reloaded due to configuration changes yesterday (Mar > 14th). since then ps -ef looks like this: > > nagios 1078 1 12 Mar09 ? 16:49:43 /opt/nagios/bin/nagios > -d /opt/nagios/etc/nagios.cfg > nagios 9431 1078 0 Mar14 ? 00:00:00 [nagios] > > and nagios stopped to check. Has anyone an idea what could have happened > ? The nagios.log and status.dat files have not been updated since then. > > thanks > matthias > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From estair at ilm.com Fri Mar 17 19:56:45 2006 From: estair at ilm.com (Eli Stair) Date: Fri, 17 Mar 2006 10:56:45 -0800 Subject: 2.0 stable stops checking In-Reply-To: <8ee061010603170829y2bd8b610p5392765c43fd477b@mail.gmail.com> References: <4417E5B4.4070801@mailing.kaufland-informationssysteme.com> <8ee061010603170829y2bd8b610p5392765c43fd477b@mail.gmail.com> Message-ID: <441B066D.5000303@ilm.com> I've been seeing this continuously in 2.0beta/rc/releases. For details on my situation/posts check the devel/users archives, I'm curious if any similarities exist. I haven't gotten acknowledgement/resolution on this either, the only thing I've determined is that (in my case) stopping nagios and restarting with the retention file zeroed resolves the issue 100%. In the case of having an extra nagios process running that can definitely cause this and other issues. In my case that's never been present and thus not the cause... /eli Terry wrote: > I am seeing this as well. I have services that do not get checked > when they are scheduled: > > Last Check Type: ACTIVE > Last Check Time: 03-17-2006 08:50:47 > Status Data Age: 0d 1h 37m 51s > Next Scheduled Active Check: 03-17-2006 10:09:01 > Latency: 342.408 seconds > Check Duration: 10.015 seconds > Last State Change: 03-16-2006 11:55:02 > Current State Duration: 0d 22h 33m 36s > > It is currently 10:29 and it still hasnt been checked. This is one of > many examples. > > On 3/15/06, Matthias Eble > wrote: > >>hi all! >> >>we are experiencing occassional problems with nagios 2.0 stable. The >>main process was reloaded due to configuration changes yesterday (Mar >>14th). since then ps -ef looks like this: >> >>nagios 1078 1 12 Mar09 ? 16:49:43 /opt/nagios/bin/nagios >>-d /opt/nagios/etc/nagios.cfg >>nagios 9431 1078 0 Mar14 ? 00:00:00 [nagios] >> >>and nagios stopped to check. Has anyone an idea what could have happened >>? The nagios.log and status.dat files have not been updated since then. >> >>thanks >>matthias >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by xPML, a groundbreaking scripting language >>that extends applications into web and mobile media. Attend the live webcast >>and join the prime developer group breaking into this new coding territory! >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: 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 xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Fri Mar 17 20:22:30 2006 From: td3201 at gmail.com (Terry) Date: Fri, 17 Mar 2006 13:22:30 -0600 Subject: 2.0 stable stops checking In-Reply-To: <441B066D.5000303@ilm.com> References: <4417E5B4.4070801@mailing.kaufland-informationssysteme.com> <8ee061010603170829y2bd8b610p5392765c43fd477b@mail.gmail.com> <441B066D.5000303@ilm.com> Message-ID: <8ee061010603171122w2bdcceaema88edf7d99c2e4bd@mail.gmail.com> In just looking at the logs, the status.log is being continuously updated as normal but when checks stop, the nagios.log stops gathering entries as well. On 3/17/06, Eli Stair wrote: > > I've been seeing this continuously in 2.0beta/rc/releases. For details > on my situation/posts check the devel/users archives, I'm curious if any > similarities exist. I haven't gotten acknowledgement/resolution on this > either, the only thing I've determined is that (in my case) stopping > nagios and restarting with the retention file zeroed resolves the issue > 100%. > > In the case of having an extra nagios process running that can > definitely cause this and other issues. In my case that's never been > present and thus not the cause... > > /eli > > Terry wrote: > > I am seeing this as well. I have services that do not get checked > > when they are scheduled: > > > > Last Check Type: ACTIVE > > Last Check Time: 03-17-2006 08:50:47 > > Status Data Age: 0d 1h 37m 51s > > Next Scheduled Active Check: 03-17-2006 10:09:01 > > Latency: 342.408 seconds > > Check Duration: 10.015 seconds > > Last State Change: 03-16-2006 11:55:02 > > Current State Duration: 0d 22h 33m 36s > > > > It is currently 10:29 and it still hasnt been checked. This is one of > > many examples. > > > > On 3/15/06, Matthias Eble > > wrote: > > > >>hi all! > >> > >>we are experiencing occassional problems with nagios 2.0 stable. The > >>main process was reloaded due to configuration changes yesterday (Mar > >>14th). since then ps -ef looks like this: > >> > >>nagios 1078 1 12 Mar09 ? 16:49:43 /opt/nagios/bin/nagios > >>-d /opt/nagios/etc/nagios.cfg > >>nagios 9431 1078 0 Mar14 ? 00:00:00 [nagios] > >> > >>and nagios stopped to check. Has anyone an idea what could have happened > >>? The nagios.log and status.dat files have not been updated since then. > >> > >>thanks > >>matthias > >> > >> > >> > >>------------------------------------------------------- > >>This SF.Net email is sponsored by xPML, a groundbreaking scripting language > >>that extends applications into web and mobile media. Attend the live webcast > >>and join the prime developer group breaking into this new coding territory! > >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>::: 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 xPML, a groundbreaking scripting language > > that extends applications into web and mobile media. Attend the live webcast > > and join the prime developer group breaking into this new coding territory! > > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From estair at ilm.com Fri Mar 17 20:34:21 2006 From: estair at ilm.com (Eli Stair) Date: Fri, 17 Mar 2006 11:34:21 -0800 Subject: 2.0 stable stops checking In-Reply-To: <8ee061010603171122w2bdcceaema88edf7d99c2e4bd@mail.gmail.com> References: <4417E5B4.4070801@mailing.kaufland-informationssysteme.com> <8ee061010603170829y2bd8b610p5392765c43fd477b@mail.gmail.com> <441B066D.5000303@ilm.com> <8ee061010603171122w2bdcceaema88edf7d99c2e4bd@mail.gmail.com> Message-ID: <441B0F3D.9080206@ilm.com> So you're seeing the scenario where nagios stops _all_ checks altogether? I've had this happen when the nagios parent process dies, and logs to nagios.log to this effect "[1139362901] Caught SIGSEGV, shutting down... ". I was getting these very frequently when I went above some apparent host/service threshhold (went away when I removed about 128 nodes at one point recently). In these cases the CGI's still respond for some reason, which seemed inappropriate... I've also seen the same symptom, but without a well-advertised nagios failure, where the process is still present in memory but checks aren't executed and the CGI's are functional. The third related (and my current bane...) issue is where MOST all checks occur, but some (sometimes large) groups of unrelated actions no longer occur. Host/service checks as a whole seem to be working, but I'll notice that I haven't gotten an alert for something that failed, and then see that whole class of service checks on one hostgroup aren't running anymore... and then start to see the same issue with other checks/actions as well. I'd sure love to just have nagios start working again, as I'm strongly against having to write an external framework for checking various parts of Nagios and alerrt me when it's broken! Alternately, I've always kept up to date on other OS monitor/alert frameworks and still nothing is as extensible as Nagios is (yet). /eli Terry wrote: > In just looking at the logs, the status.log is being continuously > updated as normal but when checks stop, the nagios.log stops gathering > entries as well. > > On 3/17/06, Eli Stair wrote: > >>I've been seeing this continuously in 2.0beta/rc/releases. For details >>on my situation/posts check the devel/users archives, I'm curious if any >>similarities exist. I haven't gotten acknowledgement/resolution on this >>either, the only thing I've determined is that (in my case) stopping >>nagios and restarting with the retention file zeroed resolves the issue >>100%. >> >>In the case of having an extra nagios process running that can >>definitely cause this and other issues. In my case that's never been >>present and thus not the cause... >> >>/eli >> >>Terry wrote: >> >>>I am seeing this as well. I have services that do not get checked >>>when they are scheduled: >>> >>>Last Check Type: ACTIVE >>>Last Check Time: 03-17-2006 08:50:47 >>>Status Data Age: 0d 1h 37m 51s >>>Next Scheduled Active Check: 03-17-2006 10:09:01 >>>Latency: 342.408 seconds >>>Check Duration: 10.015 seconds >>>Last State Change: 03-16-2006 11:55:02 >>>Current State Duration: 0d 22h 33m 36s >>> >>>It is currently 10:29 and it still hasnt been checked. This is one of >>>many examples. >>> >>>On 3/15/06, Matthias Eble >>> wrote: >>> >>> >>>>hi all! >>>> >>>>we are experiencing occassional problems with nagios 2.0 stable. The >>>>main process was reloaded due to configuration changes yesterday (Mar >>>>14th). since then ps -ef looks like this: >>>> >>>>nagios 1078 1 12 Mar09 ? 16:49:43 /opt/nagios/bin/nagios >>>>-d /opt/nagios/etc/nagios.cfg >>>>nagios 9431 1078 0 Mar14 ? 00:00:00 [nagios] >>>> >>>>and nagios stopped to check. Has anyone an idea what could have happened >>>>? The nagios.log and status.dat files have not been updated since then. >>>> >>>>thanks >>>>matthias >>>> >>>> >>>> >>>>------------------------------------------------------- >>>>This SF.Net email is sponsored by xPML, a groundbreaking scripting language >>>>that extends applications into web and mobile media. Attend the live webcast >>>>and join the prime developer group breaking into this new coding territory! >>>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >>>>_______________________________________________ >>>>Nagios-users mailing list >>>>Nagios-users at lists.sourceforge.net >>>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>::: 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 xPML, a groundbreaking scripting language >>>that extends applications into web and mobile media. Attend the live webcast >>>and join the prime developer group breaking into this new coding territory! >>>http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: 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 xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mhennessy at cloud9.net Fri Mar 17 20:37:39 2006 From: mhennessy at cloud9.net (Mark Hennessy) Date: Fri, 17 Mar 2006 14:37:39 -0500 Subject: "Host assumed to be up" message? Message-ID: I have noticed with Nagios 1.3 and earlier, in "Host Detail" if a host is not checked because its services are all up, "Host assumed to be up" is shown. Now with Nagios 2.0, it shows the last check, and lots of those check dates can of course get to be very old. My Nagios users who watch this page are nervous at seeing such an old last check. I need to do one of the following: 1. Restore the old behavior of masking that date if the host is still up and we know this by virtue of the service checks being successful. This may be perhaps done by putting the last successful service check date in that field? 2. Make Nagios check the hosts anyway even if all of the services are working so that date increments. Any ideas? -- Mark Hennessy ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Fri Mar 17 20:39:59 2006 From: td3201 at gmail.com (Terry) Date: Fri, 17 Mar 2006 13:39:59 -0600 Subject: 2.0 stable stops checking In-Reply-To: <441B0F3D.9080206@ilm.com> References: <4417E5B4.4070801@mailing.kaufland-informationssysteme.com> <8ee061010603170829y2bd8b610p5392765c43fd477b@mail.gmail.com> <441B066D.5000303@ilm.com> <8ee061010603171122w2bdcceaema88edf7d99c2e4bd@mail.gmail.com> <441B0F3D.9080206@ilm.com> Message-ID: <8ee061010603171139h29235dd8x4c34607779844f3b@mail.gmail.com> No, not all checks. I see check_ping processes still firing up: [root at plaut08 etc]# ps xauwwww -H| grep nagios | grep -v grep nagios 26676 11.0 0.1 28620 3852 ? Ssl 13:35 0:11 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 26814 0.0 0.1 28624 3852 ? S 13:36 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 26815 0.0 0.0 4684 640 ? S 13:36 0:00 /usr/lib/nagios/plugins/check_ping -H 172.28.7.59 -w 3000.0,80%% -c 5000.0,100%% -p 15 -t 30 nagios 26816 0.0 0.0 2580 528 ? S 13:36 0:00 /bin/ping -n -U -w 90 -c 15 172.28.7.59 I am seeing the same thing as you where only certain hosts/hostgroups are being checked and then all of a sudden everything stops BUT pings based on above but those checks are not being updated in nagios.log. Very weird. On 3/17/06, Eli Stair wrote: > > So you're seeing the scenario where nagios stops _all_ checks > altogether? I've had this happen when the nagios parent process dies, > and logs to nagios.log to this effect "[1139362901] Caught SIGSEGV, > shutting down... ". I was getting these very frequently when I went > above some apparent host/service threshhold (went away when I removed > about 128 nodes at one point recently). In these cases the CGI's still > respond for some reason, which seemed inappropriate... > > I've also seen the same symptom, but without a well-advertised nagios > failure, where the process is still present in memory but checks aren't > executed and the CGI's are functional. > > The third related (and my current bane...) issue is where MOST all > checks occur, but some (sometimes large) groups of unrelated actions no > longer occur. Host/service checks as a whole seem to be working, but > I'll notice that I haven't gotten an alert for something that failed, > and then see that whole class of service checks on one hostgroup aren't > running anymore... and then start to see the same issue with other > checks/actions as well. > > I'd sure love to just have nagios start working again, as I'm strongly > against having to write an external framework for checking various parts > of Nagios and alerrt me when it's broken! Alternately, I've always kept > up to date on other OS monitor/alert frameworks and still nothing is as > extensible as Nagios is (yet). > > /eli > > > Terry wrote: > > In just looking at the logs, the status.log is being continuously > > updated as normal but when checks stop, the nagios.log stops gathering > > entries as well. > > > > On 3/17/06, Eli Stair wrote: > > > >>I've been seeing this continuously in 2.0beta/rc/releases. For details > >>on my situation/posts check the devel/users archives, I'm curious if any > >>similarities exist. I haven't gotten acknowledgement/resolution on this > >>either, the only thing I've determined is that (in my case) stopping > >>nagios and restarting with the retention file zeroed resolves the issue > >>100%. > >> > >>In the case of having an extra nagios process running that can > >>definitely cause this and other issues. In my case that's never been > >>present and thus not the cause... > >> > >>/eli > >> > >>Terry wrote: > >> > >>>I am seeing this as well. I have services that do not get checked > >>>when they are scheduled: > >>> > >>>Last Check Type: ACTIVE > >>>Last Check Time: 03-17-2006 08:50:47 > >>>Status Data Age: 0d 1h 37m 51s > >>>Next Scheduled Active Check: 03-17-2006 10:09:01 > >>>Latency: 342.408 seconds > >>>Check Duration: 10.015 seconds > >>>Last State Change: 03-16-2006 11:55:02 > >>>Current State Duration: 0d 22h 33m 36s > >>> > >>>It is currently 10:29 and it still hasnt been checked. This is one of > >>>many examples. > >>> > >>>On 3/15/06, Matthias Eble > >>> wrote: > >>> > >>> > >>>>hi all! > >>>> > >>>>we are experiencing occassional problems with nagios 2.0 stable. The > >>>>main process was reloaded due to configuration changes yesterday (Mar > >>>>14th). since then ps -ef looks like this: > >>>> > >>>>nagios 1078 1 12 Mar09 ? 16:49:43 /opt/nagios/bin/nagios > >>>>-d /opt/nagios/etc/nagios.cfg > >>>>nagios 9431 1078 0 Mar14 ? 00:00:00 [nagios] > >>>> > >>>>and nagios stopped to check. Has anyone an idea what could have happened > >>>>? The nagios.log and status.dat files have not been updated since then. > >>>> > >>>>thanks > >>>>matthias > >>>> > >>>> > >>>> > >>>>------------------------------------------------------- > >>>>This SF.Net email is sponsored by xPML, a groundbreaking scripting language > >>>>that extends applications into web and mobile media. Attend the live webcast > >>>>and join the prime developer group breaking into this new coding territory! > >>>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > >>>>_______________________________________________ > >>>>Nagios-users mailing list > >>>>Nagios-users at lists.sourceforge.net > >>>>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>>>::: 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 xPML, a groundbreaking scripting language > >>>that extends applications into web and mobile media. Attend the live webcast > >>>and join the prime developer group breaking into this new coding territory! > >>>http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > >>>_______________________________________________ > >>>Nagios-users mailing list > >>>Nagios-users at lists.sourceforge.net > >>>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>>::: 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 xPML, a groundbreaking scripting language > > that extends applications into web and mobile media. Attend the live webcast > > and join the prime developer group breaking into this new coding territory! > > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From estair at ilm.com Fri Mar 17 21:00:28 2006 From: estair at ilm.com (Eli Stair) Date: Fri, 17 Mar 2006 12:00:28 -0800 Subject: 2.0 stable stops checking In-Reply-To: <8ee061010603171139h29235dd8x4c34607779844f3b@mail.gmail.com> References: <4417E5B4.4070801@mailing.kaufland-informationssysteme.com> <8ee061010603170829y2bd8b610p5392765c43fd477b@mail.gmail.com> <441B066D.5000303@ilm.com> <8ee061010603171122w2bdcceaema88edf7d99c2e4bd@mail.gmail.com> <441B0F3D.9080206@ilm.com> <8ee061010603171139h29235dd8x4c34607779844f3b@mail.gmail.com> Message-ID: <441B155C.10406@ilm.com> Are you in a position to stop services for a minute and check starting up again with the retention.dat file moved out of the way? If you're hesitant you may want to start up another instance of Nagios in parallel for testing it and such. That's sane, but I've proven to myself enough that this is always the case (in _my_ _current_ instance) and just have to do it on the production system when I catch it. I'm real curious to find out if this is the same exact issue/resolution that works for you as well. /eli Terry wrote: > No, not all checks. I see check_ping processes still firing up: > > [root at plaut08 etc]# ps xauwwww -H| grep nagios | grep -v grep > nagios 26676 11.0 0.1 28620 3852 ? Ssl 13:35 0:11 > /usr/bin/nagios -d /etc/nagios/nagios.cfg > nagios 26814 0.0 0.1 28624 3852 ? S 13:36 0:00 > /usr/bin/nagios -d /etc/nagios/nagios.cfg > nagios 26815 0.0 0.0 4684 640 ? S 13:36 0:00 > /usr/lib/nagios/plugins/check_ping -H 172.28.7.59 -w 3000.0,80%% -c > 5000.0,100%% -p 15 -t 30 > nagios 26816 0.0 0.0 2580 528 ? S 13:36 0:00 > /bin/ping -n -U -w 90 -c 15 172.28.7.59 > > > I am seeing the same thing as you where only certain hosts/hostgroups > are being checked and then all of a sudden everything stops BUT pings > based on above but those checks are not being updated in nagios.log. > Very weird. > > On 3/17/06, Eli Stair wrote: > >>So you're seeing the scenario where nagios stops _all_ checks >>altogether? I've had this happen when the nagios parent process dies, >>and logs to nagios.log to this effect "[1139362901] Caught SIGSEGV, >>shutting down... ". I was getting these very frequently when I went >>above some apparent host/service threshhold (went away when I removed >>about 128 nodes at one point recently). In these cases the CGI's still >>respond for some reason, which seemed inappropriate... >> >>I've also seen the same symptom, but without a well-advertised nagios >>failure, where the process is still present in memory but checks aren't >>executed and the CGI's are functional. >> >>The third related (and my current bane...) issue is where MOST all >>checks occur, but some (sometimes large) groups of unrelated actions no >>longer occur. Host/service checks as a whole seem to be working, but >>I'll notice that I haven't gotten an alert for something that failed, >>and then see that whole class of service checks on one hostgroup aren't >>running anymore... and then start to see the same issue with other >>checks/actions as well. >> >>I'd sure love to just have nagios start working again, as I'm strongly >>against having to write an external framework for checking various parts >>of Nagios and alerrt me when it's broken! Alternately, I've always kept >>up to date on other OS monitor/alert frameworks and still nothing is as >>extensible as Nagios is (yet). >> >>/eli >> >> >>Terry wrote: >> >>>In just looking at the logs, the status.log is being continuously >>>updated as normal but when checks stop, the nagios.log stops gathering >>>entries as well. >>> >>>On 3/17/06, Eli Stair wrote: >>> >>> >>>>I've been seeing this continuously in 2.0beta/rc/releases. For details >>>>on my situation/posts check the devel/users archives, I'm curious if any >>>>similarities exist. I haven't gotten acknowledgement/resolution on this >>>>either, the only thing I've determined is that (in my case) stopping >>>>nagios and restarting with the retention file zeroed resolves the issue >>>>100%. >>>> >>>>In the case of having an extra nagios process running that can >>>>definitely cause this and other issues. In my case that's never been >>>>present and thus not the cause... >>>> >>>>/eli >>>> >>>>Terry wrote: >>>> >>>> >>>>>I am seeing this as well. I have services that do not get checked >>>>>when they are scheduled: >>>>> >>>>>Last Check Type: ACTIVE >>>>>Last Check Time: 03-17-2006 08:50:47 >>>>>Status Data Age: 0d 1h 37m 51s >>>>>Next Scheduled Active Check: 03-17-2006 10:09:01 >>>>>Latency: 342.408 seconds >>>>>Check Duration: 10.015 seconds >>>>>Last State Change: 03-16-2006 11:55:02 >>>>>Current State Duration: 0d 22h 33m 36s >>>>> >>>>>It is currently 10:29 and it still hasnt been checked. This is one of >>>>>many examples. >>>>> >>>>>On 3/15/06, Matthias Eble >>>>> wrote: >>>>> >>>>> >>>>> >>>>>>hi all! >>>>>> >>>>>>we are experiencing occassional problems with nagios 2.0 stable. The >>>>>>main process was reloaded due to configuration changes yesterday (Mar >>>>>>14th). since then ps -ef looks like this: >>>>>> >>>>>>nagios 1078 1 12 Mar09 ? 16:49:43 /opt/nagios/bin/nagios >>>>>>-d /opt/nagios/etc/nagios.cfg >>>>>>nagios 9431 1078 0 Mar14 ? 00:00:00 [nagios] >>>>>> >>>>>>and nagios stopped to check. Has anyone an idea what could have happened >>>>>>? The nagios.log and status.dat files have not been updated since then. >>>>>> >>>>>>thanks >>>>>>matthias >>>>>> >>>>>> >>>>>> >>>>>>------------------------------------------------------- >>>>>>This SF.Net email is sponsored by xPML, a groundbreaking scripting language >>>>>>that extends applications into web and mobile media. Attend the live webcast >>>>>>and join the prime developer group breaking into this new coding territory! >>>>>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >>>>>>_______________________________________________ >>>>>>Nagios-users mailing list >>>>>>Nagios-users at lists.sourceforge.net >>>>>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>>>::: 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 xPML, a groundbreaking scripting language >>>>>that extends applications into web and mobile media. Attend the live webcast >>>>>and join the prime developer group breaking into this new coding territory! >>>>>http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 >>>>>_______________________________________________ >>>>>Nagios-users mailing list >>>>>Nagios-users at lists.sourceforge.net >>>>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>>::: 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 xPML, a groundbreaking scripting language >>>that extends applications into web and mobile media. Attend the live webcast >>>and join the prime developer group breaking into this new coding territory! >>>http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Fri Mar 17 21:09:18 2006 From: td3201 at gmail.com (Terry) Date: Fri, 17 Mar 2006 14:09:18 -0600 Subject: 2.0 stable stops checking In-Reply-To: <441B155C.10406@ilm.com> References: <4417E5B4.4070801@mailing.kaufland-informationssysteme.com> <8ee061010603170829y2bd8b610p5392765c43fd477b@mail.gmail.com> <441B066D.5000303@ilm.com> <8ee061010603171122w2bdcceaema88edf7d99c2e4bd@mail.gmail.com> <441B0F3D.9080206@ilm.com> <8ee061010603171139h29235dd8x4c34607779844f3b@mail.gmail.com> <441B155C.10406@ilm.com> Message-ID: <8ee061010603171209j36355d43s731f7066f2920d2a@mail.gmail.com> Ya, I have tried that. The nagios.log is not being updated with everything. I have a ton of INITIAL STATE messages in there from the start but after that there are only 2 service checks in there but my status page says I have 29 OK services with 424 pending. Huge inconsistencies. After all is said and done, all I see in the process list ever are check_ping's for ONLY hosts in 1 hostgroup. Weird. On 3/17/06, Eli Stair wrote: > > Are you in a position to stop services for a minute and check starting > up again with the retention.dat file moved out of the way? If you're > hesitant you may want to start up another instance of Nagios in parallel > for testing it and such. That's sane, but I've proven to myself enough > that this is always the case (in _my_ _current_ instance) and just have > to do it on the production system when I catch it. > > I'm real curious to find out if this is the same exact issue/resolution > that works for you as well. > > /eli > > Terry wrote: > > No, not all checks. I see check_ping processes still firing up: > > > > [root at plaut08 etc]# ps xauwwww -H| grep nagios | grep -v grep > > nagios 26676 11.0 0.1 28620 3852 ? Ssl 13:35 0:11 > > /usr/bin/nagios -d /etc/nagios/nagios.cfg > > nagios 26814 0.0 0.1 28624 3852 ? S 13:36 0:00 > > /usr/bin/nagios -d /etc/nagios/nagios.cfg > > nagios 26815 0.0 0.0 4684 640 ? S 13:36 0:00 > > /usr/lib/nagios/plugins/check_ping -H 172.28.7.59 -w 3000.0,80%% -c > > 5000.0,100%% -p 15 -t 30 > > nagios 26816 0.0 0.0 2580 528 ? S 13:36 0:00 > > /bin/ping -n -U -w 90 -c 15 172.28.7.59 > > > > > > I am seeing the same thing as you where only certain hosts/hostgroups > > are being checked and then all of a sudden everything stops BUT pings > > based on above but those checks are not being updated in nagios.log. > > Very weird. > > > > On 3/17/06, Eli Stair wrote: > > > >>So you're seeing the scenario where nagios stops _all_ checks > >>altogether? I've had this happen when the nagios parent process dies, > >>and logs to nagios.log to this effect "[1139362901] Caught SIGSEGV, > >>shutting down... ". I was getting these very frequently when I went > >>above some apparent host/service threshhold (went away when I removed > >>about 128 nodes at one point recently). In these cases the CGI's still > >>respond for some reason, which seemed inappropriate... > >> > >>I've also seen the same symptom, but without a well-advertised nagios > >>failure, where the process is still present in memory but checks aren't > >>executed and the CGI's are functional. > >> > >>The third related (and my current bane...) issue is where MOST all > >>checks occur, but some (sometimes large) groups of unrelated actions no > >>longer occur. Host/service checks as a whole seem to be working, but > >>I'll notice that I haven't gotten an alert for something that failed, > >>and then see that whole class of service checks on one hostgroup aren't > >>running anymore... and then start to see the same issue with other > >>checks/actions as well. > >> > >>I'd sure love to just have nagios start working again, as I'm strongly > >>against having to write an external framework for checking various parts > >>of Nagios and alerrt me when it's broken! Alternately, I've always kept > >>up to date on other OS monitor/alert frameworks and still nothing is as > >>extensible as Nagios is (yet). > >> > >>/eli > >> > >> > >>Terry wrote: > >> > >>>In just looking at the logs, the status.log is being continuously > >>>updated as normal but when checks stop, the nagios.log stops gathering > >>>entries as well. > >>> > >>>On 3/17/06, Eli Stair wrote: > >>> > >>> > >>>>I've been seeing this continuously in 2.0beta/rc/releases. For details > >>>>on my situation/posts check the devel/users archives, I'm curious if any > >>>>similarities exist. I haven't gotten acknowledgement/resolution on this > >>>>either, the only thing I've determined is that (in my case) stopping > >>>>nagios and restarting with the retention file zeroed resolves the issue > >>>>100%. > >>>> > >>>>In the case of having an extra nagios process running that can > >>>>definitely cause this and other issues. In my case that's never been > >>>>present and thus not the cause... > >>>> > >>>>/eli > >>>> > >>>>Terry wrote: > >>>> > >>>> > >>>>>I am seeing this as well. I have services that do not get checked > >>>>>when they are scheduled: > >>>>> > >>>>>Last Check Type: ACTIVE > >>>>>Last Check Time: 03-17-2006 08:50:47 > >>>>>Status Data Age: 0d 1h 37m 51s > >>>>>Next Scheduled Active Check: 03-17-2006 10:09:01 > >>>>>Latency: 342.408 seconds > >>>>>Check Duration: 10.015 seconds > >>>>>Last State Change: 03-16-2006 11:55:02 > >>>>>Current State Duration: 0d 22h 33m 36s > >>>>> > >>>>>It is currently 10:29 and it still hasnt been checked. This is one of > >>>>>many examples. > >>>>> > >>>>>On 3/15/06, Matthias Eble > >>>>> wrote: > >>>>> > >>>>> > >>>>> > >>>>>>hi all! > >>>>>> > >>>>>>we are experiencing occassional problems with nagios 2.0 stable. The > >>>>>>main process was reloaded due to configuration changes yesterday (Mar > >>>>>>14th). since then ps -ef looks like this: > >>>>>> > >>>>>>nagios 1078 1 12 Mar09 ? 16:49:43 /opt/nagios/bin/nagios > >>>>>>-d /opt/nagios/etc/nagios.cfg > >>>>>>nagios 9431 1078 0 Mar14 ? 00:00:00 [nagios] > >>>>>> > >>>>>>and nagios stopped to check. Has anyone an idea what could have happened > >>>>>>? The nagios.log and status.dat files have not been updated since then. > >>>>>> > >>>>>>thanks > >>>>>>matthias > >>>>>> > >>>>>> > >>>>>> > >>>>>>------------------------------------------------------- > >>>>>>This SF.Net email is sponsored by xPML, a groundbreaking scripting language > >>>>>>that extends applications into web and mobile media. Attend the live webcast > >>>>>>and join the prime developer group breaking into this new coding territory! > >>>>>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > >>>>>>_______________________________________________ > >>>>>>Nagios-users mailing list > >>>>>>Nagios-users at lists.sourceforge.net > >>>>>>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>>>>>::: 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 xPML, a groundbreaking scripting language > >>>>>that extends applications into web and mobile media. Attend the live webcast > >>>>>and join the prime developer group breaking into this new coding territory! > >>>>>http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > >>>>>_______________________________________________ > >>>>>Nagios-users mailing list > >>>>>Nagios-users at lists.sourceforge.net > >>>>>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>>>>::: 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 xPML, a groundbreaking scripting language > >>>that extends applications into web and mobile media. Attend the live webcast > >>>and join the prime developer group breaking into this new coding territory! > >>>http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > >>>_______________________________________________ > >>>Nagios-users mailing list > >>>Nagios-users at lists.sourceforge.net > >>>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>>::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Fri Mar 17 21:40:48 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Fri, 17 Mar 2006 15:40:48 -0500 Subject: 2.0 stable stops checking In-Reply-To: Your message of "Fri, 17 Mar 2006 11:34:21 PST." <441B0F3D.9080206@ilm.com> References: <441B0F3D.9080206@ilm.com> Message-ID: <200603172040.k2HKemLR023620@mx1.cs.umb.edu> In message <441B0F3D.9080206 at ilm.com>, Eli Stair writes: >So you're seeing the scenario where nagios stops _all_ checks >altogether? I've had this happen when the nagios parent process dies, >and logs to nagios.log to this effect "[1139362901] Caught SIGSEGV, >shutting down... ". I was getting these very frequently when I went >above some apparent host/service threshhold (went away when I removed >about 128 nodes at one point recently). In these cases the CGI's still >respond for some reason, which seemed inappropriate... > >I've also seen the same symptom, but without a well-advertised nagios >failure, where the process is still present in memory but checks aren't >executed and the CGI's are functional. As long as one of the files (forget which one maybe object.dat) exists. The cgi's don't know that nagios has died. The startup rc script clears out the the files when it is shut down so a crash on restart should prevent the CGI's from running but that's it. I modified my version of the script to delete the files before it starts the daemon so a nagios or system crash followed by a "nagios start" (without a "nagios stop") followed by a crash will cause the CGI commands to error out. I tried to create some patches for the cgi's that required the datestamp in the file to be "current", but there is no standard interval for the file to be refreshed. It depends on the polling intervals of services etc so I gave up on that. You can find my ideas in the ML archives if you want. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From estair at ilm.com Fri Mar 17 22:26:05 2006 From: estair at ilm.com (Eli Stair) Date: Fri, 17 Mar 2006 13:26:05 -0800 Subject: 2.0 stable stops checking In-Reply-To: <8ee061010603171209j36355d43s731f7066f2920d2a@mail.gmail.com> References: <4417E5B4.4070801@mailing.kaufland-informationssysteme.com> <8ee061010603170829y2bd8b610p5392765c43fd477b@mail.gmail.com> <441B066D.5000303@ilm.com> <8ee061010603171122w2bdcceaema88edf7d99c2e4bd@mail.gmail.com> <441B0F3D.9080206@ilm.com> <8ee061010603171139h29235dd8x4c34607779844f3b@mail.gmail.com> <441B155C.10406@ilm.com> <8ee061010603171209j36355d43s731f7066f2920d2a@mail.gmail.com> Message-ID: <441B296D.1060902@ilm.com> FYI, my current config. I'm also running Ganglia (gmetad), Cacti (cactid), and a number of other checks/scripts/processes concurrently ( as well as the apache frontend for them). I'm not seeing _any_ issues with other processes on this system. /eli ### Current errors: In addition to unannounced failures of services: status.cgi[32625]: segfault at 0000002a95c8b000 rip 00000036467716e0 rsp 0000007fbffff148 error 4 extinfo.cgi[28957]: segfault at 0000002a95d45000 rip 00000036467716e0 rsp 0000007fbfffecd8 error 4 extinfo.cgi[5263]: segfault at 0000002a956c9000 rip 00000036467716e0 rsp 0000007fbfffed38 error 4 ### System specs: RHEL4.2 x86_64 8GB RAM 2x Opteron 280 GCC 3.4.4 Apache2.0.52 (quite unloaded: free -m: -/+ buffers/cache: 1544 6438 cat /proc/loadavg 1.19 1.22 1.17 1/309 8806 ) ### Config command (compiled native 64-bit): $ ./configure --prefix=/usr/local/nagios --with-nagios-user=root --with-nagios-group=root ## --------- ## ## Platform. ## ## --------- ## hostname = monitor02.lucasfilm.com uname -m = x86_64 uname -r = 2.6.9-22.0.1.ELsmp uname -s = Linux uname -v = #1 SMP Thu Oct 27 14:49:37 CDT 2005 ### Nagios output: ../bin/nagios -v nagios.cfg Nagios 2.0 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 02-07-2006 License: GPL Reading configuration data... Running pre-flight check on configuration data... Warning: Size of service_message struct (528 bytes) is > POSIX-guaranteed atomic write size (512 bytes). Service checks results may get lost or mangled! Checking services... Checked 7397 services. Checking hosts... Checked 754 hosts. Checking host groups... Checked 14 host groups. Checking service groups... Checked 5 service groups. Checking contacts... Checked 6 contacts. Checking contact groups... Warning: Contact group 'swat' is not used in any host/service definitions or host/service escalations! Checked 4 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 6454 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 461 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: 2 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check Terry wrote: > Ya, I have tried that. The nagios.log is not being updated with > everything. I have a ton of INITIAL STATE messages in there from the > start but after that there are only 2 service checks in there but my > status page says I have 29 OK services with 424 pending. Huge > inconsistencies. > > After all is said and done, all I see in the process list ever are > check_ping's for ONLY hosts in 1 hostgroup. Weird. > > > On 3/17/06, Eli Stair wrote: > >>Are you in a position to stop services for a minute and check starting >>up again with the retention.dat file moved out of the way? If you're >>hesitant you may want to start up another instance of Nagios in parallel >>for testing it and such. That's sane, but I've proven to myself enough >>that this is always the case (in _my_ _current_ instance) and just have >>to do it on the production system when I catch it. >> >>I'm real curious to find out if this is the same exact issue/resolution >>that works for you as well. >> >>/eli >> >>Terry wrote: >> >>>No, not all checks. I see check_ping processes still firing up: >>> >>>[root at plaut08 etc]# ps xauwwww -H| grep nagios | grep -v grep >>>nagios 26676 11.0 0.1 28620 3852 ? Ssl 13:35 0:11 >>>/usr/bin/nagios -d /etc/nagios/nagios.cfg >>>nagios 26814 0.0 0.1 28624 3852 ? S 13:36 0:00 >>>/usr/bin/nagios -d /etc/nagios/nagios.cfg >>>nagios 26815 0.0 0.0 4684 640 ? S 13:36 0:00 >>>/usr/lib/nagios/plugins/check_ping -H 172.28.7.59 -w 3000.0,80%% -c >>>5000.0,100%% -p 15 -t 30 >>>nagios 26816 0.0 0.0 2580 528 ? S 13:36 0:00 >>>/bin/ping -n -U -w 90 -c 15 172.28.7.59 >>> >>> >>>I am seeing the same thing as you where only certain hosts/hostgroups >>>are being checked and then all of a sudden everything stops BUT pings >>>based on above but those checks are not being updated in nagios.log. >>>Very weird. >>> >>>On 3/17/06, Eli Stair wrote: >>> >>> >>>>So you're seeing the scenario where nagios stops _all_ checks >>>>altogether? I've had this happen when the nagios parent process dies, >>>>and logs to nagios.log to this effect "[1139362901] Caught SIGSEGV, >>>>shutting down... ". I was getting these very frequently when I went >>>>above some apparent host/service threshhold (went away when I removed >>>>about 128 nodes at one point recently). In these cases the CGI's still >>>>respond for some reason, which seemed inappropriate... >>>> >>>>I've also seen the same symptom, but without a well-advertised nagios >>>>failure, where the process is still present in memory but checks aren't >>>>executed and the CGI's are functional. >>>> >>>>The third related (and my current bane...) issue is where MOST all >>>>checks occur, but some (sometimes large) groups of unrelated actions no >>>>longer occur. Host/service checks as a whole seem to be working, but >>>>I'll notice that I haven't gotten an alert for something that failed, >>>>and then see that whole class of service checks on one hostgroup aren't >>>>running anymore... and then start to see the same issue with other >>>>checks/actions as well. >>>> >>>>I'd sure love to just have nagios start working again, as I'm strongly >>>>against having to write an external framework for checking various parts >>>>of Nagios and alerrt me when it's broken! Alternately, I've always kept >>>>up to date on other OS monitor/alert frameworks and still nothing is as >>>>extensible as Nagios is (yet). >>>> >>>>/eli >>>> >>>> >>>>Terry wrote: >>>> >>>> >>>>>In just looking at the logs, the status.log is being continuously >>>>>updated as normal but when checks stop, the nagios.log stops gathering >>>>>entries as well. >>>>> >>>>>On 3/17/06, Eli Stair wrote: >>>>> >>>>> >>>>> >>>>>>I've been seeing this continuously in 2.0beta/rc/releases. For details >>>>>>on my situation/posts check the devel/users archives, I'm curious if any >>>>>>similarities exist. I haven't gotten acknowledgement/resolution on this >>>>>>either, the only thing I've determined is that (in my case) stopping >>>>>>nagios and restarting with the retention file zeroed resolves the issue >>>>>>100%. >>>>>> >>>>>>In the case of having an extra nagios process running that can >>>>>>definitely cause this and other issues. In my case that's never been >>>>>>present and thus not the cause... >>>>>> >>>>>>/eli >>>>>> >>>>>>Terry wrote: >>>>>> >>>>>> >>>>>> >>>>>>>I am seeing this as well. I have services that do not get checked >>>>>>>when they are scheduled: >>>>>>> >>>>>>>Last Check Type: ACTIVE >>>>>>>Last Check Time: 03-17-2006 08:50:47 >>>>>>>Status Data Age: 0d 1h 37m 51s >>>>>>>Next Scheduled Active Check: 03-17-2006 10:09:01 >>>>>>>Latency: 342.408 seconds >>>>>>>Check Duration: 10.015 seconds >>>>>>>Last State Change: 03-16-2006 11:55:02 >>>>>>>Current State Duration: 0d 22h 33m 36s >>>>>>> >>>>>>>It is currently 10:29 and it still hasnt been checked. This is one of >>>>>>>many examples. >>>>>>> >>>>>>>On 3/15/06, Matthias Eble >>>>>>> wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>>hi all! >>>>>>>> >>>>>>>>we are experiencing occassional problems with nagios 2.0 stable. The >>>>>>>>main process was reloaded due to configuration changes yesterday (Mar >>>>>>>>14th). since then ps -ef looks like this: >>>>>>>> >>>>>>>>nagios 1078 1 12 Mar09 ? 16:49:43 /opt/nagios/bin/nagios >>>>>>>>-d /opt/nagios/etc/nagios.cfg >>>>>>>>nagios 9431 1078 0 Mar14 ? 00:00:00 [nagios] >>>>>>>> >>>>>>>>and nagios stopped to check. Has anyone an idea what could have happened >>>>>>>>? The nagios.log and status.dat files have not been updated since then. >>>>>>>> >>>>>>>>thanks >>>>>>>>matthias >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>------------------------------------------------------- >>>>>>>>This SF.Net email is sponsored by xPML, a groundbreaking scripting language >>>>>>>>that extends applications into web and mobile media. Attend the live webcast >>>>>>>>and join the prime developer group breaking into this new coding territory! >>>>>>>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >>>>>>>>_______________________________________________ >>>>>>>>Nagios-users mailing list >>>>>>>>Nagios-users at lists.sourceforge.net >>>>>>>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>>>>>::: 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 xPML, a groundbreaking scripting language >>>>>>>that extends applications into web and mobile media. Attend the live webcast >>>>>>>and join the prime developer group breaking into this new coding territory! >>>>>>>http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 >>>>>>>_______________________________________________ >>>>>>>Nagios-users mailing list >>>>>>>Nagios-users at lists.sourceforge.net >>>>>>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>>>>::: 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 xPML, a groundbreaking scripting language >>>>>that extends applications into web and mobile media. Attend the live webcast >>>>>and join the prime developer group breaking into this new coding territory! >>>>>http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 >>>>>_______________________________________________ >>>>>Nagios-users mailing list >>>>>Nagios-users at lists.sourceforge.net >>>>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>>::: 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 xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From venugopal.reddy1 at ge.com Sat Mar 18 11:55:43 2006 From: venugopal.reddy1 at ge.com (Reddy, Venugopal (GE Infrastructure, non-ge)) Date: Sat, 18 Mar 2006 16:25:43 +0530 Subject: Nagios-users digest, Vol 1 #3093 - 22 msgs Message-ID: Hi All, Can some body please help me the procedure of uninstalling nagios2.x completely? Thanks Venu -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of nagios-users-request at lists.sourceforge.net Sent: Saturday, March 18, 2006 1:31 AM To: nagios-users at lists.sourceforge.net Subject: Nagios-users digest, Vol 1 #3093 - 22 msgs 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-admin at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Nagios-Report-0.002 on CPAN/NagiosExchange. (Stanley.Hopcroft at Dest.gov.au) 2. Re: where to get help with ext. cmd CHANGE_NORMAL_SVC_CHECK_INTERVAL ? (John P. Rouillard) 3. Re: where to get help with ext. cmd CHANGE_NORMAL_SVC_CHECK_INTERVAL ? (prosolutions at gmx.net) 4. R: [Nagios-users] Strange situation.. (Marco Borsani) 5. Empty hostgroups (James Fidell) 6. Re: Empty hostgroups (joseph.petrucci at wachovia.com) 7. RE: Empty hostgroups (Deborah Martin) 8. RE: Empty hostgroups (joseph.petrucci at wachovia.com) 9. Re: check_if_by_snmp output (Robert Story) 10. RE: Local host is Down, Couldnotparse arguements (Marc Powell) 11. e-mail acknowledgements (David Schlecht) 12. Re: e-mail acknowledgements (David Schlecht) 13. RE: e-mail acknowledgements (Marc Powell) 14. Re: phantom host up messages (Mike Linden) 15. RE: phantom host up messages (Marc Powell) 16. Re: 2.0 stable stops checking (Terry) 17. Re: 2.0 stable stops checking (Eli Stair) 18. Re: 2.0 stable stops checking (Terry) 19. Re: 2.0 stable stops checking (Eli Stair) 20. "Host assumed to be up" message? (Mark Hennessy) 21. Re: 2.0 stable stops checking (Terry) 22. Re: 2.0 stable stops checking (Eli Stair) --__--__-- Message: 1 Date: Fri, 17 Mar 2006 15:33:54 +1100 From: To: Subject: [Nagios-users] Nagios-Report-0.002 on CPAN/NagiosExchange. Dear Folks, I am writing to say that Nagios::Report 0.002 has been 'released' and is available at the usual places. This relase fixes a bug, and adds limited charting capability and a weaker alternate interface (provided by the Perl DBD::AnyData module) that allows client code to select the report data with SQL (the small subset that AnyData accepts). 0.002 Fri Mar 17 14:44:36 EST 2006 - fix bug in mkreport() processing of MUNGE_CALLBACK (would not change report values). *** This entailed a change _non_ backward compatible change in the MUNGE_CALLBACK interface. *** Client code that calls the alter->() callback _requires_ changing. *** The alter callback is now called with one parm, a ref to a hash of the field values *** indexed by field name. See examples/ for scripts that have been changed. - added to_dbh() method to allow DBD::AnyData provided use of SQL (simple) on report data - added primitive support for chart templates to excel_dump. The workbook written by Spreadsheet::WriteExcel can contain _one_ (1) chart of the availability data. This project does not scale very well. It provides a limited capability to provide a Data source for processing by Reporting tools such as Excel.=20 This module has probably reached the end of development (some may say it would better have not started) apart from bug fixes. If you are serious about reporting look at the DB NEB modules or Steve Shipways stuff on NagiosExchange. This module provides however, a limited capacity to provide reports in the format beloved by PHBs. Yours sincerely. --__--__-- Message: 2 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] where to get help with ext. cmd CHANGE_NORMAL_SVC_CHECK_INTERVAL ? Reply-To: rouilj at ieee.org Date: Thu, 16 Mar 2006 23:51:22 -0500 From: "John P. Rouillard" In message <20060317030214.GA10825 at mini.alaya.net>, prosolutions writes: >no. sorry i wasn't clear on this. that is what i see in the log file. >the command that is run is that which is in the script, namely: > >printf "[%lu] CHANGE_NORMAL_SVC_CHECK_INTERVAL;$4;$5;15\n" $now > $commandfile > >this is taken directly from the canonical definition of this command > [...] >i see that this differs from what you claim to have succesfully run (see > below) >> >this should set the check_interval to 15 seconds instead >> >of the default 90 seconds. However, watching the log I see >> >that the checks on the service revert to 90 s. >> >> What are you seeing in the log that makes you think it's >> getting reset? If I use: > >i am watching the log and timing it and watching how frequently the >service checks get run. they run at retry_check_interval up until >max_check_attempts gets reached, then, even though the event handler >runs the script to execute the CHANGE_NORMAL_SVC_CHECK_INTERVAL command, >setting the interval to 15 seconds (same as retry_check_interval), it >does not set (i.e. it reverts back to check_interval (90s) Hmm, I would expect a timeline something like the following: id time state 1 0 poll fails in state soft failure try number 1 (aka soft 1) 2 15s soft alert 2 3 30s soft alert 3 4 45s hard alert (scheduled with 90 seconds because change of check interval hasn't occurred yet) 5 45s+ event handler called generates CHANGE_NORMAL_SVC_CHECK_INTERVAL 6 135s still hard (but now it schedules using the 15 second timeperiod) 7 150s hard 8 165s hard 9 stays with 15 second interval. If you wanted to have the interval between 4 and 6 be something other than 90 seconds you have to generate a SCHEDULE_FORCED_SVC_CHECK for the date "now + 15 seconds" at line 5 in addition to the change in check interval. >> echo "[`date +%s`] CHANGE_NORMAL_SVC_CHECK_INTERVAL;tigris;DiskBackupMountCheck;3" Printf is POSIX standard, but both my command and the printf produce the same output. Try both and see. If you don't understand why they produce the same output, read the man pages and get a book on shell programming. >okay this looks substantially differnt than the cannonical example >above. first off instead of [%lu] following the echo/print, you have >[`date +%s`] also, i don't see > >\n `date +%s` > $commandfile > >at the end of your script. is the date command supposed to go before >and after the command? No. I am just using shell substitution in the quoted string. Functionally they are equivalent. RTFM for bash, echo, printf, date etc.. >> to change the check interval to three minutes, and direct it >> to the command pipe, I see it take effect and stay in >> effect. Looking at the Event Log in the web interface shows: >> >> [03-16-2006 22:54:25] EXTERNAL COMMAND: CHANGE_NORMAL_SVC_CHECK_INTERVAL;tigris;DiskBackupMountCheck;3 > >yep i see an entry just like this: > >[1142543941] EXTERNAL COMMAND: CHANGE_NORMAL_SVC_CHECK_INTERVAL;test_host;te >st.html;15 > >but alas object.cache shows check_interval to still be 90s Hmm, maybe a bug in 2.0b3? >> When you change the check interval, it doesn't force a >> reschedule of the service with the new interval. > >i'm not sure what you mean here. you mean, even though check_interval >gets changed, that it must somehow be rescheduled before actually taking >effect? Right. The new schedule won't take effect until the currently scheduled poll is run at the original scheduling interval AFAICT. If you want the new interval to take affect immediately you need to force it with a SCHEDULE_FORCED_SVC_CHECK command. >> Also I am using nagios 2.0rc1, so YMMV. >nagios 2.0b3 here. > >thanks much for your help. i will mess around with the command a bit >and if i can get it to work. Good luck. I'd be interested in seeing what finally works. Also you should check the nagios 2.0 release notes between 2.0b3 and 2.0rc1 and see if there is a reference to this problem. -- rouilj John Rouillard ======================================================================== === My employers don't acknowledge my existence much less my opinions. --__--__-- Message: 3 Date: Thu, 16 Mar 2006 23:04:29 -0800 From: prosolutions at gmx.net To: rouilj at ieee.org Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] where to get help with ext. cmd CHANGE_NORMAL_SVC_CHECK_INTERVAL ? Reply-To: prosolutions at gmx.net > > >> echo "[`date +%s`] CHANGE_NORMAL_SVC_CHECK_INTERVAL;tigris;DiskBackupMountCheck;3" > > Printf is POSIX standard, but both my command and the printf produce > the same output. Try both and see. If you don't understand why they > produce the same output, read the man pages and get a book on shell > programming. the issue isn't with the use of printf or echo, but rather the strings which they are printing. also, i know what shell substitution is but am not familiar with the expression [%lu] and had no idea that was equivalent to the output of `date +%s`. what is confusing about your example is that you seem to omit the trailing `date +%s` at the end of your command, as opposed to the provided example: now=`date +%s` commandfile='/usr/local/nagios/var/rw/nagios.cmd' /bin/printf "[%lu] CHANGE_NORMAL_SVC_CHECK_INTERVAL;host1;service1;15\n" $now > $commandfile the $now preceeding the redirection to the command file being equivalent to the string returned by `date +%s` this cannonical example is a bit confusing then: why does it have the date at the beginning, i.e. the first [%lu], and then again at the end with $now ? you seem to omit the second date from your command although in your example you also don't echo a newline nor show the redirect which that part I at least assume. > > Right. The new schedule won't take effect until the currently > scheduled poll is run at the original scheduling interval AFAICT. If > you want the new interval to take affect immediately you need to force > it with a SCHEDULE_FORCED_SVC_CHECK command. > thank you for the clarification regarding this. but i am still not seeing the CHANGE_NORMAL_SVC_CHECK_INTERVAL register in objects.cache. i will continue delving into that and then eventually implement SCHEDULE_FORCED_SVC_CHECK as per your suggestion. thanks again for your illuminating help! --__--__-- Message: 4 From: "Marco Borsani" To: "'NAGIOS'" Subject: R: [Nagios-users] Strange situation.. Date: Fri, 17 Mar 2006 08:16:02 +0100 Organization: ITnet I found the problem. Nagios does not keep nagios user environment (and PATH variable), so it = did not find command like "grep" !=20 I can't believe.... ;-) Regards Marco -}-----Messaggio originale----- -}Da: Masopust, Christian [mailto:christian.masopust at siemens.com]=20 -}Inviato: gioved=EC 16 marzo 2006 10.58 -}A: Marco Borsani; NAGIOS -}Oggetto: RE: [Nagios-users] Strange situation.. -} -} -}Does your nagios user have read permissions to your Invio_Rice.log? -} -} -} -}> -----Original Message----- -}> From: nagios-users-admin at lists.sourceforge.net -}> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf=20 -}Of Marco=20 -}> Borsani -}> Sent: Thursday, March 16, 2006 10:30 AM -}> To: 'NAGIOS' -}> Subject: [Nagios-users] Strange situation.. -}> Importance: High -}>=20 -}> Hi all! -}>=20 -}> I prepare a very simple check (called check_fax) that read a text=20 -}> file. -}>=20 -}> If check_fax find an "OK" it will return a status 0, if=20 -}check_fax find=20 -}> a "CRITICAL" it will return a status 2. -}>=20 -}> Well, when I run manually check_fax (like nagios user or root -}> user) it work -}> correctly (returns 0), but when Nagios run check_fax, it returns a=20 -}> status 2. -}>=20 -}> I try to modify check_fax permissions like: -}> -rwxr-xr-x 1 root sys 654 Mar 16 09:42 check_fax -}> -rwxr-xr-x 1 nagios nagios 654 Mar 16 09:42 check_fax -}> But nothing has been changed. -}>=20 -}> Here it is the check_fax: -}>=20 -}---------------------------------------------------------------------- -}> #!/bin/csh -}> # -}> set dir2 =3D /tmp -}>=20 -}> set STATUS =3D `cat $dir2/Invio_Rice.log | grep -c OK` -}>=20 -}> if ( "$STATUS" =3D=3D "1" ) then -}> echo "FAX OK - Invio e ricezione di prova avvenuto" >=20 -}> $dir2/Rice.log -}> echo "FAX OK - Invio e ricezione di prova avvenuto" -}> else -}> echo "FAX CRITICAL - Invio e ricezione di prova NON=20 -}avvenuto"=20 -}> > $dir2/Rice.log -}> echo "FAX CRITICAL - Invio e ricezione di prova NON=20 -}avvenuto" -}> exit 2 -}> endif -}>=20 -}> exit 0 -}> -------------------------------------------------------------- -}> ---------- -}>=20 -}> Any idea? -}> Regards -}>=20 -}> Marco Borsani =20 -}> Unix & Monitoring System Administrator Technical Operation -}> Tel. +39 010 4310115 -}> Fax +39 010 4327454 -}> E-mail: m.borsani at IT.net -}>=20 -}> ITnet S.r.l. - Direzione e Coordinamento di WIND Telecomunicazioni=20 -}> S.p.A. -}> Internet Service Provider -}> Sede legale: Via C.G.Viola, 48 - 00148 Roma -}> Dir. Centrale e Amministrativa: Via Pacinotti, 39 -}> 16151 Genova (Italy) -}> =09 -}> http://www.it.net =20 -}> mailto:info at IT.net -}> _______________________________________________________________ -}> Altre sedi ITnet: -}> MILANO tel.: +39 02 30114900 info-milano at IT.net -}> ROMA tel.: +39 06 83116707 info-roma at IT.net -}> _______________________________________________________________ -}> ITnet is associated to CIX (Commercial IP eXchange) and=20 -}RIPE ITnet is=20 -}> associated to AIIP (Associazione Italiana Internet Providers) -}>=20 -}>=20 -}>=20 -}>=20 -}> ------------------------------------------------------- -}> This SF.Net email is sponsored by xPML, a groundbreaking scripting=20 -}> language that extends applications into web and mobile=20 -}media. Attend=20 -}> the live webcast and join the prime developer group=20 -}breaking into this=20 -}> new coding territory! -}> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720& -}> dat=3D121642 -}> _______________________________________________ -}> Nagios-users mailing list -}> Nagios-users at lists.sourceforge.net -}> https://lists.sourceforge.net/lists/listinfo/nagios-users -}> ::: Please include Nagios version, plugin version (-v) and OS when=20 -}> reporting any issue. -}> ::: Messages without supporting info will risk being sent=20 -}to /dev/null -}>=20 -} --__--__-- Message: 5 Date: Fri, 17 Mar 2006 13:43:42 +0000 From: James Fidell To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Empty hostgroups Is there an easy way to make nagios v2 not care if a hostgroup is empty? I'm migrating a live configuration from v1 to v2 at the same time as correcting some errors and adding functionality and have it would be useful to have all the hostgroups in the configuration files before adding all the hosts. Is it liable to cause pain if I change the code to warn about empty hostgroups rather than fail with an error? James --__--__-- Message: 6 To: James Fidell Cc: nagios-users at lists.sourceforge.net, nagios-users-admin at lists.sourceforge.net Subject: Re: [Nagios-users] Empty hostgroups From: joseph.petrucci at wachovia.com Date: Fri, 17 Mar 2006 08:51:37 -0500 This is a multipart message in MIME format. --=_alternative 004C232E85257134_= Content-Type: text/plain; charset="US-ASCII" only thing I can think of is the same host can be in multiple hostgroups so pick one host already defined and placeit in all empty hostgroups as a placeholder then when you put a host in the hstgroup that actually belongs remove that placeholder. Joe Petrucci Office: 704-383-6089 Cell : 724-462-0443 James Fidell Sent by: nagios-users-admin at lists.sourceforge.net 03/17/2006 08:43 AM To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] Empty hostgroups Is there an easy way to make nagios v2 not care if a hostgroup is empty? I'm migrating a live configuration from v1 to v2 at the same time as correcting some errors and adding functionality and have it would be useful to have all the hostgroups in the configuration files before adding all the hosts. Is it liable to cause pain if I change the code to warn about empty hostgroups rather than fail with an error? James ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ForwardSourceID:NT00010C52 --=_alternative 004C232E85257134_= Content-Type: text/html; charset="US-ASCII"
only thing I can think of is the same host can be in multiple hostgroups so pick one host already defined and placeit in all empty hostgroups as a placeholder then when you put a host in the hstgroup that actually belongs remove that placeholder.

Joe Petrucci
Office: 704-383-6089
Cell : 724-462-0443



James Fidell <james at cloud9.co.uk>
Sent by: nagios-users-admin at lists.sourceforge.net

03/17/2006 08:43 AM

To
nagios-users at lists.sourceforge.net
cc
Subject
[Nagios-users] Empty hostgroups





Is there an easy way to make nagios v2 not care if a hostgroup
is empty?

I'm migrating a live configuration from v1 to v2 at the same time
as correcting some errors and adding functionality and have it would
be useful to have all the hostgroups in the configuration files before
adding all the hosts.

Is it liable to cause pain if I change the code to warn about empty
hostgroups rather than fail with an error?

James


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&am p;dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null

ForwardSourceID:NT00010C52    
--=_alternative 004C232E85257134_=-- --__--__-- Message: 7 From: Deborah Martin To: "'joseph.petrucci at wachovia.com'" , James Fidell Cc: nagios-users at lists.sourceforge.net, nagios-users-admin at lists.sourceforge.net Subject: RE: [Nagios-users] Empty hostgroups Date: Fri, 17 Mar 2006 13:58:13 -0000 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C649CA.D522B1C0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit You can also use a wildcard as well. -----Original Message----- From: joseph.petrucci at wachovia.com [mailto:joseph.petrucci at wachovia.com] Sent: 17 March 2006 13:52 To: James Fidell Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Subject: Re: [Nagios-users] Empty hostgroups only thing I can think of is the same host can be in multiple hostgroups so pick one host already defined and placeit in all empty hostgroups as a placeholder then when you put a host in the hstgroup that actually belongs remove that placeholder. Joe Petrucci Office: 704-383-6089 Cell : 724-462-0443 James Fidell Sent by: nagios-users-admin at lists.sourceforge.net 03/17/2006 08:43 AM To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] Empty hostgroups Is there an easy way to make nagios v2 not care if a hostgroup is empty? I'm migrating a live configuration from v1 to v2 at the same time as correcting some errors and adding functionality and have it would be useful to have all the hostgroups in the configuration files before adding all the hosts. Is it liable to cause pain if I change the code to warn about empty hostgroups rather than fail with an error? James ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ForwardSourceID:NT00010C52 ************************************************************************ 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. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------_=_NextPart_001_01C649CA.D522B1C0 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable
You=20 can also use a wildcard as well.
-----Original Message-----
From: joseph.petrucci at wacho= via.com=20 [mailto:joseph.petrucci at wachovia.com]
Sent: 17 March 2006=20 13:52
To: James Fidell
Cc:=20 nagios-users at lists.sourceforge.net;=20 nagios-users-admin at lists.sourceforge.net
Subject: Re: [Nagios-u= sers]=20 Empty hostgroups


only=20 thing I can think of is the same host can be in multiple hostgroups so pi= ck=20 one host already defined and placeit in all empty hostgroups as a placeho= lder=20 then when you put a host in the hstgroup that actually belongs remove tha= t=20 placeholder.

Joe Petrucci= =20
Office: 704-383-6089
Cell : 724-462-0443



James Fidell=20 <james at cloud9.co.uk>
Sent by: nagios-users-admin at lists.sourceforge.net= =20

03/17/2006 08:43 AM
=

To=
nagios-users at lists.sourceforge.net=20
cc=
Subject
[Nagios-users= ] Empty=20 hostgroups





<= FONT=20 size=3D2>Is there an easy way to make nagios v2 not care if a=20 hostgroup
is empty?

I'm migrating a live configuration from v1 = to v2=20 at the same time
as correcting some errors and adding functionality an= d=20 have it would
be useful to have all the hostgroups in the configuratio= n=20 files before
adding all the hosts.

Is it liable to cause pain i= f I=20 change the code to warn about empty
hostgroups rather than fail with a= n=20 error?

James


----------------------------------------- -= -------------
This=20 SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat=20 extends applications into web and mobile media. Attend the live webcastand=20 join the prime developer group breaking into this new coding=20 territory!
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944 &= amp;bid=3D241720&dat=3D121642
___________________________________ ___= _________
Nagios-users=20 mailing=20 list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge. n= et/lists/listinfo/nagios-users
:::=20 Please include Nagios version, plugin version (-v) and OS when reporting = any=20 issue.
::: Messages without supporting info will risk being sent to= =20 /dev/null

ForwardSourceID:NT00010C52    =20

*********************************************** ***= **********************

This email and any files transmitted with it are c= onfidential and

intended solely for the use of the individual or e= ntity to whom they

are addressed. Any unauthorised distribution or co= pying is strictly

prohibited.

Whilst Kognitio Limited takes steps to prevent the= transmission of

viruses via e-mail, we can not guarantee that any = email or

attachment is free from computer viruses and you a= re strongly

advised to undertake your own anti-virus precautio= ns.

Kognitio grants no warranties regarding performanc= e,

use or quality of any e-mail or attachment and und= ertakes no

liability for loss or damage, howsoever caused.

*********************************************** ***= *********************

------_=_NextPart_001_01C649CA.D522B1C0-- --__--__-- Message: 8 To: Deborah Martin Cc: James Fidell , "'joseph.petrucci at wachovia.com'" , nagios-users at lists.sourceforge.net, nagios-users-admin at lists.sourceforge.net Subject: RE: [Nagios-users] Empty hostgroups From: joseph.petrucci at wachovia.com Date: Fri, 17 Mar 2006 09:30:50 -0500 This is a multipart message in MIME format. --=_alternative 004FBA5E85257134_= Content-Type: text/plain; charset="US-ASCII" I missed that you can use wildcards in the hostname field. thanks that may save me some work in the future. Joe Petrucci Office: 704-383-6089 Cell : 724-462-0443 Deborah Martin 03/17/2006 08:58 AM To "'joseph.petrucci at wachovia.com'" , James Fidell cc nagios-users at lists.sourceforge.net, nagios-users-admin at lists.sourceforge.net Subject RE: [Nagios-users] Empty hostgroups You can also use a wildcard as well. -----Original Message----- From: joseph.petrucci at wachovia.com [mailto:joseph.petrucci at wachovia.com] Sent: 17 March 2006 13:52 To: James Fidell Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Subject: Re: [Nagios-users] Empty hostgroups only thing I can think of is the same host can be in multiple hostgroups so pick one host already defined and placeit in all empty hostgroups as a placeholder then when you put a host in the hstgroup that actually belongs remove that placeholder. Joe Petrucci Office: 704-383-6089 Cell : 724-462-0443 James Fidell Sent by: nagios-users-admin at lists.sourceforge.net 03/17/2006 08:43 AM To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] Empty hostgroups Is there an easy way to make nagios v2 not care if a hostgroup is empty? I'm migrating a live configuration from v1 to v2 at the same time as correcting some errors and adding functionality and have it would be useful to have all the hostgroups in the configuration files before adding all the hosts. Is it liable to cause pain if I change the code to warn about empty hostgroups rather than fail with an error? James ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ForwardSourceID:NT00010C52 ************************************************************************ 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. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ForwardSourceID:NT00010C6E --=_alternative 004FBA5E85257134_= Content-Type: text/html; charset="US-ASCII"
I missed that you can use wildcards in the hostname field. thanks that may save me some work in the future.

Joe Petrucci
Office: 704-383-6089
Cell : 724-462-0443



Deborah Martin <Deborah.Martin at kognitio.com>

03/17/2006 08:58 AM

To
"'joseph.petrucci at wachovia.com'" <joseph.petrucci at wachovia.com>, James    Fidell <james at cloud9.co.uk>
cc
nagios-users at lists.sourceforge.net, nagios-users-admin at lists.sourceforge.net
Subject
RE: [Nagios-users] Empty hostgroups





You can also use a wildcard as well.
-----Original Message-----
From:
joseph.petrucci at wachovia.com [mailto:joseph.petrucci at wachovia.com]
Sent:
17 March 2006 13:52
To:
James Fidell
Cc:
nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net
Subject:
Re: [Nagios-users] Empty hostgroups


only thing I can think of is the same host can be in multiple hostgroups so pick one host already defined and placeit in all empty hostgroups as a placeholder then when you put a host in the hstgroup that actually belongs remove that placeholder.


Joe Petrucci
Office: 704-383-6089
Cell : 724-462-0443



James Fidell <james at cloud9.co.uk>
Sent by: nagios-users-admin at lists.sourceforge.net

03/17/2006 08:43 AM


To
nagios-users at lists.sourceforge.net
cc
Subject
[Nagios-users] Empty hostgroups







Is there an easy way to make nagios v2 not care if a hostgroup
is empty?

I'm migrating a live configuration from v1 to v2 at the same time
as correcting some errors and adding functionality and have it would
be useful to have all the hostgroups in the configuration files before
adding all the hosts.

Is it liable to cause pain if I change the code to warn about empty
hostgroups rather than fail with an error?

James


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&am p;dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null


ForwardSourceID:NT00010C52    

*********************************************************** *************
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. Any unauthorised distribution or copying is strictly
prohibited.
Whilst Kognitio Limited takes steps to prevent the transmission of
viruses via e-mail, we can not guarantee that any email or
attachment is free from computer viruses and you are strongly
advised to undertake your own anti-virus precautions.
Kognitio grants no warranties regarding performance,
use or quality of any e-mail or attachment and undertakes no
liability for loss or damage, howsoever caused.
*********************************************************** ************
ForwardSourceID:NT00010C6E    
--=_alternative 004FBA5E85257134_=-- --__--__-- Message: 9 Date: Fri, 17 Mar 2006 09:59:51 -0500 From: Robert Story To: "Mrutyunjaya Dash" Cc: Subject: Re: [Nagios-users] check_if_by_snmp output On Thu, 16 Mar 2006 13:05:04 +0530 Mrutyunjaya wrote: MD> I tried executing the command but it seems the command is not there in the MD> system. I have installed net-snmp on the system. Can you please let me MD> know whether snmpwalk comes along with net-snmp package or I need to MD> install some other package separately to get the snmpwalk? If you installed from source, it should be there. If you are using a RedHat based system and only installed net-snmp, you just have the daemons. The net-snmp-utils package has the user utilities. --__--__-- Message: 10 Subject: RE: [Nagios-users] Local host is Down, Couldnotparse arguements Date: Fri, 17 Mar 2006 09:34:53 -0600 From: "Marc Powell" To: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jody Noscov > Sent: Thursday, March 16, 2006 7:30 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Local host is Down, Couldnotparse arguements >=20 > Usage: check_ping -H -w ,% -c ,% > [-p packets] [-t timeout] [-L] [-4|-6] >=20 > I am not sure what I need to set the following to >=20 > -w ,% -c ,% > [-p packets] [-t timeout] [-L] [-4|-6] >=20 > Is there a document in the help files someone could point me to Use 'check_ping --help'. That'll return more verbose help. THRESHOLD is ,% where is the round trip average travel time (ms) which triggers a WARNING or CRITICAL state, and is the percentage of packet loss to trigger an alarm state. The example from Demetri Mouratis should clarify these further. -- Marc --__--__-- Message: 11 To: nagios-users at lists.sourceforge.net From: David Schlecht Date: Fri, 17 Mar 2006 16:36:23 +0100 (CET) Subject: [Nagios-users] e-mail acknowledgements Hi list I would like to allow our users to send e-mail to the Nagios server to initiate events such as acknowledge notifications, enable/disable notifications, and such. A procmail interface seems like a good solution. I noticed a post from long ago regarding this. Has anyone had any luck implementing such an interface? - David Schlecht (dschl) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html =09 --__--__-- Message: 12 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] e-mail acknowledgements From: David Schlecht Date: Fri, 17 Mar 2006 16:50:20 +0100 (CET) My thanks to Terry and Dany for their input regarding the acknowledgments part of this. - David Schlecht (dschl) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_p i= 1[showUid]=3D16416 =09 --__--__-- Message: 13 Subject: RE: [Nagios-users] e-mail acknowledgements Date: Fri, 17 Mar 2006 09:51:45 -0600 From: "Marc Powell" To: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of David Schlecht > Sent: Friday, March 17, 2006 9:36 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] e-mail acknowledgements >=20 > Hi list >=20 >=20 >=20 > I would like to allow our users to send e-mail to the Nagios >=20 > server to initiate events such as acknowledge notifications, >=20 > enable/disable notifications, and such. >=20 >=20 >=20 > A procmail interface seems like a good solution. I noticed a >=20 > post from long ago regarding this. >=20 >=20 >=20 > Has anyone had any luck implementing such an interface? There was a post just 2 days ago from Terry with a Subject of "Re: [Nagios-users] Acknowledge issues via e-mail" that included a procmail recipe and a script. -- Marc=20 --__--__-- Message: 14 Date: Fri, 17 Mar 2006 09:36:37 -0500 From: "Mike Linden" To: "Marc Powell" Subject: Re: [Nagios-users] phantom host up messages Cc: nagios-users at lists.sourceforge.net ------=_Part_501_2749469.1142606197267 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 3/16/06, Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Mike Linden > > Sent: Thursday, March 16, 2006 8:08 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] phantom host up messages > > > > Hi, > > I have a couple systems that have been unplugged and removed from the > rack > > ,yet Nagios still reports a Host UP alert for them from the check_ping > > process. > > How is this possible? > > > > ***** Nagios ***** > > > > Notification Type: RECOVERY > > Host: csep1039 > > State: UP > > Address: csep1039 > > Info: (No output!) > > > > Date/Time: Thu Mar 16 08:56:42 EST 2006 > > The plugin/command you are using to check the host is providing no > command line output but is still exiting with a code of 0 (successful). > Try running the check_command, as the nagios user, exactly as it's > defined, from the command line and then 'echo $?'. The results of the > echo for a down host should be '2'. Chances are you're going to see some > additional error output from ping/check_ping. > > There was also a suggestion earlier for another issue to add '2>&1' to > the end of the check_command definition to redirect error output back to > Nagios. If that works as advertised, and I believe it will, that could > be informative as well. > > -- > Marc > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid=110944&bid$1720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Marc, indeed there are other issues here. The check_ping is seg faulting with an error code of 139 ./check_ping -H csep0602 -w 100.0,20% -c 500.0,60% ; echo $? Segmentation fault 139 Which is resulting in a host up message. Do you have any idea why this would occur on a seemingly random basis? I also manually ran the command for other servers, which also resulted in the same output. Thanks Mike -- Mike Linden http://linden.linuxps.com ------=_Part_501_2749469.1142606197267 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

On 3/16/06, Marc Powell <marc at ena.com> wrote:
nagios-users-admin at lists.sourcefo rge= .net [mailto:nagios-users-
>= =20 admin at lists.sourceforge.net< = /a>] On Behalf Of Mike Linden
> Sent: Thursday, March 16, 2006 8:08 A= M
> To:
nagios-= users at lists.sourceforge.net
> Subject: [Nagios-users] phantom host up messages
>
&g= t; Hi,
> I have a couple systems that have been unplugged and removed= from the
rack
> ,yet Nagios still reports a Host UP alert for the= m from the check_ping
> process.
> How is this possible?
>
> ***** Nagio= s  *****
>
> Notification Type: RECOVERY
> Host= : csep1039
> State: UP
> Address: csep1039
> Info: (No ou= tput!)
>
> Date/Time: Thu Mar 16 08:56:42 EST 2006

The plugin/= command you are using to check the host is providing no
command line out= put but is still exiting with a code of 0 (successful).
Try running the = check_command, as the nagios user, exactly as it's
defined, from the command line and then 'echo $?'. The results of theecho for a down host should be '2'. Chances are you're going to see some<= br>additional error output from ping/check_ping.

There was also a su= ggestion earlier for another issue to add '2>&1' to
the end of the check_command definition to redirect error output back t= o
Nagios. If that works as advertised, and I believe it will, that could=
be informative as well.

--
Marc


------------------= -------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting lang= uage
that extends applications into web and mobile media. Attend the liv= e webcast
and join the prime developer group breaking into this new codi= ng territory!
http://sel.as-us.falkag.net/sel?cmdlnk&kid=11 094= 4&bid$1720&dat=121642
___________________________________ ___= _________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourcefor ge.= net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when = reporting any issue.
::: Messages without supporting info will risk bein= g sent to /dev/null

Marc,
indeed there are oth= er issues here.
The check_ping is seg faulting with an error code of 139

./check= _ping -H csep0602 -w 100.0,20% -c 500.0,60% ; echo $?
Segmentation fault=
139

Which is resulting in a host up message. 
Do you ha= ve any idea why this would occur on a seemingly random basis?  I also = manually ran the command for other servers, which also resulted in the same= output.

Thanks
Mike

--
Mike Linden
http://linden.linuxps.com ------=_Part_501_2749469.1142606197267-- --__--__-- Message: 15 Subject: RE: [Nagios-users] phantom host up messages Date: Fri, 17 Mar 2006 10:29:28 -0600 From: "Marc Powell" To: > -----Original Message----- > From: Mike Linden [mailto:stanglinden at gmail.com] > Sent: Friday, March 17, 2006 8:37 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] phantom host up messages >=20 >=20 >=20 > On 3/16/06, Marc Powell wrote: >=20 >=20 >=20 > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios- > users- > > admin at lists.sourceforge.net] On Behalf Of Mike Linden > > Sent: Thursday, March 16, 2006 8:08 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] phantom host up messages > > > > Hi, > > I have a couple systems that have been unplugged and removed from > the > rack > > ,yet Nagios still reports a Host UP alert for them from the > check_ping > > process. > > How is this possible? > > >=20 > The plugin/command you are using to check the host is providing no > command line output but is still exiting with a code of 0 > (successful). > Try running the check_command, as the nagios user, exactly as it's > defined, from the command line and then 'echo $?'. The results of > the > echo for a down host should be '2'. Chances are you're going to see > some > additional error output from ping/check_ping. >=20 > Marc, > indeed there are other issues here. > The check_ping is seg faulting with an error code of 139 >=20 > ./check_ping -H csep0602 -w 100.0,20% -c 500.0,60% ; echo $? > Segmentation fault > 139 >=20 > Which is resulting in a host up message. > Do you have any idea why this would occur on a seemingly random basis? I > also manually ran the command for other servers, which also resulted in > the same output. I sure don't. Are you running the latest version of the plugins? What OS are you running on? Maybe that'll trigger recall for someone ;) -- Marc=20 --__--__-- Message: 16 Date: Fri, 17 Mar 2006 10:29:37 -0600 From: Terry To: "Matthias Eble" Subject: Re: [Nagios-users] 2.0 stable stops checking Cc: nagios-users at lists.sourceforge.net I am seeing this as well. I have services that do not get checked when they are scheduled: Last Check Type:=09ACTIVE Last Check Time:=0903-17-2006 08:50:47 Status Data Age:=090d 1h 37m 51s Next Scheduled Active Check: =0903-17-2006 10:09:01 Latency:=09342.408 seconds Check Duration:=0910.015 seconds Last State Change:=0903-16-2006 11:55:02 Current State Duration:=090d 22h 33m 36s It is currently 10:29 and it still hasnt been checked. This is one of many examples. On 3/15/06, Matthias Eble wrote: > hi all! > > we are experiencing occassional problems with nagios 2.0 stable. The > main process was reloaded due to configuration changes yesterday (Mar > 14th). since then ps -ef looks like this: > > nagios 1078 1 12 Mar09 ? 16:49:43 /opt/nagios/bin/nagios > -d /opt/nagios/etc/nagios.cfg > nagios 9431 1078 0 Mar14 ? 00:00:00 [nagios] > > and nagios stopped to check. Has anyone an idea what could have happened > ? The nagios.log and status.dat files have not been updated since then. > > thanks > matthias > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= ge > that extends applications into web and mobile media. Attend the live webc= ast > and join the prime developer group breaking into this new coding territor= y! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when report= ing any issue. > ::: Messages without supporting info will risk being sent to /dev/null > --__--__-- Message: 17 Date: Fri, 17 Mar 2006 10:56:45 -0800 From: Eli Stair To: Terry CC: Matthias Eble , nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] 2.0 stable stops checking I've been seeing this continuously in 2.0beta/rc/releases. For details on my situation/posts check the devel/users archives, I'm curious if any similarities exist. I haven't gotten acknowledgement/resolution on this either, the only thing I've determined is that (in my case) stopping nagios and restarting with the retention file zeroed resolves the issue 100%. In the case of having an extra nagios process running that can definitely cause this and other issues. In my case that's never been present and thus not the cause... /eli Terry wrote: > I am seeing this as well. I have services that do not get checked > when they are scheduled: > > Last Check Type: ACTIVE > Last Check Time: 03-17-2006 08:50:47 > Status Data Age: 0d 1h 37m 51s > Next Scheduled Active Check: 03-17-2006 10:09:01 > Latency: 342.408 seconds > Check Duration: 10.015 seconds > Last State Change: 03-16-2006 11:55:02 > Current State Duration: 0d 22h 33m 36s > > It is currently 10:29 and it still hasnt been checked. This is one of > many examples. > > On 3/15/06, Matthias Eble > wrote: > >>hi all! >> >>we are experiencing occassional problems with nagios 2.0 stable. The >>main process was reloaded due to configuration changes yesterday (Mar >>14th). since then ps -ef looks like this: >> >>nagios 1078 1 12 Mar09 ? 16:49:43 /opt/nagios/bin/nagios >>-d /opt/nagios/etc/nagios.cfg >>nagios 9431 1078 0 Mar14 ? 00:00:00 [nagios] >> >>and nagios stopped to check. Has anyone an idea what could have happened >>? The nagios.log and status.dat files have not been updated since then. >> >>thanks >>matthias >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by xPML, a groundbreaking scripting language >>that extends applications into web and mobile media. Attend the live webcast >>and join the prime developer group breaking into this new coding territory! >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=1216 42 >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: 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 xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: 18 Date: Fri, 17 Mar 2006 13:22:30 -0600 From: Terry To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] 2.0 stable stops checking In just looking at the logs, the status.log is being continuously updated as normal but when checks stop, the nagios.log stops gathering entries as well. On 3/17/06, Eli Stair wrote: > > I've been seeing this continuously in 2.0beta/rc/releases. For details > on my situation/posts check the devel/users archives, I'm curious if any > similarities exist. I haven't gotten acknowledgement/resolution on this > either, the only thing I've determined is that (in my case) stopping > nagios and restarting with the retention file zeroed resolves the issue > 100%. > > In the case of having an extra nagios process running that can > definitely cause this and other issues. In my case that's never been > present and thus not the cause... > > /eli > > Terry wrote: > > I am seeing this as well. I have services that do not get checked > > when they are scheduled: > > > > Last Check Type: ACTIVE > > Last Check Time: 03-17-2006 08:50:47 > > Status Data Age: 0d 1h 37m 51s > > Next Scheduled Active Check: 03-17-2006 10:09:01 > > Latency: 342.408 seconds > > Check Duration: 10.015 seconds > > Last State Change: 03-16-2006 11:55:02 > > Current State Duration: 0d 22h 33m 36s > > > > It is currently 10:29 and it still hasnt been checked. This is one of > > many examples. > > > > On 3/15/06, Matthias Eble > > wrote: > > > >>hi all! > >> > >>we are experiencing occassional problems with nagios 2.0 stable. The > >>main process was reloaded due to configuration changes yesterday (Mar > >>14th). since then ps -ef looks like this: > >> > >>nagios 1078 1 12 Mar09 ? 16:49:43 /opt/nagios/bin/nagios > >>-d /opt/nagios/etc/nagios.cfg > >>nagios 9431 1078 0 Mar14 ? 00:00:00 [nagios] > >> > >>and nagios stopped to check. Has anyone an idea what could have happene= d > >>? The nagios.log and status.dat files have not been updated since then. > >> > >>thanks > >>matthias > >> > >> > >> > >>------------------------------------------------------- > >>This SF.Net email is sponsored by xPML, a groundbreaking scripting lang= uage > >>that extends applications into web and mobile media. Attend the live we= bcast > >>and join the prime developer group breaking into this new coding territ= ory! > >>http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&da t= =3D121642 > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>::: Please include Nagios version, plugin version (-v) and OS when repo= rting any issue. > >>::: Messages without supporting info will risk being sent to /dev/null > >> > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting lang= uage > > that extends applications into web and mobile media. Attend the live we= bcast > > and join the prime developer group breaking into this new coding territ= ory! > > http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when repo= rting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > --__--__-- Message: 19 Date: Fri, 17 Mar 2006 11:34:21 -0800 From: Eli Stair To: Terry CC: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] 2.0 stable stops checking So you're seeing the scenario where nagios stops _all_ checks altogether? I've had this happen when the nagios parent process dies, and logs to nagios.log to this effect "[1139362901] Caught SIGSEGV, shutting down... ". I was getting these very frequently when I went above some apparent host/service threshhold (went away when I removed about 128 nodes at one point recently). In these cases the CGI's still respond for some reason, which seemed inappropriate... I've also seen the same symptom, but without a well-advertised nagios failure, where the process is still present in memory but checks aren't executed and the CGI's are functional. The third related (and my current bane...) issue is where MOST all checks occur, but some (sometimes large) groups of unrelated actions no longer occur. Host/service checks as a whole seem to be working, but I'll notice that I haven't gotten an alert for something that failed, and then see that whole class of service checks on one hostgroup aren't running anymore... and then start to see the same issue with other checks/actions as well. I'd sure love to just have nagios start working again, as I'm strongly against having to write an external framework for checking various parts of Nagios and alerrt me when it's broken! Alternately, I've always kept up to date on other OS monitor/alert frameworks and still nothing is as extensible as Nagios is (yet). /eli Terry wrote: > In just looking at the logs, the status.log is being continuously > updated as normal but when checks stop, the nagios.log stops gathering > entries as well. > > On 3/17/06, Eli Stair wrote: > >>I've been seeing this continuously in 2.0beta/rc/releases. For details >>on my situation/posts check the devel/users archives, I'm curious if any >>similarities exist. I haven't gotten acknowledgement/resolution on this >>either, the only thing I've determined is that (in my case) stopping >>nagios and restarting with the retention file zeroed resolves the issue >>100%. >> >>In the case of having an extra nagios process running that can >>definitely cause this and other issues. In my case that's never been >>present and thus not the cause... >> >>/eli >> >>Terry wrote: >> >>>I am seeing this as well. I have services that do not get checked >>>when they are scheduled: >>> >>>Last Check Type: ACTIVE >>>Last Check Time: 03-17-2006 08:50:47 >>>Status Data Age: 0d 1h 37m 51s >>>Next Scheduled Active Check: 03-17-2006 10:09:01 >>>Latency: 342.408 seconds >>>Check Duration: 10.015 seconds >>>Last State Change: 03-16-2006 11:55:02 >>>Current State Duration: 0d 22h 33m 36s >>> >>>It is currently 10:29 and it still hasnt been checked. This is one of >>>many examples. >>> >>>On 3/15/06, Matthias Eble >>> wrote: >>> >>> >>>>hi all! >>>> >>>>we are experiencing occassional problems with nagios 2.0 stable. The >>>>main process was reloaded due to configuration changes yesterday (Mar >>>>14th). since then ps -ef looks like this: >>>> >>>>nagios 1078 1 12 Mar09 ? 16:49:43 /opt/nagios/bin/nagios >>>>-d /opt/nagios/etc/nagios.cfg >>>>nagios 9431 1078 0 Mar14 ? 00:00:00 [nagios] >>>> >>>>and nagios stopped to check. Has anyone an idea what could have happened >>>>? The nagios.log and status.dat files have not been updated since then. >>>> >>>>thanks >>>>matthias >>>> >>>> >>>> >>>>------------------------------------------------------- >>>>This SF.Net email is sponsored by xPML, a groundbreaking scripting language >>>>that extends applications into web and mobile media. Attend the live webcast >>>>and join the prime developer group breaking into this new coding territory! >>>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=12 1642 >>>>_______________________________________________ >>>>Nagios-users mailing list >>>>Nagios-users at lists.sourceforge.net >>>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>::: 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 xPML, a groundbreaking scripting language >>>that extends applications into web and mobile media. Attend the live webcast >>>and join the prime developer group breaking into this new coding territory! >>>http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: 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 xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: 20 Date: Fri, 17 Mar 2006 14:37:39 -0500 From: "Mark Hennessy" To: Subject: [Nagios-users] "Host assumed to be up" message? I have noticed with Nagios 1.3 and earlier, in "Host Detail" if a host = is not checked because its services are all up, "Host assumed to be up" is = shown. Now with Nagios 2.0, it shows the last check, and lots of those check = dates can of course get to be very old. My Nagios users who watch this page are nervous at seeing such an old = last check. I need to do one of the following: 1. Restore the old behavior of masking that date if the host is still up = and we know this by virtue of the service checks being successful. This may = be perhaps done by putting the last successful service check date in that = field? 2. Make Nagios check the hosts anyway even if all of the services are = working so that date increments. Any ideas? -- Mark Hennessy --__--__-- Message: 21 Date: Fri, 17 Mar 2006 13:39:59 -0600 From: Terry To: "Eli Stair" Subject: Re: [Nagios-users] 2.0 stable stops checking Cc: nagios-users at lists.sourceforge.net No, not all checks. I see check_ping processes still firing up: [root at plaut08 etc]# ps xauwwww -H| grep nagios | grep -v grep nagios 26676 11.0 0.1 28620 3852 ? Ssl 13:35 0:11 =20 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 26814 0.0 0.1 28624 3852 ? S 13:36 0:00 =20 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 26815 0.0 0.0 4684 640 ? S 13:36 0:00 =20 /usr/lib/nagios/plugins/check_ping -H 172.28.7.59 -w 3000.0,80%% -c 5000.0,100%% -p 15 -t 30 nagios 26816 0.0 0.0 2580 528 ? S 13:36 0:00 =20 /bin/ping -n -U -w 90 -c 15 172.28.7.59 I am seeing the same thing as you where only certain hosts/hostgroups are being checked and then all of a sudden everything stops BUT pings based on above but those checks are not being updated in nagios.log.=20 Very weird. On 3/17/06, Eli Stair wrote: > > So you're seeing the scenario where nagios stops _all_ checks > altogether? I've had this happen when the nagios parent process dies, > and logs to nagios.log to this effect "[1139362901] Caught SIGSEGV, > shutting down... ". I was getting these very frequently when I went > above some apparent host/service threshhold (went away when I removed > about 128 nodes at one point recently). In these cases the CGI's still > respond for some reason, which seemed inappropriate... > > I've also seen the same symptom, but without a well-advertised nagios > failure, where the process is still present in memory but checks aren't > executed and the CGI's are functional. > > The third related (and my current bane...) issue is where MOST all > checks occur, but some (sometimes large) groups of unrelated actions no > longer occur. Host/service checks as a whole seem to be working, but > I'll notice that I haven't gotten an alert for something that failed, > and then see that whole class of service checks on one hostgroup aren't > running anymore... and then start to see the same issue with other > checks/actions as well. > > I'd sure love to just have nagios start working again, as I'm strongly > against having to write an external framework for checking various parts > of Nagios and alerrt me when it's broken! Alternately, I've always kept > up to date on other OS monitor/alert frameworks and still nothing is as > extensible as Nagios is (yet). > > /eli > > > Terry wrote: > > In just looking at the logs, the status.log is being continuously > > updated as normal but when checks stop, the nagios.log stops gathering > > entries as well. > > > > On 3/17/06, Eli Stair wrote: > > > >>I've been seeing this continuously in 2.0beta/rc/releases. For details > >>on my situation/posts check the devel/users archives, I'm curious if an= y > >>similarities exist. I haven't gotten acknowledgement/resolution on thi= s > >>either, the only thing I've determined is that (in my case) stopping > >>nagios and restarting with the retention file zeroed resolves the issue > >>100%. > >> > >>In the case of having an extra nagios process running that can > >>definitely cause this and other issues. In my case that's never been > >>present and thus not the cause... > >> > >>/eli > >> > >>Terry wrote: > >> > >>>I am seeing this as well. I have services that do not get checked > >>>when they are scheduled: > >>> > >>>Last Check Type: ACTIVE > >>>Last Check Time: 03-17-2006 08:50:47 > >>>Status Data Age: 0d 1h 37m 51s > >>>Next Scheduled Active Check: 03-17-2006 10:09:01 > >>>Latency: 342.408 seconds > >>>Check Duration: 10.015 seconds > >>>Last State Change: 03-16-2006 11:55:02 > >>>Current State Duration: 0d 22h 33m 36s > >>> > >>>It is currently 10:29 and it still hasnt been checked. This is one of > >>>many examples. > >>> > >>>On 3/15/06, Matthias Eble > >>> wrote: > >>> > >>> > >>>>hi all! > >>>> > >>>>we are experiencing occassional problems with nagios 2.0 stable. The > >>>>main process was reloaded due to configuration changes yesterday (Mar > >>>>14th). since then ps -ef looks like this: > >>>> > >>>>nagios 1078 1 12 Mar09 ? 16:49:43 /opt/nagios/bin/nagio= s > >>>>-d /opt/nagios/etc/nagios.cfg > >>>>nagios 9431 1078 0 Mar14 ? 00:00:00 [nagios] > >>>> > >>>>and nagios stopped to check. Has anyone an idea what could have happe= ned > >>>>? The nagios.log and status.dat files have not been updated since the= n. > >>>> > >>>>thanks > >>>>matthias > >>>> > >>>> > >>>> > >>>>------------------------------------------------------- > >>>>This SF.Net email is sponsored by xPML, a groundbreaking scripting la= nguage > >>>>that extends applications into web and mobile media. Attend the live = webcast > >>>>and join the prime developer group breaking into this new coding terr= itory! > >>>>http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720& d= at=3D121642 > >>>>_______________________________________________ > >>>>Nagios-users mailing list > >>>>Nagios-users at lists.sourceforge.net > >>>>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>>>::: Please include Nagios version, plugin version (-v) and OS when re= porting any issue. > >>>>::: Messages without supporting info will risk being sent to /dev/nul= l > >>>> > >>> > >>> > >>> > >>>------------------------------------------------------- > >>>This SF.Net email is sponsored by xPML, a groundbreaking scripting lan= guage > >>>that extends applications into web and mobile media. Attend the live w= ebcast > >>>and join the prime developer group breaking into this new coding terri= tory! > >>>http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=12164 2 > >>>_______________________________________________ > >>>Nagios-users mailing list > >>>Nagios-users at lists.sourceforge.net > >>>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>>::: Please include Nagios version, plugin version (-v) and OS when rep= orting any issue. > >>>::: Messages without supporting info will risk being sent to /dev/null > >>> > >> > >> > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting lang= uage > > that extends applications into web and mobile media. Attend the live we= bcast > > and join the prime developer group breaking into this new coding territ= ory! > > http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when repo= rting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > --__--__-- Message: 22 Date: Fri, 17 Mar 2006 12:00:28 -0800 From: Eli Stair To: Terry CC: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] 2.0 stable stops checking Are you in a position to stop services for a minute and check starting up again with the retention.dat file moved out of the way? If you're hesitant you may want to start up another instance of Nagios in parallel for testing it and such. That's sane, but I've proven to myself enough that this is always the case (in _my_ _current_ instance) and just have to do it on the production system when I catch it. I'm real curious to find out if this is the same exact issue/resolution that works for you as well. /eli Terry wrote: > No, not all checks. I see check_ping processes still firing up: > > [root at plaut08 etc]# ps xauwwww -H| grep nagios | grep -v grep > nagios 26676 11.0 0.1 28620 3852 ? Ssl 13:35 0:11 > /usr/bin/nagios -d /etc/nagios/nagios.cfg > nagios 26814 0.0 0.1 28624 3852 ? S 13:36 0:00 > /usr/bin/nagios -d /etc/nagios/nagios.cfg > nagios 26815 0.0 0.0 4684 640 ? S 13:36 0:00 > /usr/lib/nagios/plugins/check_ping -H 172.28.7.59 -w 3000.0,80%% -c > 5000.0,100%% -p 15 -t 30 > nagios 26816 0.0 0.0 2580 528 ? S 13:36 0:00 > /bin/ping -n -U -w 90 -c 15 172.28.7.59 > > > I am seeing the same thing as you where only certain hosts/hostgroups > are being checked and then all of a sudden everything stops BUT pings > based on above but those checks are not being updated in nagios.log. > Very weird. > > On 3/17/06, Eli Stair wrote: > >>So you're seeing the scenario where nagios stops _all_ checks >>altogether? I've had this happen when the nagios parent process dies, >>and logs to nagios.log to this effect "[1139362901] Caught SIGSEGV, >>shutting down... ". I was getting these very frequently when I went >>above some apparent host/service threshhold (went away when I removed >>about 128 nodes at one point recently). In these cases the CGI's still >>respond for some reason, which seemed inappropriate... >> >>I've also seen the same symptom, but without a well-advertised nagios >>failure, where the process is still present in memory but checks aren't >>executed and the CGI's are functional. >> >>The third related (and my current bane...) issue is where MOST all >>checks occur, but some (sometimes large) groups of unrelated actions no >>longer occur. Host/service checks as a whole seem to be working, but >>I'll notice that I haven't gotten an alert for something that failed, >>and then see that whole class of service checks on one hostgroup aren't >>running anymore... and then start to see the same issue with other >>checks/actions as well. >> >>I'd sure love to just have nagios start working again, as I'm strongly >>against having to write an external framework for checking various parts >>of Nagios and alerrt me when it's broken! Alternately, I've always kept >>up to date on other OS monitor/alert frameworks and still nothing is as >>extensible as Nagios is (yet). >> >>/eli >> >> >>Terry wrote: >> >>>In just looking at the logs, the status.log is being continuously >>>updated as normal but when checks stop, the nagios.log stops gathering >>>entries as well. >>> >>>On 3/17/06, Eli Stair wrote: >>> >>> >>>>I've been seeing this continuously in 2.0beta/rc/releases. For details >>>>on my situation/posts check the devel/users archives, I'm curious if any >>>>similarities exist. I haven't gotten acknowledgement/resolution on this >>>>either, the only thing I've determined is that (in my case) stopping >>>>nagios and restarting with the retention file zeroed resolves the issue >>>>100%. >>>> >>>>In the case of having an extra nagios process running that can >>>>definitely cause this and other issues. In my case that's never been >>>>present and thus not the cause... >>>> >>>>/eli >>>> >>>>Terry wrote: >>>> >>>> >>>>>I am seeing this as well. I have services that do not get checked >>>>>when they are scheduled: >>>>> >>>>>Last Check Type: ACTIVE >>>>>Last Check Time: 03-17-2006 08:50:47 >>>>>Status Data Age: 0d 1h 37m 51s >>>>>Next Scheduled Active Check: 03-17-2006 10:09:01 >>>>>Latency: 342.408 seconds >>>>>Check Duration: 10.015 seconds >>>>>Last State Change: 03-16-2006 11:55:02 >>>>>Current State Duration: 0d 22h 33m 36s >>>>> >>>>>It is currently 10:29 and it still hasnt been checked. This is one of >>>>>many examples. >>>>> >>>>>On 3/15/06, Matthias Eble >>>>> wrote: >>>>> >>>>> >>>>> >>>>>>hi all! >>>>>> >>>>>>we are experiencing occassional problems with nagios 2.0 stable. The >>>>>>main process was reloaded due to configuration changes yesterday (Mar >>>>>>14th). since then ps -ef looks like this: >>>>>> >>>>>>nagios 1078 1 12 Mar09 ? 16:49:43 /opt/nagios/bin/nagios >>>>>>-d /opt/nagios/etc/nagios.cfg >>>>>>nagios 9431 1078 0 Mar14 ? 00:00:00 [nagios] >>>>>> >>>>>>and nagios stopped to check. Has anyone an idea what could have happened >>>>>>? The nagios.log and status.dat files have not been updated since then. >>>>>> >>>>>>thanks >>>>>>matthias >>>>>> >>>>>> >>>>>> >>>>>>------------------------------------------------------- >>>>>>This SF.Net email is sponsored by xPML, a groundbreaking scripting language >>>>>>that extends applications into web and mobile media. Attend the live webcast >>>>>>and join the prime developer group breaking into this new coding territory! >>>>>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat= 121642 >>>>>>_______________________________________________ >>>>>>Nagios-users mailing list >>>>>>Nagios-users at lists.sourceforge.net >>>>>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>>>::: 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 xPML, a groundbreaking scripting language >>>>>that extends applications into web and mobile media. Attend the live webcast >>>>>and join the prime developer group breaking into this new coding territory! >>>>>http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 >>>>>_______________________________________________ >>>>>Nagios-users mailing list >>>>>Nagios-users at lists.sourceforge.net >>>>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>>::: 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 xPML, a groundbreaking scripting language >>>that extends applications into web and mobile media. Attend the live webcast >>>and join the prime developer group breaking into this new coding territory! >>>http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>>::: Messages without supporting info will risk being sent to /dev/null >>> >> >> > --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thurgoodj187 at gmail.com Sat Mar 18 12:34:52 2006 From: thurgoodj187 at gmail.com (Stephen Barron) Date: Sat, 18 Mar 2006 05:34:52 -0600 Subject: performance data reporting Message-ID: I am looking for performance data reporting, currently I am using perfparse, but this project looks to be dead. Can anyone suggest a database solution to graph this data? -- Steve ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkoponick at redhawk.info Sat Mar 18 17:23:49 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Sat, 18 Mar 2006 08:23:49 -0800 Subject: performance data reporting Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109D04@raptor.redhawk.info> I have been looking at something similar. I can get the "performance" data into a field in MySQL, it's just a matter of writing a graphing tool of sorts to help show that data in a format that is readable. Mike -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Stephen Barron Sent: Saturday, March 18, 2006 3:35 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] performance data reporting I am looking for performance data reporting, currently I am using perfparse, but this project looks to be dead. Can anyone suggest a database solution to graph this data? -- Steve ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flo at bier.homeip.net Sat Mar 18 18:07:03 2006 From: flo at bier.homeip.net (Florian Gleixner) Date: Sat, 18 Mar 2006 18:07:03 +0100 Subject: performance data reporting In-Reply-To: References: Message-ID: <441C3E37.1020907@bier.homeip.net> Hi, perfparse is not dead, but it is evolving very slow at the moment. CVS snapshots can be downloaded from: http://wiki.perfparse.org/cvs_snapshots/ Flo Stephen Barron schrieb: > I am looking for performance data reporting, currently I am using > perfparse, but this project looks to be dead. Can anyone suggest a > database solution to graph this data? > > -- > Steve > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thurgoodj187 at gmail.com Sun Mar 19 08:34:03 2006 From: thurgoodj187 at gmail.com (Stephen Barron) Date: Sun, 19 Mar 2006 01:34:03 -0600 Subject: performance data reporting In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD4109D04@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD4109D04@raptor.redhawk.info> Message-ID: I agree that seems simple, but the hard part is actually getting the data into the database, since many checks written send perf data in many formats, which makes parsing very tricky. Perfparse is pretty limiting in what it will accept. We have written parsing scripts to attempt to format the data before perfparse pulls it into mysql. http://wiki.perfparse.org/tiki-view_faq.php?faqId=6#q7 My opinion is that the perfparse cgi works pretty well, but without our scripting hacks, half of the raw data never becomes binary data. I have noticed some work from groundwork http://www.itgroundwork.com, but have not been able to set this up in test environment yet. Steve On 3/18/06, Mike Koponick wrote: > I have been looking at something similar. I can get the "performance" > data into a field in MySQL, it's just a matter of writing a graphing > tool of sorts to help show that data in a format that is readable. > > Mike > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Stephen > Barron > Sent: Saturday, March 18, 2006 3:35 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] performance data reporting > > I am looking for performance data reporting, currently I am using > perfparse, but this project looks to be dead. Can anyone suggest a > database solution to graph this data? > > -- > Steve > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Steve ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 19 20:31:10 2006 From: moshesharon at gmail.com (moshe sharon) Date: Sun, 19 Mar 2006 21:31:10 +0200 Subject: performance data reporting In-Reply-To: References: <8C18BAD1F46B2245B0A08BCF1A823DD4109D04@raptor.redhawk.info> Message-ID: <88ad29240603191131n2405f22cgd0a8fe28a9de28f9@mail.gmail.com> Hello i can recommend excellent tool called nagiosgraph. its pretty simple to setup. and it can be expanded to to mysql logging. url: http://sourceforge.net/projects/nagiosgraph/ Hope it Helped Moshe Sharon -------------- next part -------------- An HTML attachment was scrubbed... URL: From td3201 at gmail.com Sun Mar 19 20:58:03 2006 From: td3201 at gmail.com (Terry) Date: Sun, 19 Mar 2006 13:58:03 -0600 Subject: performance data reporting In-Reply-To: <88ad29240603191131n2405f22cgd0a8fe28a9de28f9@mail.gmail.com> References: <8C18BAD1F46B2245B0A08BCF1A823DD4109D04@raptor.redhawk.info> <88ad29240603191131n2405f22cgd0a8fe28a9de28f9@mail.gmail.com> Message-ID: <441DB7CB.2020401@gmail.com> moshe sharon wrote: > Hello > > i can recommend excellent tool called nagiosgraph. its pretty simple > to setup. and it can be expanded to to mysql logging. > url: http://sourceforge.net/projects/nagiosgraph/ > Hope it Helped > Moshe Sharon Graphs are pretty good but what other formats are people looking for? Interesting discussion. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnosc at hotmail.com Mon Mar 20 00:06:19 2006 From: jnosc at hotmail.com (Jody Noscov) Date: Mon, 20 Mar 2006 09:06:19 +1000 Subject: Add a new Host Message-ID: This may seem like a very simple question: How do I add a new host to monitor? I am using the minimal.cfg What file do i need to edit in order to add a new host/s? Regards J _________________________________________________________________ mycareer.com.au: http://www.mycareer.com.au/?s_cid=213596 Land the Job ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dgullett at symmetrixtech.com Mon Mar 20 00:23:41 2006 From: dgullett at symmetrixtech.com (David Gullett) Date: Sun, 19 Mar 2006 17:23:41 -0600 Subject: Exchange Performance Counters Message-ID: <028001c64bac$2c43d960$6501a8c0@xxxx> Has anyone else been able to monitor the Exchange performance counters using nsclient? I'm trying the following from the command line: ./check_nt -H servername -v COUNTER -l "\\SMTP Server\\Remote Queue Length(_Total)" It always returns zero even though performance monitor shows a nonzero value. Thanks! David Gullett Symmetrix Technologies -------------- next part -------------- An HTML attachment was scrubbed... URL: From jperrin at gmail.com Mon Mar 20 01:16:22 2006 From: jperrin at gmail.com (Jim Perrin) Date: Sun, 19 Mar 2006 19:16:22 -0500 Subject: Add a new Host In-Reply-To: References: Message-ID: <302ce8b50603191616r18d27594hb248b3e7cbf96b42@mail.gmail.com> On 3/19/06, Jody Noscov wrote: > This may seem like a very simple question: > > How do I add a new host to monitor? > > I am using the minimal.cfg > > What file do i need to edit in order to add a new host/s? Step 1: Consult documentation included with nagios. Step 2: Read through configs you're using. The solution should present itself. -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Mar 20 01:22:17 2006 From: td3201 at gmail.com (Terry) Date: Sun, 19 Mar 2006 18:22:17 -0600 Subject: Add a new Host In-Reply-To: References: Message-ID: <441DF5B9.9050204@gmail.com> Jody Noscov wrote: > This may seem like a very simple question: > > How do I add a new host to monitor? > > I am using the minimal.cfg > > What file do i need to edit in order to add a new host/s? > Read the bigger.cfg. You will see hosts defined in there. Copy one of those and change as you like. Then do nagios -v /etc/nagios/nagios.cfg and make the corrections where you see errors. You should learn enough from that to get you going. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 20 04:26:10 2006 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Mon, 20 Mar 2006 14:26:10 +1100 Subject: Service dependencies Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6ABE6F7B@mail01.ccia.local> Right, I think that is precisely my problem. I'm using the SNMP service on HOST1 to check SERVICE1, SERVICE2, and SERVICE3. If SNMP fail I'm going to get notices for all four. Is it possible to define a second host HOST1-SNMP withjj the same IP and set internal dependencies that way ? Matthew Joyce 02 9382 0051 | 0412 309745 | IT Manager > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Eli Stair > Sent: Friday, 17 March 2006 12:48 PM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Service dependencies > > > To be fair, one situation where these wildcard template > dependencies don't work is when you want to define a number > of dependent services that rely on a service on the same host > (i.e. not a number of separate services on different hosts > that rely on a single (or wildcardable) host/service). > > I re-wrote my entire config tree with templates at one point, > only to find it was wasted effort (in my situation) as I have > large numbers of hosts/services all relying on others within > the same host, not a single point elsewhere... so they aren't > expressible that way. So I've still got megabytes of config > files to generate when there's a change, vs. the idea of > changing a simple template and having it propagate :( > > /eli > > Hugo van der Kooij wrote: > > On Thu, 16 Mar 2006, Matthew Joyce wrote: > > > > > >>I check a lot of window services from linux via snmp. > >>One service is SNMP, if this fails or stops, others will fail. > >> > >>An I going to get a heap of notification for each service ? > >> > >>I've looked at the service dependency section in the docs, > and it looks > >>like I need to define a dependency for each service, for each host. > >>That's a lot of defining. > > > > > > Not at all. Read the archives for samples of how to use the > wildcards in > > your dependencies definitions. > > > > Hugo. > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking > scripting language > that extends applications into web and mobile media. Attend > the live webcast > and join the prime developer group breaking into this new > coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720& > dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnosc at hotmail.com Mon Mar 20 04:27:39 2006 From: jnosc at hotmail.com (Jody Noscov) Date: Mon, 20 Mar 2006 13:27:39 +1000 Subject: Add a new Host In-Reply-To: <441DF5B9.9050204@gmail.com> References: <441DF5B9.9050204@gmail.com> Message-ID: Thats Great Thanx very much for pointing me in the right direction. :-) >From: Terry >To: Jody Noscov >CC: Nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Add a new Host >Date: Sun, 19 Mar 2006 18:22:17 -0600 > >Jody Noscov wrote: >>This may seem like a very simple question: >> >>How do I add a new host to monitor? >> >>I am using the minimal.cfg >> >>What file do i need to edit in order to add a new host/s? >> >Read the bigger.cfg. You will see hosts defined in there. Copy one of >those and change as you like. Then do nagios -v /etc/nagios/nagios.cfg >and make the corrections where you see errors. You should learn enough >from that to get you going. > > _________________________________________________________________ Make your dream car a reality http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fcarpoint%2Eninemsn%2Ecom%2Eau&_t=12345&_r=emailtagline&_m=EXT ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Richard.Luys at vanderlet.nl Mon Mar 20 11:32:31 2006 From: Richard.Luys at vanderlet.nl (Richard.Luys at vanderlet.nl) Date: Mon, 20 Mar 2006 11:32:31 +0100 Subject: Verschuiven a.s. Nagios overleg Message-ID: <9BC12CEA9D0D27409DB7599F44FDD3574EAB5B@vdlsv00029.vanderlet.nl> Heren, A.s. vrijdag staat er weer een Nagios overleg gepland. Vincent is afwezig en mij zou vrijdag thuis werken ook erg goed uitkomen. Iemand bezwaar als we het overleg naar vrijdag de 31e verplaatsen? Jasper, Als niemand bezwaar heeft, kun jij eenmalig (dus alleen voor a.s. vrijdag) het overleg een week doorschuiven? Richard This e-mail message and its attachments are subject to the disclaimer published at the following website of VANDERLET: http://www.vanderlet.nl/disclaimer -------------- next part -------------- An HTML attachment was scrubbed... URL: From Richard.Luys at vanderlet.nl Mon Mar 20 12:16:48 2006 From: Richard.Luys at vanderlet.nl (Richard.Luys at vanderlet.nl) Date: Mon, 20 Mar 2006 12:16:48 +0100 Subject: Apologies for 'Verschuiven a.s. Nagios overleg' Message-ID: <9BC12CEA9D0D27409DB7599F44FDD3574EAB60@vdlsv00029.vanderlet.nl> Hi all, Apologies for the message I've sent to the user-list. Damn Outlook! It was supposed to be sent to an internal mailinglist, but my outlook did not recognize it as such. Again, my humble apologies for this misconvenience! Regards, Richard Luys VANDERLET BV ________________________________________ From: Richard Luys Sent: maandag 20 maart 2006 11:33 To: nagios-users at lists.sourceforge.net Cc: Supportdesk Subject: Verschuiven a.s. Nagios overleg Heren, A.s. vrijdag staat er weer een Nagios overleg gepland. Vincent is afwezig en mij zou vrijdag thuis werken ook erg goed uitkomen. Iemand bezwaar als we het overleg naar vrijdag de 31e verplaatsen? Jasper, Als niemand bezwaar heeft, kun jij eenmalig (dus alleen voor a.s. vrijdag) het overleg een week doorschuiven? Richard This e-mail message and its attachments are subject to the disclaimer published at the following website of VANDERLET: http://www.vanderlet.nl/disclaimer ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From engelenh at gmail.com Mon Mar 20 15:55:29 2006 From: engelenh at gmail.com (Hans Engelen) Date: Mon, 20 Mar 2006 15:55:29 +0100 Subject: Nagios-Report-0.002 on CPAN/NagiosExchange. In-Reply-To: References: Message-ID: <5383c62b0603200655v4febb344v91ed89108711f24@mail.gmail.com> Hmm, it would be a pitty not to develop this thing further. Like you say it provides the kind of reports management likes and up until now it is the only way I have found to create biased reporting. What do I mean ? I mean I don't care about how many hours application or server xyz was down during the weekend. Those hours are of no importance to me in terms of management reports. The information and especially metrics outside of these hours need to be taken for administration purposes of course. But the weekend is used here for maintenance as is the case in many places. For my SLA's these hours should not be counted. Up until now your tool is the only tool I have found that can ignore data based on time-tables in its reports. So as far as I am concerned please keep up the good work. Question though .. DB NEB modules ? Cheers, Hans On 3/17/06, Stanley.Hopcroft at dest.gov.au wrote: > > Dear Folks, > > I am writing to say that Nagios::Report 0.002 has been 'released' and is > available at > the usual places. > > This relase fixes a bug, and adds limited charting capability and a > weaker alternate interface (provided by the Perl DBD::AnyData module) > that allows client code to select the report data with SQL (the small > subset that AnyData accepts). > > 0.002 Fri Mar 17 14:44:36 EST 2006 > - fix bug in mkreport() processing of MUNGE_CALLBACK (would not change > report values). > > *** This entailed a change _non_ backward compatible change in the > MUNGE_CALLBACK interface. > *** Client code that calls the alter->() callback _requires_ changing. > *** The alter callback is now called with one parm, a ref to a hash of > the field values > *** indexed by field name. See examples/ for scripts that have been > changed. > > - added to_dbh() method to allow DBD::AnyData provided use of SQL > (simple) on report data > - added primitive support for chart templates to excel_dump. The > workbook written by Spreadsheet::WriteExcel can contain _one_ (1) chart > of the availability data. > > This project does not scale very well. It provides a limited capability > to provide a Data source for processing by Reporting tools such as > Excel. > > This module has probably reached the end of development (some may say it > would better have not started) apart from bug fixes. > > If you are serious about reporting look at the DB NEB modules or Steve > Shipways stuff on NagiosExchange. This module provides however, a > limited capacity to provide reports in the format beloved by PHBs. > > Yours sincerely. > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: From gorste at tesco.net Mon Mar 20 16:01:10 2006 From: gorste at tesco.net (Gordon Stewart) Date: Mon, 20 Mar 2006 15:01:10 +0000 Subject: Issue with Check_ssh Message-ID: <20060320150110.CQPI20480.aamtaout01-winn.ispmail.ntl.com@smtp.ntlworld.com> Dear List I am using check_ssh to check if the ssh is runing on some hosts. On a number of hosts the check is running ok, on others I am getting check_ssh: Could not parse arguments. I can log on using ssh that are giving me the parsing error. Can any one help me to resolve this nagios error? Thanks Gordon ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Mon Mar 20 16:09:16 2006 From: srunschke at abit.de (srunschke at abit.de) Date: Mon, 20 Mar 2006 16:09:16 +0100 Subject: Antwort: Issue with Check_ssh In-Reply-To: <20060320150110.CQPI20480.aamtaout01-winn.ispmail.ntl.com@smtp.ntlworld.com> References: <20060320150110.CQPI20480.aamtaout01-winn.ispmail.ntl.com@smtp.ntlworld.com> Message-ID: nagios-users-admin at lists.sourceforge.net schrieb am 20.03.2006 16:01:10: > I am using check_ssh to check if the ssh is runing on some hosts. > On a number of hosts the check is running ok, on others I am > getting check_ssh: Could not parse arguments. I can log on using > ssh that are giving me the parsing error. > Can any one help me to resolve this nagios error? Well, maybe we could - but not if you do not provide us with the configs of the service in question. It seems obvious that you are passing wrong arguments to check_ssh - at least that's what it says. Else there isn't much to guess without major interferences with my mystic crystalball. regards sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 Mobil:+49 (0) 173.5419665 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net --------------------------------- Sicherheitshinweis zur E-Mail Kommunikation / Security note regarding email communication: http://www.abit.net/sicherheitshinweis.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From gorste at tesco.net Mon Mar 20 16:23:22 2006 From: gorste at tesco.net (Gordon Stewart) Date: Mon, 20 Mar 2006 15:23:22 +0000 Subject: Antwort: Issue with Check_ssh Message-ID: <20060320152322.RCGX20548.aamtaout03-winn.ispmail.ntl.com@smtp.ntlworld.com> List The command line I am having the trouble with is define command{ command_name check_ssh command_line $USER1$/check_ssh -t 10 -p 99 $HOSTADDRESS$ } As I said it works with some hosts but not all hosts. Thanks Gordon > > From: srunschke at abit.de > Date: 2006/03/20 Mon PM 03:09:16 GMT > To: nagios-users at lists.sourceforge.net > Subject: Antwort: [Nagios-users] Issue with Check_ssh > > nagios-users-admin at lists.sourceforge.net schrieb am 20.03.2006 16:01:10: > > > I am using check_ssh to check if the ssh is runing on some hosts. > > On a number of hosts the check is running ok, on others I am > > getting check_ssh: Could not parse arguments. I can log on using > > ssh that are giving me the parsing error. > > Can any one help me to resolve this nagios error? > > Well, maybe we could - but not if you do not provide us with > the configs of the service in question. It seems obvious that > you are passing wrong arguments to check_ssh - at least that's > what it says. Else there isn't much to guess without major > interferences with my mystic crystalball. > > regards > sash > > -------------------------------------------------- > Sascha Runschke > Netzwerk Administration > IT-Services > > ABIT AG > Robert-Bosch-Str. 1 > 40668 Meerbusch > > Tel.:+49 (0) 2150.9153.226 > Mobil:+49 (0) 173.5419665 > mailto:SRunschke at abit.de > > http://www.abit.net > http://www.abit-epos.net > --------------------------------- > Sicherheitshinweis zur E-Mail Kommunikation / > Security note regarding email communication: > http://www.abit.net/sicherheitshinweis.html > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkoponick at redhawk.info Mon Mar 20 16:29:25 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Mon, 20 Mar 2006 07:29:25 -0800 Subject: performance data reporting Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109D05@raptor.redhawk.info> Terry, I know for me, I would like to see something like an output of MRTG. I know I can integrate MRTG in some forms, but I would like to pull directly from the MySQL tables/columns, rather than using something like RRDTool, as I can get a better (longer) history using the MySQL database. This would make the distributed model work very well. If I look at the NDO tables, I see that there is a table called, NDO_SERVICECHECKS. It has few columns that I am using already, but I would like to have data in the "Perfdata" column. It could be that I am missing something here (It's not the first time ;-)) but I would think something like Perfparse would store data in this area, unless Nagios already has something that will put performance data in that area. PHP could generate graphs fairly easy, although I have not done much work like this myself; sample code is available in many places. Mike -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Terry Sent: Sunday, March 19, 2006 11:58 AM To: Nagios Users Mailing List Subject: Re: [Nagios-users] performance data reporting moshe sharon wrote: > Hello > > i can recommend excellent tool called nagiosgraph. its pretty simple > to setup. and it can be expanded to to mysql logging. > url: http://sourceforge.net/projects/nagiosgraph/ > Hope it Helped > Moshe Sharon Graphs are pretty good but what other formats are people looking for? Interesting discussion. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Mon Mar 20 16:39:10 2006 From: srunschke at abit.de (srunschke at abit.de) Date: Mon, 20 Mar 2006 16:39:10 +0100 Subject: Antwort: Re: Antwort: Issue with Check_ssh In-Reply-To: <20060320152322.RCGX20548.aamtaout03-winn.ispmail.ntl.com@smtp.ntlworld.com> References: <20060320152322.RCGX20548.aamtaout03-winn.ispmail.ntl.com@smtp.ntlworld.com> Message-ID: Gordon Stewart schrieb am 20.03.2006 16:23:22: > The command line I am having the trouble with is > > define command{ > command_name check_ssh > command_line $USER1$/check_ssh -t 10 -p 99 $HOSTADDRESS$ > } > > As I said it works with some hosts but not all hosts. Well, then you would do good posting the other relevant info too, like the service definition and the host definition. It seems like $HOSTADDRESS$ sometimes returns something wrong, maybe you mixed up hostaddress and hostalias in a few host definitions? regards sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 Mobil:+49 (0) 173.5419665 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net --------------------------------- Sicherheitshinweis zur E-Mail Kommunikation / Security note regarding email communication: http://www.abit.net/sicherheitshinweis.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From flo at bier.homeip.net Mon Mar 20 16:50:52 2006 From: flo at bier.homeip.net (Florian Gleixner) Date: Mon, 20 Mar 2006 16:50:52 +0100 Subject: performance data reporting In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD4109D05@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD4109D05@raptor.redhawk.info> Message-ID: <441ECF5C.9000700@bier.homeip.net> Mike Koponick wrote: > Terry, > > I know for me, I would like to see something like an output of MRTG. I > know I can integrate MRTG in some forms, but I would like to pull > directly from the MySQL tables/columns, rather than using something like > RRDTool, as I can get a better (longer) history using the MySQL > database. This would make the distributed model work very well. > This is exactly the reason why perfparse stores data in a database. > If I look at the NDO tables, I see that there is a table called, > NDO_SERVICECHECKS. It has few columns that I am using already, but I > would like to have data in the "Perfdata" column. It could be that I am > missing something here (It's not the first time ;-)) but I would think > something like Perfparse would store data in this area, unless Nagios > already has something that will put performance data in that area. > Perfparse is designed modular so it could write data there. But i think the parsing part of perfparse could die if nagios can write the performance data to NDO itself. > PHP could generate graphs fairly easy, although I have not done much > work like this myself; sample code is available in many places. > In this case C is faster due to the huge amount of data. Flo ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SELundgr at email.uncc.edu Mon Mar 20 19:28:13 2006 From: SELundgr at email.uncc.edu (Lundgren, Scott) Date: Mon, 20 Mar 2006 13:28:13 -0500 Subject: check_mysql plugin will not compile Message-ID: I'm getting the following error messages in config.log as I try to compile check_mysql. Can someone tell me why configure is not finding the file? I'm using: nagios-plugins-1.4.2, MySQL 4.1.15 I set: LD_OPTIONS=-R/opt/csw/lib -R/opt/csw/mysql4/lib/mysql -L/opt/csw/lib Errors I have in config.log: configure:9365: checking for mysql_init in -lmysqlclient configure:9395: cc -o conftest -g -I/opt/csw/include -L. conftest.c -lmysqlclient -L/opt/csw/lib/mysql -lz >&5 ld: fatal: library -lmysqlclient: not found ld: fatal: File processing errors. No output written to conftest Thanks in Advance, Scott Lundgren ITS - Web Services UNC at Charlotte http://www.uncc.edu ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Mar 20 19:18:52 2006 From: td3201 at gmail.com (Terry) Date: Mon, 20 Mar 2006 12:18:52 -0600 Subject: utilizing both email and pager notifications with single contact Message-ID: <1142878732.8233.23.camel@localhost> Hello, I want to have a single contact and have critical sent to pager and warning sent to email. Like this: define contact{ contact_name admin01 alias Terry host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,u,r service_notification_options w,u,c,r host_notification_commands host-notify-by-email service_notification_commands notify-by-email email jo at hotmail.com pager 9105551212 at vtext.com } It seems I can't do this alone with the contact block. It appears to be all inclusive. Today we have separate contacts for warning and critical messages. Would like to trim this up. Any ideas? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Mon Mar 20 20:21:06 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Mon, 20 Mar 2006 20:21:06 +0100 Subject: check_mysql plugin will not compile In-Reply-To: References: Message-ID: <441F00A2.6000208@its-lehmann.de> Hello, On 3/20/2006 7:28 PM, Lundgren, Scott wrote: > I'm getting the following error messages in config.log as I try to > compile check_mysql. Can someone tell me why configure is not finding > the file? > > I'm using: nagios-plugins-1.4.2, MySQL 4.1.15 > > I set: LD_OPTIONS=-R/opt/csw/lib -R/opt/csw/mysql4/lib/mysql > -L/opt/csw/lib > > Errors I have in config.log: > > configure:9365: checking for mysql_init in -lmysqlclient > configure:9395: cc -o conftest -g -I/opt/csw/include -L. conftest.c > -lmysqlclient -L/opt/csw/lib/mysql -lz >&5 > ld: fatal: library -lmysqlclient: not found > ld: fatal: File processing errors. No output written to conftest This looks like thy mysqlclient library is not found, so either it is not installed, it is installed in a non-standard location, or your LD path isn't complete. In other words, make sure that ld searches for the library in the correct locations, i.e. the directories in the LD_OPTIONS or the standard system library paths. Might also be that you don't have the necssary include files, in that case make sure you have installed the mysql _development_ files, but the message seems to indicate that the includes were found. Arno > Thanks in Advance, > Scott Lundgren > ITS - Web Services > UNC at Charlotte > http://www.uncc.edu > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkoponick at redhawk.info Mon Mar 20 20:30:01 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Mon, 20 Mar 2006 11:30:01 -0800 Subject: performance data reporting Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109D0C@raptor.redhawk.info> Florian, I understand that perfparse stores it in a database, but I really don't want to maintain two databases, and/or yet another set of tables. It seems to me that you should be able to get performance data into the NDO tables and calculate from there. Mike -----Original Message----- From: Florian Gleixner [mailto:flo at bier.homeip.net] Sent: Monday, March 20, 2006 7:51 AM To: Mike Koponick Cc: Nagios Users Mailing List Subject: Re: [Nagios-users] performance data reporting Mike Koponick wrote: > Terry, > > I know for me, I would like to see something like an output of MRTG. I > know I can integrate MRTG in some forms, but I would like to pull > directly from the MySQL tables/columns, rather than using something like > RRDTool, as I can get a better (longer) history using the MySQL > database. This would make the distributed model work very well. > This is exactly the reason why perfparse stores data in a database. > If I look at the NDO tables, I see that there is a table called, > NDO_SERVICECHECKS. It has few columns that I am using already, but I > would like to have data in the "Perfdata" column. It could be that I am > missing something here (It's not the first time ;-)) but I would think > something like Perfparse would store data in this area, unless Nagios > already has something that will put performance data in that area. > Perfparse is designed modular so it could write data there. But i think the parsing part of perfparse could die if nagios can write the performance data to NDO itself. > PHP could generate graphs fairly easy, although I have not done much > work like this myself; sample code is available in many places. > In this case C is faster due to the huge amount of data. Flo ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SELundgr at email.uncc.edu Mon Mar 20 21:11:08 2006 From: SELundgr at email.uncc.edu (Lundgren, Scott) Date: Mon, 20 Mar 2006 15:11:08 -0500 Subject: check_mysql plugin will not compile Message-ID: >> Errors I have in config.log: >> >> configure:9365: checking for mysql_init in -lmysqlclient >> configure:9395: cc -o conftest -g -I/opt/csw/include -L. conftest.c >> -lmysqlclient -L/opt/csw/lib/mysql -lz >&5 >> ld: fatal: library -lmysqlclient: not found >> ld: fatal: File processing errors. No output written to conftest > >This looks like thy mysqlclient library is not found, so either it is not installed, it is installed in a non-standard location, or your LD path isn't >complete. > >In other words, make sure that ld searches for the library in the correct locations, i.e. the directories in the LD_OPTIONS or the standard system library paths. I'm compiling on Solaris 9, using the MySQL packages from the blastwave project (http://www.blastwave.org) so MySQL has been relocated. My LD_OPTIONS path is what I had to set to get the Pure-FTP ftp daemon to compile w/ MySQL support but if you think LD_OPTIONS needs to be set differently for this case let me know. Again ld options is set to: LD_OPTIONS=-R/opt/csw/lib -R/opt/csw/mysql4/lib/mysql -L/opt/csw/lib The one odd thing is I don't have a libmysqlclient file that the config.log references. I have shared objects but not just a plain "libmysqlclient" file. Here is the file listing. What do you suggest next ? selundgr at its20 $ ls -l /opt/csw/lib/mysql/ lrwxrwxrwx 1 root other 19 Mar 1 15:20 /opt/csw/lib/mysql/ -> ../mysql4/lib/mysql selundgr at its20 # ls -l /opt/csw/mysql4/lib/mysql/ total 15460 -rw-r--r-- 1 root bin 19568 Nov 13 10:21 libdbug.a -rw-r--r-- 1 root bin 129060 Nov 13 10:21 libheap.a -rw-r--r-- 1 root bin 548152 Nov 13 10:21 libmyisam.a -rw-r--r-- 1 root bin 99588 Nov 13 10:21 libmyisammrg.a -rw-r--r-- 1 root bin 1756184 Nov 13 10:22 libmysqlclient.a -rwxr-xr-x 1 root bin 926 Nov 13 10:22 libmysqlclient.la lrwxrwxrwx 1 root other 24 Mar 1 15:20 libmysqlclient.so -> libmysqlclient.so.14.0.0 lrwxrwxrwx 1 root other 24 Mar 1 15:20 libmysqlclient.so.12 -> libmysqlclient.so.12.0.0 lrwxrwxrwx 1 root other 24 Mar 1 15:20 libmysqlclient.so.12.0 -> libmysqlclient.so.12.0.0 -rwxr-xr-x 1 root bin 294900 Nov 13 11:07 libmysqlclient.so.12.0.0 lrwxrwxrwx 1 root other 24 Mar 1 15:20 libmysqlclient.so.14 -> libmysqlclient.so.14.0.0 lrwxrwxrwx 1 root other 24 Mar 1 15:20 libmysqlclient.so.14.0 -> libmysqlclient.so.14.0.0 -rwxr-xr-x 1 root bin 1199836 Nov 13 11:07 libmysqlclient.so.14.0.0 -rw-r--r-- 1 root bin 1781036 Nov 13 10:22 libmysqlclient_r.a -rwxr-xr-x 1 root bin 978 Nov 13 10:22 libmysqlclient_r.la lrwxrwxrwx 1 root other 26 Mar 1 15:20 libmysqlclient_r.so -> libmysqlclient_r.so.14.0.0 lrwxrwxrwx 1 root other 26 Mar 1 15:20 libmysqlclient_r.so.12 -> libmysqlclient_r.so.12.0.0 lrwxrwxrwx 1 root other 26 Mar 1 15:20 libmysqlclient_r.so.12.0 -> libmysqlclient_r.so.12.0.0 -rwxr-xr-x 1 root bin 0 Mar 20 12:09 libmysqlclient_r.so.12.0.0 lrwxrwxrwx 1 root other 26 Mar 1 15:20 libmysqlclient_r.so.14 -> libmysqlclient_r.so.14.0.0 lrwxrwxrwx 1 root other 26 Mar 1 15:20 libmysqlclient_r.so.14.0 -> libmysqlclient_r.so.14.0.0 -rwxr-xr-x 1 root bin 0 Mar 20 12:09 libmysqlclient_r.so.14.0.0 -rw-r--r-- 1 root bin 1255372 Nov 13 10:21 libmystrings.a -rw-r--r-- 1 root bin 676392 Nov 13 10:21 libmysys.a -rw-r--r-- 1 root bin 31104 Nov 13 10:21 libvio.a lrwxrwxrwx 1 root other 1 Mar 1 15:20 sparcv8 -> . drwxr-xr-x 2 root bin 512 Mar 1 15:20 sparcv8plus+vis drwxr-xr-x 2 root bin 512 Mar 1 15:20 sparcv9 Scott Lundgren ITS - Web Services UNC at Charlotte http://www.uncc.edu ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Mon Mar 20 21:28:27 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Mon, 20 Mar 2006 21:28:27 +0100 Subject: check_mysql plugin will not compile In-Reply-To: References: Message-ID: <441F106B.3010101@its-lehmann.de> Hello, On 3/20/2006 9:11 PM, Lundgren, Scott wrote: >>>Errors I have in config.log: >>> >>>configure:9365: checking for mysql_init in -lmysqlclient >>>configure:9395: cc -o conftest -g -I/opt/csw/include -L. conftest.c >>>-lmysqlclient -L/opt/csw/lib/mysql -lz >&5 >>>ld: fatal: library -lmysqlclient: not found >>>ld: fatal: File processing errors. No output written to conftest >> >>This looks like thy mysqlclient library is not found, so either it is > > not installed, it is installed in a non-standard location, or your LD > path isn't >complete. From the info you give below I guess it's safe to assume the stuff is in fact available. >>In other words, make sure that ld searches for the library in the > > correct locations, i.e. the directories in the LD_OPTIONS or the > standard system library paths. > > I'm compiling on Solaris 9, using the MySQL packages from the blastwave > project (http://www.blastwave.org) so MySQL has been relocated. My > LD_OPTIONS path is what I had to set to get the Pure-FTP ftp daemon to > compile w/ MySQL support but if you think LD_OPTIONS needs to be set > differently for this case let me know. Again ld options is set to: > > LD_OPTIONS=-R/opt/csw/lib -R/opt/csw/mysql4/lib/mysql -L/opt/csw/lib Well, from the LP_OPTIONS line I guessed you're running Solaris, but hat's about as far as my knowledge of that system goes :-( > The one odd thing is I don't have a libmysqlclient file that the > config.log references. I have shared objects but not just a plain > "libmysqlclient" file. Here is the file listing. What do you suggest > next ? Usually, you should see a reference to a mysqlclient or mysqlclient_r file, or at least the linker should be informed of the need for such a file. If you need the .a (library for static linking) or .so (dynamically shared object) variety is beyond my knowledge, but all four variants are available in your setup. I'd suggest to analyze the informative output about the linker and dynamic linker solaris can produce to make sure the paths you give are actually used. I notice that you have /opt/csw/lib/mysql and /opt/csw/mysql4/lib/mysql and ./configure searches in the first variant. Try the actual path, perhaps that works. Arno > selundgr at its20 $ ls -l /opt/csw/lib/mysql/ > lrwxrwxrwx 1 root other 19 Mar 1 15:20 > /opt/csw/lib/mysql/ -> ../mysql4/lib/mysql > selundgr at its20 # ls -l /opt/csw/mysql4/lib/mysql/ > total 15460 > -rw-r--r-- 1 root bin 19568 Nov 13 10:21 libdbug.a > -rw-r--r-- 1 root bin 129060 Nov 13 10:21 libheap.a > -rw-r--r-- 1 root bin 548152 Nov 13 10:21 libmyisam.a > -rw-r--r-- 1 root bin 99588 Nov 13 10:21 libmyisammrg.a > -rw-r--r-- 1 root bin 1756184 Nov 13 10:22 libmysqlclient.a > -rwxr-xr-x 1 root bin 926 Nov 13 10:22 libmysqlclient.la > lrwxrwxrwx 1 root other 24 Mar 1 15:20 libmysqlclient.so > -> libmysqlclient.so.14.0.0 > lrwxrwxrwx 1 root other 24 Mar 1 15:20 > libmysqlclient.so.12 -> libmysqlclient.so.12.0.0 > lrwxrwxrwx 1 root other 24 Mar 1 15:20 > libmysqlclient.so.12.0 -> libmysqlclient.so.12.0.0 > -rwxr-xr-x 1 root bin 294900 Nov 13 11:07 > libmysqlclient.so.12.0.0 > lrwxrwxrwx 1 root other 24 Mar 1 15:20 > libmysqlclient.so.14 -> libmysqlclient.so.14.0.0 > lrwxrwxrwx 1 root other 24 Mar 1 15:20 > libmysqlclient.so.14.0 -> libmysqlclient.so.14.0.0 > -rwxr-xr-x 1 root bin 1199836 Nov 13 11:07 > libmysqlclient.so.14.0.0 > -rw-r--r-- 1 root bin 1781036 Nov 13 10:22 libmysqlclient_r.a > -rwxr-xr-x 1 root bin 978 Nov 13 10:22 > libmysqlclient_r.la > lrwxrwxrwx 1 root other 26 Mar 1 15:20 > libmysqlclient_r.so -> libmysqlclient_r.so.14.0.0 > lrwxrwxrwx 1 root other 26 Mar 1 15:20 > libmysqlclient_r.so.12 -> libmysqlclient_r.so.12.0.0 > lrwxrwxrwx 1 root other 26 Mar 1 15:20 > libmysqlclient_r.so.12.0 -> libmysqlclient_r.so.12.0.0 > -rwxr-xr-x 1 root bin 0 Mar 20 12:09 > libmysqlclient_r.so.12.0.0 > lrwxrwxrwx 1 root other 26 Mar 1 15:20 > libmysqlclient_r.so.14 -> libmysqlclient_r.so.14.0.0 > lrwxrwxrwx 1 root other 26 Mar 1 15:20 > libmysqlclient_r.so.14.0 -> libmysqlclient_r.so.14.0.0 > -rwxr-xr-x 1 root bin 0 Mar 20 12:09 > libmysqlclient_r.so.14.0.0 > -rw-r--r-- 1 root bin 1255372 Nov 13 10:21 libmystrings.a > -rw-r--r-- 1 root bin 676392 Nov 13 10:21 libmysys.a > -rw-r--r-- 1 root bin 31104 Nov 13 10:21 libvio.a > lrwxrwxrwx 1 root other 1 Mar 1 15:20 sparcv8 -> . > drwxr-xr-x 2 root bin 512 Mar 1 15:20 sparcv8plus+vis > drwxr-xr-x 2 root bin 512 Mar 1 15:20 sparcv9 > > Scott Lundgren > ITS - Web Services > UNC at Charlotte > http://www.uncc.edu > > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bmccann at andmore.com Mon Mar 20 21:47:50 2006 From: bmccann at andmore.com (McCann, Brian) Date: Mon, 20 Mar 2006 15:47:50 -0500 Subject: FreeBSD bug resolved? Message-ID: Question for anyone who knows the answer...I've been watching the changelog on the website for some time now, waiting for the FreeBSD bug to get resolved. I remember an older comment saying that 2.0 stable would not be released until it was fixed, but I don't see the fix anywhere in the changelog. Can someone confirm or deny if the bug still exists or not? Thanks, --Brian ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kylet at panix.com Mon Mar 20 21:55:12 2006 From: kylet at panix.com (Kyle Tucker) Date: Mon, 20 Mar 2006 15:55:12 -0500 (EST) Subject: OCSP timeout for send_nsca Message-ID: <200603202055.k2KKtCV22705@panix3.panix.com> Hi, I am getting a lot of these errors on my distributed server. Warning: OCSP command '/usr/local/nagios/libexec/eventhandlers/submit_check_result olclient1 'check-sendmail' OK 'SNMP OK - 0 exitstatus - 1 processes - sendmail -'' for service 'check-sendmail' on host 'olclient1' timed out after 5 seconds My send_nsca -to arg is set to 10 seconds and the setting seems to be 15 and I don't see where this is overridden in any cfg file. include/nagios.h.in:#define DEFAULT_OCSP_TIMEOUT 15 So where's the 5 seconds coming in? Why isn't it following the the header file setting? I don't see this configurable elsewhere. Thanks. -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kylet at panix.com Mon Mar 20 21:57:51 2006 From: kylet at panix.com (Kyle Tucker) Date: Mon, 20 Mar 2006 15:57:51 -0500 (EST) Subject: OCSP timeout for send_nsca In-Reply-To: <200603202055.k2KKtCV22705@panix3.panix.com> References: <200603202055.k2KKtCV22705@panix3.panix.com> Message-ID: <200603202057.k2KKvpd06853@panix3.panix.com> Darn - never mind - I found the setting. Sorry for the wasted bandwidth. :( -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 21 01:36:55 2006 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Tue, 21 Mar 2006 11:36:55 +1100 Subject: SNMP WARNING Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6ABE6F80@mail01.ccia.local> Hi all, This is driving me nuts, I really needs some help. I'm trying to monitor some hardware statuses via SNMP. As a reference I'm using this FAQ entry http://www.nagios.org/faqs/viewfaq.php?faq_id=208 And this WIKI entry http://www.nagiosexchange.org/Wiki_Home.wiki.0.html?&tx_drwiki_pi1[keywo rd]=Dell%20OpenManage%20status%20OIDs I can query the server in a number of ways... command : ./check_snmp -H server -C foo -o .1.3.6.1.4.1.674.10892.1.200.10.1.9.1 -r '(3)' Result : SNMP WARNING - ok(3) command : ./check_snmp -H server -C foo -o .1.3.6.1.4.1.674.10892.1.200.10.1.9.1 -s 'ok(3)' Result : SNMP WARNING - ok(3) command : ./check_snmp -H server -C foo -o .1.3.6.1.4.1.674.10892.1.200.10.1.9.1 -w 4:4 -c 5:6 Result : SNMP WARNING - ok(3) How do I get this command to work, it really very fraustrating ? Am I missing something fundamental about this command ? Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stanley.Hopcroft at Dest.gov.au Tue Mar 21 06:06:06 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Tue, 21 Mar 2006 16:06:06 +1100 Subject: Nagios::Report (end of dev cycle). Message-ID: Dear Sir, I am writing to thank you for your letter and say, >-----Original Message----- >Content-Disposition: inline > >Hmm, > >it would be a pitty not to develop this thing further. Like >you say it provides the kind of reports management likes and >up until now it is the only way I have found to create biased >reporting. > >What do I mean ? I mean I don't care about how many hours >application or server xyz was down during the weekend. Those >hours are of no importance to me in terms of management >reports. The information and especially metrics outside of >these hours need to be taken for administration purposes of >course. But the weekend is used here for maintenance as is the >case in many places. For my SLA's these hours should not be >counted. Up until now your tool is the only tool I have found >that can ignore data based on time-table= s in its reports. > >So as far as I am concerned please keep up the good work. > The reason for saying that devel has prob ceased is that I have run out of ideas for it and think it may have reached the limits imposed by some of the implementation choices. OTOH, if there are things that need fixing or facilities I think can be added, please let me know. The other thing is that the modules reason for existence is to provide an API for the only current source of availability data, namely avail.cgi. avail.cgi is complicated and may not be maintained as responsively as people may wish - I can't imagine submitting patches for it without a great deal of hard labour. If on the other hand, somehow (as you say with the NEBs) outage details can be stuffed by the core into an RDBMS, then people can use all sorts of wonderful software from the DB/report world to generate very sophisticated reports. In fact, when I heard about DBD::AnyData I thought this would blow the original API (of Nagios::Report) away because people would SELECT to their hearts content. As it turned out, the SQL implemented by the AnyData module is not as powerful as one would like and in fact is good for only basic filtering. So my feeling is that Nagios::Report is a stop gap for me until something better comes along. Another technique that I find useful is to have a Nag event handler insert outage details into a table. This in principal allows one to combine outages with (manual updates) with causes and commentary. >Question though .. DB NEB modules ? > Thanks for your encouraging words. >Cheers, >Hans Yours sincerely. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnoyes-nagios at retrogeeks.com Tue Mar 21 08:14:35 2006 From: jnoyes-nagios at retrogeeks.com (James Noyes) Date: Tue, 21 Mar 2006 00:14:35 -0700 Subject: SNMP WARNING In-Reply-To: <2A67EA781EC7F949A2AB0A0D07A86C6ABE6F80@mail01.ccia.local> References: <2A67EA781EC7F949A2AB0A0D07A86C6ABE6F80@mail01.ccia.local> Message-ID: <20060321001435.00004bdb@geek> On Tue, 21 Mar 2006 11:36:55 +1100, "Matthew Joyce" wrote: > Hi all, > > This is driving me nuts, I really needs some help. > I'm trying to monitor some hardware statuses via SNMP. > Ok, I use SNMP to query about 95% of the "things" I monitor under Nagios. It works like a champ, and is one of the best ways to monitor things, IMHO. > As a reference I'm using this FAQ entry > http://www.nagios.org/faqs/viewfaq.php?faq_id=208 Ok. Have you actually DONE what this FAQ suggests? It says: "check_snmp returns a WARNING if the local net-snmp or ucd-snmp installation has MIB files with incorrect syntax." "Solutions: 1. Prevent check_snmp from loading the MIBs (default behaviour) by using numeric oids AND using the "-m :" option" Yet, none of your examples show you using "-m :" as an option. Have you tried actually adding "-m :" as an option like the FAQ says to do to see if the WARNING goes away, or if you get any different results? Show us. and "2. run the snmpget command on the command line, check which MIB files is the problem, and correct it" Here again, I don't see anywhere that you've actually tried to just directly run snmpget like the FAQ suggests, you're just running different variations of check_snmp. Show us what snmpget says. If you're going to read an FAQ, try actually using the information it presents. Now, if you've actually TRIED solutions 1 and 2, and neither has solved the problem (it's not clear that you have tried them, let alone that they haven't succeeded), there's a couple of other possibilities. > And this WIKI entry > http://www.nagiosexchange.org/Wiki_Home.wiki.0.html?&tx_drwiki_pi1[keywo > rd]=Dell%20OpenManage%20status%20OIDs > > I can query the server in a number of ways... > > command : ./check_snmp -H server -C foo -o > .1.3.6.1.4.1.674.10892.1.200.10.1.9.1 -w 4:4 -c 5:6 > Result : SNMP WARNING - ok(3) > From this, it looks like you're trying to treat return values of 0-3 as "ok", 4 as "warning" and 5-6 as critical. Pay close attention to the output of "./check_snmp --help", especially this part: -w, --warning=INTEGER_RANGE(s) Range(s) which will not result in a WARNING status -c, --critical=INTEGER_RANGE(s) Range(s) which will not result in a CRITICAL status The "not" in these instructions is very important. With the above parameters, a 3 would fall outside both the Warning and Critical ranges, so you won't get an OK. You should, however, be getting a CRITICAL, since a CRITICAL overrides a WARNING. The fact that you're getting WARNING, suggests that you really DO have the problem mentioned in the FAQ and that you haven't actually corrected it through one of the two provided solutions. Anyway, the CORRECT syntax to accomplish what you want to accomplish is: ./check_snmp -H server -C foo -o .1.3.6.1.4.1.674.10892.1.200.10.1.9.1 -w 0:3 -c 0:4 Or, you could do it as: ./check_snmp -H server -C foo -o .1.3.6.1.4.1.674.10892.1.200.10.1.9.1 -w 6:4 -c 6:5 The second version will work because of how ranges work. Also from ./check_snmp --help: - Ranges are inclusive and are indicated with colons. When specified as 'min:max' a STATE_OK will be returned if the result is within the indicated range or is equal to the upper or lower bound. A non-OK state will be returned if the result is outside the specified range. - If specified in the order 'max:min' a non-OK state will be returned if the result is within the (inclusive) range. > How do I get this command to work, it really very fraustrating ? FIRST and FOREMOST, make sure your snmpget isn't throwing a MIB error. Actually DO what the FAQ says, SHOW that you've done it, and SHOW what the results were. > Am I missing something fundamental about this command ? > It appears that you missed the 'min:max' vs. 'max:min' thing on the ranges, but 1) that's a common oversight, and 2) it doesn't appear to be the real reason you're getting nothing but warnings. Hopefully that helps get you on the right track. -- James Noyes (jnoyes42 at retrogeeks.com) ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agalue at sync.com.ve Tue Mar 21 16:47:52 2006 From: agalue at sync.com.ve (Alejandro Galue) Date: Tue, 21 Mar 2006 11:47:52 -0400 Subject: About Event Broker and Nagios Administration Message-ID: <44202028.8000508@sync.com.ve> Hello, I was reading about Nagios Event Broker (NEB), and there seems to be modules like ndoutils or nagios-db that update a MySQL database with Nagios configuration and event logs data. If I understand this correctly, this means that the NEB module can send data from Nagios to other Applications (a Data Base in this case). Am I right ? I have another question: Is it possible for other Applications to send data to Nagios using Event Broker ? for example, Will it be possible to configure Nagios using MySQL Tables and then inform to NEB module to apply changes on nagios configuration ? or to change the state of a service ? Thanks in Advance, Alejandro. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From me at renux.de Tue Mar 21 17:26:56 2006 From: me at renux.de (Rene Fertig) Date: Tue, 21 Mar 2006 17:26:56 +0100 Subject: Problems with HTTP-Authorization/Authentication Message-ID: <200603211726.56734.me@renux.de> Hello. I have set up a new server with Nagios 2.0 and Apache 2. Both are running, CGI and authorization are set up. When I access the web-interface I have been asked for authentication. I can enter user and password and get access, but nagios tells me always "Logged in as ?". So I cannot see anything. In the apache-log-files I can see, that I logged in successfully, but it seems, that nagios didn't get these information. Of cause, in cgi.cfg "use_authentication=1" is set, I have put a .htaccess file into /usr/local/nagios/share with the following content: AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user The file /usr/local/nagios/etc/htpasswd.users has been created with htpasswd2 and the users are in contacts.cfg If I enter a wrong user and/or password at the login I get an error message and if I cancel the login I get "Authentication required!" So far everything works as expected, except the nagios didn't recognize me :-( I've set up nagios (1.x) more than once, so I think I can handle that... BTW: the server runs SuSE Linux 10.0 with an apache2 from the distribution, nagios is compiled by myself from the tarball. Please, can someone help me to find the problem? Bye, Rene ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flo at bier.homeip.net Tue Mar 21 16:41:37 2006 From: flo at bier.homeip.net (Florian Gleixner) Date: Tue, 21 Mar 2006 16:41:37 +0100 Subject: performance data reporting In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD4109D16@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD4109D16@raptor.redhawk.info> Message-ID: <44201EB1.1030009@bier.homeip.net> Eh! Just figured out that there is a package in sourceforge's files section. Did search at nagios.org (development section and documentation), in the nagios-cvs tar archive and in CVS. Perhaps Ethan Galstad should put a link to the file on nagios.org? Flo Mike Koponick wrote: > Florian, > > I have this working in my environment. > > I followed the instructions that came with NDO, and it was pretty > straight forward. I had it up and running within a few minutes. > > Mike > > -----Original Message----- > From: Florian Gleixner [mailto:flo at bier.homeip.net] > Sent: Tuesday, March 21, 2006 7:13 AM > To: Mike Koponick > Cc: Nagios Users Mailing List > Subject: Re: [Nagios-users] performance data reporting > > Mike Koponick wrote: > >>Florian, >> >>I understand that perfparse stores it in a database, but I really > > don't > >>want to maintain two databases, and/or yet another set of tables. It >>seems to me that you should be able to get performance data into the > > NDO > >>tables and calculate from there. >> >>Mike > > > While trying to find out something more about NDO i found that this is a > very good hidden feature. In fact i'm still unsure what i have to do to > get NDO working - what nagios version, what configure option,what > configuration settings, what mysql database? > > Flo ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From juanlmera at gmail.com Tue Mar 21 16:29:12 2006 From: juanlmera at gmail.com (Juan Mera) Date: Tue, 21 Mar 2006 10:29:12 -0500 Subject: My first nagios project Message-ID: <1142954953.22574.1.camel@s1.grupomera.net> Good day, Please be patieint with me, this it's my first nagios project. I do example minimal configuration and all it? working fine. So i need understand some services, and parameters to check. i probe check_local_disk and it's OK, so how to check non local disk? Are there any nagios services list, parameters and docs? ---------- Gracias por su ayuda, Saludos Juan L. Mera Investigacion y Desarrollo Quito-Ecuador -------------- next part -------------- An HTML attachment was scrubbed... URL: From mkoponick at redhawk.info Tue Mar 21 16:17:42 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Tue, 21 Mar 2006 07:17:42 -0800 Subject: performance data reporting Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109D16@raptor.redhawk.info> Florian, I have this working in my environment. I followed the instructions that came with NDO, and it was pretty straight forward. I had it up and running within a few minutes. Mike -----Original Message----- From: Florian Gleixner [mailto:flo at bier.homeip.net] Sent: Tuesday, March 21, 2006 7:13 AM To: Mike Koponick Cc: Nagios Users Mailing List Subject: Re: [Nagios-users] performance data reporting Mike Koponick wrote: > Florian, > > I understand that perfparse stores it in a database, but I really don't > want to maintain two databases, and/or yet another set of tables. It > seems to me that you should be able to get performance data into the NDO > tables and calculate from there. > > Mike While trying to find out something more about NDO i found that this is a very good hidden feature. In fact i'm still unsure what i have to do to get NDO working - what nagios version, what configure option,what configuration settings, what mysql database? Flo ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flo at bier.homeip.net Tue Mar 21 16:12:44 2006 From: flo at bier.homeip.net (Florian Gleixner) Date: Tue, 21 Mar 2006 16:12:44 +0100 Subject: performance data reporting In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD4109D0C@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD4109D0C@raptor.redhawk.info> Message-ID: <442017EC.1030803@bier.homeip.net> Mike Koponick wrote: > Florian, > > I understand that perfparse stores it in a database, but I really don't > want to maintain two databases, and/or yet another set of tables. It > seems to me that you should be able to get performance data into the NDO > tables and calculate from there. > > Mike While trying to find out something more about NDO i found that this is a very good hidden feature. In fact i'm still unsure what i have to do to get NDO working - what nagios version, what configure option,what configuration settings, what mysql database? Flo ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cbrbike at gmail.com Tue Mar 21 18:19:46 2006 From: cbrbike at gmail.com (Travis) Date: Tue, 21 Mar 2006 12:19:46 -0500 Subject: False Alarms in Nagios Message-ID: <889347450603210919t3739d6a7g591fc83d182f9b36@mail.gmail.com> I have been getting some false alarms (pages) between 4am and 4:30am for certain hosts and services on my network. We are running cron jobs around this time for backups and a few other things which are causing these checks to fail during this time. This doesn't happen all the time but on occassion. Anyway, what is the best way to avoid these false alarms during this time frame but still keep those checks active? Thanks in advance. : ) -------------- next part -------------- An HTML attachment was scrubbed... URL: From peder at ipnett.no Tue Mar 21 10:58:38 2006 From: peder at ipnett.no (Peder Christian Bach) Date: Tue, 21 Mar 2006 10:58:38 +0100 Subject: Differnt users Message-ID: <65582C6D4E704640B5E76948D06C27B93AC608@pompel.ipnett.com> Hi.. Is there any possibility to have different users on Nagios ? User x has access to see everything in web. User z has access only to do reporting in web. Also is there any chance to give access to some users to only see there own hostgroup ? Pe -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmourati at cm.math.uiuc.edu Tue Mar 21 19:08:41 2006 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Tue, 21 Mar 2006 12:08:41 -0600 (CST) Subject: False Alarms in Nagios In-Reply-To: <889347450603210919t3739d6a7g591fc83d182f9b36@mail.gmail.com> References: <889347450603210919t3739d6a7g591fc83d182f9b36@mail.gmail.com> Message-ID: On Tue, 21 Mar 2006, Travis wrote: > I have been getting some false alarms (pages) between 4am and 4:30am for > certain hosts and services on my network. We are running cron jobs around > this time for backups and a few other things which are causing these checks > to fail during this time. This doesn't happen all the time but on occassion. > Anyway, what is the best way to avoid these false alarms during this time > frame but still keep those checks active? Thanks in advance. : ) > 1. Renice your cronjobs ;-0 2. Set your time periods http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#timeperiod 3. Set your service check timeout http://nagios.sourceforge.net/docs/2_0/configmain.html#service_check_timeout 4. Set your individual plugin timeouts 5. Increase your max check attempts http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service Hope that helps. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrmontg at gmail.com Tue Mar 21 19:42:08 2006 From: jrmontg at gmail.com (Jeffrey Montgomery) Date: Tue, 21 Mar 2006 12:42:08 -0600 Subject: Problem with check_ping Message-ID: Under my define service I have this check_command check_ping!300.0,30%!500.00,50% However I am recieving a critial warning at just 106.52ms PING CRITICAL - Packet loss = 0%, RTA = 106.52 ms Why is this happening? -- Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmourati at cm.math.uiuc.edu Tue Mar 21 19:52:08 2006 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Tue, 21 Mar 2006 12:52:08 -0600 (CST) Subject: Problem with check_ping In-Reply-To: References: Message-ID: On Tue, 21 Mar 2006, Jeffrey Montgomery wrote: > Under my define service I have this > > check_command check_ping!300.0,30%!500.00,50% > > However I am recieving a critial warning at just 106.52ms > > PING CRITICAL - Packet loss = 0%, RTA = 106.52 ms > > Why is this happening? Let's see the command definition. Mine looks like this: # check_ping command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } Also, if you've changed those params, make sure to restart nagios. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Tue Mar 21 19:54:40 2006 From: b00mer at gmx.net (Hendrik Baecker) Date: Tue, 21 Mar 2006 19:54:40 +0100 Subject: Problems with HTTP-Authorization/Authentication In-Reply-To: <200603211726.56734.me@renux.de> References: <200603211726.56734.me@renux.de> Message-ID: <44204BF0.5090808@gmx.net> Hi Rene, do you have a .htaccess file in your cgi directory? (f.e. /usr/local/nagios/sbin/) Rene Fertig schrieb: >Hello. > >I have set up a new server with Nagios 2.0 and Apache 2. Both are running, CGI >and authorization are set up. When I access the web-interface I have been >asked for authentication. I can enter user and password and get access, but >nagios tells me always "Logged in as ?". So I cannot see anything. >In the apache-log-files I can see, that I logged in successfully, but it >seems, that nagios didn't get these information. > >Of cause, in cgi.cfg "use_authentication=1" is set, I have put a .htaccess >file into /usr/local/nagios/share with the following content: > >AuthName "Nagios Access" >AuthType Basic >AuthUserFile /usr/local/nagios/etc/htpasswd.users >require valid-user > >The file /usr/local/nagios/etc/htpasswd.users has been created with htpasswd2 >and the users are in contacts.cfg > >If I enter a wrong user and/or password at the login I get an error message >and if I cancel the login I get "Authentication required!" So far everything >works as expected, except the nagios didn't recognize me :-( > >I've set up nagios (1.x) more than once, so I think I can handle that... > >BTW: the server runs SuSE Linux 10.0 with an apache2 from the distribution, >nagios is compiled by myself from the tarball. > >Please, can someone help me to find the problem? > >Bye, Rene > > > >------------------------------------------------------- >This SF.Net email is sponsored by xPML, a groundbreaking scripting language >that extends applications into web and mobile media. Attend the live webcast >and join the prime developer group breaking into this new coding territory! >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Mar 21 19:55:13 2006 From: marc at ena.com (Marc Powell) Date: Tue, 21 Mar 2006 12:55:13 -0600 Subject: Differnt users Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Peder Christian Bach > Sent: Tuesday, March 21, 2006 3:59 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Differnt users > > Hi.. > > Is there any possibility to have different users on Nagios ? > > User x has access to see everything in web. > > User z has access only to do reporting in web. This level of granularity is not possible. If a user can see a host or service, they can perform all administrative functions related to that host or service. > Also is there any chance to give access to some users to only see there > own hostgroup ? Yes, that's standard behavior with Authentication enabled. Users are only allowed to see hosts and services for which they are authorized contacts. http://nagios.sourceforge.net/docs/2_0/cgiauth.html -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Mar 21 19:57:15 2006 From: marc at ena.com (Marc Powell) Date: Tue, 21 Mar 2006 12:57:15 -0600 Subject: Problem with check_ping Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jeffrey Montgomery > Sent: Tuesday, March 21, 2006 12:42 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problem with check_ping > > Under my define service I have this > > check_command check_ping!300.0,30%!500.00,50% > > However I am recieving a critial warning at just 106.52ms > > PING CRITICAL - Packet loss = 0%, RTA = 106.52 ms > > Why is this happening? Does your check_ping command definition actually make use of the $ARG1$ and $ARG2$ macros and in the correct place (i.e -w $ARG1$ -c $ARG2$)? -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robban at netnerdz.se Tue Mar 21 20:02:18 2006 From: robban at netnerdz.se (robban at netnerdz.se) Date: Tue, 21 Mar 2006 20:02:18 +0100 Subject: check_procs - exclude processes Message-ID: <20060321200218.duhnnh4tqss0s0o8@webmail.netnerdz.se> Hello all! Is it posible to exclude processes in the check_procs? I want to monitor all my linux nodes for: check_procs -w 7 -c 15 --metric=CPU check_procs -w 5000 -c 10000 --metric=VSZ But I want to exlude some processes (httpd and mysql). The reason for this setup is I want to create a baseline monitor to checks all linux hosts after suspicious processes. On the hostgroup db and web i uses diffrent checks to see if mysql/apache is behaving good. Is it posible or should I use another plugin (which in that case?) //Robban ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gpadilla at cbct.com Tue Mar 21 20:13:31 2006 From: gpadilla at cbct.com (Guillermo Padilla) Date: Tue, 21 Mar 2006 14:13:31 -0500 Subject: mysql plugin ? Message-ID: <097D3590441CB345A836C4B3F7F813DC873DDC@mailsrv.cbct.com> I need to monitor the amount of free space in the mysql database, is there a plugin out there that can do this? I've looked into check_mysql and I don't think that's the plugin I need. Any suggestions? Thx G -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jay.Brunker at twc.state.tx.us Tue Mar 21 20:20:06 2006 From: Jay.Brunker at twc.state.tx.us (Brunker, Jay) Date: Tue, 21 Mar 2006 13:20:06 -0600 Subject: Host Uptime Message-ID: <11741698C5E1574E9E0357305D55B47402274D@exchg101p.actdc101p.rtdcx101p.twc.state.tx.us> Okidoki. So, I created a simple command using 'check_host_alive', and the check is showing me the host is up/alive. So far so good. I'm using a test server. I rebooted the test server, but Nagios told me that the server was up during the whole reboot process. I never received a change in status that the server was down during the reboot. Pun intended ... what's up with that ? Why didn't Nagios tell me that the host was down ? Thanks, Jay. Jay Brunker Unix Systems Administrator Texas Workforce Commission 101 E. 15th St. 512-475-2625 Desk Phone 512-849-4985 Pager -------------- next part -------------- An HTML attachment was scrubbed... URL: From td3201 at gmail.com Wed Mar 22 06:16:34 2006 From: td3201 at gmail.com (Terry) Date: Tue, 21 Mar 2006 23:16:34 -0600 Subject: Host Uptime In-Reply-To: <11741698C5E1574E9E0357305D55B47402274D@exchg101p.actdc101p.rtdcx101p.twc.state.tx.us> References: <11741698C5E1574E9E0357305D55B47402274D@exchg101p.actdc101p.rtdcx101p.twc.state.tx.us> Message-ID: <4420DDB2.3080408@gmail.com> Could have gone down and back up in between checks. What's the check interval? Brunker, Jay wrote: > > Okidoki. > So, I created a simple command using 'check_host_alive', and the check > is showing > me the host is up/alive. So far so good. I'm using a test server. I > rebooted the test > server, but Nagios told me that the server was up during the whole > reboot process. > I never received a change in status that the server was down during > the reboot. > > Pun intended ... what's up with that ? > > Why didn't Nagios tell me that the host was down ? > > > Thanks, > > > Jay. > > Jay Brunker > Unix Systems Administrator > Texas Workforce Commission > 101 E. 15th St. > 512-475-2625 Desk Phone > 512-849-4985 Pager > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hvdkooij at vanderkooij.org Wed Mar 22 07:21:30 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 22 Mar 2006 07:21:30 +0100 (CET) Subject: Host Uptime In-Reply-To: <11741698C5E1574E9E0357305D55B47402274D@exchg101p.actdc101p.rtdcx101p.twc.state.tx.us> References: <11741698C5E1574E9E0357305D55B47402274D@exchg101p.actdc101p.rtdcx101p.twc.state.tx.us> Message-ID: On Tue, 21 Mar 2006, Brunker, Jay wrote: > So, I created a simple command using 'check_host_alive', and the check is > showing > me the host is up/alive. So far so good. I'm using a test server. I rebooted > the test > server, but Nagios told me that the server was up during the whole reboot > process. > I never received a change in status that the server was down during the > reboot. > > Pun intended ... what's up with that ? > > Why didn't Nagios tell me that the host was down ? Try the FAQ about hosts without services: http://www.nagios.org/faqs/viewfaq.php?faq_id=39&expand=false&showdesc=false Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.belik at centrum.cz Wed Mar 22 09:39:41 2006 From: michael.belik at centrum.cz (Michael Belik) Date: Wed, 22 Mar 2006 09:39:41 +0100 (CET) Subject: notify-by-snmp In-Reply-To: <20060316112838.ADE264F40E3@desire.netways.de> References: <20060316112838.ADE264F40E3@desire.netways.de> Message-ID: <20060322083941.4E3514F40E3@desire.netways.de> Hi Michael Do you have any tips for me? I use net-snmp utils Thanks - Michael Belik (belik) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=16354 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 rao.elektra.ru Wed Mar 22 10:01:44 2006 From: enst at rao.elektra.ru (Evgeny Stepanov) Date: Wed, 22 Mar 2006 12:01:44 +0300 Subject: oracke monitoring Message-ID: <1813152307.20060322120144@rao.elektra.ru> Nagios-users at lists.sourceforge.net ! hello, people! we are using nagios to monitor our network resources very effectively. nagios is running under FreeBSD. It works as a breeze, thanks developers. we also check several Oracle servers among other things. Couple of days ago i faced the situation when oracle listener was working but database instance was broken. The problem is that i don't have oracle client installed on nagios host, so i check only oracle host is alive and TCP port 1521 is open. Obviously this is not enough for Oracle checking. I don't have possibility to install oracle client on nagios host due to several reasons. So i look towards 2 schemes of monitoring: 1. to find some "light" oracle client (oh, i forgot to say, that oracle database is v.8, so 10g client doesn't work with it and 9i is _very_ big and it's installation on FreeBSD requires skills i don't have :-() it can be done with kylix and dbexpress through core lab oracle driver (i have such experience on linux), but this approach requires proprietary stuff i don't have and kylix doesn't work on FreeBSD. So is there some "light" oracle client or similar that can be used in shell scripts (like sqlplus), open (or free at least)? 2. to find any machine with oracle client installed and implement monitoring through nrpe (or nsclient++ that i use on windows machines) with shell scripting (or cygwin) or wscript or whatever. maybe some other way i don't see. Do you guys have any suggestions for my case? --- best regards Evgeny Stepanov ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From me at renux.de Wed Mar 22 10:37:13 2006 From: me at renux.de (Rene Fertig) Date: Wed, 22 Mar 2006 10:37:13 +0100 Subject: Problems with HTTP-Authorization/Authentication In-Reply-To: <44204BF0.5090808@gmx.net> References: <200603211726.56734.me@renux.de> <44204BF0.5090808@gmx.net> Message-ID: <200603221037.14157.me@renux.de> Hi Hendrik. On 2006-03-21Hendrik Baecker wrote: > do you have a .htaccess file in your cgi directory? (f.e. > /usr/local/nagios/sbin/) That's it! I overlooked this directory. 8-) Thank you very much for this hint! BTW: The need and setup of the .htaccess file is not mentioned in the documentation. Perhaps someone should add this information. Bye, Rene ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johan.corsini at guest.minfin.fed.be Wed Mar 22 10:37:52 2006 From: johan.corsini at guest.minfin.fed.be (Johan Corsini) Date: Wed, 22 Mar 2006 10:37:52 +0100 Subject: Differnt users In-Reply-To: References: Message-ID: <200603221037.52275.johan.corsini@guest.minfin.fed.be> Le Mardi 21 Mars 2006 19:55, Marc Powell a ?crit?: > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Peder Christian Bach > > Sent: Tuesday, March 21, 2006 3:59 AM > > To: Nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Differnt users > > > > Hi.. > > > > Is there any possibility to have different users on Nagios ? > > > > User x has access to see everything in web. > > > > User z has access only to do reporting in web. > > This level of granularity is not possible. If a user can see a host or > service, they can perform all administrative functions related to that > host or service. >... I am sorry, but I do not fully agree. As far as I understand, a user can perform tasks on hosts and services that he is contact for, not hosts and services he can see. So, you could, for example, create a "read only" user using the following : - user reader is not contact for anything. In the cgi.cfg : - authorized_for_all_services=reader - authorized_for_all_hosts=reader With that, you would have an user who can see everything, but can't issue any command. But I might be wrong, if it is the case, please tell me :) Johan ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 rao.elektra.ru Wed Mar 22 11:11:47 2006 From: enst at rao.elektra.ru (Evgeny Stepanov) Date: Wed, 22 Mar 2006 13:11:47 +0300 Subject: oracke monitoring In-Reply-To: References: Message-ID: <1481325545.20060322131147@rao.elektra.ru> hello Phil, PC> Why not just use nrpe to run the check_oracle plugin locally on the PC> database server? That's how I handle it. well, this is so simple, that i didn't see it right away :-) actually, russians have a proverb that sounds like "we don't seek for easy ways" :-) that's an example - my case, lol thanks, this gonna help me, i guess PC> Sample nrpe command definition (which should be one line in the config PC> file) is: PC> command[check_oralogin_sample]=ORACLE_HOME=/apps/oracle/product/9.2.0; PC> export ORACLE_HOME; PC> PATH=$PATH:/apps/oracle/product/9.2.0/bin; export PC> PATH; PC> TNS_ADMIN=/apps/oracle/admin/network; export TNS_ADMIN; PC> /opt/nagios/libexec/check_oracle --login SAMPLE PC> Phil --- best regards, Evgeny Stepanov ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Wed Mar 22 11:27:48 2006 From: b00mer at gmx.net (Hendrik Baecker) Date: Wed, 22 Mar 2006 11:27:48 +0100 Subject: Problems with HTTP-Authorization/Authentication In-Reply-To: <200603221037.14157.me@renux.de> References: <200603211726.56734.me@renux.de> <44204BF0.5090808@gmx.net> <200603221037.14157.me@renux.de> Message-ID: <442126A4.6020403@gmx.net> Hi Rene, have a deep look into http://nagios.sourceforge.net/docs/2_0/installweb.html In this example the documentation doesn't work with .htaccess files but directly with the apache configs within the directory specs. Rene Fertig schrieb: >Hi Hendrik. > >On 2006-03-21Hendrik Baecker wrote: > > >>do you have a .htaccess file in your cgi directory? (f.e. >>/usr/local/nagios/sbin/) >> >> > >That's it! I overlooked this directory. 8-) >Thank you very much for this hint! > >BTW: The need and setup of the .htaccess file is not mentioned in the >documentation. Perhaps someone should add this information. > >Bye, Rene > > > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kylet at panix.com Wed Mar 22 11:29:48 2006 From: kylet at panix.com (Kyle Tucker) Date: Wed, 22 Mar 2006 05:29:48 -0500 (EST) Subject: SNMP WARNING In-Reply-To: <20060321001435.00004bdb@geek> References: <20060321001435.00004bdb@geek> Message-ID: <200603221029.k2MATmJ28136@panix1.panix.com> > > Am I missing something fundamental about this command ? > > It appears that you missed the 'min:max' vs. 'max:min' thing on the ranges, > but 1) that's a common oversight, and 2) it doesn't appear to be the real > reason you're getting nothing but warnings. James, thanks for all this detailed explanation on check_snmp. I am using the plugin extensively, but I have a fundamental problem with it being designed to give an OK if checks for warning and critical ranges and are within that range. This has for me - and must for others - been the source of confusion and need for some brain strain. What do you suppose was the thinking with this approach? The man page says it best. -w, --warning=INTEGER_RANGE(s) Range(s) which will not result in a WARNING status Why not specify the *warning* range using the *warning* option that *WILL* produce a *warning*? It just seems all backwards. -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.schulz at kinzesberg.de Wed Mar 22 12:09:51 2006 From: dirk.schulz at kinzesberg.de (Dirk H. Schulz) Date: Wed, 22 Mar 2006 12:09:51 +0100 Subject: mysql plugin ? In-Reply-To: <097D3590441CB345A836C4B3F7F813DC873DDC@mailsrv.cbct.com> References: <097D3590441CB345A836C4B3F7F813DC873DDC@mailsrv.cbct.com> Message-ID: <4421307F.1010502@kinzesberg.de> Guillermo Padilla schrieb: >I need to monitor the amount of free space in the mysql database, is >there a plugin out there that can do this? I've looked into check_mysql >and I don't think that's the plugin I need. > > What is "free space in a mysql database"? As far as I know this is the free space on the device /var/lib/mysql is running on. That can be monitored with check_disk or whatever. If you can restrict a mysql database to a certain amount of space there must be some sql command to get this info - and then you can use a shell script via ssh to check that. Dirk ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.schulz at kinzesberg.de Wed Mar 22 12:12:32 2006 From: dirk.schulz at kinzesberg.de (Dirk H. Schulz) Date: Wed, 22 Mar 2006 12:12:32 +0100 Subject: oracke monitoring In-Reply-To: <1813152307.20060322120144@rao.elektra.ru> References: <1813152307.20060322120144@rao.elektra.ru> Message-ID: <44213120.10306@kinzesberg.de> Evgeny Stepanov schrieb: >Nagios-users at lists.sourceforge.net ! > >hello, people! > >we are using nagios to monitor our network resources very effectively. >nagios is running under FreeBSD. It works as a breeze, thanks >developers. > >we also check several Oracle servers among other things. >Couple of days ago i faced the situation when oracle listener was working but database instance was >broken. The problem is that i don't have oracle client installed on >nagios host, so i check only oracle host is alive and TCP port 1521 is >open. Obviously this is not enough for Oracle checking. I don't have >possibility to install oracle client on nagios host due to several >reasons. > > You could also read out the oracle logfiles with a local nagios client. Reading out the logs is what OpenView and other expensive monitoring apps do most about Oracle. :-) Dirk ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From me at renux.de Wed Mar 22 13:34:56 2006 From: me at renux.de (Rene Fertig) Date: Wed, 22 Mar 2006 13:34:56 +0100 Subject: Problems with HTTP-Authorization/Authentication In-Reply-To: <442126A4.6020403@gmx.net> References: <200603211726.56734.me@renux.de> <200603221037.14157.me@renux.de> <442126A4.6020403@gmx.net> Message-ID: <200603221334.57639.me@renux.de> Hi Hendrik. On 2006-03-22 Hendrik Baecker wrote: > have a deep look into > > http://nagios.sourceforge.net/docs/2_0/installweb.html > > In this example the documentation doesn't work with .htaccess files but > directly with the apache configs within the directory specs. Ah, I see. Sometimes it is not as conducive as one think to have a running but older nagios installation. I'll change to this configuration just to be closer to the dokumentation ;-) Many Thanx, Rene ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bubbafat at speakeasy.net Wed Mar 22 13:37:53 2006 From: bubbafat at speakeasy.net (Jason Kau) Date: Wed, 22 Mar 2006 12:37:53 +0000 Subject: NRPE daemon problem with SSL Message-ID: I'm running NRPE daemon on Solaris 7 and Solaris 8 boxes with ANDIrand and/or Solaris's /dev/urandom. I built NRPE 2.3/2.4 on Solaris 7 (egcs-2.91.66) and Solaris 8 (gcc 3.3.2) with OpenSSL 0.9.8a using: ./configure --enable-ssl --with-nrpe-group=nobody --prefix=/usr/local My nagios host is a RHEL4 AS U3 x86 box. It appears that when SSL is enabled in NRPE 2.4 daemon, it immediately closes the connection, not even waiting for an SSL handshake: [root at chiseler]# check_nrpe -H -c check_disksuite CHECK_NRPE: Error - Could not complete SSL handshake. [root at chiseler]#telnet 5666 Trying X.X.X.X... Connected to X.X.X.X (X.X.X.X). Escape character is '^]'. Connection closed by foreign host. If I disable SSL via -n, it works: [root at chiseler]# check_nrpe -n -H -c check_disksuite OK: All metadevices are Okay [root at chiseler]#telnet 5666 Trying X.X.X.X... Connected to X.X.X.X (X.X.X.X). Escape character is '^]'. hello there nrpe daemon i am typing at you [RETURN] Connection closed by foreign host. The NRP 2.3 daemon with SSL enabled allows data to be sent on the connection and doesn't close the connection until I send an invalid SSL handshake: [root at chiseler]# check_nrpe -H -c check_disksuite OK: All metadevices are Okay [root at chiseler]#telnet 5666 Trying X.X.X.X... Connected to X.X.X.X (X.X.X.X). Escape character is '^]'. hello there nrpe daemon i am typing at you [RETURN] Connection closed by foreign host. You migh think this is a TCP wrappers problem. Except I don't have TCP wrappers installed on the Solaris boxes (./configure confirms this, failing to find tcpd.h and libwrap) and that wouldn't explain why it works with 2.3. Any ideas? Thanks. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rmayhew at mweb.com Wed Mar 22 14:15:16 2006 From: rmayhew at mweb.com (Richard Mayhew) Date: Wed, 22 Mar 2006 15:15:16 +0200 Subject: Host/Service ACK's Notifications Message-ID: Hi, When I acknowledge a Host or Service with the option to send a notification. The message I receive is a duplicate of a normal notification message. How can I specify that this message is a acknowledgement rather that just the notification. In previous versions of Nagios 1.x the message that was sent stipulated that it was an acknowledgement message. Thanks? -- Regards Richard Mayhew Unix Specialist MWEB Business Tel: + 27 11 340 7200 Fax: + 27 11 340 7288 Website: www.mwebbusiness.co.za -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios-users at redcap.nl Wed Mar 22 14:47:50 2006 From: nagios-users at redcap.nl (Rob Hassing) Date: Wed, 22 Mar 2006 14:47:50 +0100 (CET) Subject: distributed server and unavailability Message-ID: <2175.212.178.65.125.1143035270.squirrel@webmail.redcap.nl> Hello all, We seem to have a problem with a distributed setup. One of the distributed servers is being used as a normal server as well, but is setup to send its results to an other central server as well. When this central server is not reachable for the distributed server the connectivity fails and this stall connection influences all function such as performance information which is put in a RRD and notifications. There is a fork() in the source (in function my_system), but this doesn't seem to work. Or it's not there for this reason. Thank you very much in advance for your answers... Best regards, Rob Hassing ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SudisB at crlcorp.com Wed Mar 22 14:53:31 2006 From: SudisB at crlcorp.com (Brian Sudis) Date: Wed, 22 Mar 2006 07:53:31 -0600 Subject: oracke monitoring Message-ID: <8701398F1CF52E40AD35CF730386A0B50D54A4B1@mailsvr.crlcorp.com> If you have the NRPE client installed on your oracle platform you can run check_procs against the smon process to ensure the database is up. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Evgeny Stepanov Sent: Wednesday, March 22, 2006 3:02 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] oracke monitoring Nagios-users at lists.sourceforge.net ! hello, people! we are using nagios to monitor our network resources very effectively. nagios is running under FreeBSD. It works as a breeze, thanks developers. we also check several Oracle servers among other things. Couple of days ago i faced the situation when oracle listener was working but database instance was broken. The problem is that i don't have oracle client installed on nagios host, so i check only oracle host is alive and TCP port 1521 is open. Obviously this is not enough for Oracle checking. I don't have possibility to install oracle client on nagios host due to several reasons. So i look towards 2 schemes of monitoring: 1. to find some "light" oracle client (oh, i forgot to say, that oracle database is v.8, so 10g client doesn't work with it and 9i is _very_ big and it's installation on FreeBSD requires skills i don't have :-() it can be done with kylix and dbexpress through core lab oracle driver (i have such experience on linux), but this approach requires proprietary stuff i don't have and kylix doesn't work on FreeBSD. So is there some "light" oracle client or similar that can be used in shell scripts (like sqlplus), open (or free at least)? 2. to find any machine with oracle client installed and implement monitoring through nrpe (or nsclient++ that i use on windows machines) with shell scripting (or cygwin) or wscript or whatever. maybe some other way i don't see. Do you guys have any suggestions for my case? --- best regards Evgeny Stepanov ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jay.Brunker at twc.state.tx.us Wed Mar 22 14:57:41 2006 From: Jay.Brunker at twc.state.tx.us (Brunker, Jay) Date: Wed, 22 Mar 2006 07:57:41 -0600 Subject: Host Uptime Message-ID: <11741698C5E1574E9E0357305D55B47402274E@exchg101p.actdc101p.rtdcx101p.twc.state.tx.us> Aha ... Thanks for the link. JZB -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Hugo van der Kooij Sent: Wednesday, March 22, 2006 12:22 AM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Host Uptime On Tue, 21 Mar 2006, Brunker, Jay wrote: > So, I created a simple command using 'check_host_alive', and the check > is showing me the host is up/alive. So far so good. I'm using a test > server. I rebooted the test server, but Nagios told me that the server > was up during the whole reboot process. > I never received a change in status that the server was down during > the reboot. > > Pun intended ... what's up with that ? > > Why didn't Nagios tell me that the host was down ? Try the FAQ about hosts without services: http://www.nagios.org/faqs/viewfaq.php?faq_id=39&expand=false&showdesc=false Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rmayhew at mweb.com Wed Mar 22 15:07:57 2006 From: rmayhew at mweb.com (Richard Mayhew) Date: Wed, 22 Mar 2006 16:07:57 +0200 Subject: Host/Service ACK's Notifications Message-ID: Hi, A follow up to this is that I found a Macro "$NOTIFICATIONTYPE$". The problem is I don't want this Macro sent out on every notification. I need to find someway of allowing for the seperate config for a acknowledgement notification. The word "ACKNOWLEDGEMENT" specified is also to long for text/sms messages. $NOTIFICATIONTYPE$ - "Identifies the type of notification that is being sent ("PROBLEM", "RECOVERY", or "ACKNOWLEDGEMENT")." -- Regards Richard Mayhew Unix Specialist ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Richard Mayhew Sent: 22 March 2006 03:15 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Host/Service ACK's Notifications Hi, When I acknowledge a Host or Service with the option to send a notification. The message I receive is a duplicate of a normal notification message. How can I specify that this message is a acknowledgement rather that just the notification. In previous versions of Nagios 1.x the message that was sent stipulated that it was an acknowledgement message. Thanks? -- Regards Richard Mayhew Unix Specialist ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kylet at panix.com Wed Mar 22 15:26:14 2006 From: kylet at panix.com (Kyle Tucker) Date: Wed, 22 Mar 2006 09:26:14 -0500 (EST) Subject: Host/Service ACK's Notifications In-Reply-To: References: Message-ID: <200603221426.k2MEQEr01775@panix3.panix.com> > > A follow up to this is that I found a Macro "$NOTIFICATIONTYPE$". The > problem is I don't want this Macro sent out on every notification. I > need to find someway of allowing for the seperate config for a > acknowledgement notification. The word "ACKNOWLEDGEMENT" specified is > also to long for text/sms messages. > > $NOTIFICATIONTYPE$ - "Identifies the type of notification that is being > sent ("PROBLEM", "RECOVERY", or "ACKNOWLEDGEMENT")." I worked around these issues and set my self up for the future to be as flexible as needed by changing my notification command to be a local script I pass the macros to as arguments, so I can test values and conditions and do what I want. For instance, here's the original and new definitions from misccommands.cfg. # 'notify-by-email' command definition define command{ command_name notify-by-email # command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTNAME$\nHost Descripti on: $HOSTALIAS$\nIP Address: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mailx -s "** Nagios alert ($NOTIFICATIONTYPE$) $HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ command_line /usr/local/bin/nagios-notification "$NOTIFICATIONTYPE$" "$SERVICEDESC$" "$HOSTNAME$" "$HOSTALIAS$" "$HOSTADDRESS$" "$SERVICESTATE$" "$LONGDATE TIME$" "$SERVICEOUTPUT$" "$CONTACTEMAIL$" "$SERVICEACKAUTHOR$" "$SERVICEACKCOMMENT$" $USER3$ $USER4$ $USER5$ } And the the script /usr/local/bin/nagios-notification looks like this. In this instance, I've set it up for two actions I wanted - 1. to allow an SNMP-triggered action when I acknowledge a certain service issue, and 2. I don't want to go out for services that are stale from a downed host. I get mailed for the host, so that's enough. If just a service is stale, we'll catch that visually on the web pages. Hope this helps. #!/bin/ksh # notification wrapper script # For testings # set -x # exec > /tmp/mail.out 2>&1 NOTIFICATIONTYPE=$1 SERVICEDESC=$2 HOSTNAME=$3 HOSTALIAS="$4" HOSTADDRESS=$5 SERVICESTATE=$6 LONGDATETIME="$7" SERVICEOUTPUT="$8" CONTACTEMAIL=$9 SERVICEACKAUTHOR="${10}" SERVICEACKCOMMENT="${11}" USER3=${12} USER4=${13} USER5=${14} if [ $NOTIFICATIONTYPE = "ACKNOWLEDGEMENT" ] then /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE\n\nService: $SERVICEDESC\nHost: $HOSTNAME\nHost Description: $HOSTALIAS\nIP Address: $HOSTADDRESS\nState: $SERVICESTATE\n\nDate/Time: $LONGDATETIME\n\nAdditional Info:\n\n$SERVICEOUTPUT\n\nAcknowledged by: $SERVICEACKAUTHOR\nAcknowledgement c omments: $SERVICEACKCOMMENT" | /usr/bin/mailx -s "** Nagios alert ($NOTIFICATIONTYPE) $HOSTNAME/$SERVICEDESC is $SERVICESTATE **" $CONTACTEMAIL case $SERVICEDESC in check-messages) /usr/local/bin/snmpget -l AuthPriv -v 3 -u $USER3 -a MD5 -A $USER4 -x DES -X $USER5 $HOSTADDRESS nsExtendResult.\"nagiosreset\" ;; check-else) /usr/local/bin/snmpget -l AuthPriv -v 3 -u $USER3 -a MD5 -A $USER4 -x DES -X $USER5 $HOSTADDRESS extCommand.12 ;; esac else if echo $SERVICEOUTPUT | grep "Service results are stale" > /dev/null 2>&1 then : Drop notification else /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE\n\nService: $SERVICEDESC\nHost: $HOSTNAME\nHost Description: $HOSTAL IAS\nIP Address: $HOSTADDRESS\nState: $SERVICESTATE\n\nDate/Time: $LONGDATETIME\n\nAdditional Info:\n\n$SERVICEOUTPUT" | /usr/bin/mailx -s "** Nagios alert ($NOTIFICA TIONTYPE) $HOSTNAME/$SERVICEDESC is $SERVICESTATE **" $CONTACTEMAIL fi fi -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gpadilla at cbct.com Wed Mar 22 16:00:57 2006 From: gpadilla at cbct.com (Guillermo Padilla) Date: Wed, 22 Mar 2006 10:00:57 -0500 Subject: mysql plugin ? Message-ID: <097D3590441CB345A836C4B3F7F813DC873DF6@mailsrv.cbct.com> Free space in a mysql db.. This is the difference between the amount of disk storage that has been "allocated" to mysql, and the amount of allocated space that's actually being used by stored data -----Original Message----- From: Dirk H. Schulz [mailto:dirk.schulz at kinzesberg.de] Sent: Wednesday, March 22, 2006 6:10 AM To: Guillermo Padilla; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] mysql plugin ? Guillermo Padilla schrieb: >I need to monitor the amount of free space in the mysql database, is >there a plugin out there that can do this? I've looked into check_mysql >and I don't think that's the plugin I need. > > What is "free space in a mysql database"? As far as I know this is the free space on the device /var/lib/mysql is running on. That can be monitored with check_disk or whatever. If you can restrict a mysql database to a certain amount of space there must be some sql command to get this info - and then you can use a shell script via ssh to check that. Dirk ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Mar 22 16:41:30 2006 From: marc at ena.com (Marc Powell) Date: Wed, 22 Mar 2006 09:41:30 -0600 Subject: Problems with HTTP-Authorization/Authentication Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Rene Fertig > Sent: Wednesday, March 22, 2006 6:35 AM > To: nagios-users at lists.sourceforge.net > Cc: Hendrik Baecker > Subject: [Nagios-users] Re: Problems with HTTP- > Authorization/Authentication > > Hi Hendrik. > > On 2006-03-22 Hendrik Baecker wrote: > > > have a deep look into > > > > http://nagios.sourceforge.net/docs/2_0/installweb.html > > > > In this example the documentation doesn't work with .htaccess files but > > directly with the apache configs within the directory specs. > > Ah, I see. Sometimes it is not as conducive as one think to have a > running > but older nagios installation. > I'll change to this configuration just to be closer to the dokumentation > ;-) Since the previous documentation used .htaccess I believe it's going to be common to have either method in use for quite some time. The method is more efficient but I expect there are few installations where the overhead of reading the .htaccess files is going to be significant. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Wed Mar 22 16:43:34 2006 From: m.borsani at it.net (Marco Borsani) Date: Wed, 22 Mar 2006 16:43:34 +0100 Subject: Check_ntp Message-ID: <015501c64dc7$62e5b610$0900d40a@intranet.it.net> Hi all ! I'd to use check_ntp, but when I "try" to running it , I obtain: # ./check_ntp "use" not allowed in expression at ./check_ntp line 66, at end of line syntax error at ./check_ntp line 66, near "libexec use utils " Execution of ./check_ntp aborted due to compilation errors. I don't know perl :-( I am using plugins 1.3.1 and Nagios 1.3 (on a HP-UX 11.00 system). Regards Marco Borsani Unix & Monitoring System Administrator Technical Operation Tel. +39 010 4310115 Fax +39 010 4327454 E-mail: m.borsani at IT.net ITnet S.r.l. - Direzione e Coordinamento di WIND Telecomunicazioni S.p.A. Internet Service Provider Sede legale: Via C.G.Viola, 48 - 00148 Roma Dir. Centrale e Amministrativa: Via Pacinotti, 39 16151 Genova (Italy) http://www.it.net mailto:info at IT.net _______________________________________________________________ Altre sedi ITnet: MILANO tel.: +39 02 30114900 info-milano at IT.net ROMA tel.: +39 06 83116707 info-roma at IT.net _______________________________________________________________ ITnet is associated to CIX (Commercial IP eXchange) and RIPE ITnet is associated to AIIP (Associazione Italiana Internet Providers) ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Mar 22 17:01:27 2006 From: marc at ena.com (Marc Powell) Date: Wed, 22 Mar 2006 10:01:27 -0600 Subject: Differnt users Message-ID: > -----Original Message----- > From: Johan Corsini [mailto:johan.corsini at guest.minfin.fed.be] > Sent: Wednesday, March 22, 2006 3:38 AM > To: nagios-users at lists.sourceforge.net > Cc: Marc Powell > Subject: Re: [Nagios-users] Differnt users > > Le Mardi 21 Mars 2006 19:55, Marc Powell a ?crit?: > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > > admin at lists.sourceforge.net] On Behalf Of Peder Christian Bach > > > Sent: Tuesday, March 21, 2006 3:59 AM > > > To: Nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Differnt users > > > > > > Hi.. > > > > > > Is there any possibility to have different users on Nagios ? > > > > > > User x has access to see everything in web. > > > > > > User z has access only to do reporting in web. > > > > This level of granularity is not possible. If a user can see a host or > > service, they can perform all administrative functions related to that > > host or service. > >... > > I am sorry, but I do not fully agree. As far as I understand, a user can > perform tasks on hosts and services that he is contact for, not hosts and > services he can see. > > So, you could, for example, create a "read only" user using the following > : > > - user reader is not contact for anything. > > In the cgi.cfg : > > - authorized_for_all_services=reader > - authorized_for_all_hosts=reader > > > With that, you would have an user who can see everything, but can't issue > any > command. > > But I might be wrong, if it is the case, please tell me :) I read the OP as a request to limit the view to reporting only but responded in a much broader context when I shouldn't have. Your example is right on and to be honest, I never think about the authorized_for_* settings in cgi.cfg. I haven't looked at or touched them in years myself. It's refreshing to be reminded of functionality I've forgotten about. I expect that this will be implemented better in the 3.0 front-end. Thanks! -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wrjacqmein at gmail.com Wed Mar 22 17:33:47 2006 From: wrjacqmein at gmail.com (Bill Jacqmein) Date: Wed, 22 Mar 2006 11:33:47 -0500 Subject: Check_ntp In-Reply-To: <015501c64dc7$62e5b610$0900d40a@intranet.it.net> References: <015501c64dc7$62e5b610$0900d40a@intranet.it.net> Message-ID: <3c9a5bae0603220833l2ffd7ba4je5632317bafac308@mail.gmail.com> upgrade to the latest version of the plugins at http://nagiosplug.sourceforge.net/ barring that check that utils.pm is in the libexec directory. On 3/22/06, Marco Borsani wrote: > Hi all ! > > I'd to use check_ntp, but when I "try" to running it , I obtain: > # ./check_ntp > "use" not allowed in expression at ./check_ntp line 66, at end of line > syntax error at ./check_ntp line 66, near "libexec > use utils " > Execution of ./check_ntp aborted due to compilation errors. > > I don't know perl :-( > > I am using plugins 1.3.1 and Nagios 1.3 (on a HP-UX 11.00 system). > > Regards > > Marco Borsani > Unix & Monitoring System Administrator > Technical Operation > Tel. +39 010 4310115 > Fax +39 010 4327454 > E-mail: m.borsani at IT.net > > ITnet S.r.l. - Direzione e Coordinamento di WIND Telecomunicazioni S.p.A. > Internet Service Provider > Sede legale: Via C.G.Viola, 48 - 00148 Roma > Dir. Centrale e Amministrativa: Via Pacinotti, 39 > 16151 Genova (Italy) > > http://www.it.net > mailto:info at IT.net > _______________________________________________________________ > Altre sedi ITnet: > MILANO tel.: +39 02 30114900 info-milano at IT.net > ROMA tel.: +39 06 83116707 info-roma at IT.net > _______________________________________________________________ > ITnet is associated to CIX (Commercial IP eXchange) and RIPE > ITnet is associated to AIIP (Associazione Italiana Internet Providers) > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgpark74 at gmail.com Wed Mar 22 17:37:35 2006 From: jgpark74 at gmail.com (Jong-Geun Park) Date: Thu, 23 Mar 2006 01:37:35 +0900 Subject: Guidelines for newly development a plugin Message-ID: <79114cb50603220837o1785edbfx@mail.gmail.com> Hi, all. I am a beginning user for Nagios and installed it and have monitored Linux system as a trial. However, I have serious difficulties in understanding how I can develop and add a new plugin for Nagios. In detail, I want to know what are interfaces between Nagios and its plugins and how they communicate. Frankly speaking, I did not yet understand enough to know those, even though I read its basic document and others from http://www.nagios.org. Would you help me to understand and start to design a new plugin? Have a good day. -- *** Carpe Diem (Seize the day). *** PARK, Jong-Geun -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed Mar 22 17:59:24 2006 From: marc at ena.com (Marc Powell) Date: Wed, 22 Mar 2006 10:59:24 -0600 Subject: Guidelines for newly development a plugin Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jong-Geun Park > Sent: Wednesday, March 22, 2006 10:38 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Guidelines for newly development a plugin > > Hi, all. > > I am a beginning user for Nagios and installed it and have monitored Linux > system as a trial. > However, I have serious difficulties in understanding how I can develop > and add a new plugin for Nagios. > In detail, I want to know what are interfaces between Nagios and its > plugins and how they communicate. > Frankly speaking, I did not yet understand enough to know those, even > though I read its basic document and others from http://www.nagios.org. > > Would you help me to understand and start to design a new plugin? See the Developer Guidelines at http://nagiosplug.sf.net. That will likely answer your questions. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 22 19:16:27 2006 From: ton.voon at altinity.com (Ton Voon) Date: Wed, 22 Mar 2006 18:16:27 +0000 Subject: Differnt users In-Reply-To: <200603221037.52275.johan.corsini@guest.minfin.fed.be> References: <200603221037.52275.johan.corsini@guest.minfin.fed.be> Message-ID: <3AF6A3F1-5FC8-4439-8CFD-FDA4556E8812@altinity.com> On 22 Mar 2006, at 09:37, Johan Corsini wrote: > Le Mardi 21 Mars 2006 19:55, Marc Powell a ?crit : >>> -----Original Message----- >>> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>> admin at lists.sourceforge.net] On Behalf Of Peder Christian Bach >>> Sent: Tuesday, March 21, 2006 3:59 AM >>> To: Nagios-users at lists.sourceforge.net >>> Subject: [Nagios-users] Differnt users >>> >>> Hi.. >>> >>> Is there any possibility to have different users on Nagios ? >>> >>> User x has access to see everything in web. >>> >>> User z has access only to do reporting in web. >> >> This level of granularity is not possible. If a user can see a >> host or >> service, they can perform all administrative functions related to >> that >> host or service. >> ... > > I am sorry, but I do not fully agree. As far as I understand, a > user can > perform tasks on hosts and services that he is contact for, not > hosts and > services he can see. > > So, you could, for example, create a "read only" user using the > following : > > - user reader is not contact for anything. > > In the cgi.cfg : > > - authorized_for_all_services=reader > - authorized_for_all_hosts=reader > > > With that, you would have an user who can see everything, but can't > issue any > command. > > But I might be wrong, if it is the case, please tell me :) You are right. This is how we implement a "view all, change none" role in Opsview: http://opsview.com. We've provided a patch to Nagios 2.0 so that you can have the role "view some, change none" at http://altinity.blogs.com/dotorg/2006/02/ a_view_some_cha.html, so you can specify which hosts/services a contact can see. 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 22 23:12:41 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 22 Mar 2006 23:12:41 +0100 (CET) Subject: notify-by-snmp In-Reply-To: <20060322083941.4E3514F40E3@desire.netways.de> References: <20060316112838.ADE264F40E3@desire.netways.de> <20060322083941.4E3514F40E3@desire.netways.de> Message-ID: On Wed, 22 Mar 2006, Michael Belik wrote: > Do you have any tips for me? Just one: Be more specific. If you do not define a clear question you do not seem to expect an answer. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From djimenez at membersourcecu.org Thu Mar 23 00:09:25 2006 From: djimenez at membersourcecu.org (Daniel Jimenez) Date: Wed, 22 Mar 2006 17:09:25 -0600 Subject: Check MySQL Query with Perfdata? Message-ID: Hey all!, check_mysql returns EXACTLY the data I want/need but unfortunately does not have performance data/perfdata. Could I some how convince (bribe or otherwise) any programmers to have the plug-in output perfdata? I'd like to see perfdata for the following 'metrics' (Uptime, Threads, Questions, and Queries per second avg). It seems like half the work is done already, it just needs formatting. Current output: Uptime: 54027 Threads: 9 Questions: 851450 Slow queries: 0 Opens: 0 Flush tables: 1 Open tables: 64 Queries per second avg: 15.760 TIA!, Daniel Jimenez MemberSource Credit Union Information Systems Analyst djimenez at membersourcecu.org ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Thu Mar 23 01:13:41 2006 From: td3201 at gmail.com (Terry) Date: Wed, 22 Mar 2006 18:13:41 -0600 Subject: Check MySQL Query with Perfdata? In-Reply-To: References: Message-ID: <4421E835.7080200@gmail.com> I am curious as to what you are doing with the perfdata? What program are you using to analyze it? Daniel Jimenez wrote: >Hey all!, > >check_mysql returns EXACTLY the data I want/need but unfortunately does >not have performance data/perfdata. Could I some how convince (bribe or >otherwise) any programmers to have the plug-in output perfdata? I'd like >to see perfdata for the following 'metrics' (Uptime, Threads, Questions, >and Queries per second avg). It seems like half the work is done >already, it just needs formatting. > >Current output: >Uptime: 54027 Threads: 9 Questions: 851450 Slow queries: 0 Opens: 0 >Flush tables: 1 Open tables: 64 Queries per second avg: 15.760 > >TIA!, > >Daniel Jimenez >MemberSource Credit Union >Information Systems Analyst >djimenez at membersourcecu.org > > >------------------------------------------------------- >This SF.Net email is sponsored by xPML, a groundbreaking scripting language >that extends applications into web and mobile media. Attend the live webcast >and join the prime developer group breaking into this new coding territory! >http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frontin at irit.fr Thu Mar 23 09:20:39 2006 From: frontin at irit.fr (Jean Frontin) Date: Thu, 23 Mar 2006 09:20:39 +0100 Subject: NRPE and $SERVICESTATE$ Message-ID: <5.0.2.1.2.20060323091322.00ba84b0@mailhost.irit.fr> Hello, I run nagios 2.0 and nrpe 2.4. How may I do to modify the $SERVICESTATE$ value resulting from a request of nagios ? I run chekc_nrpe to query nrpe on an host and I need to modify, seeing results of running nrpe, $SERVICESTATE$ to obtain a notification alarm Regards, Many thanks Jean Frontin ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnoyes-nagios at retrogeeks.com Thu Mar 23 09:39:48 2006 From: jnoyes-nagios at retrogeeks.com (James Noyes) Date: Thu, 23 Mar 2006 01:39:48 -0700 Subject: SNMP WARNING In-Reply-To: <200603221029.k2MATmJ28136@panix1.panix.com> References: <20060321001435.00004bdb@geek> <200603221029.k2MATmJ28136@panix1.panix.com> Message-ID: <20060323013948.00005ff5@geek> On Wed, 22 Mar 2006 05:29:48 -0500 (EST), "Kyle Tucker" wrote: > > > Am I missing something fundamental about this command ? > > > > It appears that you missed the 'min:max' vs. 'max:min' thing on the ranges, > > but 1) that's a common oversight, and 2) it doesn't appear to be the real > > reason you're getting nothing but warnings. > > James, thanks for all this detailed explanation on check_snmp. I am > using the plugin extensively, but I have a fundamental problem with > it being designed to give an OK if checks for warning and critical > ranges and are within that range. This has for me - and must for > others - been the source of confusion and need for some brain strain. > What do you suppose was the thinking with this approach? The man page > says it best. > > -w, --warning=INTEGER_RANGE(s) > Range(s) which will not result in a WARNING status > > Why not specify the *warning* range using the *warning* option that > *WILL* produce a *warning*? It just seems all backwards. Well, I'm much more a user than developer (although I did finally write my own Solaris Disksuite plugin out of frustration), and as many times as I thought about the reason for the min:max vs. max:min behavior, I never could come up with a plausible reason for doing it this particular way that seemed "obvious". About the only reasonable explanation I ever did come up with, and it's still pretty far-fetched, was that for a majority of SNMP OIDs that can be queried, the "OK" or "normal" condition is usually one result, while the "error" condition has many results, giving more detail about the error. So I just guessed that it made more sense to specify the "OK" results, rather than a much larger range of "not OK" results. Like I said - far-fetched, but it's really all I could come up with. -- James Noyes (jnoyes-nagios at retrogeeks.com) ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Thu Mar 23 10:02:27 2006 From: m.borsani at it.net (Marco Borsani) Date: Thu, 23 Mar 2006 10:02:27 +0100 Subject: R: Check_ntp In-Reply-To: <3c9a5bae0603220833l2ffd7ba4je5632317bafac308@mail.gmail.com> References: <3c9a5bae0603220833l2ffd7ba4je5632317bafac308@mail.gmail.com> Message-ID: <005701c64e58$82a444d0$0900d40a@intranet.it.net> I also tested plugins 1.4.2, but I received same error message Marco -}-----Messaggio originale----- -}Da: Bill Jacqmein [mailto:wrjacqmein at gmail.com] -}Inviato: mercoled? 22 marzo 2006 17.34 -}A: Marco Borsani -}Cc: NAGIOS -}Oggetto: Re: [Nagios-users] Check_ntp -} -}upgrade to the latest version of the plugins at -}http://nagiosplug.sourceforge.net/ -}barring that -}check that utils.pm is in the libexec directory. -} -} -}On 3/22/06, Marco Borsani wrote: -}> Hi all ! -}> -}> I'd to use check_ntp, but when I "try" to running it , I obtain: -}> # ./check_ntp -}> "use" not allowed in expression at ./check_ntp line 66, at -}end of line -}> syntax error at ./check_ntp line 66, near "libexec use utils " -}> Execution of ./check_ntp aborted due to compilation errors. -}> -}> I don't know perl :-( -}> -}> I am using plugins 1.3.1 and Nagios 1.3 (on a HP-UX 11.00 system). -}> -}> Regards -}> -}> Marco Borsani -}> Unix & Monitoring System Administrator Technical Operation -}> Tel. +39 010 4310115 -}> Fax +39 010 4327454 -}> E-mail: m.borsani at IT.net -}> -}> ITnet S.r.l. - Direzione e Coordinamento di WIND -}Telecomunicazioni S.p.A. -}> Internet Service Provider -}> Sede legale: Via C.G.Viola, 48 - 00148 Roma -}> Dir. Centrale e Amministrativa: Via Pacinotti, 39 -}> 16151 Genova (Italy) -}> -}> http://www.it.net -}> mailto:info at IT.net -}> _______________________________________________________________ -}> Altre sedi ITnet: -}> MILANO tel.: +39 02 30114900 info-milano at IT.net -}> ROMA tel.: +39 06 83116707 info-roma at IT.net -}> _______________________________________________________________ -}> ITnet is associated to CIX (Commercial IP eXchange) and -}RIPE ITnet is -}> associated to AIIP (Associazione Italiana Internet Providers) -}> -}> -}> -}> -}> ------------------------------------------------------- -}> This SF.Net email is sponsored by xPML, a groundbreaking scripting -}> language that extends applications into web and mobile -}media. Attend -}> the live webcast and join the prime developer group -}breaking into this new coding territory! -}> -}http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=1216 -}> 42 _______________________________________________ -}> Nagios-users mailing list -}> Nagios-users at lists.sourceforge.net -}> https://lists.sourceforge.net/lists/listinfo/nagios-users -}> ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rex at 2020media.com Thu Mar 23 13:11:03 2006 From: rex at 2020media.com (Rex Wickham) Date: Thu, 23 Mar 2006 13:11:03 +0100 (CET) Subject: Acknowledge issues via e-mail In-Reply-To: <76CF93775035B64589C218D2B034B71EFFF341@post1.aeso.ca> References: <76CF93775035B64589C218D2B034B71EFFF341@post1.aeso.ca> Message-ID: <20060323121103.2ECB54F40E3@desire.netways.de> Hi Dany I've got Terry's script working in conjunction with NANS (http://www.nagiosexchange.org/Notifications.35.0.html?&tx_netnagext_pi1[ p_view]=186) A script which aggregates alerts to cut down on "nagios storm" Regards REX ...[write your message here]... - Rex Wickham (2020media) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=14819 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From morten.bekkelund at ergo.no Thu Mar 23 14:33:02 2006 From: morten.bekkelund at ergo.no (Morten Bekkelund) Date: Thu, 23 Mar 2006 14:33:02 +0100 Subject: nagios irc channel available Message-ID: <1143120782.8386.1.camel@localhost.localdomain> Hi! There might be nagios-channels out there, but since I didn't find any, I made my own. A friend of mine and me are working with nagios every day and have one of the largest implementations registered at nagios.org. We figured it would be nice to have a dedicated nagios-channel to discuss options and solutions with fellow users out there. Feel free to join in. irc server : irc.irclink.net port : 6667 channel : #nagios Regards, Morten. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 23 15:05:40 2006 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Thu, 23 Mar 2006 08:05:40 -0600 Subject: nagios irc channel available In-Reply-To: <1143120782.8386.1.camel@localhost.localdomain> References: <1143120782.8386.1.camel@localhost.localdomain> Message-ID: <20060323140540.GA10232@keroberos> There's already #nagios on freenode.net. I count 40 nicks logged in currently. Russell On Thu, Mar 23, 2006 at 02:33:02PM +0100, Morten Bekkelund wrote: > Hi! > > There might be nagios-channels out there, but since I didn't find any, I > made my own. A friend of mine and me are working with nagios every day > and have one of the largest implementations registered at nagios.org. We > figured it would be nice to have a dedicated nagios-channel to discuss > options and solutions with fellow users out there. > > Feel free to join in. > > irc server : irc.irclink.net > port : 6667 > channel : #nagios > > > Regards, Morten. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From morten.bekkelund at ergo.no Thu Mar 23 15:13:34 2006 From: morten.bekkelund at ergo.no (Morten Bekkelund) Date: Thu, 23 Mar 2006 15:13:34 +0100 Subject: nagios irc channel available In-Reply-To: <20060323140540.GA10232@keroberos> References: <1143120782.8386.1.camel@localhost.localdomain> <20060323140540.GA10232@keroberos> Message-ID: <1143123214.8386.8.camel@localhost.localdomain> oh bugger, why didnt I know :P on my way there (will still be keeping this one tho) On Thu, 2006-03-23 at 08:05 -0600, Russell Adams wrote: > There's already #nagios on freenode.net. I count 40 nicks logged in currently. > > Russell > > On Thu, Mar 23, 2006 at 02:33:02PM +0100, Morten Bekkelund wrote: > > Hi! > > > > There might be nagios-channels out there, but since I didn't find any, I > > made my own. A friend of mine and me are working with nagios every day > > and have one of the largest implementations registered at nagios.org. We > > figured it would be nice to have a dedicated nagios-channel to discuss > > options and solutions with fellow users out there. > > > > Feel free to join in. > > > > irc server : irc.irclink.net > > port : 6667 > > channel : #nagios > > > > > > Regards, Morten. > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > > that extends applications into web and mobile media. Attend the live webcast > > and join the prime developer group breaking into this new coding territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 23 16:10:20 2006 From: marc at ena.com (Marc Powell) Date: Thu, 23 Mar 2006 09:10:20 -0600 Subject: NRPE and $SERVICESTATE$ Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jean Frontin > Sent: Thursday, March 23, 2006 2:21 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NRPE and $SERVICESTATE$ > > Hello, > > I run nagios 2.0 and nrpe 2.4. > > How may I do to modify the $SERVICESTATE$ value resulting from a request > of > nagios ? > > I run chekc_nrpe to query nrpe on an host and I need to modify, seeing > results of running nrpe, $SERVICESTATE$ to obtain a notification alarm The service state is set by the plugin that is being executed by NRPE via the plugin's exit code. NRPE simply passes that code back to nagios unmodified. See http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN75 for the proper plugin exit codes for each state. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 23 16:14:16 2006 From: marc at ena.com (Marc Powell) Date: Thu, 23 Mar 2006 09:14:16 -0600 Subject: Check_ntp Message-ID: Look around line 66 in the plugin and verify that it looks something like -- use lib "/usr/local/nagios/libexec" ; use utils qw($TIMEOUT %ERRORS &print_revision &support); -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Marco Borsani > Sent: Thursday, March 23, 2006 3:02 AM > To: 'Bill Jacqmein' > Cc: 'NAGIOS' > Subject: R: [Nagios-users] Check_ntp > > I also tested plugins 1.4.2, but I received same error message > > Marco > > -}-----Messaggio originale----- > -}Da: Bill Jacqmein [mailto:wrjacqmein at gmail.com] > -}Inviato: mercoled? 22 marzo 2006 17.34 > -}A: Marco Borsani > -}Cc: NAGIOS > -}Oggetto: Re: [Nagios-users] Check_ntp > -} > -}upgrade to the latest version of the plugins at > -}http://nagiosplug.sourceforge.net/ > -}barring that > -}check that utils.pm is in the libexec directory. > -} > -} > -}On 3/22/06, Marco Borsani wrote: > -}> Hi all ! > -}> > -}> I'd to use check_ntp, but when I "try" to running it , I obtain: > -}> # ./check_ntp > -}> "use" not allowed in expression at ./check_ntp line 66, at > -}end of line > -}> syntax error at ./check_ntp line 66, near "libexec use utils " > -}> Execution of ./check_ntp aborted due to compilation errors. > -}> > -}> I don't know perl :-( > -}> > -}> I am using plugins 1.3.1 and Nagios 1.3 (on a HP-UX 11.00 system). > -}> > -}> Regards > -}> > -}> Marco Borsani > -}> Unix & Monitoring System Administrator Technical Operation > -}> Tel. +39 010 4310115 > -}> Fax +39 010 4327454 > -}> E-mail: m.borsani at IT.net > -}> > -}> ITnet S.r.l. - Direzione e Coordinamento di WIND > -}Telecomunicazioni S.p.A. > -}> Internet Service Provider > -}> Sede legale: Via C.G.Viola, 48 - 00148 Roma > -}> Dir. Centrale e Amministrativa: Via Pacinotti, 39 > -}> 16151 Genova (Italy) > -}> > -}> http://www.it.net > -}> mailto:info at IT.net > -}> _______________________________________________________________ > -}> Altre sedi ITnet: > -}> MILANO tel.: +39 02 30114900 info-milano at IT.net > -}> ROMA tel.: +39 06 83116707 info-roma at IT.net > -}> _______________________________________________________________ > -}> ITnet is associated to CIX (Commercial IP eXchange) and > -}RIPE ITnet is > -}> associated to AIIP (Associazione Italiana Internet Providers) > -}> > -}> > -}> > -}> > -}> ------------------------------------------------------- > -}> This SF.Net email is sponsored by xPML, a groundbreaking scripting > -}> language that extends applications into web and mobile > -}media. Attend > -}> the live webcast and join the prime developer group > -}breaking into this new coding territory! > -}> > -}http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=1216 > -}> 42 _______________________________________________ > -}> Nagios-users mailing list > -}> Nagios-users at lists.sourceforge.net > -}> https://lists.sourceforge.net/lists/listinfo/nagios-users > -}> ::: 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 xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Thu Mar 23 16:23:07 2006 From: m.borsani at it.net (Marco Borsani) Date: Thu, 23 Mar 2006 16:23:07 +0100 Subject: R: Check_ntp In-Reply-To: References: Message-ID: <00c901c64e8d$b005e750$0900d40a@intranet.it.net> My lines were: use lib "/usr/local/nagios/libexec" /libexec use utils qw($TIMEOUT %ERRORS &print_revision &support); Now the command answers correctly !! ;-) The help on-line (check_ntp -h) is not so easy to understand... Does check_ntp compare the target host specified time with the locale time (Nagios server time) or what? Regards Marco -}-----Messaggio originale----- -}Da: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net] Per conto -}di Marc Powell -}Inviato: gioved? 23 marzo 2006 16.14 -}A: NAGIOS -}Oggetto: RE: [Nagios-users] Check_ntp -} -}Look around line 66 in the plugin and verify that it looks -}something like -- -} -}use lib "/usr/local/nagios/libexec" ; -}use utils qw($TIMEOUT %ERRORS &print_revision &support); -} -}-- -}Marc -} -}> -----Original Message----- -}> From: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users- -}> admin at lists.sourceforge.net] On Behalf Of Marco Borsani -}> Sent: Thursday, March 23, 2006 3:02 AM -}> To: 'Bill Jacqmein' -}> Cc: 'NAGIOS' -}> Subject: R: [Nagios-users] Check_ntp -}> -}> I also tested plugins 1.4.2, but I received same error message -}> -}> Marco -}> -}> -}-----Messaggio originale----- -}> -}Da: Bill Jacqmein [mailto:wrjacqmein at gmail.com] -}> -}Inviato: mercoled? 22 marzo 2006 17.34 -}> -}A: Marco Borsani -}> -}Cc: NAGIOS -}> -}Oggetto: Re: [Nagios-users] Check_ntp -} -}upgrade to the latest -}> version of the plugins at -}http://nagiosplug.sourceforge.net/ -}> -}barring that -}> -}check that utils.pm is in the libexec directory. -}> -} -}> -} -}> -}On 3/22/06, Marco Borsani wrote: -}> -}> Hi all ! -}> -}> -}> -}> I'd to use check_ntp, but when I "try" to running it , I obtain: -}> -}> # ./check_ntp -}> -}> "use" not allowed in expression at ./check_ntp line 66, -}at -}end -}> of line -}> syntax error at ./check_ntp line 66, near "libexec use -}> utils " -}> -}> Execution of ./check_ntp aborted due to compilation errors. -}> -}> -}> -}> I don't know perl :-( -}> -}> -}> -}> I am using plugins 1.3.1 and Nagios 1.3 (on a HP-UX -}11.00 system). -}> -}> -}> -}> Regards -}> -}> -}> -}> Marco Borsani -}> -}> Unix & Monitoring System Administrator Technical Operation -}> -}> Tel. +39 010 4310115 -}> -}> Fax +39 010 4327454 -}> -}> E-mail: m.borsani at IT.net -}> -}> -}> -}> ITnet S.r.l. - Direzione e Coordinamento di WIND -}> -}Telecomunicazioni S.p.A. -}> -}> Internet Service Provider -}> -}> Sede legale: Via C.G.Viola, 48 - 00148 Roma -}> -}> Dir. Centrale e Amministrativa: Via Pacinotti, 39 -}> -}> 16151 Genova (Italy) -}> -}> -}> -}> http://www.it.net -}> -}> mailto:info at IT.net -}> -}> _______________________________________________________________ -}> -}> Altre sedi ITnet: -}> -}> MILANO tel.: +39 02 30114900 info-milano at IT.net -}> -}> ROMA tel.: +39 06 83116707 info-roma at IT.net -}> -}> _______________________________________________________________ -}> -}> ITnet is associated to CIX (Commercial IP eXchange) and -}RIPE -}> ITnet is -}> associated to AIIP (Associazione Italiana Internet -}> Providers) -}> -}> -}> -}> -}> -}> ------------------------------------------------------- -}> -}> This SF.Net email is sponsored by xPML, a -}groundbreaking scripting -}> -}> language that extends applications into web and mobile -}media. -}> Attend -}> the live webcast and join the prime developer group -}> -}breaking into this new coding territory! -}> -}> -}> -}-}http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=12 -}> 16 -}> 42 _______________________________________________ -}> -}> Nagios-users mailing list -}> -}> Nagios-users at lists.sourceforge.net -}> -}> https://lists.sourceforge.net/lists/listinfo/nagios-users -}> -}> ::: 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 xPML, a groundbreaking scripting -}> language that extends applications into web and mobile -}media. Attend -}> the live webcast and join the prime developer group -}breaking into this -}> new coding territory! -}> http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 -}> _______________________________________________ -}> Nagios-users mailing list -}> Nagios-users at lists.sourceforge.net -}> https://lists.sourceforge.net/lists/listinfo/nagios-users -}> ::: 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 xPML, a groundbreaking -}scripting language that extends applications into web and -}mobile media. Attend the live webcast and join the prime -}developer group breaking into this new coding territory! -}http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 -}_______________________________________________ -}Nagios-users mailing list -}Nagios-users at lists.sourceforge.net -}https://lists.sourceforge.net/lists/listinfo/nagios-users -}::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 23 16:28:40 2006 From: marc at ena.com (Marc Powell) Date: Thu, 23 Mar 2006 09:28:40 -0600 Subject: Check_ntp Message-ID: > -----Original Message----- > From: Marco Borsani [mailto:m.borsani at it.net] > Sent: Thursday, March 23, 2006 9:23 AM > To: Marc Powell; 'NAGIOS' > Subject: R: [Nagios-users] Check_ntp > > My lines were: > > use lib "/usr/local/nagios/libexec" /libexec > use utils qw($TIMEOUT %ERRORS &print_revision &support); > > Now the command answers correctly !! ;-) > > The help on-line (check_ntp -h) is not so easy to understand... > > Does check_ntp compare the target host specified time with the locale time > (Nagios server time) or what? I don't use the plugin but the help says "Checks the local timestamp offset versus with ntpdate" so I would say the answer is yes. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrmontg at gmail.com Thu Mar 23 16:47:01 2006 From: jrmontg at gmail.com (Jeffrey Montgomery) Date: Thu, 23 Mar 2006 09:47:01 -0600 Subject: check_sensors Message-ID: Can anyone explain how to use the check_sensor plugin? I installed lm_sensors and when I run ./check_sensors 10.10.18.23 I get WARNING - sensors returned state 1. Thanks -- Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From dveldhuisen at bartlesville.oilfield.slb.com Thu Mar 23 17:41:32 2006 From: dveldhuisen at bartlesville.oilfield.slb.com (Doug Veldhuisen) Date: Thu, 23 Mar 2006 10:41:32 -0600 Subject: check_sensors In-Reply-To: References: Message-ID: <6.2.1.2.2.20060323103056.02edca38@pop.nam.slb.com> Jeffrey: You should check to make sure that lm_sensors package is really running. Quite a number of machines don't support that package. The program starts then quitely dies. Example: Dell's don't support it at all. (or if I'm incorrect on that someone in the group correct me and then tell me how to make it work) An IBM intellistation which I thought might, won't either. try a ps -ef | grep sensors Doug At 09:47 AM 3/23/2006, Jeffrey Montgomery wrote: >Can anyone explain how to use the check_sensor plugin? I installed >lm_sensors and when I run >./check_sensors 10.10.18.23 I get WARNING - sensors >returned state 1. > >Thanks >-- >Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From ifetch at du.edu Thu Mar 23 18:37:26 2006 From: ifetch at du.edu (Ivan Fetch) Date: Thu, 23 Mar 2006 10:37:26 -0700 (MST) Subject: Difficulty with wildcards in serviceescalation In-Reply-To: <56EAA5BC64E6C34F8C9EE6725D4A2DFA024DF311@tudor.com> References: <56EAA5BC64E6C34F8C9EE6725D4A2DFA024DF311@tudor.com> Message-ID: <20060323103510.R93741@tnetnzry.hgf.qh.rqh> Hello, Andrew, I wanted to thank you for your reply, and mention that yes this does work as I wanted. I am curious what setting use_regexp_matching to 1, but use_true_regexp_matching to 0 would bring to the table (given that the docs apparently mis-state these options). Thanks - Ivan. On Tue, 21 Feb 2006, Andrew Laden wrote: > There is a documentation error. You have to use real regex. A naked * by > itself is not a valid regex. > > Try .* > > -Andrew > >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net >> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf >> Of Ivan Fetch >> Sent: Monday, February 20, 2006 5:25 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Difficulty with wildcards in serviceescalation >> >> Hello, >> >> >> I'm having difficulties with wildcards in a >> serviceescalation, running nagios 2.0-stable. It seems like >> the documentation discusses doing exactly this, so perhaps my >> trying to get this to work last minute is causing me to >> overlook something... Any ideas? >> >> >> # Limit notifications to a max of 5, the last one notifying everyone. >> define serviceescalation{ >> host_name * >> service_description * >> first_notification 5 >> last_notification 0 >> notification_interval 0 >> contact_groups everyone >> } >> >> >> >> When verifying the config I get: >> >> "Reading configuration data... >> >> Error: Could not find any host matching '*' >> Error: Could not expand hostgroups and/or hosts specified in >> service escalation (config file >> '/usr/local/nagios/etc/du/services.cfg', starting on line 154)" >> >> >> >> I have this set in /usr/local/nagios/etc/nagios.cfg: >> use_regexp_matching=1 >> use_true_regexp_matching=0 >> # ... at the end of the file ... >> cfg_dir=/usr/local/nagios/etc/du >> # (which is where the services.cfg is read, which is where the >> # serviceescalation is defined) >> >> >> >> Thanks, >> >> Ivan Fetch. >> ' >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep >> through log files for problems? Stop! Download the new AJAX >> search engine that makes searching your log files as easy as >> surfing the web. DOWNLOAD SPLUNK! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486& > dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andrew.Laden at tudor.com Thu Mar 23 18:58:35 2006 From: Andrew.Laden at tudor.com (Andrew Laden) Date: Thu, 23 Mar 2006 12:58:35 -0500 Subject: Difficulty with wildcards in serviceescalation Message-ID: <56EAA5BC64E6C34F8C9EE6725D4A2DFA0389CF8F@tudor.com> I believe the docs are pretty much correct on this one. Use_regexp_matching=1 will turn on regex for entries that contain a "*" or "?" only. Use_true_regex_matching=1 will turn it on completely, which while it sounds neat, will cause lots of headaches. Consider if you have a host named "mile", and another named "smiles". If you have true_regex on, you will never be able to only reference the host "mile" as every entry for it will match "smiles". (You would have to use "^mile$" to be safe) That's why is recommended to keep it off unless you really know what you are doing. > -----Original Message----- > From: Ivan Fetch [mailto:ifetch at du.edu] > Sent: Thursday, March 23, 2006 12:37 PM > To: Andrew Laden > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Difficulty with wildcards in > serviceescalation > > Hello, > > Andrew, I wanted to thank you for your reply, and mention > that yes this does work as I wanted. > > I am curious what setting use_regexp_matching to 1, but > use_true_regexp_matching to 0 would bring to the table (given > that the docs apparently mis-state these options). > > > Thanks - Ivan. > On Tue, 21 Feb 2006, Andrew > Laden wrote: > > > There is a documentation error. You have to use real regex. > A naked * > > by itself is not a valid regex. > > > > Try .* > > > > -Andrew > > > >> -----Original Message----- > >> From: nagios-users-admin at lists.sourceforge.net > >> [mailto:nagios-users-admin at lists.sourceforge.net] On > Behalf Of Ivan > >> Fetch > >> Sent: Monday, February 20, 2006 5:25 PM > >> To: nagios-users at lists.sourceforge.net > >> Subject: [Nagios-users] Difficulty with wildcards in > >> serviceescalation > >> > >> Hello, > >> > >> > >> I'm having difficulties with wildcards in a serviceescalation, > >> running nagios 2.0-stable. It seems like the > documentation discusses > >> doing exactly this, so perhaps my trying to get this to work last > >> minute is causing me to overlook something... Any ideas? > >> > >> > >> # Limit notifications to a max of 5, the last one > notifying everyone. > >> define serviceescalation{ > >> host_name * > >> service_description * > >> first_notification 5 > >> last_notification 0 > >> notification_interval 0 > >> contact_groups everyone > >> } > >> > >> > >> > >> When verifying the config I get: > >> > >> "Reading configuration data... > >> > >> Error: Could not find any host matching '*' > >> Error: Could not expand hostgroups and/or hosts specified > in service > >> escalation (config file '/usr/local/nagios/etc/du/services.cfg', > >> starting on line 154)" > >> > >> > >> > >> I have this set in /usr/local/nagios/etc/nagios.cfg: > >> use_regexp_matching=1 > >> use_true_regexp_matching=0 > >> # ... at the end of the file ... > >> cfg_dir=/usr/local/nagios/etc/du > >> # (which is where the services.cfg is read, which is where the > >> # serviceescalation is defined) > >> > >> > >> > >> Thanks, > >> > >> Ivan Fetch. > >> ' > >> > >> > >> ------------------------------------------------------- > >> This SF.net email is sponsored by: Splunk Inc. Do you grep through > >> log files for problems? Stop! Download the new AJAX > search engine > >> that makes searching your log files as easy as surfing the web. > >> DOWNLOAD SPLUNK! > >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486& > > dat=121642 > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rarmistead at datanamicsinc.com Thu Mar 23 19:23:13 2006 From: rarmistead at datanamicsinc.com (Armistead, Raffy) Date: Thu, 23 Mar 2006 10:23:13 -0800 Subject: Nagios 'Out Of Memory' Problems Message-ID: I have a problem with my Nagios server constantly crashing. It keeps outputting on the screen Out of Memory errors which causes loss of access to the server. I can ping the box but I cannot SSH or web into it to view any information. This has been happening increasingly more lately. Now it is about every 2-3 days that this is occurring. We have been adding more and more devices to the servers and this problem has been increasing as this occurs. This is how I have it set up. I have a Main Nagios server that is running the latest 2.0 (stable) Nagios release. It is monitoring about 6800 devices but it is not actively checking the devices. Its main role is to provide a web interface and receive passive polls from three other servers which do the polling. The main server also does email notifications when a device goes down. The server sends about 30-40 emails a day. I am using NSCA 2.5 between the server and the client Nagios servers. I am only monitoring one service for each device which is either TCP or ping depending on the device. Mostly all devices are monitored with TCP (roughly 6000). The rest are monitored with ping. The individual servers are pretty evenly spread with the number of devices. They are about 2000-2500 each. All the servers are just basic computers, Dell Dimension 2400s with base hardware. The main server was upgraded to 2GB RAM while the other servers are running 512MB each. They are all running Celeron 2.4 GHz processors. The individual servers are not having out of memory problems and they are running the latest 2.0 (stable) release as well. They all run RedHat 9.0 with everything installed for the packages. Can someone please help me in resolving this problem? Thanks. The TOP process does not appear like it is running out of memory. This is the normal output when the server has been running for a few hours. 57 processes: 54 sleeping, 3 running, 0 zombie, 0 stopped CPU states: 41.1% user 58.8% system 0.0% nice 0.0% iowait 0.0% idle Mem: 2063556k av, 285940k used, 1777616k free, 0k shrd, 41056k buff 177644k actv, 51688k in_d, 10892k in_c Swap: 1044184k av, 0k used, 1044184k free 114208k cached Here is a sample configuration that I have on the devices on the main server: hosts.cfg define host { name generic-host ; The name of this host template - referenced in other host definitions, used for template recursion/resolution notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 0 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts max_check_attempts 10 notification_interval 720 notification_period 24x7 obsess_over_host 0 notification_options d,u,r,f register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define host { use generic-host ; Name of host template to use host_name DETAH-R1 alias DETAH-R1 address x.x.x.x check_command check_ping!200,40%!10000,100% contact_groups device-admins,DETAH-admins,router-admins } services.cfg define service { name generic-service ; The 'name' of this service template, referenced in other service definitions active_checks_enabled 0 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 0 ; We should obsess over this service (if necessary) check_freshness 1 ; Default is to NOT check service 'freshness' freshness_threshold 1800 notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 0 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts is_volatile 0 check_period 24x7 max_check_attempts 6 normal_check_interval 20 retry_check_interval 5 notification_interval 720 notification_period 24x7 notification_options n register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define service { use generic-service ; Name of service template to use host_name DETAH-R1 service_description PING contact_groups device-admins,DETAH-admins,router-admins check_command check_ping!200,40%!1000,100% } Here is a sample config on the individual server. hosts.cfg define host { name generic-host ; The name of this host template - referenced in other host definitions, used for template recursion/resolution notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 0 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts max_check_attempts 10 notification_interval 720 notification_period 24x7 obsess_over_host 0 notification_options d,u,r,f register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define host { use generic-host ; Name of host template to use host_name DETAH-R1 alias DETAH-R1 address x.x.x.x check_command check_ping!200,40%!10000,100% contact_groups device-admins,DETAH-admins,router-admins } services.cfg define service { name generic-service ; The 'name' of this service template, referenced in other service definitions active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 1 ; Default is to NOT check service 'freshness' freshness_threshold 1800 notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 0 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts is_volatile 0 check_period 24x7 max_check_attempts 6 normal_check_interval 20 retry_check_interval 5 notification_interval 720 notification_period 24x7 notification_options n register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define service { use generic-service ; Name of service template to use host_name DETAH-R1 service_description PING contact_groups device-admins,DETAH-admins,router-admins check_command check_ping!200,40%!1000,100% } Raffy -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Thu Mar 23 20:12:14 2006 From: marc at ena.com (Marc Powell) Date: Thu, 23 Mar 2006 13:12:14 -0600 Subject: Nagios 'Out Of Memory' Problems Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Armistead, Raffy > Sent: Thursday, March 23, 2006 12:23 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios 'Out Of Memory' Problems > > I have a problem with my Nagios server constantly crashing. It keeps > outputting on the screen Out of Memory errors which causes loss of access > to the server. I can ping the box but I cannot SSH or web into it to view > any information. This has been happening increasingly more lately. Now it > is about every 2-3 days that this is occurring. We have been adding more > and more devices to the servers and this problem has been increasing as > this occurs. This is how I have it set up. > > > > I have a Main Nagios server that is running the latest 2.0 (stable) Nagios > release. It is monitoring about 6800 devices but it is not actively > checking the devices. Its main role is to provide a web interface and > receive passive polls from three other servers which do the polling. The > main server also does email notifications when a device goes down. The > server sends about 30-40 emails a day. I am using NSCA 2.5 between the > server and the client Nagios servers. I am only monitoring one service for > each device which is either TCP or ping depending on the device. Mostly > all devices are monitored with TCP (roughly 6000). The rest are monitored > with ping. The individual servers are pretty evenly spread with the number > of devices. They are about 2000-2500 each. > > Can someone please help me in resolving this problem? Thanks Have you determined what process is using the memory? One of the first steps you should take is to set appropriate ulimits for memory utilization for that user so that it doesn't bring down the server. I would configure nagios to monitor memory on that server then use top or ps to identify the process(es) using the allocated memory when memory utilization is high. That will provide better direction for troubleshooting rather than simply that the machine is crashing due to memory exhaustion. The nagios deamon itself isn't going to be using a lot of RAM (10M on my box with 3400 passive services). My somewhat unfounded guess is that perhaps nagios isn't reaping the results from NSCA frequently enough so you're having a backlog of ncsa processes. Each process uses just a little memory but if you have thousands of them then it adds up. I've personally experienced this on a machine that was experiencing disk problems. If this is the case, beyond a hardware problem or capacity issue, I'd verify that your command_check_interval is set to -1 to make sure that nagios is checking the external command file as quickly as it can. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From enediel at hotmail.com Thu Mar 23 20:20:26 2006 From: enediel at hotmail.com (enediel gonzalez) Date: Thu, 23 Mar 2006 19:20:26 +0000 Subject: incomplete information showed by status.cgi Message-ID: Hello I have nagios running on my debian box. I declared 1 host with about 20 monitor (for testing purposes) When I invoke status.cgi, sometimes appear all defined monitor for that host and the rest of declared hosts, and sometimes appear a subset of monitors defined for the host and I don't see the rest of hosts. I there something I can do to overpass this problem. Thanks in advance for any help Regards Enediel Linux user 300141 Debian GNU/Linux ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 23 20:25:07 2006 From: marc at ena.com (Marc Powell) Date: Thu, 23 Mar 2006 13:25:07 -0600 Subject: incomplete information showed by status.cgi Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of enediel gonzalez > Sent: Thursday, March 23, 2006 1:20 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] incomplete information showed by status.cgi > > Hello > > I have nagios running on my debian box. I declared 1 host with about 20 > monitor (for testing purposes) > > When I invoke status.cgi, sometimes appear all defined monitor for that > host > and the rest of declared hosts, and sometimes appear a subset of monitors > defined for the host and I don't see the rest of hosts. > > I there something I can do to overpass this problem. Presuming nagios-1.x -- http://www.nagios.org/faqs/viewfaq.php?faq_id=21&expand=false&showdesc=f alse Nagios-2.0 shouldn't experience this problem. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arapoport at telepacific.com Thu Mar 23 21:28:20 2006 From: arapoport at telepacific.com (Asaf Rapoport) Date: Thu, 23 Mar 2006 12:28:20 -0800 Subject: Nagios-users digest, Vol 1 #3100 - 19 msgs Message-ID: <551C84CF2317DD4988B76F1532F261D03BABB4@la2003mail2.latelephone.telepacific.int> Hello Everyone, I recently upgraded to the 2.0 full release and I have problems with the mail notification, I tried different macros but I get the same result, Additional Info is Blank, as seen below State: CRITICAL Date/Time: Thu Mar 23 12:24:16 PST 2006 Additional Info: $ $ PING OK - Packet loss = 0%, RTA = 0.30 ms -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of nagios-users-request at lists.sourceforge.net Sent: Thursday, March 23, 2006 11:26 AM To: nagios-users at lists.sourceforge.net Subject: Nagios-users digest, Vol 1 #3100 - 19 msgs 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-admin 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. NRPE and $SERVICESTATE$ (Jean Frontin) 2. Re: SNMP WARNING (James Noyes) 3. R: [Nagios-users] Check_ntp (Marco Borsani) 4. Re: Acknowledge issues via e-mail (Rex Wickham) 5. nagios irc channel available (Morten Bekkelund) 6. Re: nagios irc channel available (Russell Adams) 7. Re: nagios irc channel available (Morten Bekkelund) 8. RE: NRPE and $SERVICESTATE$ (Marc Powell) 9. RE: Check_ntp (Marc Powell) 10. R: [Nagios-users] Check_ntp (Marco Borsani) 11. RE: Check_ntp (Marc Powell) 12. check_sensors (Jeffrey Montgomery) 13. Re: check_sensors (Doug Veldhuisen) 14. RE: Difficulty with wildcards in serviceescalation (Ivan Fetch) 15. RE: Difficulty with wildcards in serviceescalation (Andrew Laden) 16. Nagios 'Out Of Memory' Problems (Armistead, Raffy) 17. RE: Nagios 'Out Of Memory' Problems (Marc Powell) 18. incomplete information showed by status.cgi (enediel gonzalez) 19. RE: incomplete information showed by status.cgi (Marc Powell) --__--__-- Message: 1 Date: Thu, 23 Mar 2006 09:20:39 +0100 To: nagios-users at lists.sourceforge.net From: Jean Frontin Subject: [Nagios-users] NRPE and $SERVICESTATE$ Hello, I run nagios 2.0 and nrpe 2.4. How may I do to modify the $SERVICESTATE$ value resulting from a request of nagios ? I run chekc_nrpe to query nrpe on an host and I need to modify, seeing results of running nrpe, $SERVICESTATE$ to obtain a notification alarm Regards, Many thanks Jean Frontin --__--__-- Message: 2 Date: Thu, 23 Mar 2006 01:39:48 -0700 From: James Noyes To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] SNMP WARNING Organization: Retrogeeks On Wed, 22 Mar 2006 05:29:48 -0500 (EST), "Kyle Tucker" wrote: > > > Am I missing something fundamental about this command ? > > > > It appears that you missed the 'min:max' vs. 'max:min' thing on the ranges, > > but 1) that's a common oversight, and 2) it doesn't appear to be the real > > reason you're getting nothing but warnings. > > James, thanks for all this detailed explanation on check_snmp. I am > using the plugin extensively, but I have a fundamental problem with > it being designed to give an OK if checks for warning and critical > ranges and are within that range. This has for me - and must for > others - been the source of confusion and need for some brain strain. > What do you suppose was the thinking with this approach? The man page > says it best. > > -w, --warning=INTEGER_RANGE(s) > Range(s) which will not result in a WARNING status > > Why not specify the *warning* range using the *warning* option that > *WILL* produce a *warning*? It just seems all backwards. Well, I'm much more a user than developer (although I did finally write my own Solaris Disksuite plugin out of frustration), and as many times as I thought about the reason for the min:max vs. max:min behavior, I never could come up with a plausible reason for doing it this particular way that seemed "obvious". About the only reasonable explanation I ever did come up with, and it's still pretty far-fetched, was that for a majority of SNMP OIDs that can be queried, the "OK" or "normal" condition is usually one result, while the "error" condition has many results, giving more detail about the error. So I just guessed that it made more sense to specify the "OK" results, rather than a much larger range of "not OK" results. Like I said - far-fetched, but it's really all I could come up with. -- James Noyes (jnoyes-nagios at retrogeeks.com) --__--__-- Message: 3 From: "Marco Borsani" To: "'Bill Jacqmein'" Cc: "'NAGIOS'" Subject: R: [Nagios-users] Check_ntp Date: Thu, 23 Mar 2006 10:02:27 +0100 Organization: ITnet I also tested plugins 1.4.2, but I received same error message Marco -}-----Messaggio originale----- -}Da: Bill Jacqmein [mailto:wrjacqmein at gmail.com]=20 -}Inviato: mercoled=EC 22 marzo 2006 17.34 -}A: Marco Borsani -}Cc: NAGIOS -}Oggetto: Re: [Nagios-users] Check_ntp -} -}upgrade to the latest version of the plugins at=20 -}http://nagiosplug.sourceforge.net/ -}barring that -}check that utils.pm is in the libexec directory. -} -} -}On 3/22/06, Marco Borsani wrote: -}> Hi all ! -}> -}> I'd to use check_ntp, but when I "try" to running it , I obtain: -}> # ./check_ntp -}> "use" not allowed in expression at ./check_ntp line 66, at=20 -}end of line=20 -}> syntax error at ./check_ntp line 66, near "libexec use utils " -}> Execution of ./check_ntp aborted due to compilation errors. -}> -}> I don't know perl :-( -}> -}> I am using plugins 1.3.1 and Nagios 1.3 (on a HP-UX 11.00 system). -}> -}> Regards -}> -}> Marco Borsani -}> Unix & Monitoring System Administrator Technical Operation -}> Tel. +39 010 4310115 -}> Fax +39 010 4327454 -}> E-mail: m.borsani at IT.net -}> -}> ITnet S.r.l. - Direzione e Coordinamento di WIND=20 -}Telecomunicazioni S.p.A. -}> Internet Service Provider -}> Sede legale: Via C.G.Viola, 48 - 00148 Roma -}> Dir. Centrale e Amministrativa: Via Pacinotti, 39 -}> 16151 Genova (Italy) -}> -}> http://www.it.net -}> mailto:info at IT.net -}> _______________________________________________________________ -}> Altre sedi ITnet: -}> MILANO tel.: +39 02 30114900 info-milano at IT.net -}> ROMA tel.: +39 06 83116707 info-roma at IT.net -}> _______________________________________________________________ -}> ITnet is associated to CIX (Commercial IP eXchange) and=20 -}RIPE ITnet is=20 -}> associated to AIIP (Associazione Italiana Internet Providers) -}> -}> -}> -}> -}> ------------------------------------------------------- -}> This SF.Net email is sponsored by xPML, a groundbreaking scripting=20 -}> language that extends applications into web and mobile=20 -}media. Attend=20 -}> the live webcast and join the prime developer group=20 -}breaking into this new coding territory! -}>=20 -}http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D1216 -}> 42 _______________________________________________ -}> Nagios-users mailing list -}> Nagios-users at lists.sourceforge.net -}> https://lists.sourceforge.net/lists/listinfo/nagios-users -}> ::: Please include Nagios version, plugin version (-v) and=20 -}OS when reporting any issue. -}> ::: Messages without supporting info will risk being sent=20 -}to /dev/null -}> -} --__--__-- Message: 4 To: nagios-users at lists.sourceforge.net, rex at 2020media.com Subject: Re: [Nagios-users] Acknowledge issues via e-mail From: Rex Wickham Date: Thu, 23 Mar 2006 13:11:03 +0100 (CET) Hi Dany =09 I've got Terry's script working in conjunction with NANS=20 (http://www.nagiosexchange.org/Notifications.35.0.html?&tx_netnagext_pi1[= p_view]=3D186) A script which aggregates alerts to cut down on "nagios storm" Regards REX ...[write your message here]... - Rex Wickham (2020media) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi= 1[showUid]=3D14819 =09 --__--__-- Message: 5 From: Morten Bekkelund To: nagios Date: Thu, 23 Mar 2006 14:33:02 +0100 Subject: [Nagios-users] nagios irc channel available Hi! There might be nagios-channels out there, but since I didn't find any, I made my own. A friend of mine and me are working with nagios every day and have one of the largest implementations registered at nagios.org. We figured it would be nice to have a dedicated nagios-channel to discuss options and solutions with fellow users out there. Feel free to join in. irc server : irc.irclink.net port : 6667 channel : #nagios Regards, Morten. --__--__-- Message: 6 Date: Thu, 23 Mar 2006 08:05:40 -0600 From: Russell Adams To: nagios Subject: Re: [Nagios-users] nagios irc channel available There's already #nagios on freenode.net. I count 40 nicks logged in currently. Russell On Thu, Mar 23, 2006 at 02:33:02PM +0100, Morten Bekkelund wrote: > Hi! > > There might be nagios-channels out there, but since I didn't find any, I > made my own. A friend of mine and me are working with nagios every day > and have one of the largest implementations registered at nagios.org. We > figured it would be nice to have a dedicated nagios-channel to discuss > options and solutions with fellow users out there. > > Feel free to join in. > > irc server : irc.irclink.net > port : 6667 > channel : #nagios > > > Regards, Morten. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 --__--__-- Message: 7 Subject: Re: [Nagios-users] nagios irc channel available From: Morten Bekkelund To: Russell Adams Cc: nagios Date: Thu, 23 Mar 2006 15:13:34 +0100 oh bugger, why didnt I know :P on my way there (will still be keeping this one tho) On Thu, 2006-03-23 at 08:05 -0600, Russell Adams wrote: > There's already #nagios on freenode.net. I count 40 nicks logged in currently. > > Russell > > On Thu, Mar 23, 2006 at 02:33:02PM +0100, Morten Bekkelund wrote: > > Hi! > > > > There might be nagios-channels out there, but since I didn't find any, I > > made my own. A friend of mine and me are working with nagios every day > > and have one of the largest implementations registered at nagios.org. We > > figured it would be nice to have a dedicated nagios-channel to discuss > > options and solutions with fellow users out there. > > > > Feel free to join in. > > > > irc server : irc.irclink.net > > port : 6667 > > channel : #nagios > > > > > > Regards, Morten. > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > > that extends applications into web and mobile media. Attend the live webcast > > and join the prime developer group breaking into this new coding territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: 8 Subject: RE: [Nagios-users] NRPE and $SERVICESTATE$ Date: Thu, 23 Mar 2006 09:10:20 -0600 From: "Marc Powell" To: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jean Frontin > Sent: Thursday, March 23, 2006 2:21 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NRPE and $SERVICESTATE$ >=20 > Hello, >=20 > I run nagios 2.0 and nrpe 2.4. >=20 > How may I do to modify the $SERVICESTATE$ value resulting from a request > of > nagios ? >=20 > I run chekc_nrpe to query nrpe on an host and I need to modify, seeing > results of running nrpe, $SERVICESTATE$ to obtain a notification alarm The service state is set by the plugin that is being executed by NRPE via the plugin's exit code. NRPE simply passes that code back to nagios unmodified. See http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN75 for the proper plugin exit codes for each state. -- Marc --__--__-- Message: 9 Subject: RE: [Nagios-users] Check_ntp Date: Thu, 23 Mar 2006 09:14:16 -0600 From: "Marc Powell" To: "NAGIOS" Look around line 66 in the plugin and verify that it looks something = like -- use lib "/usr/local/nagios/libexec" ; use utils qw($TIMEOUT %ERRORS &print_revision &support); -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Marco Borsani > Sent: Thursday, March 23, 2006 3:02 AM > To: 'Bill Jacqmein' > Cc: 'NAGIOS' > Subject: R: [Nagios-users] Check_ntp >=20 > I also tested plugins 1.4.2, but I received same error message >=20 > Marco >=20 > -}-----Messaggio originale----- > -}Da: Bill Jacqmein [mailto:wrjacqmein at gmail.com] > -}Inviato: mercoled=EC 22 marzo 2006 17.34 > -}A: Marco Borsani > -}Cc: NAGIOS > -}Oggetto: Re: [Nagios-users] Check_ntp > -} > -}upgrade to the latest version of the plugins at > -}http://nagiosplug.sourceforge.net/ > -}barring that > -}check that utils.pm is in the libexec directory. > -} > -} > -}On 3/22/06, Marco Borsani wrote: > -}> Hi all ! > -}> > -}> I'd to use check_ntp, but when I "try" to running it , I obtain: > -}> # ./check_ntp > -}> "use" not allowed in expression at ./check_ntp line 66, at > -}end of line > -}> syntax error at ./check_ntp line 66, near "libexec use utils " > -}> Execution of ./check_ntp aborted due to compilation errors. > -}> > -}> I don't know perl :-( > -}> > -}> I am using plugins 1.3.1 and Nagios 1.3 (on a HP-UX 11.00 system). > -}> > -}> Regards > -}> > -}> Marco Borsani > -}> Unix & Monitoring System Administrator Technical Operation > -}> Tel. +39 010 4310115 > -}> Fax +39 010 4327454 > -}> E-mail: m.borsani at IT.net > -}> > -}> ITnet S.r.l. - Direzione e Coordinamento di WIND > -}Telecomunicazioni S.p.A. > -}> Internet Service Provider > -}> Sede legale: Via C.G.Viola, 48 - 00148 Roma > -}> Dir. Centrale e Amministrativa: Via Pacinotti, 39 > -}> 16151 Genova (Italy) > -}> > -}> http://www.it.net > -}> mailto:info at IT.net > -}> _______________________________________________________________ > -}> Altre sedi ITnet: > -}> MILANO tel.: +39 02 30114900 info-milano at IT.net > -}> ROMA tel.: +39 06 83116707 info-roma at IT.net > -}> _______________________________________________________________ > -}> ITnet is associated to CIX (Commercial IP eXchange) and > -}RIPE ITnet is > -}> associated to AIIP (Associazione Italiana Internet Providers) > -}> > -}> > -}> > -}> > -}> ------------------------------------------------------- > -}> This SF.Net email is sponsored by xPML, a groundbreaking scripting > -}> language that extends applications into web and mobile > -}media. Attend > -}> the live webcast and join the prime developer group > -}breaking into this new coding territory! > -}> > = -}http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D1216 > -}> 42 _______________________________________________ > -}> Nagios-users mailing list > -}> Nagios-users at lists.sourceforge.net > -}> https://lists.sourceforge.net/lists/listinfo/nagios-users > -}> ::: Please include Nagios version, plugin version (-v) and > -}OS when reporting any issue. > -}> ::: Messages without supporting info will risk being sent > -}to /dev/null > -}> > -} >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: 10 From: "Marco Borsani" To: "'Marc Powell'" , "'NAGIOS'" Subject: R: [Nagios-users] Check_ntp Date: Thu, 23 Mar 2006 16:23:07 +0100 Organization: ITnet My lines were: use lib "/usr/local/nagios/libexec" /libexec use utils qw($TIMEOUT %ERRORS &print_revision &support);=20 Now the command answers correctly !! ;-) The help on-line (check_ntp -h) is not so easy to understand... Does check_ntp compare the target host specified time with the locale = time (Nagios server time) or what? Regards Marco -}-----Messaggio originale----- -}Da: nagios-users-admin at lists.sourceforge.net=20 -}[mailto:nagios-users-admin at lists.sourceforge.net] Per conto=20 -}di Marc Powell -}Inviato: gioved=EC 23 marzo 2006 16.14 -}A: NAGIOS -}Oggetto: RE: [Nagios-users] Check_ntp -} -}Look around line 66 in the plugin and verify that it looks=20 -}something like -- -} -}use lib "/usr/local/nagios/libexec" ; -}use utils qw($TIMEOUT %ERRORS &print_revision &support); -} -}-- -}Marc -} -}> -----Original Message----- -}> From: nagios-users-admin at lists.sourceforge.net=20 -}[mailto:nagios-users-=20 -}> admin at lists.sourceforge.net] On Behalf Of Marco Borsani -}> Sent: Thursday, March 23, 2006 3:02 AM -}> To: 'Bill Jacqmein' -}> Cc: 'NAGIOS' -}> Subject: R: [Nagios-users] Check_ntp -}>=20 -}> I also tested plugins 1.4.2, but I received same error message -}>=20 -}> Marco -}>=20 -}> -}-----Messaggio originale----- -}> -}Da: Bill Jacqmein [mailto:wrjacqmein at gmail.com] -}> -}Inviato: mercoled=EC 22 marzo 2006 17.34 -}> -}A: Marco Borsani -}> -}Cc: NAGIOS -}> -}Oggetto: Re: [Nagios-users] Check_ntp -} -}upgrade to the latest=20 -}> version of the plugins at -}http://nagiosplug.sourceforge.net/ -}> -}barring that -}> -}check that utils.pm is in the libexec directory. -}> -} -}> -} -}> -}On 3/22/06, Marco Borsani wrote: -}> -}> Hi all ! -}> -}> -}> -}> I'd to use check_ntp, but when I "try" to running it , I obtain: -}> -}> # ./check_ntp -}> -}> "use" not allowed in expression at ./check_ntp line 66,=20 -}at -}end=20 -}> of line -}> syntax error at ./check_ntp line 66, near "libexec use=20 -}> utils " -}> -}> Execution of ./check_ntp aborted due to compilation errors. -}> -}> -}> -}> I don't know perl :-( -}> -}> -}> -}> I am using plugins 1.3.1 and Nagios 1.3 (on a HP-UX=20 -}11.00 system). -}> -}> -}> -}> Regards -}> -}> -}> -}> Marco Borsani -}> -}> Unix & Monitoring System Administrator Technical Operation -}> -}> Tel. +39 010 4310115 -}> -}> Fax +39 010 4327454 -}> -}> E-mail: m.borsani at IT.net -}> -}> -}> -}> ITnet S.r.l. - Direzione e Coordinamento di WIND=20 -}> -}Telecomunicazioni S.p.A. -}> -}> Internet Service Provider -}> -}> Sede legale: Via C.G.Viola, 48 - 00148 Roma -}> -}> Dir. Centrale e Amministrativa: Via Pacinotti, 39 -}> -}> 16151 Genova (Italy) -}> -}> -}> -}> http://www.it.net -}> -}> mailto:info at IT.net -}> -}> _______________________________________________________________ -}> -}> Altre sedi ITnet: -}> -}> MILANO tel.: +39 02 30114900 info-milano at IT.net -}> -}> ROMA tel.: +39 06 83116707 info-roma at IT.net -}> -}> _______________________________________________________________ -}> -}> ITnet is associated to CIX (Commercial IP eXchange) and -}RIPE=20 -}> ITnet is -}> associated to AIIP (Associazione Italiana Internet=20 -}> Providers) -}> -}> -}> -}> -}>=20 -}> ------------------------------------------------------- -}> -}> This SF.Net email is sponsored by xPML, a=20 -}groundbreaking scripting=20 -}> -}> language that extends applications into web and mobile -}media.=20 -}> Attend -}> the live webcast and join the prime developer group=20 -}> -}breaking into this new coding territory! -}> -}> -}>=20 -}-}http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&d= at=3D12 -}> 16 -}> 42 _______________________________________________ -}> -}> Nagios-users mailing list -}> -}> Nagios-users at lists.sourceforge.net -}> -}> https://lists.sourceforge.net/lists/listinfo/nagios-users -}> -}> ::: Please include Nagios version, plugin version (-v) and -}OS=20 -}> when reporting any issue. -}> -}> ::: Messages without supporting info will risk being sent -}to=20 -}> /dev/null -}> -} -}>=20 -}>=20 -}>=20 -}> ------------------------------------------------------- -}> This SF.Net email is sponsored by xPML, a groundbreaking scripting=20 -}> language that extends applications into web and mobile=20 -}media. Attend=20 -}> the live webcast and join the prime developer group=20 -}breaking into this=20 -}> new coding territory! -}> = http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 -}> _______________________________________________ -}> Nagios-users mailing list -}> Nagios-users at lists.sourceforge.net -}> https://lists.sourceforge.net/lists/listinfo/nagios-users -}> ::: Please include Nagios version, plugin version (-v) and OS when=20 -}> reporting any issue. -}> ::: Messages without supporting info will risk being sent=20 -}to /dev/null -} -} -}------------------------------------------------------- -}This SF.Net email is sponsored by xPML, a groundbreaking=20 -}scripting language that extends applications into web and=20 -}mobile media. Attend the live webcast and join the prime=20 -}developer group breaking into this new coding territory! -}http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 -}_______________________________________________ -}Nagios-users mailing list -}Nagios-users at lists.sourceforge.net -}https://lists.sourceforge.net/lists/listinfo/nagios-users -}::: Please include Nagios version, plugin version (-v) and OS=20 -}when reporting any issue.=20 -}::: Messages without supporting info will risk being sent to /dev/null -} --__--__-- Message: 11 Subject: RE: [Nagios-users] Check_ntp Date: Thu, 23 Mar 2006 09:28:40 -0600 From: "Marc Powell" To: "NAGIOS" > -----Original Message----- > From: Marco Borsani [mailto:m.borsani at it.net] > Sent: Thursday, March 23, 2006 9:23 AM > To: Marc Powell; 'NAGIOS' > Subject: R: [Nagios-users] Check_ntp >=20 > My lines were: >=20 > use lib "/usr/local/nagios/libexec" /libexec > use utils qw($TIMEOUT %ERRORS &print_revision &support); >=20 > Now the command answers correctly !! ;-) >=20 > The help on-line (check_ntp -h) is not so easy to understand... >=20 > Does check_ntp compare the target host specified time with the locale time > (Nagios server time) or what? I don't use the plugin but the help says "Checks the local timestamp offset versus with ntpdate" so I would say the answer is yes. -- Marc --__--__-- Message: 12 Date: Thu, 23 Mar 2006 09:47:01 -0600 From: "Jeffrey Montgomery" To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_sensors ------=_Part_6150_12434221.1143128821479 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Can anyone explain how to use the check_sensor plugin? I installed lm_sensors and when I run ./check_sensors 10.10.18.23 I get WARNING - sensors returned state 1. Thanks -- Jeff ------=_Part_6150_12434221.1143128821479 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Can anyone explain how to use the check_sensor plugin?  I installed lm= _sensors and when I run
./check_sensors 10.10.18.23 I get WARNING - sensors returned state 1.
=
Thanks
--
Jeff
------=_Part_6150_12434221.1143128821479-- --__--__-- Message: 13 Date: Thu, 23 Mar 2006 10:41:32 -0600 From: Doug Veldhuisen Subject: Re: [Nagios-users] check_sensors To: Jeffrey Montgomery , nagios-users at lists.sourceforge.net --Boundary_(ID_bA5PrlQ+ELfwrR+7UINlFA) Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT Jeffrey: You should check to make sure that lm_sensors package is really running. Quite a number of machines don't support that package. The program starts then quitely dies. Example: Dell's don't support it at all. (or if I'm incorrect on that someone in the group correct me and then tell me how to make it work) An IBM intellistation which I thought might, won't either. try a ps -ef | grep sensors Doug At 09:47 AM 3/23/2006, Jeffrey Montgomery wrote: >Can anyone explain how to use the check_sensor plugin? I installed >lm_sensors and when I run >./check_sensors 10.10.18.23 I get WARNING - sensors >returned state 1. > >Thanks >-- >Jeff --Boundary_(ID_bA5PrlQ+ELfwrR+7UINlFA) Content-type: text/html; charset=us-ascii Content-transfer-encoding: 7BIT
Jeffrey:

You should check to make sure that lm_sensors package is really running.  Quite a number of machines don't support that package.  The program starts then quitely dies.  Example: Dell's don't support it at all. (or if I'm incorrect on that someone in the group correct me and then tell me how to make it work)  An IBM intellistation which I thought might, won't either.

try a ps -ef | grep sensors

Doug


At 09:47 AM 3/23/2006, Jeffrey Montgomery wrote:
Can anyone explain how to use the check_sensor plugin?  I installed lm_sensors and when I run
./check_sensors 10.10.18.23 I get WARNING - sensors returned state 1.

Thanks
--
Jeff
--Boundary_(ID_bA5PrlQ+ELfwrR+7UINlFA)-- --__--__-- Message: 14 Date: Thu, 23 Mar 2006 10:37:26 -0700 (MST) From: Ivan Fetch Subject: RE: [Nagios-users] Difficulty with wildcards in serviceescalation To: Andrew Laden Cc: nagios-users at lists.sourceforge.net Hello, Andrew, I wanted to thank you for your reply, and mention that yes this does work as I wanted. I am curious what setting use_regexp_matching to 1, but use_true_regexp_matching to 0 would bring to the table (given that the docs apparently mis-state these options). Thanks - Ivan. On Tue, 21 Feb 2006, Andrew Laden wrote: > There is a documentation error. You have to use real regex. A naked * by > itself is not a valid regex. > > Try .* > > -Andrew > >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net >> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf >> Of Ivan Fetch >> Sent: Monday, February 20, 2006 5:25 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Difficulty with wildcards in serviceescalation >> >> Hello, >> >> >> I'm having difficulties with wildcards in a >> serviceescalation, running nagios 2.0-stable. It seems like >> the documentation discusses doing exactly this, so perhaps my >> trying to get this to work last minute is causing me to >> overlook something... Any ideas? >> >> >> # Limit notifications to a max of 5, the last one notifying everyone. >> define serviceescalation{ >> host_name * >> service_description * >> first_notification 5 >> last_notification 0 >> notification_interval 0 >> contact_groups everyone >> } >> >> >> >> When verifying the config I get: >> >> "Reading configuration data... >> >> Error: Could not find any host matching '*' >> Error: Could not expand hostgroups and/or hosts specified in >> service escalation (config file >> '/usr/local/nagios/etc/du/services.cfg', starting on line 154)" >> >> >> >> I have this set in /usr/local/nagios/etc/nagios.cfg: >> use_regexp_matching=1 >> use_true_regexp_matching=0 >> # ... at the end of the file ... >> cfg_dir=/usr/local/nagios/etc/du >> # (which is where the services.cfg is read, which is where the >> # serviceescalation is defined) >> >> >> >> Thanks, >> >> Ivan Fetch. >> ' >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep >> through log files for problems? Stop! Download the new AJAX >> search engine that makes searching your log files as easy as >> surfing the web. DOWNLOAD SPLUNK! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486& > dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS >> when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > --__--__-- Message: 15 From: Andrew Laden To: Ivan Fetch Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Difficulty with wildcards in serviceescalation Date: Thu, 23 Mar 2006 12:58:35 -0500 I believe the docs are pretty much correct on this one. Use_regexp_matching=1 will turn on regex for entries that contain a "*" or "?" only. Use_true_regex_matching=1 will turn it on completely, which while it sounds neat, will cause lots of headaches. Consider if you have a host named "mile", and another named "smiles". If you have true_regex on, you will never be able to only reference the host "mile" as every entry for it will match "smiles". (You would have to use "^mile$" to be safe) That's why is recommended to keep it off unless you really know what you are doing. > -----Original Message----- > From: Ivan Fetch [mailto:ifetch at du.edu] > Sent: Thursday, March 23, 2006 12:37 PM > To: Andrew Laden > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Difficulty with wildcards in > serviceescalation > > Hello, > > Andrew, I wanted to thank you for your reply, and mention > that yes this does work as I wanted. > > I am curious what setting use_regexp_matching to 1, but > use_true_regexp_matching to 0 would bring to the table (given > that the docs apparently mis-state these options). > > > Thanks - Ivan. > On Tue, 21 Feb 2006, Andrew > Laden wrote: > > > There is a documentation error. You have to use real regex. > A naked * > > by itself is not a valid regex. > > > > Try .* > > > > -Andrew > > > >> -----Original Message----- > >> From: nagios-users-admin at lists.sourceforge.net > >> [mailto:nagios-users-admin at lists.sourceforge.net] On > Behalf Of Ivan > >> Fetch > >> Sent: Monday, February 20, 2006 5:25 PM > >> To: nagios-users at lists.sourceforge.net > >> Subject: [Nagios-users] Difficulty with wildcards in > >> serviceescalation > >> > >> Hello, > >> > >> > >> I'm having difficulties with wildcards in a serviceescalation, > >> running nagios 2.0-stable. It seems like the > documentation discusses > >> doing exactly this, so perhaps my trying to get this to work last > >> minute is causing me to overlook something... Any ideas? > >> > >> > >> # Limit notifications to a max of 5, the last one > notifying everyone. > >> define serviceescalation{ > >> host_name * > >> service_description * > >> first_notification 5 > >> last_notification 0 > >> notification_interval 0 > >> contact_groups everyone > >> } > >> > >> > >> > >> When verifying the config I get: > >> > >> "Reading configuration data... > >> > >> Error: Could not find any host matching '*' > >> Error: Could not expand hostgroups and/or hosts specified > in service > >> escalation (config file '/usr/local/nagios/etc/du/services.cfg', > >> starting on line 154)" > >> > >> > >> > >> I have this set in /usr/local/nagios/etc/nagios.cfg: > >> use_regexp_matching=1 > >> use_true_regexp_matching=0 > >> # ... at the end of the file ... > >> cfg_dir=/usr/local/nagios/etc/du > >> # (which is where the services.cfg is read, which is where the > >> # serviceescalation is defined) > >> > >> > >> > >> Thanks, > >> > >> Ivan Fetch. > >> ' > >> > >> > >> ------------------------------------------------------- > >> This SF.net email is sponsored by: Splunk Inc. Do you grep through > >> log files for problems? Stop! Download the new AJAX > search engine > >> that makes searching your log files as easy as surfing the web. > >> DOWNLOAD SPLUNK! > >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486& > > dat=121642 > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: 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: Thu, 23 Mar 2006 10:23:13 -0800 From: "Armistead, Raffy" To: Subject: [Nagios-users] Nagios 'Out Of Memory' Problems This is a multi-part message in MIME format. ------_=_NextPart_001_01C64EA6.D8E6FE73 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable I have a problem with my Nagios server constantly crashing. It keeps outputting on the screen Out of Memory errors which causes loss of access to the server. I can ping the box but I cannot SSH or web into it to view any information. This has been happening increasingly more lately. Now it is about every 2-3 days that this is occurring. We have been adding more and more devices to the servers and this problem has been increasing as this occurs. This is how I have it set up. =20 I have a Main Nagios server that is running the latest 2.0 (stable) Nagios release. It is monitoring about 6800 devices but it is not actively checking the devices. Its main role is to provide a web interface and receive passive polls from three other servers which do the polling. The main server also does email notifications when a device goes down. The server sends about 30-40 emails a day. I am using NSCA 2.5 between the server and the client Nagios servers. I am only monitoring one service for each device which is either TCP or ping depending on the device. Mostly all devices are monitored with TCP (roughly 6000). The rest are monitored with ping. The individual servers are pretty evenly spread with the number of devices. They are about 2000-2500 each. =20 All the servers are just basic computers, Dell Dimension 2400s with base hardware. The main server was upgraded to 2GB RAM while the other servers are running 512MB each. They are all running Celeron 2.4 GHz processors. The individual servers are not having out of memory problems and they are running the latest 2.0 (stable) release as well. They all run RedHat 9.0 with everything installed for the packages. =20 Can someone please help me in resolving this problem? Thanks. =20 =20 =20 =20 =20 =20 The TOP process does not appear like it is running out of memory. This is the normal output when the server has been running for a few hours. 57 processes: 54 sleeping, 3 running, 0 zombie, 0 stopped CPU states: 41.1% user 58.8% system 0.0% nice 0.0% iowait 0.0% idle Mem: 2063556k av, 285940k used, 1777616k free, 0k shrd, 41056k buff 177644k actv, 51688k in_d, 10892k in_c Swap: 1044184k av, 0k used, 1044184k free 114208k cached =20 =20 =20 Here is a sample configuration that I have on the devices on the main server: =20 hosts.cfg define host { name generic-host ; The name of this host template - referenced in other host definitions, used for template recursion/resolution notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 0 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts max_check_attempts 10 notification_interval 720 notification_period 24x7 obsess_over_host 0 notification_options d,u,r,f register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define host { use generic-host ; Name of host template to use host_name DETAH-R1 alias DETAH-R1 address x.x.x.x check_command check_ping!200,40%!10000,100% contact_groups device-admins,DETAH-admins,router-admins } =20 services.cfg define service { name generic-service ; The 'name' of this service template, referenced in other service definitions active_checks_enabled 0 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 0 ; We should obsess over this service (if necessary) check_freshness 1 ; Default is to NOT check service 'freshness' freshness_threshold 1800 notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 0 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts is_volatile 0 check_period 24x7 max_check_attempts 6 normal_check_interval 20 retry_check_interval 5 notification_interval 720 notification_period 24x7 notification_options n register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define service { use generic-service ; Name of service template to use host_name DETAH-R1 service_description PING contact_groups device-admins,DETAH-admins,router-admins check_command check_ping!200,40%!1000,100% } =20 Here is a sample config on the individual server. =20 hosts.cfg define host { name generic-host ; The name of this host template - referenced in other host definitions, used for template recursion/resolution notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 0 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts max_check_attempts 10 notification_interval 720 notification_period 24x7 obsess_over_host 0 notification_options d,u,r,f register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define host { use generic-host ; Name of host template to use host_name DETAH-R1 alias DETAH-R1 address x.x.x.x check_command check_ping!200,40%!10000,100% contact_groups device-admins,DETAH-admins,router-admins } =20 services.cfg define service { name generic-service ; The 'name' of this service template, referenced in other service definitions active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 1 ; Default is to NOT check service 'freshness' freshness_threshold 1800 notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 0 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts is_volatile 0 check_period 24x7 max_check_attempts 6 normal_check_interval 20 retry_check_interval 5 notification_interval 720 notification_period 24x7 notification_options n register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define service { use generic-service ; Name of service template to use host_name DETAH-R1 service_description PING contact_groups device-admins,DETAH-admins,router-admins check_command check_ping!200,40%!1000,100% } =20 Raffy =20 ------_=_NextPart_001_01C64EA6.D8E6FE73 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

I have a problem with my Nagios server constantly = crashing. It keeps outputting on the screen Out of Memory errors which causes loss = of access to the server. I can ping the box but I cannot SSH or web into it = to view any information. This has been happening increasingly more lately. = Now it is about every 2-3 days that this is occurring. We have been adding more = and more devices to the servers and this problem has been increasing as this occurs. This is how I have it set up.

 

I have a Main Nagios server that is running the = latest 2.0 (stable) Nagios release. It is monitoring about 6800 devices but it is = not actively checking the devices. Its main role is to provide a web = interface and receive passive polls from three other servers which do the polling. The = main server also does email notifications when a device goes down. The server = sends about 30-40 emails a day. I am using NSCA 2.5 between the server and the = client Nagios servers. I am only monitoring one service for each device which = is either TCP or ping depending on the device. Mostly all devices are = monitored with TCP (roughly 6000). The rest are monitored with ping. The = individual servers are pretty evenly spread with the number of devices. They are = about 2000-2500 each.

 

All the servers are just basic computers, Dell = Dimension 2400s with base hardware. The main server was upgraded to 2GB RAM while = the other servers are running 512MB each. They are all running Celeron 2.4 = GHz processors. The individual servers are not having out of memory problems = and they are running the latest 2.0 (stable) release as well. They all run = RedHat 9.0 with everything installed for the = packages.

 

Can someone please help me in resolving this problem? Thanks.

 

 

 

 

 

 

The TOP process does not appear like it is running = out of memory. This is the normal output when the server has been running for a = few hours.

57 processes: 54 sleeping, 3 running, 0 zombie, 0 = stopped

CPU states:  41.1% user  58.8% = system   0.0% nice   0.0% iowait   0.0% = idle

Mem:  2063556k av,  285940k used, 1777616k = free,       0k shrd,   41056k buff

         =            177644k actv,   51688k in_d,   10892k = in_c

Swap: 1044184k = av,       0k used, 1044184k free           &nb= sp;      114208k cached

 

 

 

Here is a sample configuration that I have on the = devices on the main server:

 

hosts.cfg

define host {

name        &n= bsp;           &nb= sp;      generic-host     ; The name of this host template - referenced in other host definitions, used for template = recursion/resolution

notifications_enabled     &nb= sp;    1        ; Host notifications are = enabled

event_handler_enabled     &nb= sp;    0        ; Host event handler is = enabled

flap_detection_enabled     &n= bsp;   1        ; Flap detection is = enabled

process_perf_data      &= nbsp;       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

max_check_attempts      =        10

notification_interval     &nb= sp;    720

notification_period      = ;      24x7

obsess_over_host      &n= bsp;        0

notification_options     &nbs= p;     d,u,r,f

register       &nbs= p;            = ;   0        ; DONT REGISTER THIS = DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!

}

define host {

use        &nb= sp;           &nbs= p;       generic-host          ; = Name of host template to use

host_name       &nb= sp;           &nbs= p;  DETAH-R1

alias        &= nbsp;           &n= bsp;     DETAH-R1

address        = ;            =     x.x.x.x

check_command       = ;           check_ping!200,40%!10000,100%

contact_groups      &nbs= p;          device-admins,DETAH-admins,router-admins

}

 

services.cfg

define service {

name        &n= bsp;           &nb= sp;      generic-service  ; The 'name' of this service template, referenced = in other service definitions

active_checks_enabled     &nb= sp;    0        ; Active service checks are = enabled

passive_checks_enabled     &n= bsp;   1        ; Passive service checks are enabled/accepted

parallelize_check      &= nbsp;       1        ; Active service checks = should be parallelized (disabling this can lead to major performance = problems)

obsess_over_service      = ;      0        ; We = should obsess over this service (if necessary)

check_freshness      &nb= sp;         1        ; Default is to NOT check = service 'freshness'

freshness_threshold      = ;      1800

notifications_enabled     &nb= sp;    1        ; Service notifications are = enabled

event_handler_enabled     &nb= sp;    0        ; Service event handler is = enabled

flap_detection_enabled     &n= bsp;   1        ; Flap detection is = enabled

process_perf_data      &= nbsp;       1        ; Process performance = data

retain_status_information     = ; 1        ; Retain status information = across program restarts

retain_nonstatus_information   1        ; Retain non-status = information across program restarts

is_volatile       &= nbsp;            0

check_period       =             24x7

max_check_attempts      =        6

normal_check_interval     &nb= sp;    20

retry_check_interval     &nbs= p;     5

notification_interval     &nb= sp;    720

notification_period      = ;      24x7

notification_options     &nbs= p;     n

register       &nbs= p;            = ;   0        ; DONT REGISTER THIS = DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!

}

define service {

use        &nb= sp;           &nbs= p;       generic-service          ; = Name of service template to use

host_name       &nb= sp;           &nbs= p;  DETAH-R1

service_description      = ;      PING

contact_groups      &nbs= p;          device-admins,DETAH-admins,router-admins

check_command       = ;           check_ping!200,40%!1000,100%

}

 

Here is a sample config on the individual = server.

 

hosts.cfg

define host {

name        &n= bsp;           &nb= sp;      generic-host     ; The name of this host template - referenced in other host definitions, used for template = recursion/resolution

notifications_enabled     &nb= sp;    1        ; Host notifications are = enabled

event_handler_enabled     &nb= sp;    0        ; Host event handler is = enabled

flap_detection_enabled     &n= bsp;   1        ; Flap detection is = enabled

process_perf_data      &= nbsp;       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

max_check_attempts      =        10

notification_interval     &nb= sp;    720

notification_period      = ;      24x7

obsess_over_host      &n= bsp;        0

notification_options     &nbs= p;     d,u,r,f

register =             &= nbsp;         0  &= nbsp;     ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A = TEMPLATE!

}

define host {

use        &nb= sp;           &nbs= p;       generic-host          ; = Name of host template to use

host_name       &nb= sp;           &nbs= p;  DETAH-R1

alias        =             &= nbsp;     DETAH-R1

address        = ;            =     x.x.x.x

check_command       = ;           check_ping!200,40%!10000,100%

contact_groups      &nbs= p;          device-admins,DETAH-admins,router-admins

}

 

services.cfg

define service {

name        &n= bsp;           &nb= sp;      generic-service  ; The 'name' of this service template, referenced = in other service definitions

active_checks_enabled     &nb= sp;    1        ; Active service checks are = enabled

passive_checks_enabled     &n= bsp;   1        ; Passive service checks are enabled/accepted

parallelize_check      &= nbsp;       1        ; Active service checks = should be parallelized (disabling this can lead to major performance = problems)

obsess_over_service      = ;      1        ; We should obsess over this service (if necessary)

check_freshness      &nb= sp;         1        ; Default is to NOT check = service 'freshness'

freshness_threshold      = ;      1800

notifications_enabled     &nb= sp;    1        ; Service notifications are = enabled

event_handler_enabled     &nb= sp;    0        ; Service event handler is = enabled

flap_detection_enabled     &n= bsp;   1        ; Flap detection is = enabled

process_perf_data      &= nbsp;       1        ; Process performance = data

retain_status_information     = ; 1        ; Retain status information = across program restarts

retain_nonstatus_information   1        ; Retain non-status = information across program restarts

is_volatile       &= nbsp;            0

check_period       =             24x7

max_check_attempts      =        6

normal_check_interval     &nb= sp;    20

retry_check_interval    =        5

notification_interval     &nb= sp;    720

notification_period      = ;      24x7

notification_options     &nbs= p;     n

register       &nbs= p;            = ;   0        ; DONT REGISTER THIS = DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!

}

define service {

use        &nb= sp;           &nbs= p;       generic-service          ; = Name of service template to use

host_name       &nb= sp;           &nbs= p;  DETAH-R1

service_description      = ;      PING

contact_groups      &nbs= p;          device-admins,DETAH-admins,router-admins

check_command     =             &= nbsp;check_ping!200,40%!1000,100%

}

 

Raffy

 

------_=_NextPart_001_01C64EA6.D8E6FE73-- --__--__-- Message: 17 Subject: RE: [Nagios-users] Nagios 'Out Of Memory' Problems Date: Thu, 23 Mar 2006 13:12:14 -0600 From: "Marc Powell" To: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Armistead, Raffy > Sent: Thursday, March 23, 2006 12:23 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios 'Out Of Memory' Problems >=20 > I have a problem with my Nagios server constantly crashing. It keeps > outputting on the screen Out of Memory errors which causes loss of access > to the server. I can ping the box but I cannot SSH or web into it to view > any information. This has been happening increasingly more lately. Now it > is about every 2-3 days that this is occurring. We have been adding more > and more devices to the servers and this problem has been increasing as > this occurs. This is how I have it set up. >=20 >=20 >=20 > I have a Main Nagios server that is running the latest 2.0 (stable) Nagios > release. It is monitoring about 6800 devices but it is not actively > checking the devices. Its main role is to provide a web interface and > receive passive polls from three other servers which do the polling. The > main server also does email notifications when a device goes down. The > server sends about 30-40 emails a day. I am using NSCA 2.5 between the > server and the client Nagios servers. I am only monitoring one service for > each device which is either TCP or ping depending on the device. Mostly > all devices are monitored with TCP (roughly 6000). The rest are monitored > with ping. The individual servers are pretty evenly spread with the number > of devices. They are about 2000-2500 each.=20 >=20 > Can someone please help me in resolving this problem? Thanks Have you determined what process is using the memory? One of the first steps you should take is to set appropriate ulimits for memory utilization for that user so that it doesn't bring down the server. I would configure nagios to monitor memory on that server then use top or ps to identify the process(es) using the allocated memory when memory utilization is high. That will provide better direction for troubleshooting rather than simply that the machine is crashing due to memory exhaustion. The nagios deamon itself isn't going to be using a lot of RAM (10M on my box with 3400 passive services). My somewhat unfounded guess is that perhaps nagios isn't reaping the results from NSCA frequently enough so you're having a backlog of ncsa processes. Each process uses just a little memory but if you have thousands of them then it adds up. I've personally experienced this on a machine that was experiencing disk problems. If this is the case, beyond a hardware problem or capacity issue, I'd verify that your command_check_interval is set to -1 to make sure that nagios is checking the external command file as quickly as it can. -- Marc=20 --__--__-- Message: 18 From: "enediel gonzalez" To: nagios-users at lists.sourceforge.net Date: Thu, 23 Mar 2006 19:20:26 +0000 Subject: [Nagios-users] incomplete information showed by status.cgi Hello I have nagios running on my debian box. I declared 1 host with about 20 monitor (for testing purposes) When I invoke status.cgi, sometimes appear all defined monitor for that host and the rest of declared hosts, and sometimes appear a subset of monitors defined for the host and I don't see the rest of hosts. I there something I can do to overpass this problem. Thanks in advance for any help Regards Enediel Linux user 300141 Debian GNU/Linux --__--__-- Message: 19 Subject: RE: [Nagios-users] incomplete information showed by status.cgi Date: Thu, 23 Mar 2006 13:25:07 -0600 From: "Marc Powell" To: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of enediel gonzalez > Sent: Thursday, March 23, 2006 1:20 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] incomplete information showed by status.cgi >=20 > Hello >=20 > I have nagios running on my debian box. I declared 1 host with about 20 > monitor (for testing purposes) >=20 > When I invoke status.cgi, sometimes appear all defined monitor for that > host > and the rest of declared hosts, and sometimes appear a subset of monitors > defined for the host and I don't see the rest of hosts. >=20 > I there something I can do to overpass this problem. Presuming nagios-1.x -- http://www.nagios.org/faqs/viewfaq.php?faq_id=3D21&expand=3Dfalse&showdes= c=3Df alse Nagios-2.0 shouldn't experience this problem. -- Marc=20 --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Thu Mar 23 21:45:09 2006 From: marc at ena.com (Marc Powell) Date: Thu, 23 Mar 2006 14:45:09 -0600 Subject: Nagios-users digest, Vol 1 #3100 - 19 msgs {Disarmed} {Fraud?} Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Asaf Rapoport > Sent: Thursday, March 23, 2006 2:28 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] RE: Nagios-users digest, Vol 1 #3100 - 19 msgs > {Disarmed} {Fraud?} > > Hello Everyone, > > I recently upgraded to the 2.0 full release and I have problems with the > mail notification, I tried different macros but I get the same result, > Additional Info is Blank, as seen below > > State: CRITICAL > > Date/Time: Thu Mar 23 12:24:16 PST 2006 > > Additional Info: > > $ > > > > $ > > PING OK - Packet loss = 0%, RTA = 0.30 ms The equivalent macro for $OUTPUT$ for service notifications is $SERVICEOUTPUT$ in 2.0. It seems you may be including that as I see 'PING OK...' Where's that coming from? What does your notification command look like? Verify that the macros you are using are still valid. http://nagios.sourceforge.net/docs/2_0/whatsnew.html http://nagios.sourceforge.net/docs/2_0/macros.html [93K(!) of irrelevant digest removed] Please see http://www.catb.org/~esr/faqs/smart-questions.html -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From djimenez at membersourcecu.org Thu Mar 23 21:44:28 2006 From: djimenez at membersourcecu.org (Daniel Jimenez) Date: Thu, 23 Mar 2006 14:44:28 -0600 Subject: Check MySQL Query with Perfdata? Message-ID: I'm using Perfparse. It work's great with Nagios 2.0. I'm also pulling the data from PerfParse's db and writing reports in Crystal Reports. -----Original Message----- From: Terry [mailto:td3201 at gmail.com] Sent: Wednesday, March 22, 2006 6:14 PM To: Daniel Jimenez Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Check MySQL Query with Perfdata? I am curious as to what you are doing with the perfdata? What program are you using to analyze it? Daniel Jimenez wrote: >Hey all!, > >check_mysql returns EXACTLY the data I want/need but unfortunately does >not have performance data/perfdata. Could I some how convince (bribe or >otherwise) any programmers to have the plug-in output perfdata? I'd like >to see perfdata for the following 'metrics' (Uptime, Threads, Questions, >and Queries per second avg). It seems like half the work is done >already, it just needs formatting. > >Current output: >Uptime: 54027 Threads: 9 Questions: 851450 Slow queries: 0 Opens: 0 >Flush tables: 1 Open tables: 64 Queries per second avg: 15.760 > >TIA!, > >Daniel Jimenez >MemberSource Credit Union >Information Systems Analyst >djimenez at membersourcecu.org > > >------------------------------------------------------- >This SF.Net email is sponsored by xPML, a groundbreaking scripting language >that extends applications into web and mobile media. Attend the live webcast >and join the prime developer group breaking into this new coding territory! >http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wrjacqmein at gmail.com Thu Mar 23 22:13:32 2006 From: wrjacqmein at gmail.com (Bill Jacqmein) Date: Thu, 23 Mar 2006 16:13:32 -0500 Subject: Check_ntp In-Reply-To: References: Message-ID: <3c9a5bae0603231313v73f36018kff277bb6dad69554@mail.gmail.com> Mark, Where is utils.pm located? Thanks, Bill On 3/23/06, Marc Powell wrote: > > > > -----Original Message----- > > From: Marco Borsani [mailto:m.borsani at it.net] > > Sent: Thursday, March 23, 2006 9:23 AM > > To: Marc Powell; 'NAGIOS' > > Subject: R: [Nagios-users] Check_ntp > > > > My lines were: > > > > use lib "/usr/local/nagios/libexec" /libexec > > use utils qw($TIMEOUT %ERRORS &print_revision &support); > > > > Now the command answers correctly !! ;-) > > > > The help on-line (check_ntp -h) is not so easy to understand... > > > > Does check_ntp compare the target host specified time with the locale > time > > (Nagios server time) or what? > > I don't use the plugin but the help says "Checks the local timestamp > offset versus with ntpdate" so I would say the answer is yes. > > -- > Marc > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rarmistead at datanamicsinc.com Thu Mar 23 22:51:17 2006 From: rarmistead at datanamicsinc.com (Armistead, Raffy) Date: Thu, 23 Mar 2006 13:51:17 -0800 Subject: Nagios 'Out Of Memory' Problems Message-ID: I am not sure exactly what process is causing it to run out of memory. Since I have it as a dedicated Nagios system I would imagine it is Nagios that is causing a problem. This occurred when we had about 4000 devices but very seldom and it wasn't much of an issue then. Now that we almost have 7000 devices that are being monitored it is happening more frequently. Since this was the case I had assumed it was Nagios but didn't know how to go about fixing the problem. I do not know that much about Linux so I am not sure how to go about setting that up. How do I setup ulimits for memory utilization? What steps would I go about to monitor memory utilization for the Nagios server? I had checked the nagios.cfg file and I do have that setting at -1: command_check_interval=-1 I appreciate any help. Thanks. Raffy -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Thursday, March 23, 2006 11:12 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios 'Out Of Memory' Problems > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Armistead, Raffy > Sent: Thursday, March 23, 2006 12:23 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios 'Out Of Memory' Problems > > I have a problem with my Nagios server constantly crashing. It keeps > outputting on the screen Out of Memory errors which causes loss of access > to the server. I can ping the box but I cannot SSH or web into it to view > any information. This has been happening increasingly more lately. Now it > is about every 2-3 days that this is occurring. We have been adding more > and more devices to the servers and this problem has been increasing as > this occurs. This is how I have it set up. > > > > I have a Main Nagios server that is running the latest 2.0 (stable) Nagios > release. It is monitoring about 6800 devices but it is not actively > checking the devices. Its main role is to provide a web interface and > receive passive polls from three other servers which do the polling. The > main server also does email notifications when a device goes down. The > server sends about 30-40 emails a day. I am using NSCA 2.5 between the > server and the client Nagios servers. I am only monitoring one service for > each device which is either TCP or ping depending on the device. Mostly > all devices are monitored with TCP (roughly 6000). The rest are monitored > with ping. The individual servers are pretty evenly spread with the number > of devices. They are about 2000-2500 each. > > Can someone please help me in resolving this problem? Thanks Have you determined what process is using the memory? One of the first steps you should take is to set appropriate ulimits for memory utilization for that user so that it doesn't bring down the server. I would configure nagios to monitor memory on that server then use top or ps to identify the process(es) using the allocated memory when memory utilization is high. That will provide better direction for troubleshooting rather than simply that the machine is crashing due to memory exhaustion. The nagios deamon itself isn't going to be using a lot of RAM (10M on my box with 3400 passive services). My somewhat unfounded guess is that perhaps nagios isn't reaping the results from NSCA frequently enough so you're having a backlog of ncsa processes. Each process uses just a little memory but if you have thousands of them then it adds up. I've personally experienced this on a machine that was experiencing disk problems. If this is the case, beyond a hardware problem or capacity issue, I'd verify that your command_check_interval is set to -1 to make sure that nagios is checking the external command file as quickly as it can. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amalarasan at yahoo.com Thu Mar 23 23:15:14 2006 From: amalarasan at yahoo.com (Amalarasan Jayaraman) Date: Thu, 23 Mar 2006 14:15:14 -0800 (PST) Subject: Check_log3 - solaris log monitoring Message-ID: <20060323221515.74542.qmail@web30402.mail.mud.yahoo.com> Hello All My environment Nagios Version - 2.x Plugin under question - Check_log3 Monitored host - Solaris 10 x86 Nagios Host - Fedora core 4 I had setup nagios to monitor the log file for certain patterns on a remote solaris 10 x86 host using check_by_ssh. As per the author I set the max attempt to 1 and the notify_recovery is 0, check_log3 retains the state and when a pattern match is found the state changes to critical/warning and a notification is sent and the state is retained. My question is, how will I reset the status to normal, from nagios, after the problem is fixed. Also can someone suggest me a better/effecient way of log monitoring with nagios, my requirements are, I want to monitor multiple search strings in the syslog and may want to send alerts for every time the pattern match is found or once in 2 hours (depends on the type of error). I can afford to use multiple probes if required. thanks Amal __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Thu Mar 23 23:20:43 2006 From: jhmartin at toger.us (Jason Martin) Date: Thu, 23 Mar 2006 14:20:43 -0800 Subject: Check_log3 - solaris log monitoring In-Reply-To: <20060323221515.74542.qmail@web30402.mail.mud.yahoo.com> References: <20060323221515.74542.qmail@web30402.mail.mud.yahoo.com> Message-ID: <20060323222042.GK24057@mal.toger.us> On Thu, Mar 23, 2006 at 02:15:14PM -0800, Amalarasan Jayaraman wrote: > My question is, how will I reset the status to > normal, from nagios, after the problem is fixed. If the plugin only looks at 'new' lines, then it'll automatically reset on the next probe, unless that probe too exhibits a problem. > want to monitor multiple search strings in the syslog > and may want to send alerts for every time the pattern > match is found or once in 2 hours (depends on the type > of error). I can afford to use multiple probes if > required. You might want to look at sending all your syslogs to a central server, and having Simple Event Correlator (http://freshmeat.net/projects/sec) send passive alerts in to Nagios about it. It is very good at handling X-matches-over-time and so on. -Jason Martin -- I lost a button hole today. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: From marc at ena.com Thu Mar 23 23:44:19 2006 From: marc at ena.com (Marc Powell) Date: Thu, 23 Mar 2006 16:44:19 -0600 Subject: Check_ntp Message-ID: In the plugins directory, typically /usr/local/nagios/libexec. -- Marc > -----Original Message----- > From: Bill Jacqmein [mailto:wrjacqmein at gmail.com] > Sent: Thursday, March 23, 2006 3:14 PM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Check_ntp > > Mark, > > Where is utils.pm located? > > Thanks, > > Bill > > > On 3/23/06, Marc Powell wrote: > > > > > > > -----Original Message----- > > > From: Marco Borsani [mailto:m.borsani at it.net] > > > Sent: Thursday, March 23, 2006 9:23 AM > > > To: Marc Powell; 'NAGIOS' > > > Subject: R: [Nagios-users] Check_ntp > > > > > > My lines were: > > > > > > use lib "/usr/local/nagios/libexec" /libexec > > > use utils qw($TIMEOUT %ERRORS &print_revision &support); > > > > > > Now the command answers correctly !! ;-) > > > > > > The help on-line (check_ntp -h) is not so easy to understand... > > > > > > Does check_ntp compare the target host specified time with the locale > > time > > > (Nagios server time) or what? > > > > I don't use the plugin but the help says "Checks the local timestamp > > offset versus with ntpdate" so I would say the answer is yes. > > > > -- > > Marc > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > > that extends applications into web and mobile media. Attend the live > webcast > > and join the prime developer group breaking into this new coding > territory! > > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frontin at irit.fr Fri Mar 24 09:08:16 2006 From: frontin at irit.fr (Jean Frontin) Date: Fri, 24 Mar 2006 09:08:16 +0100 Subject: checking http secure Message-ID: <5.0.2.1.2.20060324090651.00ba44e0@mailhost.irit.fr> Hello, I run nagios 2.0 on fedora. Here is the response of a request made to check a websecure. The similar command, on port 80, runs fine about http non secure. [root at myhost plugins]# ./check_http -H myremotehost -p 443 Invalid HTTP response received from host on port 443 [root at myhost]# Any ideas ? Thanks Jean Frontin System team I R I T Universit? Paul-Sabatier 118, rte de Narbonne 31062 Toulouse cedex 04 France tel (33)(0)5 61 55 63 03 mail frontin at irit.fr ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard.gliebe at fhv.at Fri Mar 24 09:12:21 2006 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Fri, 24 Mar 2006 09:12:21 +0100 Subject: Scheduled Host Downtime via commandline Message-ID: <1143187941.7609.2.camel@localhost.localdomain> Hi all, is it possible to schedule a Host Downtime via command line, and delete this scheduled downtime also via command line ? thanks in advance Richard ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 24 09:37:20 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 24 Mar 2006 09:37:20 +0100 (CET) Subject: checking http secure In-Reply-To: <5.0.2.1.2.20060324090651.00ba44e0@mailhost.irit.fr> References: <5.0.2.1.2.20060324090651.00ba44e0@mailhost.irit.fr> Message-ID: On Fri, 24 Mar 2006, Jean Frontin wrote: > I run nagios 2.0 on fedora. Here is the response of a request made to check > a websecure. The similar command, on port 80, runs fine about http non secure. > > [root at myhost plugins]# ./check_http -H myremotehost -p 443 > Invalid HTTP response received from host on port 443 Please read the help info for that plugin and use a SSL connect to a SSL server if you expect a valid response. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mramos at co.sapo.pt Fri Mar 24 10:57:53 2006 From: mramos at co.sapo.pt (Marco Ramos) Date: Fri, 24 Mar 2006 09:57:53 +0000 Subject: Nagios 'Out Of Memory' Problems In-Reply-To: References: Message-ID: <1143194274.3682.8.camel@localhost.localdomain> Hi, I had some out of memory and forking problems a while ago. After some debugging I've tunned some parameters, namely service_reaper_frequency and max_concurrent_checks. Maybe this URL will help you: http://www.nagios.org/faqs/viewfaq.php? faq_id=115 HTH, Marco Ramos On Thu, 2006-03-23 at 13:51 -0800, Armistead, Raffy wrote: > I am not sure exactly what process is causing it to run out of memory. > Since I have it as a dedicated Nagios system I would imagine it is > Nagios that is causing a problem. This occurred when we had about 4000 > devices but very seldom and it wasn't much of an issue then. Now that we > almost have 7000 devices that are being monitored it is happening more > frequently. Since this was the case I had assumed it was Nagios but > didn't know how to go about fixing the problem. > > I do not know that much about Linux so I am not sure how to go about > setting that up. How do I setup ulimits for memory utilization? What > steps would I go about to monitor memory utilization for the Nagios > server? > > I had checked the nagios.cfg file and I do have that setting at -1: > > command_check_interval=-1 > > > I appreciate any help. Thanks. > > Raffy > > -----Original Message----- > From: Marc Powell [mailto:marc at ena.com] > Sent: Thursday, March 23, 2006 11:12 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios 'Out Of Memory' Problems > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Armistead, Raffy > > Sent: Thursday, March 23, 2006 12:23 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Nagios 'Out Of Memory' Problems > > > > I have a problem with my Nagios server constantly crashing. It keeps > > outputting on the screen Out of Memory errors which causes loss of > access > > to the server. I can ping the box but I cannot SSH or web into it to > view > > any information. This has been happening increasingly more lately. Now > it > > is about every 2-3 days that this is occurring. We have been adding > more > > and more devices to the servers and this problem has been increasing > as > > this occurs. This is how I have it set up. > > > > > > > > I have a Main Nagios server that is running the latest 2.0 (stable) > Nagios > > release. It is monitoring about 6800 devices but it is not actively > > checking the devices. Its main role is to provide a web interface and > > receive passive polls from three other servers which do the polling. > The > > main server also does email notifications when a device goes down. The > > server sends about 30-40 emails a day. I am using NSCA 2.5 between the > > server and the client Nagios servers. I am only monitoring one service > for > > each device which is either TCP or ping depending on the device. > Mostly > > all devices are monitored with TCP (roughly 6000). The rest are > monitored > > with ping. The individual servers are pretty evenly spread with the > number > > of devices. They are about 2000-2500 each. > > > > Can someone please help me in resolving this problem? Thanks > > Have you determined what process is using the memory? One of the first > steps you should take is to set appropriate ulimits for memory > utilization for that user so that it doesn't bring down the server. I > would configure nagios to monitor memory on that server then use top or > ps to identify the process(es) using the allocated memory when memory > utilization is high. That will provide better direction for > troubleshooting rather than simply that the machine is crashing due to > memory exhaustion. The nagios deamon itself isn't going to be using a > lot of RAM (10M on my box with 3400 passive services). > > My somewhat unfounded guess is that perhaps nagios isn't reaping the > results from NSCA frequently enough so you're having a backlog of ncsa > processes. Each process uses just a little memory but if you have > thousands of them then it adds up. I've personally experienced this on a > machine that was experiencing disk problems. If this is the case, beyond > a hardware problem or capacity issue, I'd verify that your > command_check_interval is set to -1 to make sure that nagios is checking > the external command file as quickly as it can. > > -- > Marc > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mramos at co.sapo.pt Fri Mar 24 11:01:13 2006 From: mramos at co.sapo.pt (Marco Ramos) Date: Fri, 24 Mar 2006 10:01:13 +0000 Subject: Scheduled Host Downtime via commandline In-Reply-To: <1143187941.7609.2.camel@localhost.localdomain> References: <1143187941.7609.2.camel@localhost.localdomain> Message-ID: <1143194473.3682.11.camel@localhost.localdomain> Hi, yes. Check this out: http://nagios.sourceforge.net/docs/1_0/extcommands.html HTH, Marco Ramos On Fri, 2006-03-24 at 09:12 +0100, Richard Gliebe wrote: > Hi all, > > is it possible to schedule a Host Downtime via command line, and delete > this scheduled downtime also via command line ? > > thanks in advance > Richard > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From R.Ford at pindar.com Fri Mar 24 11:02:26 2006 From: R.Ford at pindar.com (Rob Ford) Date: Fri, 24 Mar 2006 10:02:26 +0000 Subject: Rob Ford is out of the office. Message-ID: I will be out of the office starting 23/03/2006 and will not return until 27/03/2006. I will respond to your message when I return. *********************************************************************************** This e-mail and attachments are intended for the above name only and may be confidential. If they have come to you in error, you must take no action based on them, nor must copy or show them to anyone; please reply to this e-mail and report the error. Security warning: Please note that this e-mail has been created in the knowledge that the internet is not a one hundred percent secure communication medium. We advise that you understand and observe this lack of security when e-mailing us. Virus: Although we have taken steps to ensure that this e-mail and attachments are free from any virus, we advise that in keeping with good practice the recipient should ensure they are actually virus free. If you have received this e-mail in error please notify: postmaster at pindar.com This message has been scanned for viruses by MailControl - www.mailcontrol.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 24 12:25:26 2006 From: ton.voon at altinity.com (Ton Voon) Date: Fri, 24 Mar 2006 11:25:26 +0000 Subject: SNMP Traps in Nagios In-Reply-To: <4E13BD0442DACA4D9606CAD98924F09A592746@srv-nap-atlas-1.net-aptitude.fr> References: <4E13BD0442DACA4D9606CAD98924F09A592746@srv-nap-atlas-1.net-aptitude.fr> Message-ID: <3ACA71D6-A673-468B-9D7A-055AC0C10950@altinity.com> Sorin, Snmptt doesn't understand the Cisco MIBs. I think when snmptt is first installed, it imports all the default mibs, but if you add any new ones into /usr/share/snmp/mibs, you need to load it into SNMPTT as well. We evaluated Snmptt and this was our major issue with it. We've decided on a different approach where we leave snmptrapd to do the mib translations and have provided a CPAN module to help. You can read about our design here: http://altinity.blogs.com/dotorg/2006/03/ lessons_in_snmp.html Ton On 14 Mar 2006, at 16:10, Sorin VALCU wrote: > Hello > > > > I?m trying to use SNMP Traps in Nagios. > > > > The SNMP Traps are collected by snmptrapd that passes them to > snmptthandler and then to snmptt. > > Snmptt (via an EXEC command) writes a service status notification > in the nagios.cmd file. > > > > The problem is that snmptt can not translate the traps received > from a cisco catalyst. > > > > All OID?s in the snmptt.conf file are all numeric values. > > All the cisco mibs (snmp v1) are present in the /usr/share/snmp/ > mibs/ directory. > > There is no snmp.conf file. > > > > Here is the output from the snmptt.debug file. > > > > Thank you for your help > > > > > > Sorin V > > > > > > > > > > > > Processing file: #snmptt-trap-1142269412443608 > > Reading trap. Current time: Mon Mar 12 11:00:00 2006 > > Symbolic trap variable name detected (SNMPv2-MIB::sysUpTime.0). > Will attempt to translate to a numerical OID > > Could not translate - will leave as-is > > > > Symbolic trap variable name detected (SNMPv2-MIB::snmpTrapOID.0). > Will attempt to translate to a numerical OID > > Could not translate - will leave as-is > > > > Symbolic trap variable name detected (SNMPv2-SMI::enterprises. > 9.2.9.3.1.1.4.1). Will attempt to translate to a numerical OID > > Could not translate - will leave as-is > > > > Symbolic trap variable name detected (TCP-MIB::tcpConnState. > 172.18.36.31.80.172.18.36.50.3399). Will attempt to translate to a > numerical OID > > Could not translate - will leave as-is > > > > Symbolic trap variable name detected (SNMPv2-SMI::enterprises. > 9.2.6.1.1.5.172.18.36.31.80.172.18.36.50.3399). Will attempt to > translate to a numerical OID > > Could not translate - will leave as-is > > > > Symbolic trap variable name detected (SNMPv2-SMI::enterprises. > 9.2.6.1.1.1.172.18.36.31.80.172.18.36.50.3399). Will attempt to > translate to a numerical OID > > Could not translate - will leave as-is > > > > Symbolic trap variable name detected (SNMPv2-SMI::enterprises. > 9.2.6.1.1.2.172.18.36.31.80.172.18.36.50.3399). Will attempt to > translate to a numerical OID > > Could not translate - will leave as-is > > > > Symbolic trap variable name detected (SNMPv2-SMI::enterprises. > 9.2.9.2.1.18.4). Will attempt to translate to a numerical OID > > Could not translate - will leave as-is > > > > Symbolic trap variable name detected (SNMP-COMMUNITY- > MIB::snmpTrapAddress.0). Will attempt to translate to a numerical OID > > Could not translate - will leave as-is > > > > Symbolic trap variable name detected (SNMP-COMMUNITY- > MIB::snmpTrapCommunity.0). Will attempt to translate to a > numerical OID > > Could not translate - will leave as-is > > > > Symbolic trap variable name detected (SNMPv2- > MIB::snmpTrapEnterprise.0). Will attempt to translate to a > numerical OID > > Could not translate - will leave as-is > > > > > > Items passed from snmptrapd: > > value 0: testcisco > > > > value 1: 123.123.123.123 > > > > value 2: SNMPv2-MIB::sysUpTime.0 > > > > value 3: 0:5:49:22.74 > > > > value 4: SNMPv2-MIB::snmpTrapOID.0 > > > > value 5: SNMPv2-SMI::enterprises.9.0.1 > > > > value 6: SNMPv2-SMI::enterprises.9.2.9.3.1.1.4.1 > > > > value 7: 5 > > > > value 8: TCP-MIB::tcpConnState.172.18.36.31.80.172.18.36.50.3399 > > > > value 9: established > > > > value 10: SNMPv2-SMI::enterprises. > 9.2.6.1.1.5.172.18.36.31.80.172.18.36.50.3399 > > > > value 11: 0:0:00:01.48 > > > > value 12: SNMPv2-SMI::enterprises. > 9.2.6.1.1.1.172.18.36.31.80.172.18.36.50.3399 > > > > value 13: 470 > > > > value 14: SNMPv2-SMI::enterprises. > 9.2.6.1.1.2.172.18.36.31.80.172.18.36.50.3399 > > > > value 15: 5343 > > > > value 16: SNMPv2-SMI::enterprises.9.2.9.2.1.18.4 > > > > value 17: > > > > value 18: SNMP-COMMUNITY-MIB::snmpTrapAddress.0 > > > > value 19: 123.123.123.123 > > > > value 20: SNMP-COMMUNITY-MIB::snmpTrapCommunity.0 > > > > value 21: public > > > > value 22: SNMPv2-MIB::snmpTrapEnterprise.0 > > > > value 23: SNMPv2-SMI::enterprises.9 > > > > Symbolic trap variable name detected (SNMPv2-SMI::enterprises. > 9.0.1). Will attempt to translate to a numerical OID > > Could not translate - will leave as-is > > > > Agent IP address was blank, so setting to the same as the host IP > address of 123.123.123.123 > > > > Agent IP address (123.123.123.123) is the same as the host IP, so > copying the host name: testcisco > > > > Trap received from comm4e-droite.lotsys.corp: SNMPv2- > SMI::enterprises.9.0.1 > > 0: hostname > > 1: ip address > > 2: uptime > > 3: trapname / OID > > 4: ip address from trap agent > > 5: trap community string > > 6: enterprise > > 0+: passed variables > > > > Value 0: testcisco > > > > Value 1: 123.123.123.123 > > > > Value 2: 0:5:49:22.74 > > > > Value 3: SNMPv2-SMI::enterprises.9.0.1 > > > > Value 4: 123.123.123.123 > > > > Value 5: > > > > Value 6: > > > > Agent dns name: testcisco > > > > Ent Value 0 ($1): SNMPv2-SMI::enterprises.9.2.9.3.1.1.4.1=5 > > > > Ent Value 1 ($2): TCP-MIB::tcpConnState. > 172.18.36.31.80.172.18.36.50.3399=established > > > > Ent Value 2 ($3): SNMPv2-SMI::enterprises. > 9.2.6.1.1.5.172.18.36.31.80.172.18.36.50.3399=0:0:00:01.48 > > > > Ent Value 3 ($4): SNMPv2-SMI::enterprises. > 9.2.6.1.1.1.172.18.36.31.80.172.18.36.50.3399=470 > > > > Ent Value 4 ($5): SNMPv2-SMI::enterprises. > 9.2.6.1.1.2.172.18.36.31.80.172.18.36.50.3399=5343 > > > > Ent Value 5 ($6): SNMPv2-SMI::enterprises.9.2.9.2.1.18.4= > > > > Ent Value 6 ($7): SNMP-COMMUNITY-MIB::snmpTrapAddress. > 0=123.123.123.123 > > > > Ent Value 7 ($8): SNMP-COMMUNITY-MIB::snmpTrapCommunity.0=public > > > > Ent Value 8 ($9): SNMPv2-MIB::snmpTrapEnterprise.0=SNMPv2- > SMI::enterprises.9 > > > > Exact match of trap NOT found in EVENT hash table > > > > Looking for wildcards in the EVENT hash table > > Drilling down looking for wildcards in the EVENT hash table > > SNMPv2-SMI::enterprises.9.0.* > > > > Drilling down looking for wildcards in the EVENT hash table > > SNMPv2-SMI::enterprises.9.* > > > > Trap not defined... > > > > > > This message has been scanned for viruses by MailController. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From maccy at maccomms.co.uk Fri Mar 24 13:16:29 2006 From: maccy at maccomms.co.uk (Maccy) Date: Fri, 24 Mar 2006 12:16:29 +0000 (GMT) Subject: check_log Message-ID: Can anybody give me an example of a correct command definition for check_log ? I'm looking to locate the word 'Error' in /var/log/messages on each machine. If anyone can forward example portions of their services.cfg and checkcommand.cfg files I would be most grateful! So far I've been able to get the correct syntax :( Many thanks in advance Mark ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailinglist at ebox.gr Fri Mar 24 14:18:34 2006 From: mailinglist at ebox.gr (Brandino Andreas) Date: Fri, 24 Mar 2006 15:18:34 +0200 Subject: monitoring cisco bri interface Message-ID: <1257603074.20060324151834@ebox.gr> hi all! Anyone has an idea how can i monitor the state of the interfaces??? I want to check the layer 2 of the bri interfaces Also is possible to make them appear on the map? Is a workaround for this? Any idea will be appreciated ---------------- Brandino Andreas mailinglist at ebox.gr ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tinzauro at ha-solutions.net Fri Mar 24 15:12:21 2006 From: tinzauro at ha-solutions.net (Terry L. Inzauro) Date: Fri, 24 Mar 2006 08:12:21 -0600 Subject: check_log2.pl perl module Message-ID: <4423FE45.3030505@ha-solutions.net> folks, the check_log2.pl script is calling for the util.pm perl module. i saw it in the contrib directory, but it isn't using it properly or can't find it. is that the correct module to use, or is there a cpan module out there that i should grab. also, does the /path/to/contrib directory need to be in @INC? best regards, _Terry ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Fri Mar 24 15:28:10 2006 From: m.borsani at it.net (Marco Borsani) Date: Fri, 24 Mar 2006 15:28:10 +0100 Subject: R: Check_ntp In-Reply-To: <00c901c64e8d$b005e750$0900d40a@intranet.it.net> References: <00c901c64e8d$b005e750$0900d40a@intranet.it.net> Message-ID: <00aa01c64f4f$2d51bce0$0900d40a@intranet.it.net> When I run "check_ntp -H xxx.xxx.xxx.xxx" (where xxx.xxx.xxx.xxx is a linux system syncronized with the same ntp server of nagios system) I receive: NTP CRITICAL: No suitable peer server found - Server for ntp probably down Before this test, the plugin seemed work fine (with another target host): # check_ntp -H zzz.zzz.zzz.zzz # NTP OK: Offset 0.000134 secs, jitter 3.23 msec, peer is stratum 2 Any idea? Marco -}-----Messaggio originale----- -}Da: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net] Per conto -}di Marco Borsani -}Inviato: gioved? 23 marzo 2006 16.23 -}A: 'Marc Powell'; 'NAGIOS' -}Oggetto: R: [Nagios-users] Check_ntp -} -}My lines were: -} -}use lib "/usr/local/nagios/libexec" /libexec use utils -}qw($TIMEOUT %ERRORS &print_revision &support); -} -}Now the command answers correctly !! ;-) -} -}The help on-line (check_ntp -h) is not so easy to understand... -} -}Does check_ntp compare the target host specified time with -}the locale time (Nagios server time) or what? -} -}Regards -}Marco -} -}-}-----Messaggio originale----- -}-}Da: nagios-users-admin at lists.sourceforge.net -}-}[mailto:nagios-users-admin at lists.sourceforge.net] Per conto -}-}di Marc Powell -}-}Inviato: gioved? 23 marzo 2006 16.14 -}-}A: NAGIOS -}-}Oggetto: RE: [Nagios-users] Check_ntp -}-} -}-}Look around line 66 in the plugin and verify that it looks -}-}something like -- -} -}use lib "/usr/local/nagios/libexec" -}; -}use utils qw($TIMEOUT %ERRORS &print_revision &support); -} -}-}-- -}-}Marc -}-} -}-}> -----Original Message----- -}-}> From: nagios-users-admin at lists.sourceforge.net -}-}[mailto:nagios-users- -}-}> admin at lists.sourceforge.net] On Behalf Of Marco Borsani -}-}> Sent: Thursday, March 23, 2006 3:02 AM -}> To: 'Bill Jacqmein' -}-}> Cc: 'NAGIOS' -}-}> Subject: R: [Nagios-users] Check_ntp -}> -}> I also -}tested plugins 1.4.2, but I received same error message -}> -}-}> Marco -}> -}> -}-----Messaggio originale----- -}> -}Da: -}Bill Jacqmein [mailto:wrjacqmein at gmail.com] -}> -}Inviato: -}mercoled? 22 marzo 2006 17.34 -}> -}A: Marco Borsani -}> -}-}Cc: NAGIOS -}> -}Oggetto: Re: [Nagios-users] Check_ntp -} -}-}upgrade to the latest -}> version of the plugins at -}-}http://nagiosplug.sourceforge.net/ -}-}> -}barring that -}-}> -}check that utils.pm is in the libexec directory. -}-}> -} -}-}> -} -}-}> -}On 3/22/06, Marco Borsani wrote: -}-}> -}> Hi all ! -}-}> -}> -}-}> -}> I'd to use check_ntp, but when I "try" to running it -}, I obtain: -}-}> -}> # ./check_ntp -}-}> -}> "use" not allowed in expression at ./check_ntp line -}66, -}at -}end -}> of line -}> syntax error at ./check_ntp -}line 66, near "libexec use -}> utils " -}-}> -}> Execution of ./check_ntp aborted due to compilation errors. -}-}> -}> -}-}> -}> I don't know perl :-( -}-}> -}> -}-}> -}> I am using plugins 1.3.1 and Nagios 1.3 (on a HP-UX -}-}11.00 system). -}-}> -}> -}-}> -}> Regards -}-}> -}> -}-}> -}> Marco Borsani -}-}> -}> Unix & Monitoring System Administrator Technical Operation -}-}> -}> Tel. +39 010 4310115 -}-}> -}> Fax +39 010 4327454 -}-}> -}> E-mail: m.borsani at IT.net -}-}> -}> -}-}> -}> ITnet S.r.l. - Direzione e Coordinamento di WIND -}> -}-}Telecomunicazioni S.p.A. -}-}> -}> Internet Service Provider -}-}> -}> Sede legale: Via C.G.Viola, 48 - -}00148 Roma -}-}> -}> Dir. Centrale e Amministrativa: Via Pacinotti, 39 -}-}> -}> 16151 Genova (Italy) -}-}> -}> -}-}> -}> http://www.it.net -}-}> -}> mailto:info at IT.net -}-}> -}> -}_______________________________________________________________ -}-}> -}> Altre sedi ITnet: -}-}> -}> MILANO tel.: +39 02 30114900 info-milano at IT.net -}-}> -}> ROMA tel.: +39 06 83116707 info-roma at IT.net -}-}> -}> -}_______________________________________________________________ -}-}> -}> ITnet is associated to CIX (Commercial IP eXchange) -}and -}RIPE -}> ITnet is -}> associated to AIIP (Associazione -}Italiana Internet -}> Providers) -}> -}> -}> -}> -}> -}> -}------------------------------------------------------- -}-}> -}> This SF.Net email is sponsored by xPML, a -}-}groundbreaking scripting -}> -}> language that extends -}applications into web and mobile -}media. -}-}> Attend -}> the live webcast and join the prime developer -}group -}> -}breaking into this new coding territory! -}-}> -}> -}-}> -}-}-}http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241 -}720&dat=12 -}-}> 16 -}> 42 _______________________________________________ -}-}> -}> Nagios-users mailing list -}-}> -}> Nagios-users at lists.sourceforge.net -}-}> -}> https://lists.sourceforge.net/lists/listinfo/nagios-users -}-}> -}> ::: 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 xPML, a groundbreaking -}scripting -}> language that extends applications into web and -}mobile -}media. Attend -}> the live webcast and join the -}prime developer group -}breaking into this -}> new coding territory! -}-}> http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 -}-}> _______________________________________________ -}-}> Nagios-users mailing list -}-}> Nagios-users at lists.sourceforge.net -}-}> https://lists.sourceforge.net/lists/listinfo/nagios-users -}-}> ::: 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 xPML, a groundbreaking -}-}scripting language that extends applications into web and -}-}mobile media. Attend the live webcast and join the prime -}-}developer group breaking into this new coding territory! -}-}http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 -}-}_______________________________________________ -}-}Nagios-users mailing list -}-}Nagios-users at lists.sourceforge.net -}-}https://lists.sourceforge.net/lists/listinfo/nagios-users -}-}::: 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 xPML, a groundbreaking -}scripting language that extends applications into web and -}mobile media. Attend the live webcast and join the prime -}developer group breaking into this new coding territory! -}http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 -}_______________________________________________ -}Nagios-users mailing list -}Nagios-users at lists.sourceforge.net -}https://lists.sourceforge.net/lists/listinfo/nagios-users -}::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tinzauro at ha-solutions.net Fri Mar 24 15:43:21 2006 From: tinzauro at ha-solutions.net (Terry L. Inzauro) Date: Fri, 24 Mar 2006 08:43:21 -0600 Subject: check_log2.pl perl module In-Reply-To: <4423FE45.3030505@ha-solutions.net> References: <4423FE45.3030505@ha-solutions.net> Message-ID: <44240589.6060904@ha-solutions.net> Terry L. Inzauro wrote: > folks, > > the check_log2.pl script is calling for the util.pm perl module. i saw > it in the contrib directory, but it isn't using it properly or can't > find it. is that the correct module to use, or is there a cpan module > out there that i should grab. > > also, does the /path/to/contrib directory need to be in @INC? > > > best regards, > > > _Terry > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null so, i added BEGIN{unshift @INC, "/usr/nagios/libexec"} to check_log2.pl to append the location of utils.pm module to @INC and it works, however i get the following warnings. jenna contrib # ./check_log2.pl -l /var/log/messages -s /tmp/seekfile -p error Name "main::blocks" used only once: possible typo at ./check_log2.pl line 115. Name "main::mode" used only once: possible typo at ./check_log2.pl line 115. Name "main::uid" used only once: possible typo at ./check_log2.pl line 115. Name "main::dev" used only once: possible typo at ./check_log2.pl line 115. Name "main::atime" used only once: possible typo at ./check_log2.pl line 115. Name "main::gid" used only once: possible typo at ./check_log2.pl line 115. Name "main::blksize" used only once: possible typo at ./check_log2.pl line 115. Name "main::ctime" used only once: possible typo at ./check_log2.pl line 115. Name "main::rdev" used only once: possible typo at ./check_log2.pl line 115. Name "main::mtime" used only once: possible typo at ./check_log2.pl line 115. Name "main::nlink" used only once: possible typo at ./check_log2.pl line 115. Name "main::ino" used only once: possible typo at ./check_log2.pl line 115. OK - No matches found. jenna contrib # i'm a novice perl coder and would love to troubleshoot, but my skillz are not worthy ;) Thoughts? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amejia at carmeltelecom.com Fri Mar 24 16:32:59 2006 From: amejia at carmeltelecom.com (=?iso-8859-1?Q?Alejandro_Mej=EDa_Evertsz?=) Date: Fri, 24 Mar 2006 09:32:59 -0600 Subject: check_icmp reporting 100% pkt loss when host is "pingeable" Message-ID: <200603241634.k2OGYcXR021493@mx.amnet.net.gt> Hello everyone. I was having problems with ?segmentation fault? using check_ping command, and I found some info on this list regarding that and suggesting to use check_icmp instead. Check_icmp is great it?s faster, and don?t consume much resources, but I?m having this problem: It works fine for some hours, but suddenly all hosts are reported as ?DOWN? with packet loss of 100% I get the net interface down with ifconfig, and then back up again, and nothing. I have to restart the server and then it works fine again. The hosts I?m monitoring are up, and if I use a normal ?ping? command to reach them, I get reply. Also if I use ?check_ping? from shell, I get PING OK - Packet loss = 0%, RTA = 109.81 ms If I issue a ?check_icmp? from shell I get this: setsockopt failed Setting alarm timeout to 10 seconds packets: 5, targets: 1 target_interval: 0.000, pkt_interval 80.000 crit.rta: 500.000 max_completion_time: 3400.000 crit = {500000, 80%}, warn = {200000, 40%} pkt_interval: 80000 target_interval: 0 retry_interval: 0 icmp_pkt_size: 64 timeout: 10 handle_random_icmp(0x804ce74, 0xbfbfeb70) handle_random_icmp(0x804ce74, 0xbfbfeb70) handle_random_icmp(0x804ce74, 0xbfbfeb70) handle_random_icmp(0x804ce74, 0xbfbfeb70) time_passed: 437412 final_wait: 2962588 max_completion_time: 3400000 Waiting for 2962588 micro-seconds (2962.588 msecs) handle_random_icmp(0x804ce74, 0xbfbfeb70) handle_random_icmp(0x804ce74, 0xbfbfeb70) handle_random_icmp(0x804ce74, 0xbfbfeb70) handle_random_icmp(0x804ce74, 0xbfbfeb70) icmp_sent: 5 icmp_recv: 0 icmp_lost: 0 targets: 1 targets_alive: 1 CRITICAL - 168.234.205.12: rta nan, lost 100%| rta=0.000ms;200.000;500.000;0; pl=100%;40;80;; targets: 1, targets_alive: 0 Has anyone experienced the same problem. Any ideas suggestions ? If it helps: I?m using FreeBSD 6.0 Stable and installed nagios from ports. Thanks in advance for your help. Alejandro Mej?a Evertsz -------------- next part -------------- An HTML attachment was scrubbed... URL: From wrjacqmein at gmail.com Fri Mar 24 16:35:50 2006 From: wrjacqmein at gmail.com (Bill Jacqmein) Date: Fri, 24 Mar 2006 10:35:50 -0500 Subject: R: Check_ntp In-Reply-To: <00aa01c64f4f$2d51bce0$0900d40a@intranet.it.net> References: <00c901c64e8d$b005e750$0900d40a@intranet.it.net> <00aa01c64f4f$2d51bce0$0900d40a@intranet.it.net> Message-ID: <3c9a5bae0603240735w184e6936pb7c22cadf45cdf95@mail.gmail.com> ntptrace on the linux system should help in figuring out where ntp is breaking. Ive had a problem with the ntp.drift file having a bad value in it causing the ntp service to flap between working correctly and the "No suitable peer server found" error. The solution was to delete the ntp.drift file and let it be recreated. On 3/24/06, Marco Borsani wrote: > When I run "check_ntp -H xxx.xxx.xxx.xxx" (where xxx.xxx.xxx.xxx is a linux > system syncronized with the same ntp server of nagios system) I receive: > NTP CRITICAL: No suitable peer server found - Server for ntp probably down > > Before this test, the plugin seemed work fine (with another target host): > # check_ntp -H zzz.zzz.zzz.zzz > # NTP OK: Offset 0.000134 secs, jitter 3.23 msec, peer is stratum 2 > > Any idea? > Marco > > > -}-----Messaggio originale----- > -}Da: nagios-users-admin at lists.sourceforge.net > -}[mailto:nagios-users-admin at lists.sourceforge.net] Per conto > -}di Marco Borsani > -}Inviato: gioved? 23 marzo 2006 16.23 > -}A: 'Marc Powell'; 'NAGIOS' > -}Oggetto: R: [Nagios-users] Check_ntp > -} > -}My lines were: > -} > -}use lib "/usr/local/nagios/libexec" /libexec use utils > -}qw($TIMEOUT %ERRORS &print_revision &support); > -} > -}Now the command answers correctly !! ;-) > -} > -}The help on-line (check_ntp -h) is not so easy to understand... > -} > -}Does check_ntp compare the target host specified time with > -}the locale time (Nagios server time) or what? > -} > -}Regards > -}Marco > -} > -}-}-----Messaggio originale----- > -}-}Da: nagios-users-admin at lists.sourceforge.net > -}-}[mailto:nagios-users-admin at lists.sourceforge.net] Per conto > -}-}di Marc Powell > -}-}Inviato: gioved? 23 marzo 2006 16.14 > -}-}A: NAGIOS > -}-}Oggetto: RE: [Nagios-users] Check_ntp > -}-} > -}-}Look around line 66 in the plugin and verify that it looks > -}-}something like -- -} -}use lib "/usr/local/nagios/libexec" > -}; -}use utils qw($TIMEOUT %ERRORS &print_revision &support); -} > -}-}-- > -}-}Marc > -}-} > -}-}> -----Original Message----- > -}-}> From: nagios-users-admin at lists.sourceforge.net > -}-}[mailto:nagios-users- > -}-}> admin at lists.sourceforge.net] On Behalf Of Marco Borsani > -}-}> Sent: Thursday, March 23, 2006 3:02 AM -}> To: 'Bill Jacqmein' > -}-}> Cc: 'NAGIOS' > -}-}> Subject: R: [Nagios-users] Check_ntp -}> -}> I also > -}tested plugins 1.4.2, but I received same error message -}> > -}-}> Marco -}> -}> -}-----Messaggio originale----- -}> -}Da: > -}Bill Jacqmein [mailto:wrjacqmein at gmail.com] -}> -}Inviato: > -}mercoled? 22 marzo 2006 17.34 -}> -}A: Marco Borsani -}> > -}-}Cc: NAGIOS -}> -}Oggetto: Re: [Nagios-users] Check_ntp -} > -}-}upgrade to the latest -}> version of the plugins at > -}-}http://nagiosplug.sourceforge.net/ > -}-}> -}barring that > -}-}> -}check that utils.pm is in the libexec directory. > -}-}> -} > -}-}> -} > -}-}> -}On 3/22/06, Marco Borsani wrote: > -}-}> -}> Hi all ! > -}-}> -}> > -}-}> -}> I'd to use check_ntp, but when I "try" to running it > -}, I obtain: > -}-}> -}> # ./check_ntp > -}-}> -}> "use" not allowed in expression at ./check_ntp line > -}66, -}at -}end -}> of line -}> syntax error at ./check_ntp > -}line 66, near "libexec use -}> utils " > -}-}> -}> Execution of ./check_ntp aborted due to compilation errors. > -}-}> -}> > -}-}> -}> I don't know perl :-( > -}-}> -}> > -}-}> -}> I am using plugins 1.3.1 and Nagios 1.3 (on a HP-UX > -}-}11.00 system). > -}-}> -}> > -}-}> -}> Regards > -}-}> -}> > -}-}> -}> Marco Borsani > -}-}> -}> Unix & Monitoring System Administrator Technical Operation > -}-}> -}> Tel. +39 010 4310115 > -}-}> -}> Fax +39 010 4327454 > -}-}> -}> E-mail: m.borsani at IT.net > -}-}> -}> > -}-}> -}> ITnet S.r.l. - Direzione e Coordinamento di WIND -}> > -}-}Telecomunicazioni S.p.A. > -}-}> -}> Internet Service Provider > -}-}> -}> Sede legale: Via C.G.Viola, 48 - > -}00148 Roma > -}-}> -}> Dir. Centrale e Amministrativa: Via Pacinotti, 39 > -}-}> -}> 16151 Genova (Italy) > -}-}> -}> > -}-}> -}> http://www.it.net > -}-}> -}> mailto:info at IT.net > -}-}> -}> > -}_______________________________________________________________ > -}-}> -}> Altre sedi ITnet: > -}-}> -}> MILANO tel.: +39 02 30114900 info-milano at IT.net > -}-}> -}> ROMA tel.: +39 06 83116707 info-roma at IT.net > -}-}> -}> > -}_______________________________________________________________ > -}-}> -}> ITnet is associated to CIX (Commercial IP eXchange) > -}and -}RIPE -}> ITnet is -}> associated to AIIP (Associazione > -}Italiana Internet -}> Providers) -}> -}> -}> -}> -}> -}> > -}------------------------------------------------------- > -}-}> -}> This SF.Net email is sponsored by xPML, a > -}-}groundbreaking scripting -}> -}> language that extends > -}applications into web and mobile -}media. > -}-}> Attend -}> the live webcast and join the prime developer > -}group -}> -}breaking into this new coding territory! > -}-}> -}> > -}-}> > -}-}-}http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241 > -}720&dat=12 > -}-}> 16 -}> 42 _______________________________________________ > -}-}> -}> Nagios-users mailing list > -}-}> -}> Nagios-users at lists.sourceforge.net > -}-}> -}> https://lists.sourceforge.net/lists/listinfo/nagios-users > -}-}> -}> ::: 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 xPML, a groundbreaking > -}scripting -}> language that extends applications into web and > -}mobile -}media. Attend -}> the live webcast and join the > -}prime developer group -}breaking into this -}> new coding territory! > -}-}> http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > -}-}> _______________________________________________ > -}-}> Nagios-users mailing list > -}-}> Nagios-users at lists.sourceforge.net > -}-}> https://lists.sourceforge.net/lists/listinfo/nagios-users > -}-}> ::: 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 xPML, a groundbreaking > -}-}scripting language that extends applications into web and > -}-}mobile media. Attend the live webcast and join the prime > -}-}developer group breaking into this new coding territory! > -}-}http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > -}-}_______________________________________________ > -}-}Nagios-users mailing list > -}-}Nagios-users at lists.sourceforge.net > -}-}https://lists.sourceforge.net/lists/listinfo/nagios-users > -}-}::: 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 xPML, a groundbreaking > -}scripting language that extends applications into web and > -}mobile media. Attend the live webcast and join the prime > -}developer group breaking into this new coding territory! > -}http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > -}_______________________________________________ > -}Nagios-users mailing list > -}Nagios-users at lists.sourceforge.net > -}https://lists.sourceforge.net/lists/listinfo/nagios-users > -}::: 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 xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Mar 24 16:36:02 2006 From: marc at ena.com (Marc Powell) Date: Fri, 24 Mar 2006 09:36:02 -0600 Subject: Scheduled Host Downtime via commandline Message-ID: Better yet... http://www.nagios.org/developerinfo/externalcommands/commandlist.php and specifically http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?com mand_id=118 http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?com mand_id=125 -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Marco Ramos > Sent: Friday, March 24, 2006 4:01 AM > To: richard.gliebe at fhv.at > Cc: Nagios List > Subject: Re: [Nagios-users] Scheduled Host Downtime via commandline > > > Hi, > > yes. Check this out: > http://nagios.sourceforge.net/docs/1_0/extcommands.html > > HTH, > Marco Ramos > > On Fri, 2006-03-24 at 09:12 +0100, Richard Gliebe wrote: > > Hi all, > > > > is it possible to schedule a Host Downtime via command line, and delete > > this scheduled downtime also via command line ? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tinzauro at ha-solutions.net Fri Mar 24 16:35:17 2006 From: tinzauro at ha-solutions.net (Terry L. Inzauro) Date: Fri, 24 Mar 2006 09:35:17 -0600 Subject: check_log In-Reply-To: References: Message-ID: <442411B5.2070902@ha-solutions.net> Maccy wrote: > > Can anybody give me an example of a correct command definition for > check_log ? > > I'm looking to locate the word 'Error' in /var/log/messages on each > machine. > > If anyone can forward example portions of their services.cfg and > checkcommand.cfg files I would be most grateful! So far I've been able > to get the correct syntax :( > > Many thanks in advance > > Mark > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null what i am trying to get to work as it seems to do the job much better. /opt/nagios/libexec/check_log2.pl -l /var/adm/messages -s /tmp/seekfile -p auth from nrpe on my solaris 5.9 box: command[check_log_warning]=/opt/nagios/libexec/check_log -F /var/adm/messages -O /tmp/messages.warning -q warning ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Mar 24 16:59:05 2006 From: marc at ena.com (Marc Powell) Date: Fri, 24 Mar 2006 09:59:05 -0600 Subject: check_log2.pl perl module Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Terry L. Inzauro > Sent: Friday, March 24, 2006 8:43 AM > To: Terry L. Inzauro > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_log2.pl perl module > > Terry L. Inzauro wrote: > > folks, > > > > the check_log2.pl script is calling for the util.pm perl module. i saw > > it in the contrib directory, but it isn't using it properly or can't > > find it. is that the correct module to use, or is there a cpan module > > out there that i should grab. > > > > also, does the /path/to/contrib directory need to be in @INC? > > > > > > best regards, > > > > > > _Terry > > > > so, i added BEGIN{unshift @INC, "/usr/nagios/libexec"} to check_log2.pl > to append the location of utils.pm module to @INC and it works, however i > get > the following warnings. Check_log2.pl is expecting to be in/run from the libexec directory with the other plugins. Move it there and you won't need this line. > jenna contrib # ./check_log2.pl -l /var/log/messages -s /tmp/seekfile -p > error > Name "main::blocks" used only once: possible typo at ./check_log2.pl line > 115. > Name "main::mode" used only once: possible typo at ./check_log2.pl line > 115. > Name "main::uid" used only once: possible typo at ./check_log2.pl line > 115. > Name "main::dev" used only once: possible typo at ./check_log2.pl line > 115. > Name "main::atime" used only once: possible typo at ./check_log2.pl line > 115. > Name "main::gid" used only once: possible typo at ./check_log2.pl line > 115. > Name "main::blksize" used only once: possible typo at ./check_log2.pl line > 115. > Name "main::ctime" used only once: possible typo at ./check_log2.pl line > 115. > Name "main::rdev" used only once: possible typo at ./check_log2.pl line > 115. > Name "main::mtime" used only once: possible typo at ./check_log2.pl line > 115. > Name "main::nlink" used only once: possible typo at ./check_log2.pl line > 115. > Name "main::ino" used only once: possible typo at ./check_log2.pl line > 115. > OK - No matches found. > jenna contrib # > > > i'm a novice perl coder and would love to troubleshoot, but my skillz are > not worthy ;) > > Thoughts? 1) Always run your tests as the nagios user. 2) They're harmless notices sent to STDERR, not STDOUT so nagios wouldn't ever seen them but you shouldn't be seeing them either with an unmodified plugin. 3) What version of the plugins are you using? I don't see these with 1.4 -- [nagios at noctools libexec]$ ./check_log2.pl -l /var/log/messages -s /tmp/seekfile -p Error OK - No matches found. 4) Did you modify the shebang line in the script to turn on syntax checks (i.e. #!/usr/bin/perl -cw). I can reproduce your results if I do that -- [nagios at noctools libexec]$ head -1 ./check_log2.pl #!/usr/bin/perl -cw [nagios at noctools libexec]$ ./check_log2.pl -l /var/log/messages -s /tmp/seekfile -p Error Name "main::blocks" used only once: possible typo at ./check_log2.pl line 111. Name "main::mode" used only once: possible typo at ./check_log2.pl line 111. Name "main::uid" used only once: possible typo at ./check_log2.pl line 111. Name "main::dev" used only once: possible typo at ./check_log2.pl line 111. Name "main::atime" used only once: possible typo at ./check_log2.pl line 111. Name "main::gid" used only once: possible typo at ./check_log2.pl line 111. Name "main::blksize" used only once: possible typo at ./check_log2.pl line 111. Name "main::ctime" used only once: possible typo at ./check_log2.pl line 111. Name "main::rdev" used only once: possible typo at ./check_log2.pl line 111. Name "main::mtime" used only once: possible typo at ./check_log2.pl line 111. Name "main::nlink" used only once: possible typo at ./check_log2.pl line 111. Name "main::ino" used only once: possible typo at ./check_log2.pl line 111. ./check_log2.pl syntax OK -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tinzauro at ha-solutions.net Fri Mar 24 17:11:32 2006 From: tinzauro at ha-solutions.net (Terry L. Inzauro) Date: Fri, 24 Mar 2006 10:11:32 -0600 Subject: check_log2.pl perl module In-Reply-To: References: Message-ID: <44241A34.7090409@ha-solutions.net> Marc Powell wrote: > >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >> admin at lists.sourceforge.net] On Behalf Of Terry L. Inzauro >> Sent: Friday, March 24, 2006 8:43 AM >> To: Terry L. Inzauro >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] check_log2.pl perl module >> >> Terry L. Inzauro wrote: >>> folks, >>> >>> the check_log2.pl script is calling for the util.pm perl module. i > saw >>> it in the contrib directory, but it isn't using it properly or can't >>> find it. is that the correct module to use, or is there a cpan > module >>> out there that i should grab. >>> >>> also, does the /path/to/contrib directory need to be in @INC? >>> >>> >>> best regards, >>> >>> >>> _Terry >>> > > >> so, i added BEGIN{unshift @INC, "/usr/nagios/libexec"} to > check_log2.pl >> to append the location of utils.pm module to @INC and it works, > however i >> get >> the following warnings. > > Check_log2.pl is expecting to be in/run from the libexec directory with > the other plugins. Move it there and you won't need this line. > >> jenna contrib # ./check_log2.pl -l /var/log/messages -s /tmp/seekfile > -p >> error >> Name "main::blocks" used only once: possible typo at ./check_log2.pl > line >> 115. >> Name "main::mode" used only once: possible typo at ./check_log2.pl > line >> 115. >> Name "main::uid" used only once: possible typo at ./check_log2.pl line >> 115. >> Name "main::dev" used only once: possible typo at ./check_log2.pl line >> 115. >> Name "main::atime" used only once: possible typo at ./check_log2.pl > line >> 115. >> Name "main::gid" used only once: possible typo at ./check_log2.pl line >> 115. >> Name "main::blksize" used only once: possible typo at ./check_log2.pl > line >> 115. >> Name "main::ctime" used only once: possible typo at ./check_log2.pl > line >> 115. >> Name "main::rdev" used only once: possible typo at ./check_log2.pl > line >> 115. >> Name "main::mtime" used only once: possible typo at ./check_log2.pl > line >> 115. >> Name "main::nlink" used only once: possible typo at ./check_log2.pl > line >> 115. >> Name "main::ino" used only once: possible typo at ./check_log2.pl line >> 115. >> OK - No matches found. >> jenna contrib # >> >> >> i'm a novice perl coder and would love to troubleshoot, but my skillz > are >> not worthy ;) >> >> Thoughts? > > 1) Always run your tests as the nagios user. > > 2) They're harmless notices sent to STDERR, not STDOUT so nagios > wouldn't ever seen them but you shouldn't be seeing them either with an > unmodified plugin. > > 3) What version of the plugins are you using? I don't see these with 1.4 > -- > > [nagios at noctools libexec]$ ./check_log2.pl -l /var/log/messages -s > /tmp/seekfile -p Error > OK - No matches found. > > 4) Did you modify the shebang line in the script to turn on syntax > checks (i.e. #!/usr/bin/perl -cw). I can reproduce your results if I do > that -- > > [nagios at noctools libexec]$ head -1 ./check_log2.pl > #!/usr/bin/perl -cw > > [nagios at noctools libexec]$ ./check_log2.pl -l /var/log/messages -s > /tmp/seekfile -p Error > Name "main::blocks" used only once: possible typo at ./check_log2.pl > line 111. > Name "main::mode" used only once: possible typo at ./check_log2.pl line > 111. > Name "main::uid" used only once: possible typo at ./check_log2.pl line > 111. > Name "main::dev" used only once: possible typo at ./check_log2.pl line > 111. > Name "main::atime" used only once: possible typo at ./check_log2.pl line > 111. > Name "main::gid" used only once: possible typo at ./check_log2.pl line > 111. > Name "main::blksize" used only once: possible typo at ./check_log2.pl > line 111. > Name "main::ctime" used only once: possible typo at ./check_log2.pl line > 111. > Name "main::rdev" used only once: possible typo at ./check_log2.pl line > 111. > Name "main::mtime" used only once: possible typo at ./check_log2.pl line > 111. > Name "main::nlink" used only once: possible typo at ./check_log2.pl line > 111. > Name "main::ino" used only once: possible typo at ./check_log2.pl line > 111. > ./check_log2.pl syntax OK > > > -- > Marc > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ok, i modified the shebang and all works without warnings. thanks a bunch. but i still haven't fingered out why i need to alter @INC. see the following output. as you can see "." is in @INC. you'd think i wouldn't have to explicitly add the full path to get it to work. in any event, i'm ok with the small tweak...for now;) jenna contrib # cd /usr/nagios/libexec/contrib/ jenna contrib # perl -le 'print join("\n", at INC);' /etc/perl /usr/lib/perl5/site_perl/5.8.6/i386-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i386-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i386-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl . jenna contrib # ./check_log2.pl Can't locate utils.pm in @INC (@INC contains: . /etc/perl /usr/lib/perl5/site_perl/5.8.6/i386-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i386-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i386-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl) at ./check_log2.pl line 65. BEGIN failed--compilation aborted at ./check_log2.pl line 65. thank you for your assistance and have a good weekend. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amalarasan at yahoo.com Fri Mar 24 17:29:35 2006 From: amalarasan at yahoo.com (Amalarasan Jayaraman) Date: Fri, 24 Mar 2006 08:29:35 -0800 (PST) Subject: Check_log3 - solaris log monitoring In-Reply-To: <20060323222042.GK24057@mal.toger.us> References: <20060323222042.GK24057@mal.toger.us> Message-ID: <20060324162935.93155.qmail@web30403.mail.mud.yahoo.com> Hi Jason, --- Jason Martin wrote: > On Thu, Mar 23, 2006 at 02:15:14PM -0800, Amalarasan > Jayaraman wrote: > > My question is, how will I reset the > status to > > normal, from nagios, after the problem is fixed. > If the plugin only looks at 'new' lines, then it'll > automatically reset on the next probe, unless that > probe too > exhibits a problem. The plugin retains the state information and it stays in the same state " LOG FILE - No status change detected. Status=2" you can see from the output the the check didn't find any match but status =2 and it stays in critical. I guess I can remove the state retention and try. Thanks Amal > > want to monitor multiple search strings in the > syslog > > and may want to send alerts for every time the > pattern > > match is found or once in 2 hours (depends on the > type > > of error). I can afford to use multiple probes if > > required. > You might want to look at sending all your syslogs > to a central > server, and having Simple Event Correlator > (http://freshmeat.net/projects/sec) send passive > alerts in to > Nagios about it. It is very good at handling > X-matches-over-time > and so on. > > -Jason Martin > -- > I lost a button hole today. > This message is PGP/MIME signed. > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Fri Mar 24 19:12:30 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Fri, 24 Mar 2006 19:12:30 +0100 Subject: check_log2.pl perl module In-Reply-To: <44241A34.7090409@ha-solutions.net> References: <44241A34.7090409@ha-solutions.net> Message-ID: <4424368E.6060001@its-lehmann.de> Hello, On 3/24/2006 5:11 PM, Terry L. Inzauro wrote: > Marc Powell wrote: ... >> 1) Always run your tests as the nagios user. >> >> 2) They're harmless notices sent to STDERR, not STDOUT so nagios >> wouldn't ever seen them but you shouldn't be seeing them either with an >> unmodified plugin. >> >> 3) What version of the plugins are you using? I don't see these with 1.4 >> -- >> >> [nagios at noctools libexec]$ ./check_log2.pl -l /var/log/messages -s >> /tmp/seekfile -p Error >> OK - No matches found. >> >> 4) Did you modify the shebang line in the script to turn on syntax >> checks (i.e. #!/usr/bin/perl -cw). I can reproduce your results if I do >> that -- ... > ok, i modified the shebang and all works without warnings. thanks a > bunch. but i still haven't fingered out why i need to alter @INC. Because the check_.* programs expect to be called in the path where all the plugins reside, usually /usr/local/nagios/libexec. The utils.pm file must be in that same directory - if it isn't, you should copy it there. If there isn't a utils.pm file, the plugins installation is probably broken. > see > the following output. The following is expressly _not_ run in the libexec directory - you cd'ed out of it yourself :-) Arno > as you can see "." is in @INC. you'd think i > wouldn't have to explicitly add the full path to get it to work. in any > event, i'm ok with the small tweak...for now;) > > > jenna contrib # cd /usr/nagios/libexec/contrib/ > jenna contrib # perl -le 'print join("\n", at INC);' > /etc/perl > /usr/lib/perl5/site_perl/5.8.6/i386-linux > /usr/lib/perl5/site_perl/5.8.6 > /usr/lib/perl5/site_perl > /usr/lib/perl5/vendor_perl/5.8.6/i386-linux > /usr/lib/perl5/vendor_perl/5.8.6 > /usr/lib/perl5/vendor_perl > /usr/lib/perl5/5.8.6/i386-linux > /usr/lib/perl5/5.8.6 > /usr/local/lib/site_perl > . > jenna contrib # ./check_log2.pl > Can't locate utils.pm in @INC (@INC contains: . /etc/perl > /usr/lib/perl5/site_perl/5.8.6/i386-linux /usr/lib/perl5/site_perl/5.8.6 > /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i386-linux > /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl > /usr/lib/perl5/5.8.6/i386-linux /usr/lib/perl5/5.8.6 > /usr/local/lib/site_perl) at ./check_log2.pl line 65. > BEGIN failed--compilation aborted at ./check_log2.pl line 65. > > > thank you for your assistance and have a good weekend. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From george at viamedia.co.za Fri Mar 24 19:11:38 2006 From: george at viamedia.co.za (George Rushby) Date: Fri, 24 Mar 2006 20:11:38 +0200 Subject: Nagios specific scripts and/or binaries Message-ID: Hi all, I have decided that I would write my own bash script to send notification via sms and incorporate it into an existing Nagios script. When I run the script from the command prompt as the nagios user it works like a dream and I get my sms. As soon as I activate it in Nagios I get the following error in the nagios.log file [1143218696] SERVICE NOTIFICATION: george;test-server;Current Users;WARNING;notify-by-sms;USERS WARNING - 1 users currently logged in [1143218696] Warning: Attempting to execute the command "/usr/bin/printf "***** Nagios *****\n\nNotification Type: PROBLEM\n\nService: Current Users\nHost: test-server\nIP: 10.0.0.200\nState: WARNING\nDate/Time: Fri Mar 24 18:44:56 SAST 2006\n\nAdditional Info:\n\nUSERS WARNING - 1 users currently logged in" | pipesend" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... Pipesent code: #!/bin/bash echo "" > /opt/tools/pipesend/send.out while read line do echo "$line" >> /opt/tools/pipesend/send.out done sendSMS "1234567890" "$(cat /opt/tools/pipesend/send.out)" If I remove the ?pipesend? and replace it with ?mail? and execute it via Nagios it works. So the question is, does Nagios only work with special scripts and/or binaries? Thanks in advance George -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 2006/03/23 -------------- next part -------------- An HTML attachment was scrubbed... URL: From al at its-lehmann.de Fri Mar 24 19:20:55 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Fri, 24 Mar 2006 19:20:55 +0100 Subject: Nagios specific scripts and/or binaries In-Reply-To: References: Message-ID: <44243887.3040103@its-lehmann.de> Hi, On 3/24/2006 7:11 PM, George Rushby wrote: ... > I get the following error in the nagios.log file > > > > [1143218696] SERVICE NOTIFICATION: george;test-server;Current > Users;WARNING;notify-by-sms;USERS WARNING - 1 users currently logged in > > [1143218696] Warning: Attempting to execute the command "/usr/bin/printf > "***** Nagios *****\n\nNotification Type: PROBLEM\n\nService: Current > Users\nHost: test-server\nIP: 10.0.0.200\nState: WARNING\nDate/Time: Fri > Mar 24 18:44:56 SAST 2006\n\nAdditional Info:\n\nUSERS WARNING - 1 users > currently logged in" | pipesend" resulted in a return code of 127. Make > sure the script or binary you are trying to execute actually exists... > ... > If I remove the ?pipesend? and replace it with ?mail? and execute it via > Nagios it works. > > > > So the question is, does Nagios only work with special scripts and/or > binaries? > PATH or permissions. I'm quite sure that your script either can not be found in Nagios' search path, or that Nagios can't run it due to missing permissions. You should keep in mind that all test work should be done as the user Nagios runs as. Arno > > Thanks in advance > > George > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 2006/03/23 > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkarekal at gmail.com Fri Mar 24 19:58:18 2006 From: mkarekal at gmail.com (Manjunath Karekal) Date: Sat, 25 Mar 2006 00:28:18 +0530 Subject: Nagios-users digest, Vol 1 #3103 - 7 msgs In-Reply-To: <20060324112859.836F189C00@sc8-sf-spam1.sourceforge.net> References: <20060324112859.836F189C00@sc8-sf-spam1.sourceforge.net> Message-ID: <265d78110603241058u3f6c90bu13d878060bb3bf4f@mail.gmail.com> Hi, Am using Redhat ES3 and installed Nagios trying to moniter the Veritas service on a windows server and used command process_service_check_result. The error am getting is *Return code of 127 is out of bounds - plugin may be missing* Regards, Manju On 3/24/06, 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-admin 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. checking http secure (Jean Frontin) > 2. Scheduled Host Downtime via commandline (Richard Gliebe) > 3. Re: checking http secure (Hugo van der Kooij) > 4. RE: Nagios 'Out Of Memory' Problems (Marco Ramos) > 5. Re: Scheduled Host Downtime via commandline (Marco Ramos) > 6. Rob Ford is out of the office. (Rob Ford) > 7. Re: SNMP Traps in Nagios (Ton Voon) > > --__--__-- > > Message: 1 > Date: Fri, 24 Mar 2006 09:08:16 +0100 > To: nagios-users at lists.sourceforge.net > From: Jean Frontin > Subject: [Nagios-users] checking http secure > > Hello, > > I run nagios 2.0 on fedora. Here is the response of a request made to > check= > =20 > a websecure. The similar command, on port 80, runs fine about http non= > secure. > > [root at myhost plugins]# ./check_http -H myremotehost -p 443 > Invalid HTTP response received from host on port 443 > [root at myhost]# > > Any ideas ? Thanks > > Jean Frontin > System team > I R I T > Universit=E9 Paul-Sabatier > 118, rte de Narbonne > 31062 Toulouse cedex 04 > France > tel (33)(0)5 61 55 63 03 > mail frontin at irit.fr > > > > --__--__-- > > Message: 2 > From: Richard Gliebe > Reply-To: richard.gliebe at fhv.at > To: Nagios List > Date: Fri, 24 Mar 2006 09:12:21 +0100 > Subject: [Nagios-users] Scheduled Host Downtime via commandline > > Hi all, > > is it possible to schedule a Host Downtime via command line, and delete > this scheduled downtime also via command line ? > > thanks in advance > Richard > > > > > --__--__-- > > Message: 3 > Date: Fri, 24 Mar 2006 09:37:20 +0100 (CET) > From: Hugo van der Kooij > Reply-To: Nagios Users Mailinglist > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] checking http secure > > On Fri, 24 Mar 2006, Jean Frontin wrote: > > > I run nagios 2.0 on fedora. Here is the response of a request made to > check > > a websecure. The similar command, on port 80, runs fine about http non > secure. > > > > [root at myhost plugins]# ./check_http -H myremotehost -p 443 > > Invalid HTTP response received from host on port 443 > > Please read the help info for that plugin and use a SSL connect to a SSL > server if you expect a valid response. > > Hugo. > > -- > I hate duplicates. Just reply to the relevant mailinglist. > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ > Don't meddle in the affairs of magicians, > for they are subtle and quick to anger. > > > --__--__-- > > Message: 4 > Subject: RE: [Nagios-users] Nagios 'Out Of Memory' Problems > From: Marco Ramos > To: "Armistead, Raffy" > Cc: nagios-users at lists.sourceforge.net > Date: Fri, 24 Mar 2006 09:57:53 +0000 > > > Hi, > > I had some out of memory and forking problems a while ago. After some > debugging I've tunned some parameters, namely service_reaper_frequency > and max_concurrent_checks. > > Maybe this URL will help you: http://www.nagios.org/faqs/viewfaq.php? > faq_id=115 > > HTH, > Marco Ramos > > On Thu, 2006-03-23 at 13:51 -0800, Armistead, Raffy wrote: > > I am not sure exactly what process is causing it to run out of memory. > > Since I have it as a dedicated Nagios system I would imagine it is > > Nagios that is causing a problem. This occurred when we had about 4000 > > devices but very seldom and it wasn't much of an issue then. Now that we > > almost have 7000 devices that are being monitored it is happening more > > frequently. Since this was the case I had assumed it was Nagios but > > didn't know how to go about fixing the problem. > > > > I do not know that much about Linux so I am not sure how to go about > > setting that up. How do I setup ulimits for memory utilization? What > > steps would I go about to monitor memory utilization for the Nagios > > server? > > > > I had checked the nagios.cfg file and I do have that setting at -1: > > > > command_check_interval=-1 > > > > > > I appreciate any help. Thanks. > > > > Raffy > > > > -----Original Message----- > > From: Marc Powell [mailto:marc at ena.com] > > Sent: Thursday, March 23, 2006 11:12 AM > > To: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Nagios 'Out Of Memory' Problems > > > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > > admin at lists.sourceforge.net] On Behalf Of Armistead, Raffy > > > Sent: Thursday, March 23, 2006 12:23 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Nagios 'Out Of Memory' Problems > > > > > > I have a problem with my Nagios server constantly crashing. It keeps > > > outputting on the screen Out of Memory errors which causes loss of > > access > > > to the server. I can ping the box but I cannot SSH or web into it to > > view > > > any information. This has been happening increasingly more lately. Now > > it > > > is about every 2-3 days that this is occurring. We have been adding > > more > > > and more devices to the servers and this problem has been increasing > > as > > > this occurs. This is how I have it set up. > > > > > > > > > > > > I have a Main Nagios server that is running the latest 2.0 (stable) > > Nagios > > > release. It is monitoring about 6800 devices but it is not actively > > > checking the devices. Its main role is to provide a web interface and > > > receive passive polls from three other servers which do the polling. > > The > > > main server also does email notifications when a device goes down. The > > > server sends about 30-40 emails a day. I am using NSCA 2.5 between the > > > server and the client Nagios servers. I am only monitoring one service > > for > > > each device which is either TCP or ping depending on the device. > > Mostly > > > all devices are monitored with TCP (roughly 6000). The rest are > > monitored > > > with ping. The individual servers are pretty evenly spread with the > > number > > > of devices. They are about 2000-2500 each. > > > > > > Can someone please help me in resolving this problem? Thanks > > > > Have you determined what process is using the memory? One of the first > > steps you should take is to set appropriate ulimits for memory > > utilization for that user so that it doesn't bring down the server. I > > would configure nagios to monitor memory on that server then use top or > > ps to identify the process(es) using the allocated memory when memory > > utilization is high. That will provide better direction for > > troubleshooting rather than simply that the machine is crashing due to > > memory exhaustion. The nagios deamon itself isn't going to be using a > > lot of RAM (10M on my box with 3400 passive services). > > > > My somewhat unfounded guess is that perhaps nagios isn't reaping the > > results from NSCA frequently enough so you're having a backlog of ncsa > > processes. Each process uses just a little memory but if you have > > thousands of them then it adds up. I've personally experienced this on a > > machine that was experiencing disk problems. If this is the case, beyond > > a hardware problem or capacity issue, I'd verify that your > > command_check_interval is set to -1 to make sure that nagios is checking > > the external command file as quickly as it can. > > > > -- > > Marc > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language > > that extends applications into web and mobile media. Attend the live > > webcast > > and join the prime developer group breaking into this new coding > > territory! > > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 xPML, a groundbreaking scripting > language > > that extends applications into web and mobile media. Attend the live > webcast > > and join the prime developer group breaking into this new coding > territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > --__--__-- > > Message: 5 > Subject: Re: [Nagios-users] Scheduled Host Downtime via commandline > From: Marco Ramos > To: richard.gliebe at fhv.at > Cc: Nagios List > Date: Fri, 24 Mar 2006 10:01:13 +0000 > > > Hi, > > yes. Check this out: > http://nagios.sourceforge.net/docs/1_0/extcommands.html > > HTH, > Marco Ramos > > On Fri, 2006-03-24 at 09:12 +0100, Richard Gliebe wrote: > > Hi all, > > > > is it possible to schedule a Host Downtime via command line, and delete > > this scheduled downtime also via command line ? > > > > thanks in advance > > Richard > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > > that extends applications into web and mobile media. Attend the live > webcast > > and join the prime developer group breaking into this new coding > territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: 6 > From: Rob Ford > To: Nagios Users Mailinglist > Date: Fri, 24 Mar 2006 10:02:26 +0000 > Subject: [Nagios-users] Rob Ford is out of the office. > > I will be out of the office starting 23/03/2006 and will not return until > 27/03/2006. > > I will respond to your message when I return. > > > > > *********************************************************************************** > This e-mail and attachments are intended for the above name only and may > be confidential. If they have come to you in error, you must take no action > based on them, nor must copy or show them to anyone; please reply to this > e-mail and report the error. > Security warning: Please note that this e-mail has been created in the > knowledge that the internet is not a one hundred percent secure > communication medium. We advise that you understand and observe this lack of > security when e-mailing us. > Virus: Although we have taken steps to ensure that this e-mail and > attachments are free from any virus, we advise that in keeping with good > practice the recipient should ensure they are actually virus free. If you > have received this e-mail in error please notify: > postmaster at pindar.com > > > > This message has been scanned for viruses by MailControl - > www.mailcontrol.com > > > --__--__-- > > Message: 7 > Cc: > From: Ton Voon > Subject: Re: [Nagios-users] SNMP Traps in Nagios > Date: Fri, 24 Mar 2006 11:25:26 +0000 > To: Sorin VALCU > > > --Apple-Mail-22--463914540 > Content-Transfer-Encoding: quoted-printable > Content-Type: text/plain; > charset=WINDOWS-1252; > delsp=yes; > format=flowed > > Sorin, > > Snmptt doesn't understand the Cisco MIBs. I think when snmptt is =20 > first installed, it imports all the default mibs, but if you add any =20 > new ones into /usr/share/snmp/mibs, you need to load it into SNMPTT =20 > as well. > > We evaluated Snmptt and this was our major issue with it. We've =20 > decided on a different approach where we leave snmptrapd to do the =20 > mib translations and have provided a CPAN module to help. You can =20 > read about our design here: http://altinity.blogs.com/dotorg/2006/03/=20 > lessons_in_snmp.html > > Ton > > > On 14 Mar 2006, at 16:10, Sorin VALCU wrote: > > > Hello > > > > > > > > I=92m trying to use SNMP Traps in Nagios. > > > > > > > > The SNMP Traps are collected by snmptrapd that passes them to =20 > > snmptthandler and then to snmptt. > > > > Snmptt (via an EXEC command) writes a service status notification =20 > > in the nagios.cmd file. > > > > > > > > The problem is that snmptt can not translate the traps received =20 > > from a cisco catalyst. > > > > > > > > All OID=92s in the snmptt.conf file are all numeric values. > > > > All the cisco mibs (snmp v1) are present in the /usr/share/snmp/=20 > > mibs/ directory. > > > > There is no snmp.conf file. > > > > > > > > Here is the output from the snmptt.debug file. > > > > > > > > Thank you for your help > > > > > > > > > > > > Sorin V > > > > > > > > > > > > > > > > > > > > > > > > Processing file: #snmptt-trap-1142269412443608 > > > > Reading trap. Current time: Mon Mar 12 11:00:00 2006 > > > > Symbolic trap variable name detected (SNMPv2-MIB::sysUpTime.0). =20 > > Will attempt to translate to a numerical OID > > > > Could not translate - will leave as-is > > > > > > > > Symbolic trap variable name detected (SNMPv2-MIB::snmpTrapOID.0). =20 > > Will attempt to translate to a numerical OID > > > > Could not translate - will leave as-is > > > > > > > > Symbolic trap variable name detected (SNMPv2-SMI::enterprises.=20 > > 9.2.9.3.1.1.4.1). Will attempt to translate to a numerical OID > > > > Could not translate - will leave as-is > > > > > > > > Symbolic trap variable name detected (TCP-MIB::tcpConnState.=20 > > 172.18.36.31.80.172.18.36.50.3399). Will attempt to translate to a =20= > > > numerical OID > > > > Could not translate - will leave as-is > > > > > > > > Symbolic trap variable name detected (SNMPv2-SMI::enterprises.=20 > > 9.2.6.1.1.5.172.18.36.31.80.172.18.36.50.3399). Will attempt to =20 > > translate to a numerical OID > > > > Could not translate - will leave as-is > > > > > > > > Symbolic trap variable name detected (SNMPv2-SMI::enterprises.=20 > > 9.2.6.1.1.1.172.18.36.31.80.172.18.36.50.3399). Will attempt to =20 > > translate to a numerical OID > > > > Could not translate - will leave as-is > > > > > > > > Symbolic trap variable name detected (SNMPv2-SMI::enterprises.=20 > > 9.2.6.1.1.2.172.18.36.31.80.172.18.36.50.3399). Will attempt to =20 > > translate to a numerical OID > > > > Could not translate - will leave as-is > > > > > > > > Symbolic trap variable name detected (SNMPv2-SMI::enterprises.=20 > > 9.2.9.2.1.18.4). Will attempt to translate to a numerical OID > > > > Could not translate - will leave as-is > > > > > > > > Symbolic trap variable name detected (SNMP-COMMUNITY-=20 > > MIB::snmpTrapAddress.0). Will attempt to translate to a numerical OID > > > > Could not translate - will leave as-is > > > > > > > > Symbolic trap variable name detected (SNMP-COMMUNITY-=20 > > MIB::snmpTrapCommunity.0). Will attempt to translate to a =20 > > numerical OID > > > > Could not translate - will leave as-is > > > > > > > > Symbolic trap variable name detected (SNMPv2-=20 > > MIB::snmpTrapEnterprise.0). Will attempt to translate to a =20 > > numerical OID > > > > Could not translate - will leave as-is > > > > > > > > > > > > Items passed from snmptrapd: > > > > value 0: testcisco > > > > > > > > value 1: 123.123.123.123 > > > > > > > > value 2: SNMPv2-MIB::sysUpTime.0 > > > > > > > > value 3: 0:5:49:22.74 > > > > > > > > value 4: SNMPv2-MIB::snmpTrapOID.0 > > > > > > > > value 5: SNMPv2-SMI::enterprises.9.0.1 > > > > > > > > value 6: SNMPv2-SMI::enterprises.9.2.9.3.1.1.4.1 > > > > > > > > value 7: 5 > > > > > > > > value 8: TCP-MIB::tcpConnState.172.18.36.31.80.172.18.36.50.3399 > > > > > > > > value 9: established > > > > > > > > value 10: SNMPv2-SMI::enterprises.=20 > > 9.2.6.1.1.5.172.18.36.31.80.172.18.36.50.3399 > > > > > > > > value 11: 0:0:00:01.48 > > > > > > > > value 12: SNMPv2-SMI::enterprises.=20 > > 9.2.6.1.1.1.172.18.36.31.80.172.18.36.50.3399 > > > > > > > > value 13: 470 > > > > > > > > value 14: SNMPv2-SMI::enterprises.=20 > > 9.2.6.1.1.2.172.18.36.31.80.172.18.36.50.3399 > > > > > > > > value 15: 5343 > > > > > > > > value 16: SNMPv2-SMI::enterprises.9.2.9.2.1.18.4 > > > > > > > > value 17: > > > > > > > > value 18: SNMP-COMMUNITY-MIB::snmpTrapAddress.0 > > > > > > > > value 19: 123.123.123.123 > > > > > > > > value 20: SNMP-COMMUNITY-MIB::snmpTrapCommunity.0 > > > > > > > > value 21: public > > > > > > > > value 22: SNMPv2-MIB::snmpTrapEnterprise.0 > > > > > > > > value 23: SNMPv2-SMI::enterprises.9 > > > > > > > > Symbolic trap variable name detected (SNMPv2-SMI::enterprises.=20 > > 9.0.1). Will attempt to translate to a numerical OID > > > > Could not translate - will leave as-is > > > > > > > > Agent IP address was blank, so setting to the same as the host IP =20 > > address of 123.123.123.123 > > > > > > > > Agent IP address (123.123.123.123) is the same as the host IP, so =20 > > copying the host name: testcisco > > > > > > > > Trap received from comm4e-droite.lotsys.corp: SNMPv2-=20 > > SMI::enterprises.9.0.1 > > > > 0: hostname > > > > 1: ip address > > > > 2: uptime > > > > 3: trapname / OID > > > > 4: ip address from trap agent > > > > 5: trap community string > > > > 6: enterprise > > > > 0+: passed variables > > > > > > > > Value 0: testcisco > > > > > > > > Value 1: 123.123.123.123 > > > > > > > > Value 2: 0:5:49:22.74 > > > > > > > > Value 3: SNMPv2-SMI::enterprises.9.0.1 > > > > > > > > Value 4: 123.123.123.123 > > > > > > > > Value 5: > > > > > > > > Value 6: > > > > > > > > Agent dns name: testcisco > > > > > > > > Ent Value 0 ($1): SNMPv2-SMI::enterprises.9.2.9.3.1.1.4.1=3D5 > > > > > > > > Ent Value 1 ($2): TCP-MIB::tcpConnState.=20 > > 172.18.36.31.80.172.18.36.50.3399=3Destablished > > > > > > > > Ent Value 2 ($3): SNMPv2-SMI::enterprises.=20 > > 9.2.6.1.1.5.172.18.36.31.80.172.18.36.50.3399=3D0:0:00:01.48 > > > > > > > > Ent Value 3 ($4): SNMPv2-SMI::enterprises.=20 > > 9.2.6.1.1.1.172.18.36.31.80.172.18.36.50.3399=3D470 > > > > > > > > Ent Value 4 ($5): SNMPv2-SMI::enterprises.=20 > > 9.2.6.1.1.2.172.18.36.31.80.172.18.36.50.3399=3D5343 > > > > > > > > Ent Value 5 ($6): SNMPv2-SMI::enterprises.9.2.9.2.1.18.4=3D > > > > > > > > Ent Value 6 ($7): SNMP-COMMUNITY-MIB::snmpTrapAddress.=20 > > 0=3D123.123.123.123 > > > > > > > > Ent Value 7 ($8): SNMP-COMMUNITY-MIB::snmpTrapCommunity.0=3Dpublic > > > > > > > > Ent Value 8 ($9): SNMPv2-MIB::snmpTrapEnterprise.0=3DSNMPv2-=20 > > SMI::enterprises.9 > > > > > > > > Exact match of trap NOT found in EVENT hash table > > > > > > > > Looking for wildcards in the EVENT hash table > > > > Drilling down looking for wildcards in the EVENT hash table > > > > SNMPv2-SMI::enterprises.9.0.* > > > > > > > > Drilling down looking for wildcards in the EVENT hash table > > > > SNMPv2-SMI::enterprises.9.* > > > > > > > > Trap not defined... > > > > > > > > > > > > This message has been scanned for viruses by MailController. > > > > > > > --Apple-Mail-22--463914540 > Content-Transfer-Encoding: quoted-printable > Content-Type: text/html; > charset=WINDOWS-1252 > > -khtml-line-break: after-white-space; ">Sorin,

class=3D"khtml-block-placeholder">
Snmptt doesn't understand = > the Cisco MIBs. I think when snmptt is first installed, it imports all = > the default mibs, but if you add any new ones into /usr/share/snmp/mibs, = > you need to load it into SNMPTT as well.

class=3D"khtml-block-placeholder">
We evaluated Snmptt and = > this was our major issue with it. We've decided on a different approach = > where we leave snmptrapd to do the mib translations and have provided a = > CPAN module to help. You can read about our design here:=A0 href=3D"http://altinity.blogs.com/dotorg/2006/03/lessons_in_snmp.html > ">htt= > > p://altinity.blogs.com/dotorg/2006/03/lessons_in_snmp.html
<= > BR class=3D"khtml-block-placeholder">
Ton

class=3D"khtml-block-placeholder">

On 14 Mar = > 2006, at 16:10, Sorin VALCU wrote:

class=3D"Apple-interchange-newline">
class=3D"Apple-style-span" style=3D"border-collapse: separate; = > border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; = > font-size: 12px; font-style: normal; font-variant: normal; font-weight: = > normal; letter-spacing: normal; line-height: normal; text-align: auto; = > -khtml-text-decorations-in-effect: none; text-indent: 0px; = > -apple-text-size-adjust: auto; text-transform: none; orphans: 2; = > white-space: normal; widows: 2; word-spacing: 0px; ">
class=3D"Section1">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">Hello 13.3333px; ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">I=92m trying = > to use SNMP Traps in Nagios. New; font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">The SNMP = > Traps are collected by snmptrapd that passes them to snmptthandler and = > then to snmptt. 13.3333px; ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Snmptt (via = > an EXEC command) writes a service status notification in the nagios.cmd = > file. 13.3333px; ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">The problem = > is that snmptt can not translate the traps received from a cisco = > catalyst. 13.3333px; ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">All OID=92s = > in the snmptt.conf file are all numeric values. style=3D"font-family: Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">All the cisco = > mibs (snmp v1) are present in the /usr/share/snmp/mibs/ = > directory. 13.3333px; ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">There is no = > snmp.conf file. 13.3333px; ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Here is the = > output from the snmptt.debug file. Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Thank you for = > your help 13.3333px; ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Sorin = > V ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Processing = > file: #snmptt-trap-1142269412443608 Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Reading = > trap.=A0 Current time: Mon Mar 12 11:00:00 2006 style=3D"font-family: Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Symbolic trap = > variable name detected (SNMPv2-MIB::sysUpTime.0).=A0 Will attempt to = > translate to a numerical OID New; font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">=A0 Could not = > translate - will leave as-is New; font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Symbolic trap = > variable name detected (SNMPv2-MIB::snmpTrapOID.0).=A0 Will attempt to = > translate to a numerical OID New; font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">=A0 Could not = > translate - will leave as-is New; font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Symbolic trap = > variable name detected (SNMPv2-SMI::enterprises.9.2.9.3.1.1.4.1).=A0 = > Will attempt to translate to a numerical OID style=3D"font-family: Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">=A0 Could not = > translate - will leave as-is New; font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Symbolic trap = > variable name detected = > (TCP-MIB::tcpConnState.172.18.36.31.80.172.18.36.50.3399).=A0 Will = > attempt to translate to a numerical OID Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">=A0 Could not = > translate - will leave as-is New; font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Symbolic trap = > variable name detected = > (SNMPv2-SMI::enterprises.9.2.6.1.1.5.172.18.36.31.80.172.18.36.50.3399 > ).=A0= > Will attempt to translate to a numerical OID style=3D"font-family: Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">=A0 Could not = > translate - will leave as-is New; font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Symbolic trap = > variable name detected = > (SNMPv2-SMI::enterprises.9.2.6.1.1.1.172.18.36.31.80.172.18.36.50.3399 > ).=A0= > Will attempt to translate to a numerical OID style=3D"font-family: Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">=A0 Could not = > translate - will leave as-is New; font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Symbolic trap = > variable name detected = > (SNMPv2-SMI::enterprises.9.2.6.1.1.2.172.18.36.31.80.172.18.36.50.3399 > ).=A0= > Will attempt to translate to a numerical OID style=3D"font-family: Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">=A0 Could not = > translate - will leave as-is New; font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Symbolic trap = > variable name detected (SNMPv2-SMI::enterprises.9.2.9.2.1.18.4).=A0 Will = > attempt to translate to a numerical OID Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">=A0 Could not = > translate - will leave as-is New; font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Symbolic trap = > variable name detected (SNMP-COMMUNITY-MIB::snmpTrapAddress.0).=A0 Will = > attempt to translate to a numerical OID Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">=A0 Could not = > translate - will leave as-is New; font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Symbolic trap = > variable name detected (SNMP-COMMUNITY-MIB::snmpTrapCommunity.0).=A0 = > Will attempt to translate to a numerical OID style=3D"font-family: Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">=A0 Could not = > translate - will leave as-is New; font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Symbolic trap = > variable name detected (SNMPv2-MIB::snmpTrapEnterprise.0).=A0 Will = > attempt to translate to a numerical OID Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">=A0 Could not = > translate - will leave as-is New; font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Items passed = > from snmptrapd: 13.3333px; ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">value 0: = > testcisco 13.3333px; ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">value 1: = > 123.123.123.123 13.3333px; ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">value 2: = > SNMPv2-MIB::sysUpTime.0 font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">value 3: = > 0:5:49:22.74 13.3333px; ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">value 4: = > SNMPv2-MIB::snmpTrapOID.0 font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">value 5: = > SNMPv2-SMI::enterprises.9.0.1 New; font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">value 6: = > SNMPv2-SMI::enterprises.9.2.9.3.1.1.4.1 Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">value 7: = > 5 ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">value 8: = > TCP-MIB::tcpConnState.172.18.36.31.80.172.18.36.50.3399 style=3D"font-family: Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">value 9: = > established 13.3333px; ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">value 10: = > SNMPv2-SMI::enterprises.9.2.6.1.1.5.172.18.36.31.80.172.18.36.50.3399 > N> ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">value 11: = > 0:0:00:01.48 13.3333px; ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">value 12: = > SNMPv2-SMI::enterprises.9.2.6.1.1.1.172.18.36.31.80.172.18.36.50.3399 > N> ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">value 13: = > 470 ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">value 14: = > SNMPv2-SMI::enterprises.9.2.6.1.1.2.172.18.36.31.80.172.18.36.50.3399 > N> ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">value 15: = > 5343 ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">value 16: = > SNMPv2-SMI::enterprises.9.2.9.2.1.18.4 Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">value = > 17: ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">value 18: = > SNMP-COMMUNITY-MIB::snmpTrapAddress.0 Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">value 19: = > 123.123.123.123 13.3333px; ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">value 20: = > SNMP-COMMUNITY-MIB::snmpTrapCommunity.0 Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">value 21: = > public 13.3333px; ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">value 22: = > SNMPv2-MIB::snmpTrapEnterprise.0 Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">value 23: = > SNMPv2-SMI::enterprises.9 font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Symbolic trap = > variable name detected (SNMPv2-SMI::enterprises.9.0.1).=A0 Will attempt = > to translate to a numerical OID New; font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">=A0 Could not = > translate - will leave as-is New; font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Agent IP = > address was blank, so setting to the same as the host IP address of = > 123.123.123.123 13.3333px; ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Agent IP = > address (123.123.123.123) is the same as the host IP, so copying the = > host name: testcisco font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Trap received = > from comm4e-droite.lotsys.corp: SNMPv2-SMI::enterprises.9.0.1 style=3D"font-family: Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; > ">0:=A0=A0=A0=A0=A0= > =A0=A0=A0=A0 hostname font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; > ">1:=A0=A0=A0=A0=A0= > =A0=A0=A0=A0 ip address font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; > ">2:=A0=A0=A0=A0=A0= > =A0=A0=A0=A0 uptime font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; > ">3:=A0=A0=A0=A0=A0= > =A0=A0=A0=A0 trapname / OID New; font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; > ">4:=A0=A0=A0=A0=A0= > =A0=A0=A0=A0 ip address from trap agent Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; > ">5:=A0=A0=A0=A0=A0= > =A0=A0=A0=A0 trap community string Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; > ">6:=A0=A0=A0=A0=A0= > =A0=A0=A0=A0 enterprise font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; > ">0+:=A0=A0=A0=A0= > =A0=A0=A0=A0 passed variables New; font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Value 0: = > testcisco 13.3333px; ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Value 1: = > 123.123.123.123 13.3333px; ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Value 2: = > 0:5:49:22.74 13.3333px; ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Value 3: = > SNMPv2-SMI::enterprises.9.0.1 New; font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Value 4: = > 123.123.123.123 13.3333px; ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Value = > 5: ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Value = > 6: ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Agent dns = > name: testcisco 13.3333px; ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Ent Value 0 = > ($1): SNMPv2-SMI::enterprises.9.2.9.3.1.1.4.1=3D5 style=3D"font-family: Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Ent Value 1 = > ($2): = > TCP-MIB::tcpConnState.172.18.36.31.80.172.18.36.50.3399=3Destablished > N> ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Ent Value 2 = > ($3): = > SNMPv2-SMI:: > enterprises.9.2.6.1.1.5.172.18.36.31.80.172.18.36.50.3399=3D0:= > 0:00:01.48 13.3333px; ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Ent Value 3 = > ($4): = > SNMPv2-SMI:: > enterprises.9.2.6.1.1.1.172.18.36.31.80.172.18.36.50.3399=3D47= > 0 ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Ent Value 4 = > ($5): = > SNMPv2-SMI:: > enterprises.9.2.6.1.1.2.172.18.36.31.80.172.18.36.50.3399=3D53= > 43 ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Ent Value 5 = > ($6): SNMPv2-SMI::enterprises.9.2.9.2.1.18.4=3D style=3D"font-family: Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Ent Value 6 = > ($7): SNMP-COMMUNITY-MIB::snmpTrapAddress.0=3D123.123.123.123 style=3D"font-family: Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Ent Value 7 = > ($8): SNMP-COMMUNITY-MIB::snmpTrapCommunity.0=3Dpublic style=3D"font-family: Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Ent Value 8 = > ($9): = > SNMPv2-MIB::snmpTrapEnterprise.0=3DSNMPv2-SMI::enterprises.9 style=3D"font-family: Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Exact match = > of trap NOT found in EVENT hash table Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Looking for = > wildcards in the EVENT hash table Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Drilling down = > looking for wildcards in the EVENT hash table style=3D"font-family: Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">SNMPv2-SMI::enterprises.9.0.* New; font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Drilling down = > looking for wildcards in the EVENT hash table style=3D"font-family: Courier New; font-size: 13.3333px; = > ">

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">SNMPv2-SMI::enterprises.9.* New; font-size: 13.3333px; ">

class=3D"MsoNormal" defanghtml_style=3D"text-autospace:none"> size=3D"2" face=3D"Courier New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> font-size: 13.3333px; "> style=3D"font-family: Courier New; font-size: 13.3333px; = > ">=A0

defanghtml_style=3D"text-autospace:none"> = > New"> style=3D"font-size:10.0pt;font-family:" courier=3D"" new";=3D"" = > font-size:=3D"" 13.3333px;=3D""> style=3D"font-family: Courier New; font-size: 13.3333px; ">Trap not = > defined... 13.3333px; ">

class=3D"MsoNormal"> lang=3D"EN-GB" style=3D"font-size: 10.0pt;font-family:Arial; font-size: = > 13.3333px; "> "> font-size: 13.3333px; = > ">=A0



align=3D"center"> -khtml-center; ">This message has been scanned for viruses by href=3D"http://www.MailController.altohiway.com/"> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); text-align: = > -khtml-center; -khtml-text-decorations-in-effect: underline; = > ">MailController style=3D"text-align: -khtml-center; ">.


> class=3D"Apple-interchange-newline">

BODY>= > > --Apple-Mail-22--4639145... > > [Message clipped] -- Regards, Manjunatha K 9886120538 -------------- next part -------------- An HTML attachment was scrubbed... URL: From al at its-lehmann.de Fri Mar 24 20:05:35 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Fri, 24 Mar 2006 20:05:35 +0100 Subject: Nagios specific scripts and/or binaries In-Reply-To: References: Message-ID: <442442FF.4020505@its-lehmann.de> Hello, please send replies to the list and don't request a read confirmation... On 3/24/2006 7:30 PM, George Rushby wrote: > HI Arno, > > Thanks for your prompt response! > > I have been doing all test work running as the nagios user. If I take the > following command "/usr/bin/printf "***** Nagios *****\n\nNotification > Type: PROBLEM\n\nService: Current Users\nHost: test-server\nIP: > 10.0.0.200\nState: WARNING\nDate/Time: Fri Mar 24 18:44:56 SAST > 2006\n\nAdditional Info:\n\nUSERS WARNING - 1 users currently logged in" | > /opt/tools/pipesend/pipesend" it works like a dream. > > I have even created a symbolic link for pipesend in /usr/local/bin.....but > alas it fails! PATH setting for Nagios, perhaps? And I don't mean the one you get as user nagios, I mean the one Nagios works with... Apart from that, for that sort of problem, it's a simple thing to write a small wrapper script which logs some diagnostic output - for example, path, id, shell and probably the Nagios-specific environment variables - and then submits the actual program calls with parameters. You might even log things like the output from 'which ' and '/bin/ls -l ' to see what actually happens... Arno > Anymore help would be appreciated. > > George > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Arno Lehmann > Sent: 24 March 2006 08:21 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios specific scripts and/or binaries > > Hi, > > On 3/24/2006 7:11 PM, George Rushby wrote: > ... > >>I get the following error in the nagios.log file >> >> >> >>[1143218696] SERVICE NOTIFICATION: george;test-server;Current >>Users;WARNING;notify-by-sms;USERS WARNING - 1 users currently logged in >> >>[1143218696] Warning: Attempting to execute the command "/usr/bin/printf >>"***** Nagios *****\n\nNotification Type: PROBLEM\n\nService: Current >>Users\nHost: test-server\nIP: 10.0.0.200\nState: WARNING\nDate/Time: Fri >>Mar 24 18:44:56 SAST 2006\n\nAdditional Info:\n\nUSERS WARNING - 1 users >>currently logged in" | pipesend" resulted in a return code of 127. Make >>sure the script or binary you are trying to execute actually exists... >> > > ... > >>If I remove the ?pipesend? and replace it with ?mail? and execute it via >>Nagios it works. >> >> >> >>So the question is, does Nagios only work with special scripts and/or >>binaries? >> > > > PATH or permissions. > > I'm quite sure that your script either can not be found in Nagios' > search path, or that Nagios can't run it due to missing permissions. > > You should keep in mind that all test work should be done as the user > Nagios runs as. > > Arno > > >>Thanks in advance >> >>George >> >> >>-- >>No virus found in this outgoing message. >>Checked by AVG Free Edition. >>Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 2006/03/23 >> > > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Fri Mar 24 20:08:04 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Fri, 24 Mar 2006 20:08:04 +0100 Subject: Nagios-users digest, Vol 1 #3103 - 7 msgs In-Reply-To: <265d78110603241058u3f6c90bu13d878060bb3bf4f@mail.gmail.com> References: <20060324112859.836F189C00@sc8-sf-spam1.sourceforge.net> <265d78110603241058u3f6c90bu13d878060bb3bf4f@mail.gmail.com> Message-ID: <44244394.9070800@its-lehmann.de> Really a good idea to send 280 kB for that question. Thanks. On 3/24/2006 7:58 PM, Manjunath Karekal wrote: > Hi, > > Am using Redhat ES3 and installed Nagios trying to moniter the Veritas > service on a windows server and used command process_service_check_result. > The error am getting is > > *Return code of 127 is out of bounds - plugin may be missing* Hmm, yeah, well, I suppose Nagios can't find the program you want to call. Perhaps you could take a look into your configuration and see what you actually configured to be called, then see if that program is where you told Nagios to call it, and so on. Arno -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tinzauro at ha-solutions.net Fri Mar 24 20:08:08 2006 From: tinzauro at ha-solutions.net (Terry L. Inzauro) Date: Fri, 24 Mar 2006 13:08:08 -0600 Subject: check_log2.pl perl module In-Reply-To: <4424368E.6060001@its-lehmann.de> References: <44241A34.7090409@ha-solutions.net> <4424368E.6060001@its-lehmann.de> Message-ID: <44244398.5030208@ha-solutions.net> Arno Lehmann wrote: > Hello, > > On 3/24/2006 5:11 PM, Terry L. Inzauro wrote: >> Marc Powell wrote: > ... >>> 1) Always run your tests as the nagios user. >>> >>> 2) They're harmless notices sent to STDERR, not STDOUT so nagios >>> wouldn't ever seen them but you shouldn't be seeing them either with an >>> unmodified plugin. >>> >>> 3) What version of the plugins are you using? I don't see these with 1.4 >>> -- >>> >>> [nagios at noctools libexec]$ ./check_log2.pl -l /var/log/messages -s >>> /tmp/seekfile -p Error >>> OK - No matches found. >>> >>> 4) Did you modify the shebang line in the script to turn on syntax >>> checks (i.e. #!/usr/bin/perl -cw). I can reproduce your results if I do >>> that -- > ... >> ok, i modified the shebang and all works without warnings. thanks a >> bunch. but i still haven't fingered out why i need to alter @INC. > > Because the check_.* programs expect to be called in the path where all > the plugins reside, usually /usr/local/nagios/libexec. The utils.pm file > must be in that same directory - if it isn't, you should copy it there. > If there isn't a utils.pm file, the plugins installation is probably > broken. > >> see the following output. > > The following is expressly _not_ run in the libexec directory - you > cd'ed out of it yourself :-) > > Arno > >> as you can see "." is in @INC. you'd think i wouldn't have to >> explicitly add the full path to get it to work. in any event, i'm ok >> with the small tweak...for now;) >> >> >> jenna contrib # cd /usr/nagios/libexec/contrib/ >> jenna contrib # perl -le 'print join("\n", at INC);' >> /etc/perl >> /usr/lib/perl5/site_perl/5.8.6/i386-linux >> /usr/lib/perl5/site_perl/5.8.6 >> /usr/lib/perl5/site_perl >> /usr/lib/perl5/vendor_perl/5.8.6/i386-linux >> /usr/lib/perl5/vendor_perl/5.8.6 >> /usr/lib/perl5/vendor_perl >> /usr/lib/perl5/5.8.6/i386-linux >> /usr/lib/perl5/5.8.6 >> /usr/local/lib/site_perl >> . >> jenna contrib # ./check_log2.pl >> Can't locate utils.pm in @INC (@INC contains: . /etc/perl >> /usr/lib/perl5/site_perl/5.8.6/i386-linux >> /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl >> /usr/lib/perl5/vendor_perl/5.8.6/i386-linux >> /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl >> /usr/lib/perl5/5.8.6/i386-linux /usr/lib/perl5/5.8.6 >> /usr/local/lib/site_perl) at ./check_log2.pl line 65. >> BEGIN failed--compilation aborted at ./check_log2.pl line 65. >> >> >> thank you for your assistance and have a good weekend. >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by xPML, a groundbreaking scripting >> language >> that extends applications into web and mobile media. Attend the live >> webcast >> and join the prime developer group breaking into this new coding >> territory! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null >> > indeed i did. sometime you can't see the trees through the forest ;) thanks. jenna libexec # cd /usr/nagios/libexec/ jenna libexec # contrib/check_log2.pl Log file not specified. jenna libexec # sorry for the rookie mistake. _Terry ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Fri Mar 24 20:49:47 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Fri, 24 Mar 2006 20:49:47 +0100 Subject: check_log2.pl perl module In-Reply-To: <44244398.5030208@ha-solutions.net> References: <44241A34.7090409@ha-solutions.net> <4424368E.6060001@its-lehmann.de> <44244398.5030208@ha-solutions.net> Message-ID: <44244D5B.4000504@its-lehmann.de> Hello, On 3/24/2006 8:08 PM, Terry L. Inzauro wrote: > Arno Lehmann wrote: ... > indeed i did. sometime you can't see the trees through the forest ;) ... > sorry for the rookie mistake. Been there, done that. Most of us here, I guess... Arno -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Daniel.Tardy at canson.fr Fri Mar 24 22:06:22 2006 From: Daniel.Tardy at canson.fr (Daniel.Tardy at canson.fr) Date: Fri, 24 Mar 2006 22:06:22 +0100 Subject: Daniel TARDY est absent jusqu'au 10 Avril. Message-ID: Je serai absent(e) du 23/03/2006 au 09/04/2006. Vous pouvez joindre Christelle LAVAL au 04 75 69 87 21 St?phane REVOL au 04 75 69 87 07 C?dric BERT au 04 75 69 88 25 Eric GRIENAY au 04 75 69 88 70 En cas d'urgence uniquement, utilisez le 06 80 94 96 87. Merci. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stucky101 at gmail.com Fri Mar 24 22:27:06 2006 From: stucky101 at gmail.com (stucky) Date: Fri, 24 Mar 2006 13:27:06 -0800 Subject: bizarre values in availability cgi Message-ID: <30997e260603241327n544d5336u675ca6631f3dc1a7@mail.gmail.com> guys I know a lot of questions have been asked about this but I have not found any answers yet so I decided to drop another line. I have had nagios 2.0 running for a year now and it's been great. One thing that baffles me though is the availability reporting. We had 2 production outages the other day (one scheduled and one unscheduled). The scheduled one was about of about 37 minutes. The unscheduled one about 7-10 minutes a couple of hours later. This was after a few months of 100% uptime. When I created an availability report over the last 7 days I got these values. Report period : last 7 days Report time Period: 24x7 First Assumed Service State: Service OK OK Unscheduled 6d 23h 28m 37s 99.689% 99.689% Total 6d 23h 28m 37s 99.689% 99.689% CRITICAL Unscheduled 49710d 6h 22m 1s -0.062% -0.062% Scheduled 0d 0h 37m 38s 0.373% 0.373% Total 0d 0h 31m 23s 0.311% 0.311% Now the scheduled stuff seems about ok but the unscheduled stuff doesn't make sense. First of all negative percentages ?? Second, how can a box be down for 49710 days 6 hours and 22 mins in a 7 day period ? The actual downtime was about 10 minutes but I don't see that in the report at all. I did a test after with another box. I created 2 outages. 1. Unscheduled for about 15 mins 2. scheduled for about 8 mins The report I did after that looks much better: OK Unscheduled 6d 22h 43m 14s 99.238% 99.238% Scheduled 0d 0h 55m 22s 0.549% 0.549 Total 6d 23h 38m 36s 99.788% 99.788% CRITICAL Unscheduled 0d 0h 14m 21s 0.142% 0.142% Scheduled 0d 0h 7m 3s 0.070% 0.070% Total 0d 0h 21m 24s 0.212% 0.212% According to that the reporting seems fine but over a long period of time the reports seem to get funny as shown above. I'm sorry if this has been discussed endlessly. If so could someone point me to those threads please ? Thx -- stucky -------------- next part -------------- An HTML attachment was scrubbed... URL: From hvdkooij at vanderkooij.org Fri Mar 24 23:05:05 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 24 Mar 2006 23:05:05 +0100 (CET) Subject: bizarre values in availability cgi In-Reply-To: <30997e260603241327n544d5336u675ca6631f3dc1a7@mail.gmail.com> References: <30997e260603241327n544d5336u675ca6631f3dc1a7@mail.gmail.com> Message-ID: On Fri, 24 Mar 2006, stucky wrote: > Now the scheduled stuff seems about ok but the unscheduled stuff doesn't > make sense. > First of all negative percentages ?? > Second, how can a box be down for 49710 days 6 hours and 22 mins in a 7 day > period ? The actual downtime was about 10 minutes It counts up to 4.295*10^9 seconds which sounds rather close to a nice round binary figure (2^32). I guess it is a buglet somewhere. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tinzauro at ha-solutions.net Fri Mar 24 23:06:56 2006 From: tinzauro at ha-solutions.net (Terry L. Inzauro) Date: Fri, 24 Mar 2006 16:06:56 -0600 Subject: check_log2.pl perl module In-Reply-To: <44244D5B.4000504@its-lehmann.de> References: <44241A34.7090409@ha-solutions.net> <4424368E.6060001@its-lehmann.de> <44244398.5030208@ha-solutions.net> <44244D5B.4000504@its-lehmann.de> Message-ID: <44246D80.7050706@ha-solutions.net> Arno Lehmann wrote: > Hello, > > On 3/24/2006 8:08 PM, Terry L. Inzauro wrote: >> Arno Lehmann wrote: > ... >> indeed i did. sometime you can't see the trees through the forest ;) > ... >> sorry for the rookie mistake. > > Been there, done that. Most of us here, I guess... > > Arno > so battle #2. i am trying to figure out how to make check_log2.pl have multiple search strings. the documentation inside the script states that any perl regex can be used to the "-p" argument....but warned to be very careful....i'm gussing careful to not kill yourself in the process ;) my question to the list is: how do you quote the command so it can be run by the check_by_ssh_plugin? /usr/nagios/libexec/check_by_ssh -H testcase -C '/opt/nagios/libexec/check_log2.pl -l /var/log/messages -s /tmp/seekfile -p "crit|warn|info|auth"' Could not open pipe: /usr/bin/ssh testcase '/opt/nagios/libexec/check_log2.pl -l /var/log/messages -s /tmp/seekfile -p "crit|warn|info|auth"' nagios at jenna ~ $ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Fri Mar 24 23:10:47 2006 From: jhmartin at toger.us (Jason Martin) Date: Fri, 24 Mar 2006 14:10:47 -0800 Subject: check_log2.pl perl module In-Reply-To: <44246D80.7050706@ha-solutions.net> References: <44241A34.7090409@ha-solutions.net> <4424368E.6060001@its-lehmann.de> <44244398.5030208@ha-solutions.net> <44244D5B.4000504@its-lehmann.de> <44246D80.7050706@ha-solutions.net> Message-ID: <20060324221047.GS24057@mal.toger.us> On Fri, Mar 24, 2006 at 04:06:56PM -0600, Terry L. Inzauro wrote: > multiple search strings. the documentation inside the script states that > any perl regex can be used to the "-p" argument....but warned to be very > careful....i'm gussing careful to not kill yourself in the process ;) > > > my question to the list is: how do you quote the command so it can be run > by the check_by_ssh_plugin? > "crit|warn|info|auth"' I once had to do this, except using NRPE which forbids those characters. I had eventually had to hack in a Base64 decoder in the plugin and put the encoded string in the Nagios config. Ugly. -Jason Martin -- Shell to DOS...come in, DOS...do you read...over? This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: From tinzauro at ha-solutions.net Fri Mar 24 23:19:45 2006 From: tinzauro at ha-solutions.net (Terry L. Inzauro) Date: Fri, 24 Mar 2006 16:19:45 -0600 Subject: check_log2.pl perl module In-Reply-To: <20060324221047.GS24057@mal.toger.us> References: <44241A34.7090409@ha-solutions.net> <4424368E.6060001@its-lehmann.de> <44244398.5030208@ha-solutions.net> <44244D5B.4000504@its-lehmann.de> <44246D80.7050706@ha-solutions.net> <20060324221047.GS24057@mal.toger.us> Message-ID: <44247081.3060204@ha-solutions.net> Jason Martin wrote: > On Fri, Mar 24, 2006 at 04:06:56PM -0600, Terry L. Inzauro wrote: >> multiple search strings. the documentation inside the script states that >> any perl regex can be used to the "-p" argument....but warned to be very >> careful....i'm gussing careful to not kill yourself in the process ;) >> >> >> my question to the list is: how do you quote the command so it can be run >> by the check_by_ssh_plugin? >> "crit|warn|info|auth"' > I once had to do this, except using NRPE which forbids those > characters. I had eventually had to hack in a Base64 decoder in > the plugin and put the encoded string in the Nagios config. > Ugly. > > -Jason Martin sometimes is just pays to know how your shell works! this works: nagios at jenna ~ $ /usr/nagios/libexec/check_by_ssh -H ma01 -C '/opt/nagios/libexec/check_log2.pl -l /var/log/messages -s /tmp/seekfile -p crit\|warn\|info\|auth' (3): Mar 24 16:16:43 ma01 sshd[9677]: [ID 800047 auth.info] Accepted publickey for nagios from 10.121.121.250 port 32945 ssh2 but, not as you would hope so. if you rerun it two seconds later, it reports the same error. not the desired/correct result i was looking for. has anyone ever got check_log2.pl to "correctly" look for multiple strings without running the script mutiple times? regards, _Terry ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Fri Mar 24 23:52:41 2006 From: teng at dataway.com (Tedman Eng) Date: Fri, 24 Mar 2006 14:52:41 -0800 Subject: Permanent Acknowledgements? Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2D44@dw-mail.dataway.com> Can anyone suggest a method to make acknowledgments persist between state changes until manually cleared? "Sticky" option is close, but if the host/service will be rebooted several times (making it all the way up to UP/OK state momentarily), it'll clear the sticky as well. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Mar 24 20:08:05 2006 From: jperrin at gmail.com (Jim Perrin) Date: Fri, 24 Mar 2006 14:08:05 -0500 Subject: Nagios-users digest, Vol 1 #3103 - 7 msgs In-Reply-To: <265d78110603241058u3f6c90bu13d878060bb3bf4f@mail.gmail.com> References: <20060324112859.836F189C00@sc8-sf-spam1.sourceforge.net> <265d78110603241058u3f6c90bu13d878060bb3bf4f@mail.gmail.com> Message-ID: <302ce8b50603241108r7247a269rc1d13b25848b59c8@mail.gmail.com> On 3/24/06, Manjunath Karekal wrote: > > Hi, > > Am using Redhat ES3 and installed Nagios trying to moniter the Veritas > service on a windows server and used command process_service_check_result. > The error am getting is Most likely you haven't set $USER1$ to something appropriate. I have a howto for nagios on RHEL and centos that may be worth a look for you -> http://www.cognitive-dissonance.org/journal/category/nagios/ -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thurgoodj187 at gmail.com Sat Mar 25 06:56:25 2006 From: thurgoodj187 at gmail.com (Stephen Barron) Date: Fri, 24 Mar 2006 23:56:25 -0600 Subject: Nagios 'Out Of Memory' Problems In-Reply-To: <1143194274.3682.8.camel@localhost.localdomain> References: <1143194274.3682.8.camel@localhost.localdomain> Message-ID: Hi I had this problem also, and in our case it was NCSA that was filling up the memory on the Nagios Central Server. We noticed the problem increasingly after we installed perfparse, which attempts (poorly) to stop and restart the nagios process. The nagios process has to be running or the nsca instances will never get processed, and therefore stay in memory. I setup a simple process check for nsca and we shoed at some points 11000+ instances of NCSA, right before having to go to our data center and give it the old hard reboot. We use authorized keys and check_by_ssh to run local checks on the nagios Central Server, athough a snmp script would also work well. I would suggest adding a line to your init script for nagios to stop and start ncsa along with nagios. ex. start) echo "Starting network monitor: nagios" $NagiosBin -v $NagiosCfgFile > /dev/null 2>&1; if [ $? -eq 0 ]; then su - $NagiosUser -c "touch $NagiosVarDir/nagios.log $NagiosRetentionFile" rm -f $NagiosCommandFile touch $NagiosRunFile chown $NagiosUser:$NagiosGroup $NagiosRunFile $NagiosBin -d $NagiosCfgFile if [ -d $NagiosLockDir ]; then touch $NagiosLockDir/$NagiosLockFile; fi #sleep 1 #status_nagios nagios /usr/local/nagios/bin/nsca -c /usr/local/nagios/etc/nsca.cfg -d exit 0 else echo "CONFIG ERROR! Start aborted. Check your Nagios configuration." exit 1 fi ;; killproc_nagios () { if test ! -f $NagiosRunFile; then echo "No lock file found in $NagiosRunFile" return 1 fi NagiosPID=`head -n 1 $NagiosRunFile` kill $2 $NagiosPID killall -9 nsca } Good Luck Steve On 3/24/06, Marco Ramos wrote: > > Hi, > > I had some out of memory and forking problems a while ago. After some > debugging I've tunned some parameters, namely service_reaper_frequency > and max_concurrent_checks. > > Maybe this URL will help you: http://www.nagios.org/faqs/viewfaq.php? > faq_id=115 > > HTH, > Marco Ramos > > On Thu, 2006-03-23 at 13:51 -0800, Armistead, Raffy wrote: > > I am not sure exactly what process is causing it to run out of memory. > > Since I have it as a dedicated Nagios system I would imagine it is > > Nagios that is causing a problem. This occurred when we had about 4000 > > devices but very seldom and it wasn't much of an issue then. Now that we > > almost have 7000 devices that are being monitored it is happening more > > frequently. Since this was the case I had assumed it was Nagios but > > didn't know how to go about fixing the problem. > > > > I do not know that much about Linux so I am not sure how to go about > > setting that up. How do I setup ulimits for memory utilization? What > > steps would I go about to monitor memory utilization for the Nagios > > server? > > > > I had checked the nagios.cfg file and I do have that setting at -1: > > > > command_check_interval=-1 > > > > > > I appreciate any help. Thanks. > > > > Raffy > > > > -----Original Message----- > > From: Marc Powell [mailto:marc at ena.com] > > Sent: Thursday, March 23, 2006 11:12 AM > > To: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Nagios 'Out Of Memory' Problems > > > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > > admin at lists.sourceforge.net] On Behalf Of Armistead, Raffy > > > Sent: Thursday, March 23, 2006 12:23 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Nagios 'Out Of Memory' Problems > > > > > > I have a problem with my Nagios server constantly crashing. It keeps > > > outputting on the screen Out of Memory errors which causes loss of > > access > > > to the server. I can ping the box but I cannot SSH or web into it to > > view > > > any information. This has been happening increasingly more lately. Now > > it > > > is about every 2-3 days that this is occurring. We have been adding > > more > > > and more devices to the servers and this problem has been increasing > > as > > > this occurs. This is how I have it set up. > > > > > > > > > > > > I have a Main Nagios server that is running the latest 2.0 (stable) > > Nagios > > > release. It is monitoring about 6800 devices but it is not actively > > > checking the devices. Its main role is to provide a web interface and > > > receive passive polls from three other servers which do the polling. > > The > > > main server also does email notifications when a device goes down. The > > > server sends about 30-40 emails a day. I am using NSCA 2.5 between the > > > server and the client Nagios servers. I am only monitoring one service > > for > > > each device which is either TCP or ping depending on the device. > > Mostly > > > all devices are monitored with TCP (roughly 6000). The rest are > > monitored > > > with ping. The individual servers are pretty evenly spread with the > > number > > > of devices. They are about 2000-2500 each. > > > > > > Can someone please help me in resolving this problem? Thanks > > > > Have you determined what process is using the memory? One of the first > > steps you should take is to set appropriate ulimits for memory > > utilization for that user so that it doesn't bring down the server. I > > would configure nagios to monitor memory on that server then use top or > > ps to identify the process(es) using the allocated memory when memory > > utilization is high. That will provide better direction for > > troubleshooting rather than simply that the machine is crashing due to > > memory exhaustion. The nagios deamon itself isn't going to be using a > > lot of RAM (10M on my box with 3400 passive services). > > > > My somewhat unfounded guess is that perhaps nagios isn't reaping the > > results from NSCA frequently enough so you're having a backlog of ncsa > > processes. Each process uses just a little memory but if you have > > thousands of them then it adds up. I've personally experienced this on a > > machine that was experiencing disk problems. If this is the case, beyond > > a hardware problem or capacity issue, I'd verify that your > > command_check_interval is set to -1 to make sure that nagios is checking > > the external command file as quickly as it can. > > > > -- > > Marc > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language > > that extends applications into web and mobile media. Attend the live > > webcast > > and join the prime developer group breaking into this new coding > > territory! > > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 xPML, a groundbreaking scripting language > > that extends applications into web and mobile media. Attend the live webcast > > and join the prime developer group breaking into this new coding territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Steve ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Mar 25 17:06:02 2006 From: td3201 at gmail.com (Terry) Date: Sat, 25 Mar 2006 10:06:02 -0600 Subject: Permanent Acknowledgements? In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1A08BB2D44@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2D44@dw-mail.dataway.com> Message-ID: <44256A6A.5000206@gmail.com> Why isn't downtime sufficient? Tedman Eng wrote: >Can anyone suggest a method to make acknowledgments persist between state >changes until manually cleared? > >"Sticky" option is close, but if the host/service will be rebooted several >times (making it all the way up to UP/OK state momentarily), it'll clear the >sticky as well. > > > >------------------------------------------------------- >This SF.Net email is sponsored by xPML, a groundbreaking scripting language >that extends applications into web and mobile media. Attend the live webcast >and join the prime developer group breaking into this new coding territory! >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sat Mar 25 18:04:05 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 25 Mar 2006 18:04:05 +0100 (CET) Subject: Permanent Acknowledgements? In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1A08BB2D44@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2D44@dw-mail.dataway.com> Message-ID: On Fri, 24 Mar 2006, Tedman Eng wrote: > > Can anyone suggest a method to make acknowledgments persist between state > changes until manually cleared? > > "Sticky" option is close, but if the host/service will be rebooted several > times (making it all the way up to UP/OK state momentarily), it'll clear the > sticky as well. An acknowledgement is to acknowledge an event. Once the host/service is back up nagios consideres the event ended and if you go down again it is another event. Sounds to me you need to set a maintenance condition untill you are finished in order to prevent multiple events. Hugo -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rarmistead at datanamicsinc.com Sat Mar 25 20:54:24 2006 From: rarmistead at datanamicsinc.com (Armistead, Raffy) Date: Sat, 25 Mar 2006 11:54:24 -0800 Subject: Nagios 'Out Of Memory' Problems Message-ID: Thanks for the information. I have added the lines to the init script and I will monitor the server to see if it still occurs. I had also changed the max_concurrent_checks to 50 from 100 and changed service_reaper_frequency from 2 to 1. This was done on all servers. I also set process_performance_data from 1 to 0 to disable it from running in hopes to eliminate more processes. I was wondering will this process get executed when running the external command to reboot the server from the webpage. If it isn't is there anything I can change for it to do so? Also what type of computer should the main central server be running for 7000 devices (1 service each). We haven't added more devices to the Nagios server since the problem has been happening but we expect to add another 1000 once the problem is corrected and another 1000 or so throughout the rest of the year. I doubt the computer I had running now is adequate for the job so I would like to move it to a more powerful system. Currently I have a 2.4 Celeron PC with 2 GB of RAM running on the main server. What system should I get to properly handle this many devices? The individual servers are running the same thing and don't seem to have problems but should these be upgraded as well? I am planning on installing Fedora for the OS and had installed everything as a package with the current setup. To eliminate more processes can someone tell me what packages should I have installed to get Nagios, NSCA and Apache working properly without anything else. I am sure there might be a better flavor of Linux to run Nagios but we have already standarized using RedHat and Fedora for the OS. Thanks again for the information and hopefully this will resolve my problem. Raffy -----Original Message----- From: Stephen Barron [mailto:thurgoodj187 at gmail.com] Sent: Fri 3/24/2006 9:56 PM To: nagios-users at lists.sourceforge.net Cc: Subject: Re: [Nagios-users] Nagios 'Out Of Memory' Problems Hi I had this problem also, and in our case it was NCSA that was filling up the memory on the Nagios Central Server. We noticed the problem increasingly after we installed perfparse, which attempts (poorly) to stop and restart the nagios process. The nagios process has to be running or the nsca instances will never get processed, and therefore stay in memory. I setup a simple process check for nsca and we shoed at some points 11000+ instances of NCSA, right before having to go to our data center and give it the old hard reboot. We use authorized keys and check_by_ssh to run local checks on the nagios Central Server, athough a snmp script would also work well. I would suggest adding a line to your init script for nagios to stop and start ncsa along with nagios. ex. start) echo "Starting network monitor: nagios" $NagiosBin -v $NagiosCfgFile > /dev/null 2>&1; if [ $? -eq 0 ]; then su - $NagiosUser -c "touch $NagiosVarDir/nagios.log $NagiosRetentionFile" rm -f $NagiosCommandFile touch $NagiosRunFile chown $NagiosUser:$NagiosGroup $NagiosRunFile $NagiosBin -d $NagiosCfgFile if [ -d $NagiosLockDir ]; then touch $NagiosLockDir/$NagiosLockFile; fi #sleep 1 #status_nagios nagios /usr/local/nagios/bin/nsca -c /usr/local/nagios/etc/nsca.cfg -d exit 0 else echo "CONFIG ERROR! Start aborted. Check your Nagios configuration." exit 1 fi ;; killproc_nagios () { if test ! -f $NagiosRunFile; then echo "No lock file found in $NagiosRunFile" return 1 fi NagiosPID=`head -n 1 $NagiosRunFile` kill $2 $NagiosPID killall -9 nsca } Good Luck Steve On 3/24/06, Marco Ramos wrote: > > Hi, > > I had some out of memory and forking problems a while ago. After some > debugging I've tunned some parameters, namely service_reaper_frequency > and max_concurrent_checks. > > Maybe this URL will help you: http://www.nagios.org/faqs/viewfaq.php? > faq_id=115 > > HTH, > Marco Ramos > > On Thu, 2006-03-23 at 13:51 -0800, Armistead, Raffy wrote: > > I am not sure exactly what process is causing it to run out of memory. > > Since I have it as a dedicated Nagios system I would imagine it is > > Nagios that is causing a problem. This occurred when we had about 4000 > > devices but very seldom and it wasn't much of an issue then. Now that we > > almost have 7000 devices that are being monitored it is happening more > > frequently. Since this was the case I had assumed it was Nagios but > > didn't know how to go about fixing the problem. > > > > I do not know that much about Linux so I am not sure how to go about > > setting that up. How do I setup ulimits for memory utilization? What > > steps would I go about to monitor memory utilization for the Nagios > > server? > > > > I had checked the nagios.cfg file and I do have that setting at -1: > > > > command_check_interval=-1 > > > > > > I appreciate any help. Thanks. > > > > Raffy > > > > -----Original Message----- > > From: Marc Powell [mailto:marc at ena.com] > > Sent: Thursday, March 23, 2006 11:12 AM > > To: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Nagios 'Out Of Memory' Problems > > > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > > admin at lists.sourceforge.net] On Behalf Of Armistead, Raffy > > > Sent: Thursday, March 23, 2006 12:23 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Nagios 'Out Of Memory' Problems > > > > > > I have a problem with my Nagios server constantly crashing. It keeps > > > outputting on the screen Out of Memory errors which causes loss of > > access > > > to the server. I can ping the box but I cannot SSH or web into it to > > view > > > any information. This has been happening increasingly more lately. Now > > it > > > is about every 2-3 days that this is occurring. We have been adding > > more > > > and more devices to the servers and this problem has been increasing > > as > > > this occurs. This is how I have it set up. > > > > > > > > > > > > I have a Main Nagios server that is running the latest 2.0 (stable) > > Nagios > > > release. It is monitoring about 6800 devices but it is not actively > > > checking the devices. Its main role is to provide a web interface and > > > receive passive polls from three other servers which do the polling. > > The > > > main server also does email notifications when a device goes down. The > > > server sends about 30-40 emails a day. I am using NSCA 2.5 between the > > > server and the client Nagios servers. I am only monitoring one service > > for > > > each device which is either TCP or ping depending on the device. > > Mostly > > > all devices are monitored with TCP (roughly 6000). The rest are > > monitored > > > with ping. The individual servers are pretty evenly spread with the > > number > > > of devices. They are about 2000-2500 each. > > > > > > Can someone please help me in resolving this problem? Thanks > > > > Have you determined what process is using the memory? One of the first > > steps you should take is to set appropriate ulimits for memory > > utilization for that user so that it doesn't bring down the server. I > > would configure nagios to monitor memory on that server then use top or > > ps to identify the process(es) using the allocated memory when memory > > utilization is high. That will provide better direction for > > troubleshooting rather than simply that the machine is crashing due to > > memory exhaustion. The nagios deamon itself isn't going to be using a > > lot of RAM (10M on my box with 3400 passive services). > > > > My somewhat unfounded guess is that perhaps nagios isn't reaping the > > results from NSCA frequently enough so you're having a backlog of ncsa > > processes. Each process uses just a little memory but if you have > > thousands of them then it adds up. I've personally experienced this on a > > machine that was experiencing disk problems. If this is the case, beyond > > a hardware problem or capacity issue, I'd verify that your > > command_check_interval is set to -1 to make sure that nagios is checking > > the external command file as quickly as it can. > > > > -- > > Marc > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language > > that extends applications into web and mobile media. Attend the live > > webcast > > and join the prime developer group breaking into this new coding > > territory! > > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 xPML, a groundbreaking scripting language > > that extends applications into web and mobile media. Attend the live webcast > > and join the prime developer group breaking into this new coding territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Steve ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailinglist at ebox.gr Sun Mar 26 10:44:18 2006 From: mailinglist at ebox.gr (Brandino Andreas) Date: Sun, 26 Mar 2006 11:44:18 +0300 Subject: monitoring cisco bri interface In-Reply-To: <1257603074.20060324151834@ebox.gr> References: <1257603074.20060324151834@ebox.gr> Message-ID: <178912664.20060326114418@ebox.gr> any idea??? Friday, March 24, 2006, 4:18:34 PM, you wrote: > hi all! > Anyone has an idea how can i monitor the state of the interfaces??? > I want to check the layer 2 of the bri interfaces > Also is possible to make them appear on the map? > Is a workaround for this? > Any idea will be appreciated > ---------------- > Brandino Andreas > mailinglist at ebox.gr > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ---------------- Brandino Andreas mailinglist at ebox.gr ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sun Mar 26 11:09:13 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 26 Mar 2006 11:09:13 +0200 (CEST) Subject: monitoring cisco bri interface In-Reply-To: <178912664.20060326114418@ebox.gr> References: <1257603074.20060324151834@ebox.gr> <178912664.20060326114418@ebox.gr> Message-ID: On Sun, 26 Mar 2006, Brandino Andreas wrote: > any idea??? > > Friday, March 24, 2006, 4:18:34 PM, you wrote: > > > hi all! > > Anyone has an idea how can i monitor the state of the interfaces??? > > I want to check the layer 2 of the bri interfaces > > > Also is possible to make them appear on the map? > > Is a workaround for this? > > > Any idea will be appreciated Don't tell me you did not look at the vast array of interfaces in your SNMP section of the router. You can find just about any interface there. Use snmpwalk to get the proper details. I check my IPv6 tunnel with: define service{ use generic-service host_name anfalas,InternetV6 service_description InternetV6 max_check_attempts 3 normal_check_interval 1 retry_check_interval 3s contact_groups admins check_command check_snmp_int!mycommunity!Tunnel0 } define command{ command_name check_snmp_int command_line $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C $ARG1$ -n $ARG2$ } Using a new host with the address of your router has been described on the list before. Connecting the dots and such is left as an exercise to the reader. The script is taken from one of the contrib sites. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flo at bier.homeip.net Sun Mar 26 17:54:42 2006 From: flo at bier.homeip.net (Florian Gleixner) Date: Sun, 26 Mar 2006 17:54:42 +0200 Subject: Nagios 'Out Of Memory' Problems In-Reply-To: References: <1143194274.3682.8.camel@localhost.localdomain> <44252315.7080705@bier.homeip.net> Message-ID: <4426B942.4080907@bier.homeip.net> Hi, i forgot to reply to the list. Lets share knowledge. It is true, the problem can be in a newer perfparse version too. To explain the problem: If you compile nagios with --with-file-perfdata, then nagios opens at start the perfdata file and writes there. If the file gets too large and you try to delete it, then you won't see any change in disk usage. This is because nagios never closes the file and even if you delete it, nagios still has a reference to that file. So if you choose to use perfparse to read that file then perfparse can be configured to delete the file and restart nagios (send a restart signal) to avoid filling the disk with the perfdata file. This is very bad for performance if you run more than some 100 service checks. To avoid this, you should choose another method to get performance data to perfparse. You can get very good performance with the method "pipe to perfparse" and if you enable embedded perl in nagios. Here is a example configuration (nagios 2.0): In misccommands.cfg: define command{ command_name process-service-perfdata command_line /usr/local/nagios/bin/perfparse_nagios_pipe_command.pl /usr/local/nagios/var/serviceperf.log "$TIMET$" "$HOSTNAME$" "$SERVICEDESC$" "$SERVICEOUTPUT$" "$SERVICESTATE$" "$SERVICEPERFDATA$" } in nagios.cfg: process_performance_data=1 service_perfdata_command=process-service-perfdata in perfparse.cfg: Service_Log = "|/usr/local/nagios/var/serviceperf.log" Service_Log_Position_Mark_Path = "no" The (embedded) perl script writes to a pipe and the perfparsed daemon reads continously from that pipe. Make sure perfparsed is running! One problem here is, that perfparsed should be started before the service command generates the output file, because perfparsed wants to create a pipe. Therefore a perfparsed startscript should delete/move a stale outputfile. Send me a mail if you need a perfparsed startskript. Flo Stephen Barron schrieb: > We are using the current release v0.105.6. Could this be due to using > the Periodic Nagios Log Parse method of perfparse? This is what we > are using and we have had serious stability problems with nagios ever > since installing perfparse. > > Thanks > > Stephen Barron > > On 3/25/06, Florian Gleixner wrote: >> >> Stephen Barron schrieb: >>> Hi >>> >>> I had this problem also, and in our case it was NCSA that was filling >>> up the memory on the Nagios Central Server. We noticed the problem >>> increasingly after we installed perfparse, which attempts (poorly) to >>> stop and restart the nagios process. >> This was a problem of older perfparse versions. If you use newer >> versions then perfparse does not need to restart nagios. >> >> Flo >> > > > -- > Steve ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredje110 at hotmail.com Sun Mar 26 19:14:19 2006 From: fredje110 at hotmail.com (Fred Janssen) Date: Sun, 26 Mar 2006 17:14:19 +0000 Subject: Nagios not writing to nagios.log Message-ID: A few days ago we started testing Nagios as a monitoring tool. At this moment we are recording a number of PureTest scripts to enable us to monitor advanced use cases when checking our web applications. The Nagios/PureTest integration works rather well. We have only one (in our perception) strange problem: When running the scripts as user NAGIOS we get all the necessary entries in the nagios.log file. When running the scripts from NAGIOS no entries are written to this file (but the status in the console is correct). Other http_checks do generate log-entries and the permissions seem OK. Your advice & comments are very much appreciated. With best regards, Fred Janssen ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jwhardeman at gmail.com Mon Mar 27 04:39:37 2006 From: jwhardeman at gmail.com (Joseph Hardeman) Date: Sun, 26 Mar 2006 21:39:37 -0500 Subject: bulk update thru send_nsca Message-ID: Greetings, Does anyone know a way to post multiple checks thru a single send_nsca post? Currently every process/device that we check sends an individual send_nsca post to our central server. As we have anywhere between 5 to 250 devices at over 450 different locations this can be quite consuming at the sites. Currently we are primarily doing pings on most of our devices to make sure they are live, but want to do much more and to keep the amount of nsca's on the central server down, I was wondering if it wouldn't be better to have multiple posts sent thru a single connection, verses every post establishing a connection. Thanks in advance on your thoughts and help. Joseph -------------- next part -------------- An HTML attachment was scrubbed... URL: From rouilj at cs.umb.edu Mon Mar 27 05:16:17 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Sun, 26 Mar 2006 22:16:17 -0500 Subject: bulk update thru send_nsca In-Reply-To: Your message of "Sun, 26 Mar 2006 21:39:37 EST." References: Message-ID: <200603270316.k2R3GIs5025810@mx1.cs.umb.edu> In message , "Joseph Hardeman" writes: >Does anyone know a way to post multiple checks thru a single send_nsca >post? Afraid not. I do everything over ssh and this is easy to do. >Currently every process/device that we check sends an individual >send_nsca post to our central server. As we have anywhere between 5 to 250 >devices at over 450 different locations this can be quite consuming at the >sites. Currently we are primarily doing pings on most of our devices to make >sure they are live, but want to do much more and to keep the amount of >nsca's on the central server down, I was wondering if it wouldn't be better >to have multiple posts sent thru a single connection, verses every post >establishing a connection. I used ssh and a small perl script for this. Setup ssh from the remote system to the master nagios system using public key ssh. On the remote system have each check send it's properly formatted *CHECK_RESULT output to a file. Then a small shell script that is run when you want to submit your checks. The small script cats the file into "ssh nagios at nagios_master_host". On the master nagios system create a small shell or perl script that: reads a line of input verifies it has the proper form for a PROCESS_HOST/SERVICE_CHECK_RESULT submits the result to the command queue Install the shell script/perl script as a forced command for the keys that you are using from the remote system. So loss of the key doesn't allow the user to do anything other than submit *CHECK_RESULTS. Specifically they can't run any programs or submit other passive nagios commands. Obviously this works best if you already use ssh for your remote infrastructure. I used it to have a Cyclades terminal servers report events back to the central nagios server, worked like a charm. You can also use 'tail -f local_input_file_or_pipe | autossh nagios_master_host' to keep a persistent ssh open if you don't have too many permanent connections that you need to set up. I used this setup with SEC to handle alerts coming from syslog monitoring and analysis. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Mon Mar 27 08:35:14 2006 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Mon, 27 Mar 2006 08:35:14 +0200 Subject: Problem with check_nt MEMUSE Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E0215A64A@SYGOMAIL.GOE.AD.SYCOR.DE> Hi there, I've got a Problem with the check_nt MEMUSE check. Don't know, if this is a known issue, maybe a patch already exists, or maybe I'm totally wrong here ;) Here's the problem: check_nt MEMUSE seems to check the perfmon instances \Memory\Committed Bytes and \Memory\Commit Limit, it then calculates the procentual proportion of committed bytes to commit limit, the output then refers to the procentual proportion of the physical ram. Problem is, that the commit limit is != physical ram! e.g. physical ram = 1GB, pagefile = 4GB -> Commit Limit is 1GB + 4GB = 5GB when committed bytes is 500MB (10%), the plugin reports that there are 100MB used RAM (10% from 1GB RAM). In the Task Manager the Value 500MB is displayed correctly. I'm using the check_nt from the nagiso-plugins 1.4.0alpha2 1.21 Any suggestions to solve this problem? Regards, Philipp _____________________________ Philipp Sand Sprach & Datenkommunikation SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 - 490 - 0 Telefax +49 (0) 551 - 490 - 232468 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ? ******************************************************************************************************************************** sycor plastics - die Branchenloesung fuer die Kunststoffindustrie www.sycor-plastics.de sycor plastics - the solution for the plastic industry www.sycor-plastics.com ******************************************************************************************************************************** Diese E-Mail ist vertraulich und kann darueber hinaus persoenliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse Empfaenger sind, loeschen Sie bitte die E-Mail und deren Anhaenge sofort und benachrichtigen Sie uns darueber. Die Firma sycor willigt in keine Vertraege oder vertragliche Verpflichtungen ein oder uebermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdruecklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From george at viamedia.co.za Mon Mar 27 10:57:08 2006 From: george at viamedia.co.za (George Rushby) Date: Mon, 27 Mar 2006 10:57:08 +0200 Subject: Nagios specific scripts and/or binaries In-Reply-To: <442442FF.4020505@its-lehmann.de> References: <442442FF.4020505@its-lehmann.de> Message-ID: <007801c6517c$6e531110$020aa8c0@viamtech001> Please excuse my ignorance but the PATH setting for Nagios?! -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Arno Lehmann Sent: 24 March 2006 09:06 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios specific scripts and/or binaries Hello, please send replies to the list and don't request a read confirmation... On 3/24/2006 7:30 PM, George Rushby wrote: > HI Arno, > > Thanks for your prompt response! > > I have been doing all test work running as the nagios user. If I take the > following command "/usr/bin/printf "***** Nagios *****\n\nNotification > Type: PROBLEM\n\nService: Current Users\nHost: test-server\nIP: > 10.0.0.200\nState: WARNING\nDate/Time: Fri Mar 24 18:44:56 SAST > 2006\n\nAdditional Info:\n\nUSERS WARNING - 1 users currently logged in" | > /opt/tools/pipesend/pipesend" it works like a dream. > > I have even created a symbolic link for pipesend in /usr/local/bin.....but > alas it fails! PATH setting for Nagios, perhaps? And I don't mean the one you get as user nagios, I mean the one Nagios works with... Apart from that, for that sort of problem, it's a simple thing to write a small wrapper script which logs some diagnostic output - for example, path, id, shell and probably the Nagios-specific environment variables - and then submits the actual program calls with parameters. You might even log things like the output from 'which ' and '/bin/ls -l ' to see what actually happens... Arno > Anymore help would be appreciated. > > George > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Arno Lehmann > Sent: 24 March 2006 08:21 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios specific scripts and/or binaries > > Hi, > > On 3/24/2006 7:11 PM, George Rushby wrote: > ... > >>I get the following error in the nagios.log file >> >> >> >>[1143218696] SERVICE NOTIFICATION: george;test-server;Current >>Users;WARNING;notify-by-sms;USERS WARNING - 1 users currently logged in >> >>[1143218696] Warning: Attempting to execute the command "/usr/bin/printf >>"***** Nagios *****\n\nNotification Type: PROBLEM\n\nService: Current >>Users\nHost: test-server\nIP: 10.0.0.200\nState: WARNING\nDate/Time: Fri >>Mar 24 18:44:56 SAST 2006\n\nAdditional Info:\n\nUSERS WARNING - 1 users >>currently logged in" | pipesend" resulted in a return code of 127. Make >>sure the script or binary you are trying to execute actually exists... >> > > ... > >>If I remove the ?pipesend? and replace it with ?mail? and execute it via >>Nagios it works. >> >> >> >>So the question is, does Nagios only work with special scripts and/or >>binaries? >> > > > PATH or permissions. > > I'm quite sure that your script either can not be found in Nagios' > search path, or that Nagios can't run it due to missing permissions. > > You should keep in mind that all test work should be done as the user > Nagios runs as. > > Arno > > >>Thanks in advance >> >>George >> >> >>-- >>No virus found in this outgoing message. >>Checked by AVG Free Edition. >>Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 2006/03/23 >> > > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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.1.385 / Virus Database: 268.3.0/290 - Release Date: 2006/03/23 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.2/293 - Release Date: 2006/03/26 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flo at bier.homeip.net Mon Mar 27 12:26:58 2006 From: flo at bier.homeip.net (Florian Gleixner) Date: Mon, 27 Mar 2006 12:26:58 +0200 Subject: bulk update thru send_nsca In-Reply-To: References: Message-ID: <4427BDF2.1050307@bier.homeip.net> Just concat results of checks together using a CR ("\n") to separate the lines. We use a shell variable to collect the messages and then shoot it through send_nsca. Example: NAGOSSERV=nagiosserver NAGIOSDIR=/usr/local/nagios CHOST=`uname -n` NSCAOUT="" # check disks for i in 10 30 40 50 60 ; do COUT=`$NAGIOSDIR/libexec/check_disk -w 15% -c 5% -p /dev/md/dsk/d$i` CERR=$? NSCAOUT=`echo -en "$NSCAOUT\n$CHOST\t/dev/md/dsk/d$i Free Space\t$CERR\t$COUT\n"` done echo "$NSCAOUT" | $NAGIOSDIR/bin/send_nsca -H $NAGOSSERV -c $NAGIOSDIR/etc/send_nsca.cfg > /dev/null Flo Joseph Hardeman wrote: > Greetings, > > Does anyone know a way to post multiple checks thru a single send_nsca > post? Currently every process/device that we check sends an individual > send_nsca post to our central server. As we have anywhere between 5 to 250 > devices at over 450 different locations this can be quite consuming at the > sites. Currently we are primarily doing pings on most of our devices to make > sure they are live, but want to do much more and to keep the amount of > nsca's on the central server down, I was wondering if it wouldn't be better > to have multiple posts sent thru a single connection, verses every post > establishing a connection. > > Thanks in advance on your thoughts and help. > > Joseph > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdewit at dnaservices.nl Mon Mar 27 13:18:28 2006 From: jdewit at dnaservices.nl (Janno de Wit) Date: Mon, 27 Mar 2006 13:18:28 +0200 Subject: [bug?] CET -> CEST problems Message-ID: <20060327111828.GA21194@dna-rbi-x1.dnaservices.nl> Hi list, Have had the following problem here. We monitor an as400 system, and if it is not online between 05:00 - 24:00 on mon-sat, it should send us an alert. Now last weekend we got the time switch between CET and CEST (02:00 am becomes 03:00 am). The server automatically switches, but Nagios get straggling with the time, the hole sunday we got alerts, and we should not get any on sunday. My timewindow configuration is as follows: define host{ use generic-host ; Name of host template to use contact_groups as400-alarm host_name as400 alias AS400 address check_command check-host-alive max_check_attempts 10 notification_interval 60 notification_period as400timewindow notification_options d,u,r parents switch-pand-groot-ge } define timeperiod{ timeperiod_name as400timewindow alias 05:00 tot 24:00, mon-sat monday 05:00-24:00 tuesday 05:00-24:00 wednesday 05:00-24:00 thursday 05:00-24:00 friday 05:00-24:00 saturday 05:00-24:00 } My eventlog skips from 01:00 directly to 03:00, without notice about some big timechange. We run: Nagios 2.0b4 Copyright (c) 1999-2005 Ethan Galstad (http://www.nagios.org) Last Modified: 08-02-2005 License: GPL I think this is a bug, is there any coder which can look at this? Regards, Janno de Wit DNA Services B.V. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Mon Mar 27 13:38:49 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Mon, 27 Mar 2006 13:38:49 +0200 Subject: Nagios specific scripts and/or binaries In-Reply-To: <007801c6517c$6e531110$020aa8c0@viamtech001> References: <007801c6517c$6e531110$020aa8c0@viamtech001> Message-ID: <4427CEC9.1000307@its-lehmann.de> Hi, On 3/27/2006 10:57 AM, George Rushby wrote: > Please excuse my ignorance but the PATH setting for Nagios?! Yes, the search path for executables. In other words, perhaps neither /usr/local/bin nor /opt/tools/pipesend are used to search for programs. The PATH is, usually and IIRC, set in the start script for nagios or inherited from the existing environment. The most useful thing you might do is simply use all commands with a full path - that avoids some security holes as well. Arno > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Arno Lehmann > Sent: 24 March 2006 09:06 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios specific scripts and/or binaries > > Hello, > > please send replies to the list and don't request a read confirmation... > > On 3/24/2006 7:30 PM, George Rushby wrote: > >>HI Arno, >> >>Thanks for your prompt response! >> >>I have been doing all test work running as the nagios user. If I take the >>following command "/usr/bin/printf "***** Nagios *****\n\nNotification >>Type: PROBLEM\n\nService: Current Users\nHost: test-server\nIP: >>10.0.0.200\nState: WARNING\nDate/Time: Fri Mar 24 18:44:56 SAST >>2006\n\nAdditional Info:\n\nUSERS WARNING - 1 users currently logged in" | >>/opt/tools/pipesend/pipesend" it works like a dream. >> >>I have even created a symbolic link for pipesend in /usr/local/bin.....but >>alas it fails! > > > PATH setting for Nagios, perhaps? And I don't mean the one you get as > user nagios, I mean the one Nagios works with... > > Apart from that, for that sort of problem, it's a simple thing to write > a small wrapper script which logs some diagnostic output - for example, > path, id, shell and probably the Nagios-specific environment variables - > and then submits the actual program calls with parameters. You might > even log things like the output from 'which ' and '/bin/ls > -l ' to see what actually happens... > > Arno > > >>Anymore help would be appreciated. >> >>George >> >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net >>[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Arno > > Lehmann > >>Sent: 24 March 2006 08:21 PM >>To: nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] Nagios specific scripts and/or binaries >> >>Hi, >> >>On 3/24/2006 7:11 PM, George Rushby wrote: >>... >> >> >>>I get the following error in the nagios.log file >>> >>> >>> >>>[1143218696] SERVICE NOTIFICATION: george;test-server;Current >>>Users;WARNING;notify-by-sms;USERS WARNING - 1 users currently logged in >>> >>>[1143218696] Warning: Attempting to execute the command "/usr/bin/printf >>>"***** Nagios *****\n\nNotification Type: PROBLEM\n\nService: Current >>>Users\nHost: test-server\nIP: 10.0.0.200\nState: WARNING\nDate/Time: Fri >>>Mar 24 18:44:56 SAST 2006\n\nAdditional Info:\n\nUSERS WARNING - 1 users >>>currently logged in" | pipesend" resulted in a return code of 127. Make >>>sure the script or binary you are trying to execute actually exists... >>> >> >>... >> >> >>>If I remove the ?pipesend? and replace it with ?mail? and execute it via >>>Nagios it works. >>> >>> >>> >>>So the question is, does Nagios only work with special scripts and/or >>>binaries? >>> >> >> >>PATH or permissions. >> >>I'm quite sure that your script either can not be found in Nagios' >>search path, or that Nagios can't run it due to missing permissions. >> >>You should keep in mind that all test work should be done as the user >>Nagios runs as. >> >>Arno >> >> >> >>>Thanks in advance >>> >>>George >>> >>> >>>-- >>>No virus found in this outgoing message. >>>Checked by AVG Free Edition. >>>Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 2006/03/23 >>> >> >> > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PShelfo at embrex.com Mon Mar 27 14:28:32 2006 From: PShelfo at embrex.com (Pete Shelfo) Date: Mon, 27 Mar 2006 07:28:32 -0500 Subject: Host File Clean-Up Message-ID: bAll my hosts definitions are setup the same way: # 'servername' host definition define host{ use generic-host ; Name of host template to use host_name servername alias servername address 0.0.0.0 parents switch check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r contact_groups sys-admins } Do I need the bottom half of my definition list for each host if my generic host definition template on the bottom of my host file already includes that information: max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r contact_groups sys-admins } In summary can I get away with only listing: # 'servername' host definition define host{ use generic-host ; Name of host template to use host_name servername alias servername address 0.0.0.0 parents switch This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited. If you have received this e-mail in error, please contact the sender immediately and delete the material from any computer. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Mon Mar 27 17:22:12 2006 From: marc at ena.com (Marc Powell) Date: Mon, 27 Mar 2006 09:22:12 -0600 Subject: Nagios not writing to nagios.log Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Fred Janssen > Sent: Sunday, March 26, 2006 11:14 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios not writing to nagios.log > > A few days ago we started testing Nagios as a monitoring tool. > > At this moment we are recording a number of PureTest scripts to enable us > to > monitor advanced use cases when checking our web applications. > > The Nagios/PureTest integration works rather well. We have only one (in > our > perception) strange problem: > > When running the scripts as user NAGIOS we get all the necessary entries > in > the > nagios.log file. > > When running the scripts from NAGIOS no entries are written to this file > (but > the status in the console is correct). Other http_checks do generate > log-entries > and the permissions seem OK. > > Your advice & comments are very much appreciated. Are the http checks done in exactly the same way as the PureTest scripts (i.e. active/passive, same plugin, etc)? Check the log_* entries in nagios.cfg to make sure they meet your expectations. Each check is normally not logged, only state changes and retries if you have that enabled. Also verify that you don't have multiple nagios daemons running concurrently. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Mar 27 17:17:02 2006 From: marc at ena.com (Marc Powell) Date: Mon, 27 Mar 2006 09:17:02 -0600 Subject: Host File Clean-Up Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Pete Shelfo > Sent: Monday, March 27, 2006 6:29 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Host File Clean-Up > > bAll my hosts definitions are setup the same way: > > > > # 'servername' host definition > > define host{ > > use generic-host ; Name of host template to > use > > host_name servername > > alias servername > > address 0.0.0.0 > > parents switch > > check_command check-host-alive > > max_check_attempts 10 > > notification_interval 120 > > notification_period 24x7 > > notification_options d,u,r > > contact_groups sys-admins > > } > > > > Do I need the bottom half of my definition list for each host if my > generic host definition template on the bottom of my host file already > includes that information: If your template already contains a variable entry you do not need to re-specify it in the host/service definition unless it's changed so your example is correct. Templates would be useless if you had to. With a fully fleshed out template you might only need to specify use, host_name and address in a host definition. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrmontg at gmail.com Mon Mar 27 17:57:38 2006 From: jrmontg at gmail.com (Jeffrey Montgomery) Date: Mon, 27 Mar 2006 09:57:38 -0600 Subject: Downtime Notification Message-ID: Does anyone know a way to send out a notification warning that the server is sched. for downtime 10 min before? -- Jeffr ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Mar 27 18:30:23 2006 From: td3201 at gmail.com (Terry) Date: Mon, 27 Mar 2006 10:30:23 -0600 Subject: Downtime Notification In-Reply-To: References: Message-ID: <1143477023.8919.5.camel@localhost> That's kinda tricky. You could scrape downtime.log every 1 minute (from cron) and act upon that. You could make it as smart or dumb as you want. Dumb would be sending a notification for every host/service that is scheduled to be down in 10 minutes. Smart would be compiling all the downtimes, comparing the times and matching them up and sending out a single notification with a list of the services/hosts scheduled to be down in 10 minutes. Sounds like a fun project, pull out your perl book. On Mon, 2006-03-27 at 09:57 -0600, Jeffrey Montgomery wrote: > Does anyone know a way to send out a notification warning that the > server is sched. for downtime 10 min before? > > -- > Jeffr > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zaeem.chaudhry at fmr.com Mon Mar 27 21:18:09 2006 From: zaeem.chaudhry at fmr.com (Chaudhry, Zaeem) Date: Mon, 27 Mar 2006 14:18:09 -0500 Subject: Find out which device failed first - Help Message-ID: <43C51169756115468E235A12F7A680A3049201AB@MSGBOSCLD2WIN.DMN1.FMR.COM> Hello, I have a bunch of devices that I monitor using Anglos 2.0. All the devices in my network are connected to each other in one way or the other, which means that if one device in the network fails, it impacts the other devices as well. I want to know if there is a way to find out which device in the network failed "first" and caused disruption in service. That way, I will not have to deal with the devices that are dependant on that "first" device to get their service. Is there any plug-in/software available to monitor that? Pinging the device through Anglos to find out if the it is up and running, does not always help! Please advise. Thank you, Zaeem. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zaeem.chaudhry at fmr.com Mon Mar 27 21:23:25 2006 From: zaeem.chaudhry at fmr.com (Chaudhry, Zaeem) Date: Mon, 27 Mar 2006 14:23:25 -0500 Subject: Find out which device failed first - Help Message-ID: <43C51169756115468E235A12F7A680A3049201AC@MSGBOSCLD2WIN.DMN1.FMR.COM> My apologies... The spell check in Windows changed the word "Nagios" to Anglos. Hello, I have a bunch of devices that I monitor using Nagios 2.0. All the devices in my network are connected to each other in one way or the other, which means that if one device in the network fails, it impacts the other devices as well. I want to know if there is a way to find out which device in the network failed "first" and caused disruption in service. That way, I will not have to deal with the devices that are dependant on that "first" device to get their service. Is there any plug-in/software available to monitor that? Pinging the device through Nagios to find out if the it is up and running, does not always help! Please advise. Thank you, Zaeem. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Mar 27 22:12:23 2006 From: marc at ena.com (Marc Powell) Date: Mon, 27 Mar 2006 14:12:23 -0600 Subject: Find out which device failed first - Help Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Chaudhry, Zaeem > Sent: Monday, March 27, 2006 1:23 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Find out which device failed first - Help > > > My apologies... The spell check in Windows changed the word "Nagios" to > Anglos. > > Hello, > > I have a bunch of devices that I monitor using Nagios 2.0. All the > devices in my network are connected to each other in one way or the > other, which means that if one device in the network fails, it impacts > the other devices as well. I want to know if there is a way to find out > which device in the network failed "first" and caused disruption in > service. That way, I will not have to deal with the devices that are > dependant on that "first" device to get their service. > > Is there any plug-in/software available to monitor that? Pinging the > device through Nagios to find out if the it is up and running, does not > always help! > > Please advise. Use the 'parents' directive... That's probably what you're looking for. http://nagios.sourceforge.net/docs/2_0/networkreachability.html -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 27 22:15:37 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 27 Mar 2006 22:15:37 +0200 (CEST) Subject: Find out which device failed first - Help In-Reply-To: <43C51169756115468E235A12F7A680A3049201AC@MSGBOSCLD2WIN.DMN1.FMR.COM> References: <43C51169756115468E235A12F7A680A3049201AC@MSGBOSCLD2WIN.DMN1.FMR.COM> Message-ID: On Mon, 27 Mar 2006, Chaudhry, Zaeem wrote: > My apologies... The spell check in Windows changed the word "Nagios" to > Anglos. That makes 1001 reasons why I dislike windows. > I have a bunch of devices that I monitor using Nagios 2.0. All the > devices in my network are connected to each other in one way or the > other, which means that if one device in the network fails, it impacts > the other devices as well. I want to know if there is a way to find out > which device in the network failed "first" and caused disruption in > service. That way, I will not have to deal with the devices that are > dependant on that "first" device to get their service. And just how will you nagios know unless you define your dependencies? Unfortunatly you have to define dependencies from Nagios point of view. So placing Nagios at the proper spot in your network is crucial in this. Finding a problem by looking for the first host to go missing in Nagios means you must poll just about every second. That will put quite a strain on your setup and will still not be as effective as you might think. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drussell at mpifix.com Mon Mar 27 22:30:04 2006 From: drussell at mpifix.com (Danny Russell) Date: Mon, 27 Mar 2006 13:30:04 -0700 Subject: Nagios NEB Nagios-DB Install Guide Message-ID: <028B223BB24E5443A9784BBE1CC5EBE0B54B4D@Lisa.mpifix.com> Fellow Group Members, I am running Nagios 2.0 stable. I am looking to add mysql database support. I know the Nagios-db group exists and people have it working, but I cannot get it to compile and I am running in to a brick wall. Are there any instructions out there on it? A wiki? I am just looking for some general help. Here's my compile error: [root at nagiosdev mysql]# make gcc -g -O2 -Wall -o inserter.o inserter.c -shared -lmysqlclient -fPIC inserter.c: In function `nebmodule_init': inserter.c:138: warning: passing arg 3 of `neb_register_callback' makes integer from pointer without a cast inserter.c:138: error: too few arguments to function `neb_register_callback' inserter.c: In function `loadconfig': inserter.c:343: warning: passing arg 3 of `neb_register_callback' makes integer from pointer without a cast inserter.c:343: error: too few arguments to function `neb_register_callback' inserter.c:344: warning: passing arg 3 of `neb_register_callback' makes integer from pointer without a cast inserter.c:344: error: too few arguments to function `neb_register_callback' inserter.c:345: warning: passing arg 3 of `neb_register_callback' makes integer from pointer without a cast inserter.c:345: error: too few arguments to function `neb_register_callback' inserter.c:346: warning: passing arg 3 of `neb_register_callback' makes integer from pointer without a cast inserter.c:346: error: too few arguments to function `neb_register_callback' make: *** [all] Error 1 [root at nagiosdev mysql]# I have nagios-db-0.91 and nagios-2.0-2.2 on Centos 4.2. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From bench at silentmedia.com Mon Mar 27 22:36:25 2006 From: bench at silentmedia.com (Ben) Date: Mon, 27 Mar 2006 12:36:25 -0800 (PST) Subject: Nagios NEB Nagios-DB Install Guide In-Reply-To: <028B223BB24E5443A9784BBE1CC5EBE0B54B4D@Lisa.mpifix.com> References: <028B223BB24E5443A9784BBE1CC5EBE0B54B4D@Lisa.mpifix.com> Message-ID: Are you taking the version out of CVS, or the most recent package? I honestly cannot recall if there is a difference. On Mon, 27 Mar 2006, Danny Russell wrote: > Fellow Group Members, > > > > I am running Nagios 2.0 stable. I am looking to add mysql database > support. I know the Nagios-db group exists and people have it working, > but I cannot get it to compile and I am running in to a brick wall. Are > there any instructions out there on it? A wiki? I am just looking for > some general help. > > > > Here's my compile error: > > [root at nagiosdev mysql]# make > > gcc -g -O2 -Wall -o inserter.o inserter.c -shared -lmysqlclient -fPIC > > inserter.c: In function `nebmodule_init': > > inserter.c:138: warning: passing arg 3 of `neb_register_callback' makes > integer from pointer without a cast > > inserter.c:138: error: too few arguments to function > `neb_register_callback' > > inserter.c: In function `loadconfig': > > inserter.c:343: warning: passing arg 3 of `neb_register_callback' makes > integer from pointer without a cast > > inserter.c:343: error: too few arguments to function > `neb_register_callback' > > inserter.c:344: warning: passing arg 3 of `neb_register_callback' makes > integer from pointer without a cast > > inserter.c:344: error: too few arguments to function > `neb_register_callback' > > inserter.c:345: warning: passing arg 3 of `neb_register_callback' makes > integer from pointer without a cast > > inserter.c:345: error: too few arguments to function > `neb_register_callback' > > inserter.c:346: warning: passing arg 3 of `neb_register_callback' makes > integer from pointer without a cast > > inserter.c:346: error: too few arguments to function > `neb_register_callback' > > make: *** [all] Error 1 > > [root at nagiosdev mysql]# > > > > I have nagios-db-0.91 and nagios-2.0-2.2 on Centos 4.2. > > > > Thanks! > > > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drussell at mpifix.com Mon Mar 27 23:43:45 2006 From: drussell at mpifix.com (Danny Russell) Date: Mon, 27 Mar 2006 14:43:45 -0700 Subject: Nagios NEB Nagios-DB Install Guide Message-ID: <028B223BB24E5443A9784BBE1CC5EBE0B54B8A@Lisa.mpifix.com> The most recent Package -----Original Message----- From: Ben [mailto:bench at silentmedia.com] Sent: Monday, March 27, 2006 1:36 PM To: Danny Russell Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios NEB Nagios-DB Install Guide Are you taking the version out of CVS, or the most recent package? I honestly cannot recall if there is a difference. On Mon, 27 Mar 2006, Danny Russell wrote: > Fellow Group Members, > > > > I am running Nagios 2.0 stable. I am looking to add mysql database > support. I know the Nagios-db group exists and people have it working, > but I cannot get it to compile and I am running in to a brick wall. Are > there any instructions out there on it? A wiki? I am just looking for > some general help. > > > > Here's my compile error: > > [root at nagiosdev mysql]# make > > gcc -g -O2 -Wall -o inserter.o inserter.c -shared -lmysqlclient -fPIC > > inserter.c: In function `nebmodule_init': > > inserter.c:138: warning: passing arg 3 of `neb_register_callback' makes > integer from pointer without a cast > > inserter.c:138: error: too few arguments to function > `neb_register_callback' > > inserter.c: In function `loadconfig': > > inserter.c:343: warning: passing arg 3 of `neb_register_callback' makes > integer from pointer without a cast > > inserter.c:343: error: too few arguments to function > `neb_register_callback' > > inserter.c:344: warning: passing arg 3 of `neb_register_callback' makes > integer from pointer without a cast > > inserter.c:344: error: too few arguments to function > `neb_register_callback' > > inserter.c:345: warning: passing arg 3 of `neb_register_callback' makes > integer from pointer without a cast > > inserter.c:345: error: too few arguments to function > `neb_register_callback' > > inserter.c:346: warning: passing arg 3 of `neb_register_callback' makes > integer from pointer without a cast > > inserter.c:346: error: too few arguments to function > `neb_register_callback' > > make: *** [all] Error 1 > > [root at nagiosdev mysql]# > > > > I have nagios-db-0.91 and nagios-2.0-2.2 on Centos 4.2. > > > > Thanks! > > > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chandresh.suthar at gmail.com Sun Mar 26 12:39:30 2006 From: chandresh.suthar at gmail.com (Chandresh Suthar) Date: Sun, 26 Mar 2006 16:09:30 +0530 Subject: Pls Help Message-ID: Dear All, I am able to send mails to my persoanl email id by "mail" command. But notification is not going. I have configured sendmail. I am not even receiving mails on local system at nagios at localhost( I tried). I am even not getting any error messages in logs of nagios. I am using solaris 8. Pls also suggest how we can specify subject as in solaris i did n't find option of specifying subject. contacts.cfg 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 host_notification_commands host-notify-by-email email sap-ops.mumbai at ril.com } hostgroups.cfg define hostgroup{ hostgroup_name solaris-boxes alias Solaris Servers contact_groups solaris-admins members Blaze } contactgroups.cfg define contactgroup{ contactgroup_name solaris-admins alias Solaris Administrators members nagios } define host{ name generic-host ; The name of this host template - referenced in other host definition s, used for template recursion/resolution notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } hosts.cfg # 'Solaris' host definition define host{ use generic-host ; Name of host template to use host_name Blaze alias Solaris Server address 10.8.217.251 check_command check-host-alive max_check_attempts 10 notification_interval 480 notification_period 24x7 notification_options d,u,r } services.cfg define service{ name generic-service ; The 'name' of this service template, referenced in other service def initions active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to maj or performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled 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 SERVICE, JUST A TEMPLATE! } # Service definition define service{ use generic-service ; Name of service template to use host_name Blaze service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups solaris-admins notification_interval 240 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% } misccommands.cfg # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } -------------- next part -------------- An HTML attachment was scrubbed... URL: From ntserafica at yahoo.com Tue Mar 28 03:14:22 2006 From: ntserafica at yahoo.com (Nelson Serafica) Date: Mon, 27 Mar 2006 17:14:22 -0800 (PST) Subject: notifications in yahoo messenger Message-ID: <20060328011422.48973.qmail@web60414.mail.yahoo.com> Does anyone knows how to send notifications via yahoo???? i search in nagiosexchange but only available in goggletalk and jabber... TIA --------------------------------- Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2?/min or less. -------------- next part -------------- An HTML attachment was scrubbed... URL: From td3201 at gmail.com Tue Mar 28 03:22:36 2006 From: td3201 at gmail.com (Terry) Date: Mon, 27 Mar 2006 19:22:36 -0600 Subject: Pls Help In-Reply-To: References: Message-ID: <44288FDC.5000002@gmail.com> Does /usr/bin/mail exist? How about /usr/bin/printf? Chandresh Suthar wrote: > Dear All, > > I am able to send mails to my persoanl email id by "mail" command. > But notification is not going. I have configured sendmail. I am not > even receiving mails on local system at nagios at localhost ( I tried). > I am even not getting any error messages in logs of nagios. > > I am using solaris 8. Pls also suggest how we can specify subject as > in solaris i did n't find option of specifying subject. > > contacts.cfg > 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 > host_notification_commands host-notify-by-email > email sap-ops.mumbai at ril.com > > } > hostgroups.cfg > > define hostgroup{ > hostgroup_name solaris-boxes > alias Solaris Servers > contact_groups solaris-admins > members Blaze > } > > contactgroups.cfg > define contactgroup{ > contactgroup_name solaris-admins > alias Solaris Administrators > members nagios > } > > > define host{ > name generic-host ; The name of > this host template - referenced in other host definition > s, used for template recursion/resolution > notifications_enabled 1 ; Host notifications > are enabled > event_handler_enabled 1 ; Host event handler > is enabled > flap_detection_enabled 1 ; Flap detection is > enabled > process_perf_data 1 ; Process performance > data > retain_status_information 1 ; Retain status > information across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > > register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! > } > > hosts.cfg > > # 'Solaris' host definition > define host{ > use generic-host ; Name of host > template to use > host_name Blaze > alias Solaris Server > address 10.8.217.251 > check_command check-host-alive > max_check_attempts 10 > notification_interval 480 > notification_period 24x7 > notification_options d,u,r > } > > > services.cfg > > define service{ > name generic-service ; The 'name' > of this service template, referenced in other service def > initions > active_checks_enabled 1 ; Active service > checks are enabled > passive_checks_enabled 1 ; Passive service > checks are enabled/accepted > parallelize_check 1 ; Active service > checks should be parallelized (disabling this can lead to maj > or performance problems) > obsess_over_service 1 ; We should obsess > over this service (if necessary) > check_freshness 0 ; Default is to NOT > check service 'freshness' > notifications_enabled 1 ; Service > notifications are enabled > event_handler_enabled 1 ; Service event > handler is enabled > flap_detection_enabled 1 ; Flap detection is > enabled > 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 SERVICE, JUST A TEMPLATE! > } > > # Service definition > define service{ > use generic-service ; Name > of service template to use > > host_name Blaze > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups solaris-admins > notification_interval 240 > notification_period 24x7 > notification_options c,r > check_command check_ping!100.0,20%!500.0,60% > } > misccommands.cfg > > # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional > Info:\n\n$OUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ > } > > > # 'host-notify-by-email' command definition > define command{ > command_name host-notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: > $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: > $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /usr/bin/mail -s "Host > $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ > } > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 lovedthanlost.net Tue Mar 28 03:28:15 2006 From: james at lovedthanlost.net (James Turnbull) Date: Tue, 28 Mar 2006 12:28:15 +1100 Subject: notifications in yahoo messenger In-Reply-To: <20060328011422.48973.qmail@web60414.mail.yahoo.com> References: <20060328011422.48973.qmail@web60414.mail.yahoo.com> Message-ID: <4428912F.8070700@lovedthanlost.net> Nelson Serafica wrote: > Does anyone knows how to send notifications via yahoo???? > > i search in nagiosexchange but only available in goggletalk and jabber... > > TIA > > ------------------------------------------------------------------------ > Yahoo! Messenger with Voice. Make PC-to-Phone Calls > > to the US (and 30+ countries) for 2?/min or less. See http://www.nagios.org/faqs/viewfaq.php?faq_id=35 Regards James Turnbull -- James Turnbull --- Author of Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) Hardening Linux (http://www.amazon.com/gp/product/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 lovedthanlost.net Tue Mar 28 03:33:24 2006 From: james at lovedthanlost.net (James Turnbull) Date: Tue, 28 Mar 2006 12:33:24 +1100 Subject: notifications in yahoo messenger In-Reply-To: <20060328011422.48973.qmail@web60414.mail.yahoo.com> References: <20060328011422.48973.qmail@web60414.mail.yahoo.com> Message-ID: <44289264.9040307@lovedthanlost.net> Nelson Serafica wrote: > Does anyone knows how to send notifications via yahoo???? > > i search in nagiosexchange but only available in goggletalk and jabber... > > TIA > > ------------------------------------------------------------------------ > Yahoo! Messenger with Voice. Make PC-to-Phone Calls > > to the US (and 30+ countries) for 2?/min or less. Blah - ignore that - apparently not working. There is another CPAN module at http://search.cpan.org/~varunk/Net-YMSG-1.2/YMSG.pm and a POE component at http://search.cpan.org/~miyagawa/POE-Component-YahooMessenger-0.05/lib/POE/Component/YahooMessenger.pm. Regards James Turnbull -- James Turnbull --- Author of Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) Hardening Linux (http://www.amazon.com/gp/product/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Juliet_Tree at cotyinc.com Tue Mar 28 05:00:38 2006 From: Juliet_Tree at cotyinc.com (Juliet_Tree at cotyinc.com) Date: Tue, 28 Mar 2006 04:00:38 +0100 Subject: Juliet Tree/ASHFORD/UK/COTY is out of the office. Message-ID: I will be out of the office starting 28/03/2006 and will not return until 03/04/2006. I am away so please contact Mike Procyshyn on 2261 for any urgent issues. Thankyou Thanks. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.brown at goodtechnology.com Tue Mar 28 11:43:08 2006 From: tom.brown at goodtechnology.com (Tom Brown) Date: Tue, 28 Mar 2006 10:43:08 +0100 Subject: check_dns Message-ID: <4429052C.3040006@goodtechnology.com> OK - who got woken up last night due to it seems yahoo having a DNS issue. It seems the check_dns plugin uses yahoo as a test? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Mar 28 15:27:07 2006 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 28 Mar 2006 08:27:07 -0500 (EST) Subject: check_dns In-Reply-To: <4429052C.3040006@goodtechnology.com> References: <4429052C.3040006@goodtechnology.com> Message-ID: On Tue, 28 Mar 2006, Tom Brown wrote: > OK - who got woken up last night due to it seems yahoo having a DNS issue. It > seems the check_dns plugin uses yahoo as a test? > only if you use the default config file. -- -sg ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gwcook at arcadis-us.com Tue Mar 28 16:15:33 2006 From: gwcook at arcadis-us.com (Cook, Garry) Date: Tue, 28 Mar 2006 07:15:33 -0700 Subject: check_dns Message-ID: <38D6D515FC15924693F2640881AF4620383AFB@corpexbe2.arcadis-us.com> Subhendu Ghosh wrote: > On Tue, 28 Mar 2006, Tom Brown wrote: > >> OK - who got woken up last night due to it seems yahoo having a DNS >> issue. It seems the check_dns plugin uses yahoo as a test? >> > > only if you use the default config file. > Didn't someone write an update to check_dns that made it round robin between several different sites? Thanks, Garry ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smalhotra at dataarmor.net Tue Mar 28 16:48:38 2006 From: smalhotra at dataarmor.net (Sumit Malhotra) Date: Tue, 28 Mar 2006 20:18:38 +0530 Subject: Nagios - DB Message-ID: <1444.31491143557336.mail2.dataarmor.net@MHS> I tried adding support of nagios-db to nagios2. But, when I add event broker module "insert.o" to nagios.cfg , Nagios log shows following error: -------------------------- [1143556204] Error: Could not load module '/home/nagios-db/neb/postgres/inserter.o' -> /home/nagios-db/neb/postgres/inserter.o: undefined symbol: krb5_cc_get_principal -------------------------------- Earlier while compiling the module I had to drop the option -lkrb5 as it was giving error finding library --------------------------------- $:/home/nagios-db/neb/postgres# gcc -Wall -g -O2 -o inserter.o inserter.c -shared -I/home/nagios-db/neb/nagios-cvs/include -I/usr/include/postgresql /usr/lib/libpq.a -lssl -lkrb5 -L/usr/lib -lcrypt /usr/bin/ld: cannot find -lkrb5 collect2: ld returned 1 exit status -------------------------------------- I know it has to do something with krb5 library. But I am unable to find. OS version : debian sarge Following packages are already installed ii libkrb53 1.4.3-5 MIT Kerberos runtime libraries ii libsasl2-krb4-mit 2.1.19-1.1 Kerberos4 module for SASL using MIT Kerberos krb5 packages installs files in /usr/lib which is already included while compiling event broker module. Please help. Thanks Sumit -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ygao at soundbite.com Tue Mar 28 16:58:14 2006 From: Ygao at soundbite.com (Yunsong Gao) Date: Tue, 28 Mar 2006 09:58:14 -0500 Subject: Is there a check_processall.wsf for checking all the processes instead of each separate one Message-ID: <9303A9A4755F584187871678E54487B60397AAE7@sbmail.soundbite.com> Hi, Right now that we have to run: C:\WINNT\system32\cscript.exe //NoLogo //T:10 C:\Nagios\bin\check_process.wsf LLSSRV.EXE And if we need to check another process, we have to run: command[nt_check_AWHOST32_procs]=C:\WINNT\system32\cscript.exe //NoLogo //T:10 C:\Nagios\bin\check_process.wsf AWHOST32.EXE Just wondering if we have a combined check_processall.wsf to cover them all. Thanks in advance. Yunsong ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joeregular at gov.nl.ca Tue Mar 28 18:14:27 2006 From: joeregular at gov.nl.ca (Joe Regular) Date: Tue, 28 Mar 2006 12:44:27 -0330 Subject: Easiest way to upgrade Message-ID: What is the easiest way to upgrade Nagios from version 2.0 to 2.1? Joe ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Mar 28 18:32:45 2006 From: marc at ena.com (Marc Powell) Date: Tue, 28 Mar 2006 10:32:45 -0600 Subject: Easiest way to upgrade Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Joe Regular > Sent: Tuesday, March 28, 2006 10:14 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Easiest way to upgrade > > What is the easiest way to upgrade Nagios from version 2.0 to 2.1? Since there are no config changes between these versions it's straightforward. In a nutshell -- ./configure [with whatever options you previously used] make all /etc/init.d/nagios stop (or whatever it is for your OS) make install /etc/init.d/nagios start (or whatever it is for your OS) -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From javiplx at gmail.com Tue Mar 28 19:36:25 2006 From: javiplx at gmail.com (Javier Palacios) Date: Tue, 28 Mar 2006 19:36:25 +0200 Subject: Engaging nagios notifications and helpdesk software Message-ID: Hello, I'm working to integrate notifications into our helpdesk. It looks promising and the initial work has been quite successful. The notification command creates a ticket using a webservice, and writes an acknoledgement upon successful creation. This setup is functional, but does not satisfy me because nagios and helpdesk are quite decoupled. I might prefer to get a two direction communication, basically to only ACK the problem when some human being actually works on the ticket, and also to close the ticket (the proper one) if the service recovers. One of the problems I see is how to assign a unique identifier to a nagios alarm, which might solve most of my problems as our helpdesk is designed to cooperate with external helpdesk applications. I would like to get feedback and comments for people who has (or not) such a setup. Javi ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cbrbike at gmail.com Tue Mar 28 19:54:33 2006 From: cbrbike at gmail.com (Travis) Date: Tue, 28 Mar 2006 12:54:33 -0500 Subject: SNMP Traps in Nagios Message-ID: <889347450603280954q32a68ac4m34f589bcd647239a@mail.gmail.com> Hello all - I have a question regarding SNMP traps in Nagios. From my understanding, this can be done differently depending on what you need and how things are configured on your network. At this point, I am currently using Nagios with Active Service/Host checks only. I'm monitoring Internet accessible services such as status of POP/SMTP/Web/SSh/DNS etc.. and I'm monitoring local services such as partition usage/load average/processes etc.. via the NRPE daemon/client application. However, all these checks are using the plugins that were provided with the Nagios installation and some of my own small scripts. Currently on our Cisco routers, we are able to monitor whether or not the interface link is up or down, we can also be notified if a link load passes a certain threshold, say 80%. Again, these are just using the plugins available either from the Nagios installation or from Nagios exchange. But what I want to be able to do, is configure traps so that Nagios can be notified when other things occur such as: power supply failure, input queue reaching a certain level, latency if possible and many other things that are defined in the default MIB of our Cisco routers. So my question is, what is the best way to monitor these things? What are all my options? My understanding is that I would have to configure the traps on the Cisco device to send event information to a central snmptrapd, then that info is passed on to the Nagios host which is listening for Passive Checks which will then alert us via pager/email etc.. But my question is, how is all this done? How do I configure the Monitored host to send these events to snmptrapd? How do I configure the snmptrapd? How do I configure snmptrapd to pass this info onto Nagios? Do I need to use SNMPTT as an event correlator or not? If so, how is that configured? What all has to be defined in Nagios for the paging to happen once it sees the passive check result in the external command file? Anyway, I am open for suggestions. Examples of how things are configured would be great. Try to break it down so that I can understand what's doing what and how. All suggestions / information is greatly appreciated. Even if it's just pointing me to the right documentation. Thanks a bunch !!! -------------- next part -------------- An HTML attachment was scrubbed... URL: From dirk.schulz at kinzesberg.de Tue Mar 28 20:01:22 2006 From: dirk.schulz at kinzesberg.de (Dirk H. Schulz) Date: Tue, 28 Mar 2006 20:01:22 +0200 Subject: Understanding service checks Message-ID: <442979F2.6070301@kinzesberg.de> Hi folks, today both our dns servers went out of function. As a result every service check in nagios timed out after 10 sec. and was CRITICAL. EVERY one of several hundred! Since service check definitions depend on host definitions and host definitions contain ip addresses I would not have expected a dns outage to have any effect on nagios' service checks. Can anyone explain why there IS an effect? I would like to understand it more deeply. Dirk ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cbrbike at gmail.com Tue Mar 28 20:05:00 2006 From: cbrbike at gmail.com (Travis) Date: Tue, 28 Mar 2006 13:05:00 -0500 Subject: snmp traps in nagios Message-ID: <889347450603281005n1220acqb1ca105c2b680ce8@mail.gmail.com> Hello all - I have a question regarding SNMP traps in Nagios. From my understanding, this can be done differently depending on what you need and how things are configured on your network. At this point, I am currently using Nagios with Active Service/Host checks only. I'm monitoring Internet accessible services such as status of POP/SMTP/Web/SSh/DNS etc.. and I'm monitoring local services such as partition usage/load average/processes etc.. via the NRPE daemon/client application. However, all these checks are using the plugins that were provided with the Nagios installation and some of my own small scripts. Currently on our Cisco routers, we are able to monitor whether or not the interface link is up or down, we can also be notified if a link load passes a certain threshold, say 80%. Again, these are just using the plugins available either from the Nagios installation or from Nagios exchange. But what I want to be able to do, is configure traps so that Nagios can be notified when other things occur such as: power supply failure, input queue reaching a certain level, latency if possible and many other things that are defined in the default MIB of our Cisco routers. So my question is, what is the best way to monitor these things? What are all my options? My understanding is that I would have to configure the traps on the Cisco device to send event information to a central snmptrapd, then that info is passed on to the Nagios host which is listening for Passive Checks which will then alert us via pager/email etc.. But my question is, how is all this done? How do I configure the Monitored host to send these events to snmptrapd? How do I configure the snmptrapd? How do I configure snmptrapd to pass this info onto Nagios? Do I need to use SNMPTT as an event correlator or not? If so, how is that configured? What all has to be defined in Nagios for the paging to happen once it sees the passive check result in the external command file? Anyway, I am open for suggestions. Examples of how things are configured would be great. Try to break it down so that I can understand what's doing what and how. All suggestions / information is greatly appreciated. Even if it's just pointing me to the right documentation. Thanks a bunch !!! -------------- next part -------------- An HTML attachment was scrubbed... URL: From cbrbike at gmail.com Tue Mar 28 20:09:18 2006 From: cbrbike at gmail.com (Travis) Date: Tue, 28 Mar 2006 13:09:18 -0500 Subject: Nagios / SNMP Traps Message-ID: <889347450603281009s4d819d4dx127575ca9830d341@mail.gmail.com> Hello all - I have a question regarding SNMP traps in Nagios. From my understanding, this can be done differently depending on what you need and how things are configured on your network. At this point, I am currently using Nagios with Active Service/Host checks only. I'm monitoring Internet accessible services such as status of POP/SMTP/Web/SSh/DNS etc.. and I'm monitoring local services such as partition usage/load average/processes etc.. via the NRPE daemon/client application. However, all these checks are using the plugins that were provided with the Nagios installation and some of my own small scripts. Currently on our Cisco routers, we are able to monitor whether or not the interface link is up or down, we can also be notified if a link load passes a certain threshold, say 80%. Again, these are just using the plugins available either from the Nagios installation or from Nagios exchange. But what I want to be able to do, is configure traps so that Nagios can be notified when other things occur such as: power supply failure, input queue reaching a certain level, latency if possible and many other things that are defined in the default MIB of our Cisco routers. So my question is, what is the best way to monitor these things? What are all my options? My understanding is that I would have to configure the traps on the Cisco device to send event information to a central snmptrapd, then that info is passed on to the Nagios host which is listening for Passive Checks which will then alert us via pager/email etc.. But my question is, how is all this done? How do I configure the Monitored host to send these events to snmptrapd? How do I configure the snmptrapd? How do I configure snmptrapd to pass this info onto Nagios? Do I need to use SNMPTT as an event correlator or not? If so, how is that configured? What all has to be defined in Nagios for the paging to happen once it sees the passive check result in the external command file? Anyway, I am open for suggestions. Examples of how things are configured would be great. Try to break it down so that I can understand what's doing what and how. All suggestions / information is greatly appreciated. Even if it's just pointing me to the right documentation. Thanks a bunch !!! -------------- next part -------------- An HTML attachment was scrubbed... URL: From al at its-lehmann.de Tue Mar 28 20:25:55 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Tue, 28 Mar 2006 20:25:55 +0200 Subject: Understanding service checks In-Reply-To: <442979F2.6070301@kinzesberg.de> References: <442979F2.6070301@kinzesberg.de> Message-ID: <44297FB3.5060405@its-lehmann.de> Hello, On 3/28/2006 8:01 PM, Dirk H. Schulz wrote: > Hi folks, > > today both our dns servers went out of function. Funny day, eh? > As a result every service check in nagios timed out after 10 sec. and > was CRITICAL. > > EVERY one of several hundred! > > Since service check definitions depend on host definitions and host > definitions contain ip addresses I would not have expected a dns outage > to have any effect on nagios' service checks. > > Can anyone explain why there IS an effect? I would like to understand it > more deeply. Rhis sounds like it depends only on your Nagios setup and your network. For example, if you _only_ use IP adresses and not DNS in your Nagios configuration, all your routers do _not_ need DNS, and all your services do _not_ depend on DNS (think of verifying reverse mapping for mail address verification, or SSL certificate checks, for example, or nrpe or (x)inetd or TCP wrappers... lots of opportunities to need DNS without being aware of it) having a DNS outage should not affect service state. In other words: Since you experienced service failures, something _must_ depend on either DNS or some outage not directly monitored affected DNS as well as all other checks you run. Or it's all been a great coincidence... Arno > Dirk > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Mar 28 20:42:20 2006 From: ton.voon at altinity.com (Ton Voon) Date: Tue, 28 Mar 2006 19:42:20 +0100 Subject: Nagios / SNMP Traps In-Reply-To: <889347450603281009s4d819d4dx127575ca9830d341@mail.gmail.com> References: <889347450603281009s4d819d4dx127575ca9830d341@mail.gmail.com> Message-ID: On 28 Mar 2006, at 19:09, Travis wrote: > Hello all - > I have a question regarding SNMP traps in Nagios. From my > understanding, this can be done differently depending on what you > need and how things are configured on your network. At this point, > I am currently using Nagios with Active Service/Host checks only. > I'm monitoring Internet accessible services such as status of POP/ > SMTP/Web/SSh/DNS etc.. and I'm monitoring local services such as > partition usage/load average/processes etc.. via the NRPE daemon/ > client application. However, all these checks are using the plugins > that were provided with the Nagios installation and some of my own > small scripts. > > Currently on our Cisco routers, we are able to monitor whether > or not the interface link is up or down, we can also be notified if > a link load passes a certain threshold, say 80%. Again, these are > just using the plugins available either from the Nagios > installation or from Nagios exchange. But what I want to be able to > do, is configure traps so that Nagios can be notified when other > things occur such as: power supply failure, input queue reaching a > certain level, latency if possible and many other things that are > defined in the default MIB of our Cisco routers. > > So my question is, what is the best way to monitor these things? > What are all my options? My understanding is that I would have to > configure the traps on the Cisco device to send event information > to a central snmptrapd, then that info is passed on to the Nagios > host which is listening for Passive Checks which will then alert us > via pager/email etc.. > > But my question is, how is all this done? How do I configure the > Monitored host to send these events to snmptrapd? How do I > configure the snmptrapd? How do I configure snmptrapd to pass this > info onto Nagios? Do I need to use SNMPTT as an event correlator > or not? If so, how is that configured? What all has to be defined > in Nagios for the paging to happen once it sees the passive check > result in the external command file? > > Anyway, I am open for suggestions. Examples of how things are > configured would be great. Try to break it down so that I can > understand what's doing what and how. > > All suggestions / information is greatly appreciated. Even if > it's just pointing me to the right documentation. Thanks a bunch !!! Travis, A single post would have been sufficient :) We've been implementing SNMP traps and we've written an article on our experiences on it. It is only a pointer to how things are done, with a perl module that can help - SNMP::Trapinfo - There is still integration work that needs to be done, but it is a start. http://altinity.blogs.com/dotorg/2006/03/lessons_in_snmp.html 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cbrbike at gmail.com Tue Mar 28 21:00:11 2006 From: cbrbike at gmail.com (Travis) Date: Tue, 28 Mar 2006 14:00:11 -0500 Subject: Apologies for multiple posts Message-ID: <889347450603281100g29835558nf5bb424d9d439281@mail.gmail.com> Deepest apologies for multiple posts to the mailing list. Subject: Nagios / SNMP Traps.. I kept getting a bounce back claiming that the message was returned because it was reported as SPAM. ? ? ? Anyway, I would have never posted the same message multiple times had I known that it was getting through. -- ~Travis ;-) -------------- next part -------------- An HTML attachment was scrubbed... URL: From boinger at tradingtechnologies.com Tue Mar 28 21:20:07 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Tue, 28 Mar 2006 13:20:07 -0600 Subject: Apologies for multiple posts In-Reply-To: <889347450603281100g29835558nf5bb424d9d439281@mail.gmail.com> References: <889347450603281100g29835558nf5bb424d9d439281@mail.gmail.com> Message-ID: <1143573607.9440.273.camel@chi100400> On Tue, 2006-03-28 at 14:00 -0500, Travis wrote: > Deepest apologies for multiple posts to the mailing list. Subject: > Nagios / SNMP Traps.. I kept getting a bounce back claiming that the > message was returned because it was reported as SPAM. ? ? ? > > Anyway, I would have never posted the same message multiple times had > I known that it was getting through. Those bounce-backs are almost certainly from individual users who do not understand mailing lists. I flag THEM as Spam, personally. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: From rstory-l at 2006.revelstone.com Wed Mar 29 01:02:19 2006 From: rstory-l at 2006.revelstone.com (Robert Story) Date: Tue, 28 Mar 2006 18:02:19 -0500 Subject: which nagios config gui are you using? Message-ID: <20060328180219.4edcf66e@aud.vb.futz.org> So, of those of you who are using a GUI to configure nagios, which one did you select? Not looking to start a flame-war on which is the best, I'm just trying to narrow down the field of candidates. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dany.allard at aeso.ca Wed Mar 29 01:54:00 2006 From: dany.allard at aeso.ca (Dany Allard) Date: Tue, 28 Mar 2006 16:54:00 -0700 Subject: which nagios config gui are you using? Message-ID: <8BDF7AA2F8FED84588A2446B0F4FFD87A945@post2.aeso.ca> We use monarch from groundwork http://www.itgroundwork.com/ --- GroundWork Monitor Architect (Monarch) is a free open source configuration tool that accelerates and simplifies the deployment of the Nagios monitoring tool, and GroundWork Monitor, GroundWork's IT management solution based on Nagios. Monarch provides open source software that extends and enhances Nagios and Nagios-based solutions. Monarch is a Web-based configuration tool that enables system administrators to more easily and rapidly set up and maintain Nagios and GroundWork Monitor by allowing them to configure the system through a Web-based interface rather than having to edit actual configuration files - a time-consuming and tedious process. System administrators are increasingly accustomed to GUI-based software configuration tools, but Nagios still requires users to edit by hand. With Monarch's graphical, Web-based user interface, we've bridged one of the largest functional gaps of Nagios. ------- Cheers Dany Allard -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Robert Story Sent: Tuesday, March 28, 2006 4:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] which nagios config gui are you using? So, of those of you who are using a GUI to configure nagios, which one did you select? Not looking to start a flame-war on which is the best, I'm just trying to narrow down the field of candidates. This message is intended only for the addressee and may contain personal, privileged or confidential information. If you have received this message in error, please notify the sender immediately and delete or destroy this message without making copies or opening any attachments. Any further distribution, duplication or disclosure is prohibited. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ntserafica at yahoo.com Wed Mar 29 03:05:38 2006 From: ntserafica at yahoo.com (Nelson Serafica) Date: Tue, 28 Mar 2006 17:05:38 -0800 (PST) Subject: nagios notification via sms Message-ID: <20060329010538.76022.qmail@web60411.mail.yahoo.com> does anyone knows how can i send notifications via sms that is FREE ??? im here in phils. and might wonder if there are open source software that can send via sms.... if anyone here using free software that send sms when there is critical or warning, please share or any procedure how to setup this sms notifications or just an idea that you implement in your nagios --------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ntserafica at yahoo.com Wed Mar 29 03:31:32 2006 From: ntserafica at yahoo.com (Nelson Serafica) Date: Tue, 28 Mar 2006 17:31:32 -0800 (PST) Subject: can't schedule downtime Message-ID: <20060329013132.70648.qmail@web60414.mail.yahoo.com> whenever i click "schedule downtime for this host", it redirect me to downtime page but when i click commit it says: An error occurred while processing your command. What should i check to make this work? --------------------------------- New Yahoo! Messenger with Voice. Call regular phones from your PC for low, low rates. -------------- next part -------------- An HTML attachment was scrubbed... URL: From holger at CIS.FU-Berlin.DE Wed Mar 29 03:44:26 2006 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Wed, 29 Mar 2006 03:44:26 +0200 Subject: nagios notification via sms In-Reply-To: <20060329010538.76022.qmail@web60411.mail.yahoo.com> References: <20060329010538.76022.qmail@web60411.mail.yahoo.com> Message-ID: <20060329014426.GD18451222@CIS.FU-Berlin.DE> * Nelson Serafica [2006-03-28 17:05]: > does anyone knows how can i send notifications via sms that is FREE ??? | There are two ways you can do this. | | If your paging company has an email-pager gateway, you can simply have | Nagios send an email message to your pager address. An example of this | type of address might look like: pageme at somepagingcompany.com. | | You should note that sending notifications through email might fail if | SMTP or DNS services are down or if your connection to the greater | Internet is down. An alternative to sending pager messages through an | email gateway would be to hook a modem up to your monitoring host and | have Nagios dial out through the modem and send the message using the | TAP (IXO) protocol. There are several programs that can do this for you | on *NIX systems. Two popular ones seem to be Sendpage and QuickPage. [ http://www.nagios.org/faqs/viewfaq.php?faq_id=113 ] See also: http://nagios.sourceforge.net/docs/2_0/notifications.html Some links to these and other packages: http://www.sendpage.org/ http://qpage.org/ http://www.sta.to/ftp/yaps/ http://rsug.itd.umich.edu/software/beepage/ http://smash.sourceforge.net/ http://www.smsclient.org/ http://www.hylafax.org/ > if anyone here using free software that send sms when there is > critical or warning, please share or any procedure how to setup this > sms notifications or just an idea that you implement in your nagios | SMS messages can be sent with several programs, one of which is yaps | (Yet Another Pager Software). | | Once yaps is installed and working, command definitions like these can | be added and used. | | define command{ | command_name notify-by-sms | command_line /usr/bin/yaps -t $CONTACTPAGER$ '$NOTIFICATIONTYPE$: $HOSTNAME$: $SERVICEDESC$ is $SERVICESTATE$ ($OUTPUT$)' | } | | define command{ | command_name host-notify-by-sms | command_line /usr/bin/yaps -t $CONTACTPAGER$ '$NOTIFICATIONTYPE$: $HOSTNAME$ is $HOSTSTATE$ ($OUTPUT$)' | } [ http://www.nagios.org/faqs/viewfaq.php?faq_id=65 ] We use Sendpage. Holger -- PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 29 01:15:58 2006 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 28 Mar 2006 18:15:58 -0500 Subject: which nagios config gui are you using? In-Reply-To: <20060328180219.4edcf66e@aud.vb.futz.org> References: <20060328180219.4edcf66e@aud.vb.futz.org> Message-ID: <302ce8b50603281515s7b76ef79q4d477e936547a64d@mail.gmail.com> On 3/28/06, Robert Story wrote: > So, of those of you who are using a GUI to configure nagios, which one did you > select? Not looking to start a flame-war on which is the best, I'm just trying > to narrow down the field of candidates. vim. does vim count as a gui? -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 29 04:27:08 2006 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 28 Mar 2006 21:27:08 -0500 Subject: can't schedule downtime In-Reply-To: <20060329013132.70648.qmail@web60414.mail.yahoo.com> References: <20060329013132.70648.qmail@web60414.mail.yahoo.com> Message-ID: <302ce8b50603281827p86a6dbcnbadd4b3b9374b25c@mail.gmail.com> On 3/28/06, Nelson Serafica wrote: > whenever i click "schedule downtime for this host", it redirect me to > downtime page but when i click commit it says: An error occurred while > processing your command. > > What should i check to make this work? Look in your nagios log to see what happened, and check the permissions on your downtime file. -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rstory-l at 2006.revelstone.com Wed Mar 29 05:10:22 2006 From: rstory-l at 2006.revelstone.com (Robert Story) Date: Tue, 28 Mar 2006 22:10:22 -0500 Subject: which nagios config gui are you using? In-Reply-To: <8BDF7AA2F8FED84588A2446B0F4FFD87A945@post2.aeso.ca> References: <8BDF7AA2F8FED84588A2446B0F4FFD87A945@post2.aeso.ca> Message-ID: <20060328221022.77d77445@aud.vb.futz.org> On Tue, 28 Mar 2006 16:54:00 -0700 Dany wrote: DA> We use monarch from groundwork http://www.itgroundwork.com/ They also make fruity, don't they? Seems odd that they have 2 different nagios guis. Any reason you choose one over the other? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From listsub at systame.com Wed Mar 29 05:38:46 2006 From: listsub at systame.com (Randall Perry) Date: Tue, 28 Mar 2006 22:38:46 -0500 Subject: Remote host check methods Message-ID: <442A0146.6090805@systame.com> I'm new to Nagios. Got it configured and running on my monitoring box. Tried installing NRPE on a remote host running Mac OSX but couldn't get it to run as daemon or through xinetd. There seem to be several methods to check remote hosts including SSH plugins. Just wondering what other's method of choice is for this -- especially on OSXS. TIA -- Randall Perry sysTame Xserve Web Hosting/Co-location/Leasing QuickTime Streaming Mac Consulting/Sales http://www.systame.com/ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bidhata at gmail.com Wed Mar 29 06:14:23 2006 From: bidhata at gmail.com (Krish Paul) Date: Wed, 29 Mar 2006 06:14:23 +0200 (CEST) Subject: Best NagiOS Web based front end Message-ID: <20060329041423.94FDA4F40E3@desire.netways.de> Hi, Can you suggest me the best nagios web based front end with best Graphical output? Regards, - Krish Paul ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 29 06:18:57 2006 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 28 Mar 2006 23:18:57 -0500 Subject: Best NagiOS Web based front end In-Reply-To: <20060329041423.94FDA4F40E3@desire.netways.de> References: <20060329041423.94FDA4F40E3@desire.netways.de> Message-ID: <302ce8b50603282018x8e39b7ap9f2c7efe91acec76@mail.gmail.com> On 3/28/06, Krish Paul wrote: > Hi, > > Can you suggest me the best nagios web based front end with best > Graphical output? I like the nuvola output, -> http://www.nagiosexchange.org/Image_Packs.75.0.html?&tx_netnagext_pi1[p_view]=252 -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkarmindro at opentable.com Wed Mar 29 06:51:26 2006 From: mkarmindro at opentable.com (Mike Karmindro) Date: Tue, 28 Mar 2006 20:51:26 -0800 Subject: a way to inherit services ? Message-ID: I am finding myself spending a LOT of time reconfiguring nagios when I migrate our system to our test network. This requies me to change ALL the hosts to our test host names, and all the services to reference the test host names. How can I avoid this? Is there a way I can simply inherit services so I can just change the name in one place and that's it? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Mar 29 06:58:04 2006 From: td3201 at gmail.com (Terry) Date: Tue, 28 Mar 2006 22:58:04 -0600 Subject: a way to inherit services ? In-Reply-To: References: Message-ID: <8ee061010603282058y6b167cffh9c5ae59aa9ab0188@mail.gmail.com> Check out templates. Also, check out s///g in perl. Might be able to do a one-liner to switch em back and forth if you name them conveniently ie host_prod and host_test. s/_prod/_test/g On 3/28/06, Mike Karmindro wrote: > I am finding myself spending a LOT of time reconfiguring nagios when I > migrate our system to our test network. This requies me to change ALL > the hosts to our test host names, and all the services to reference the > test host names. How can I avoid this? Is there a way I can simply > inherit services so I can just change the name in one place and that's > it? > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drussell at mpifix.com Wed Mar 29 06:58:24 2006 From: drussell at mpifix.com (Danny Russell) Date: Tue, 28 Mar 2006 21:58:24 -0700 Subject: a way to inherit services ? Message-ID: <028B223BB24E5443A9784BBE1CC5EBE0B54D54@Lisa.mpifix.com> Look into using templates and inheriting (use) the template name. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mike Karmindro Sent: Tuesday, March 28, 2006 9:51 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] a way to inherit services ? I am finding myself spending a LOT of time reconfiguring nagios when I migrate our system to our test network. This requies me to change ALL the hosts to our test host names, and all the services to reference the test host names. How can I avoid this? Is there a way I can simply inherit services so I can just change the name in one place and that's it? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bidhata at gmail.com Wed Mar 29 07:13:15 2006 From: bidhata at gmail.com (Krish Paul) Date: Wed, 29 Mar 2006 07:13:15 +0200 (CEST) Subject: Best NagiOS Web based front end Message-ID: <20060329051315.317744F40E3@desire.netways.de> Hi, Can you suggest me the best nagios web based front end with best Graphical output? Regards, - Krish Paul ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ntserafica at yahoo.com Wed Mar 29 07:25:18 2006 From: ntserafica at yahoo.com (Nelson Serafica) Date: Tue, 28 Mar 2006 21:25:18 -0800 (PST) Subject: uplift downtime Message-ID: <20060329052518.62239.qmail@web60413.mail.yahoo.com> there were some instance that the server will be down for 3 days so i scheduled it in nagios to stop it notify. my prob is it just turn 2 days and it is now up but it is still down and dont know how to uplift it . anyone knows how to do this?? --------------------------------- Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2?/min or less. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dirk.schulz at kinzesberg.de Wed Mar 29 08:19:06 2006 From: dirk.schulz at kinzesberg.de (Dirk H. Schulz) Date: Wed, 29 Mar 2006 08:19:06 +0200 Subject: Understanding service checks In-Reply-To: <44297FB3.5060405@its-lehmann.de> References: <442979F2.6070301@kinzesberg.de> <44297FB3.5060405@its-lehmann.de> Message-ID: <442A26DA.3070804@kinzesberg.de> Hi Arno, Arno Lehmann schrieb: > Hello, > > On 3/28/2006 8:01 PM, Dirk H. Schulz wrote: > >> Hi folks, >> >> today both our dns servers went out of function. > > > Funny day, eh? Ah, yes - oh, ah, no, definitely not. :-) > >> As a result every service check in nagios timed out after 10 sec. and >> was CRITICAL. >> >> EVERY one of several hundred! >> >> Since service check definitions depend on host definitions and host >> definitions contain ip addresses I would not have expected a dns >> outage to have any effect on nagios' service checks. >> >> Can anyone explain why there IS an effect? I would like to understand >> it more deeply. > > > Rhis sounds like it depends only on your Nagios setup and your > network. For example, if you _only_ use IP adresses and not DNS in > your Nagios configuration, all your routers do _not_ need DNS, and all > your services do _not_ depend on DNS (think of verifying reverse > mapping for mail address verification, or SSL certificate checks, for > example, or nrpe or (x)inetd or TCP wrappers... lots of opportunities > to need DNS without being aware of it) having a DNS outage should not > affect service state. > > In other words: Since you experienced service failures, something > _must_ depend on either DNS or some outage not directly monitored > affected DNS as well as all other checks you run. Or it's all been a > great coincidence... You are right. I have written out of only half reduced panic. Of course it need not be nagios service checks depending on dns but the services themselves. Since most checks are done via ssh and ssh communication can depend on mutual dns verification ... Maybe I find the time to dig into it somewhat deeper. Thanks for getting me back on the track! Dirk ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.schulz at kinzesberg.de Wed Mar 29 08:24:45 2006 From: dirk.schulz at kinzesberg.de (Dirk H. Schulz) Date: Wed, 29 Mar 2006 08:24:45 +0200 Subject: [Fwd: Undelivered Mail Returned to Sender] Message-ID: <442A282D.4050407@kinzesberg.de> Hi List Admins, could someone deactivate/throw off this guy? Whenever I post to the list I get this reply. Dirk -------------- next part -------------- An embedded message was scrubbed... From: Mail Delivery System Subject: Undelivered Mail Returned to Sender Date: Wed, 29 Mar 2006 08:20:22 +0200 Size: 1820 URL: From drussell at mpifix.com Wed Mar 29 08:38:40 2006 From: drussell at mpifix.com (Danny Russell) Date: Tue, 28 Mar 2006 23:38:40 -0700 Subject: [Fwd: Undelivered Mail Returned to Sender] Message-ID: <028B223BB24E5443A9784BBE1CC5EBE0B54D56@Lisa.mpifix.com> I receive the same error as well. Let's get this guy off the list. Thanks. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Dirk H. Schulz Sent: Tuesday, March 28, 2006 11:25 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] [Fwd: Undelivered Mail Returned to Sender] Hi List Admins, could someone deactivate/throw off this guy? Whenever I post to the list I get this reply. Dirk ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From truckk at inbox.lv Wed Mar 29 09:03:32 2006 From: truckk at inbox.lv (Vadim Korsak) Date: Wed, 29 Mar 2006 10:03:32 +0300 Subject: availability reports / nagios logs after upgrade to 2.0 Message-ID: <1143615812.442a314410802@www.inbox.lv> Hi! Recent i have upgraded to 2.0, than today to 2.1 - there all is OK, but availability report seems can't use old archive logs, is there any workaround, or i do something in wrong way? -------------- next part -------------- An HTML attachment was scrubbed... URL: From grover1711 at gmail.com Wed Mar 29 08:40:37 2006 From: grover1711 at gmail.com (ankush grover) Date: Wed, 29 Mar 2006 12:10:37 +0530 Subject: getting the results through check_snmp Message-ID: <5f638b360603282240v9deea77x619cf85bbeca7461@mail.gmail.com> hey friends, I have configure Nagios-2.0 on Centos4.0. I able to check the services for local host but now want to check the services like POP3,SMTP,HTTP,Disk usage,Swap Usage,Memory Usage,CPU usage etc. through check_snmp. The snmp is running on all the machines which I want to monitor but I don't know the OID's related to these services. For example which OID is related to Disk Usage etc. SNMP is working fine on these machines. Can anybody tell how to monitor these services or many other services through Check_SNMP. Thanks & Regards Ankush Grover -------------- next part -------------- An HTML attachment was scrubbed... URL: From hvdkooij at vanderkooij.org Wed Mar 29 10:00:02 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 29 Mar 2006 10:00:02 +0200 (CEST) Subject: Best NagiOS Web based front end In-Reply-To: <20060329051315.317744F40E3@desire.netways.de> References: <20060329051315.317744F40E3@desire.netways.de> Message-ID: On Wed, 29 Mar 2006, Krish Paul wrote: > Can you suggest me the best nagios web based front end with best > Graphical output? No one can. Because best is defined by many criteria you have not shared with us and propably never will. Many of these criteria you are propably not even aware of yourself. What is the best restaurant? What is the best music? It is all a matter of taste. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 29 10:04:56 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 29 Mar 2006 10:04:56 +0200 (CEST) Subject: [Fwd: Undelivered Mail Returned to Sender] In-Reply-To: <442A282D.4050407@kinzesberg.de> References: <442A282D.4050407@kinzesberg.de> Message-ID: On Wed, 29 Mar 2006, Dirk H. Schulz wrote: > Hi List Admins, > > could someone deactivate/throw off this guy? Whenever I post to the list > I get this reply. For what it is worth: Both domain and network have landed in my blacklists. All listed contacts for that network bounce as well. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 29 10:09:49 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 29 Mar 2006 10:09:49 +0200 (CEST) Subject: getting the results through check_snmp In-Reply-To: <5f638b360603282240v9deea77x619cf85bbeca7461@mail.gmail.com> References: <5f638b360603282240v9deea77x619cf85bbeca7461@mail.gmail.com> Message-ID: On Wed, 29 Mar 2006, ankush grover wrote: > I have configure Nagios-2.0 on Centos4.0. I able to check the services for > local host but now want to check the services like POP3,SMTP,HTTP,Disk > usage,Swap Usage,Memory Usage,CPU usage etc. through check_snmp. > > The snmp is running on all the machines which I want to monitor but I don't > know the OID's related to these services. > > For example which OID is related to Disk Usage etc. > > SNMP is working fine on these machines. > > Can anybody tell how to monitor these services or many other services > through Check_SNMP. If you can use gmail you might as well put in some effort and use google. You should stumble over plenty of samples on the internet. Not to mention that snmpwalk will show you just about everything under the SNMP tree for each host. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rex at 2020media.com Wed Mar 29 10:52:08 2006 From: rex at 2020media.com (Rex Wickham) Date: Wed, 29 Mar 2006 10:52:08 +0200 (CEST) Subject: which nagios config gui are you using? In-Reply-To: <20060328180219.4edcf66e@aud.vb.futz.org> References: <20060328180219.4edcf66e@aud.vb.futz.org> Message-ID: <20060329085208.A87984F40E3@desire.netways.de> Hi Robert I'm using NagiosQL http://www.nagiosexchange.org/Configuration.20.0.html stores all the config in mysql which is handy for replicating to failover servers (for me) - Rex Wickham (2020media) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=16786 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From me at renux.de Wed Mar 29 14:07:01 2006 From: me at renux.de (Rene Fertig) Date: Wed, 29 Mar 2006 14:07:01 +0200 Subject: which nagios config gui are you using? In-Reply-To: <20060328180219.4edcf66e@aud.vb.futz.org> References: <20060328180219.4edcf66e@aud.vb.futz.org> Message-ID: <200603291407.03740.me@renux.de> Am Mittwoch, 29. M?rz 2006 01:02 schrieb Robert Story: > So, of those of you who are using a GUI to configure nagios, which one did > you select? Not looking to start a flame-war on which is the best, I'm just > trying to narrow down the field of candidates. I've just started using fruity. It is not complete, but works for me. I'd also gave NagiosQL a try, but fruity suit better to me. Probably I'm wrong ;-) Bye, Rene ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian.masopust at siemens.com Wed Mar 29 14:16:06 2006 From: christian.masopust at siemens.com (Masopust, Christian) Date: Wed, 29 Mar 2006 14:16:06 +0200 Subject: which nagios config gui are you using? In-Reply-To: <200603291407.03740.me@renux.de> References: <200603291407.03740.me@renux.de> Message-ID: <60721B67EAF0994EAFFB561767B700140ACCD4@nets13ha.ww300.siemens.net> me too, fruity is fun, easy to use and has a very well support-forum :-)) and, most important to me, easily to extend alltough i'm not a php-programmer... chris -- "I sense much NT in you, NT leads to Blue Screen. Blue Screen leads to downtime, downtime leads to suffering. NT is the path to the darkside." - Unknown Unix Jedi > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Rene Fertig > Sent: Wednesday, March 29, 2006 2:07 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: which nagios config gui are you using? > > Am Mittwoch, 29. M?rz 2006 01:02 schrieb Robert Story: > > So, of those of you who are using a GUI to configure > nagios, which one did > > you select? Not looking to start a flame-war on which is > the best, I'm just > > trying to narrow down the field of candidates. > > I've just started using fruity. It is not complete, but works > for me. I'd also > gave NagiosQL a try, but fruity suit better to me. Probably > I'm wrong ;-) > > Bye, Rene > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking > scripting language > that extends applications into web and mobile media. Attend > the live webcast > and join the prime developer group breaking into this new > coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jorg.Schulz at systeam.se Wed Mar 29 15:32:38 2006 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Wed, 29 Mar 2006 15:32:38 +0200 Subject: getting the results through check_snmp In-Reply-To: <5f638b360603282240v9deea77x619cf85bbeca7461@mail.gmail.com> References: <5f638b360603282240v9deea77x619cf85bbeca7461@mail.gmail.com> Message-ID: Hi take a look on i.e to http://www.oidview.com/mibs/detail.html or http://www.mibdepot.com/cgi-bin/xsearch_index3.cgi?id=9217 This is a very good source for SNMP OID for all manufacturas. Best regards J?rg Schulz SYSteam Communication AB Str?mgatan 15 Box 99, 391 21 Kalmar Direkt 0480-456638 Mobil 0708-157806 E-Post jorg.schulz at systeam.se Webb www.systeam.se -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed Mar 29 17:45:07 2006 From: marc at ena.com (Marc Powell) Date: Wed, 29 Mar 2006 09:45:07 -0600 Subject: uplift downtime Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Nelson Serafica > Sent: Tuesday, March 28, 2006 11:25 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] uplift downtime > > there were some instance that the server will be down for 3 days so i > scheduled it in nagios to stop it notify. > > my prob is it just turn 2 days and it is now up but it is still down and > dont know how to uplift it . > > anyone knows how to do this?? To remove the Scheduled Downtime, click on the Downtime link in the main menu (left pane). -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 dm.cobite.com Wed Mar 29 17:46:14 2006 From: nagios at dm.cobite.com (David Mansfield) Date: Wed, 29 Mar 2006 10:46:14 -0500 Subject: per host custom macros Message-ID: <442AABC6.9090905@dm.cobite.com> Hi All, I'm somewhat of a new to nagios (coming from a mon environment) and I'm using nagios 2.0 on Centos 4, using RPMs from DAG. I was wondering if it is possible to define 'custom macros' that can be defined per host. For example, we have the $HOSTADDRESS$ macro which can be referenced in the 'command' definition, but what if I have some other attribute I'd like to specify that's not part of the 'host' object by default. In particular, our DNS caches run on their own IP address (interface) different from the rest of the services on the boxes. I don't want to define new hosts for this because that would be ugly, mistake prone, confusing in the HTTP UI etc. Instead I'd like to define a new check command called check_dnscache which uses $DNSCACHEADDRESS$ instead of $HOSTADDRESS$ in it's command line. Can anyone make a suggestion on how to do this? David ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bohara at gmail.com Wed Mar 29 17:54:26 2006 From: bohara at gmail.com (Ben O'Hara) Date: Wed, 29 Mar 2006 16:54:26 +0100 Subject: per host custom macros In-Reply-To: <442AABC6.9090905@dm.cobite.com> References: <442AABC6.9090905@dm.cobite.com> Message-ID: <2b36e660603290754y5b0598d2h8aa6f0579609d938@mail.gmail.com> Create check called check_dns_cache in checkcommands.cfg calling check_dns or whatever you are using and use $ARG1$ as a macro thats passed to it. In services.cfg you define the check as check_command check_dns_cache!1.2.3.4 where 1.2.3.4 is the IP you want to be passed to $ARG1$ Least thats how ive set it up. Ben On 3/29/06, David Mansfield wrote: > > Hi All, > > I'm somewhat of a new to nagios (coming from a mon environment) and I'm > using nagios 2.0 on Centos 4, using RPMs from DAG. > > I was wondering if it is possible to define 'custom macros' that can be > defined per host. > > For example, we have the $HOSTADDRESS$ macro which can be referenced in > the 'command' definition, but what if I have some other attribute I'd > like to specify that's not part of the 'host' object by default. > > In particular, our DNS caches run on their own IP address (interface) > different from the rest of the services on the boxes. I don't want to > define new hosts for this because that would be ugly, mistake prone, > confusing in the HTTP UI etc. Instead I'd like to define a new check > command called check_dnscache which uses $DNSCACHEADDRESS$ instead of > $HOSTADDRESS$ in it's command line. > > Can anyone make a suggestion on how to do this? > > David > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- "A Scientist will earn a living by taking a really difficult problem and spends many years solving it, an engineer earns a living by finding really difficult problems and side stepping them" -------------- next part -------------- An HTML attachment was scrubbed... URL: From enediel at hotmail.com Wed Mar 29 17:58:06 2006 From: enediel at hotmail.com (enediel gonzalez) Date: Wed, 29 Mar 2006 15:58:06 +0000 Subject: question related to host dependencies Message-ID: Hello: for testing purposes the hostname Router is permanently down, also hp_printer I have this declaration in /usr/local/nagios/etc/dependencies/dependencies.cfg define hostdependency{ host_name Router dependent_host_name hp_printer notification_failure_criteria d } in /usr/local/nagios/etc/nagios.cfg soft_state_dependencies=1 According to the documentation if one host has multiple dependencies, all the dependencies check should be passed to send host notifications. in the current conditions it works fine, but if I add define hostdependency{ host_name Internet dependent_host_name hp_printer notification_failure_criteria d } where Internet is allways UP, I start receiving notifications that hp_printer is down, What I want to do is to create a complete tree of dependencies among host, where if in one point of my tree I have a host down, the subtree associated doesn't send to me any notification. Thanks in advance for any help Enediel Linux user 300141 Debian GNU/Linux ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Mar 29 17:56:19 2006 From: td3201 at gmail.com (Terry) Date: Wed, 29 Mar 2006 09:56:19 -0600 Subject: per host custom macros In-Reply-To: <442AABC6.9090905@dm.cobite.com> References: <442AABC6.9090905@dm.cobite.com> Message-ID: <8ee061010603290756t23b1a1dcx5613c9dca99148a6@mail.gmail.com> You can specify custom macros in resources.cfg: $USER2$="192.168.0.30" However, this is not what you want and is no different than specifying it in the command itself with $ARG#$ rather than using the $hostaddress$. Pass the dnscacheaddress onto the command via the argument. check_dnscache -H $ARG1$ service foo { check_command check_dnscache!192.168.0.1 .... On 3/29/06, David Mansfield wrote: > Hi All, > > I'm somewhat of a new to nagios (coming from a mon environment) and I'm > using nagios 2.0 on Centos 4, using RPMs from DAG. > > I was wondering if it is possible to define 'custom macros' that can be > defined per host. > > For example, we have the $HOSTADDRESS$ macro which can be referenced in > the 'command' definition, but what if I have some other attribute I'd > like to specify that's not part of the 'host' object by default. > > In particular, our DNS caches run on their own IP address (interface) > different from the rest of the services on the boxes. I don't want to > define new hosts for this because that would be ugly, mistake prone, > confusing in the HTTP UI etc. Instead I'd like to define a new check > command called check_dnscache which uses $DNSCACHEADDRESS$ instead of > $HOSTADDRESS$ in it's command line. > > Can anyone make a suggestion on how to do this? > > David > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 dm.cobite.com Wed Mar 29 18:19:32 2006 From: nagios at dm.cobite.com (David Mansfield) Date: Wed, 29 Mar 2006 11:19:32 -0500 Subject: per host custom macros In-Reply-To: <2b36e660603290754y5b0598d2h8aa6f0579609d938@mail.gmail.com> References: <442AABC6.9090905@dm.cobite.com> <2b36e660603290754y5b0598d2h8aa6f0579609d938@mail.gmail.com> Message-ID: <442AB394.1030003@dm.cobite.com> Ben O'Hara wrote: > Create check called check_dns_cache in checkcommands.cfg calling > check_dns or whatever you are using and use $ARG1$ as a macro thats > passed to it. > > In services.cfg you define the check as > > check_command check_dns_cache!1.2.3.4 > I see that possibility, but it seems really inconvenient to have to configure host specific information in the service definition. There are two reasons for that: 1) host specific information is 'spammed' around my config 2) i have to define one 'service' object for every host i want to check, instead of being able to use a hostgroup David ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 dm.cobite.com Wed Mar 29 18:22:38 2006 From: nagios at dm.cobite.com (David Mansfield) Date: Wed, 29 Mar 2006 11:22:38 -0500 Subject: per host custom macros In-Reply-To: <8ee061010603290756t23b1a1dcx5613c9dca99148a6@mail.gmail.com> References: <442AABC6.9090905@dm.cobite.com> <8ee061010603290756t23b1a1dcx5613c9dca99148a6@mail.gmail.com> Message-ID: <442AB44E.8070400@dm.cobite.com> Terry wrote: > You can specify custom macros in resources.cfg: > > $USER2$="192.168.0.30" > > However, this is not what you want and is no different than specifying > it in the command itself with $ARG#$ rather than using the Right. This is useful for a global macro, but I'm looking for something host specific. > $hostaddress$. Pass the dnscacheaddress onto the command via the > argument. > > check_dnscache -H $ARG1$ > > service foo { > check_command check_dnscache!192.168.0.1 > .... > > See my other reply where I have two strong arguments against doing it this way (to summarize: host information in multiple places, one service for each host instead of hostgroup). David ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Mar 29 18:54:48 2006 From: td3201 at gmail.com (Terry) Date: Wed, 29 Mar 2006 10:54:48 -0600 Subject: per host custom macros In-Reply-To: <442AB44E.8070400@dm.cobite.com> References: <442AABC6.9090905@dm.cobite.com> <8ee061010603290756t23b1a1dcx5613c9dca99148a6@mail.gmail.com> <442AB44E.8070400@dm.cobite.com> Message-ID: <8ee061010603290854k425146a4t2a53b2bbb0e27843@mail.gmail.com> You could maybe write an "intelligent" plugin to query the host information from another source based on the service name or something but nagios needs to know the IP address somehow. Where would you want to put this information so nagios can perform the service appropriately? On 3/29/06, David Mansfield wrote: > > Terry wrote: > > You can specify custom macros in resources.cfg: > > > > $USER2$="192.168.0.30" > > > > > However, this is not what you want and is no different than specifying > > it in the command itself with $ARG#$ rather than using the > > Right. This is useful for a global macro, but I'm looking for something > host specific. > > > $hostaddress$. Pass the dnscacheaddress onto the command via the > > argument. > > > > check_dnscache -H $ARG1$ > > > > service foo { > > check_command check_dnscache!192.168.0.1 > > .... > > > > > > See my other reply where I have two strong arguments against doing it > this way (to summarize: host information in multiple places, one service > for each host instead of hostgroup). > > > David > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From esben at cs.aau.dk Wed Mar 29 19:09:41 2006 From: esben at cs.aau.dk (Esben Bach) Date: Wed, 29 Mar 2006 19:09:41 +0200 Subject: Public Service Status page Message-ID: <442ABF55.7000806@cs.aau.dk> Hi Does anyone know of a project that can deliver a readout similiar to the "Service Detail" page, but available for public view (ie a webpage of somesort). I was considering making something in php that makes a parse over the log file every time someone access it, but maybe someone else has already done it? -- Esben ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 29 19:17:40 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 29 Mar 2006 19:17:40 +0200 (CEST) Subject: per host custom macros In-Reply-To: <8ee061010603290854k425146a4t2a53b2bbb0e27843@mail.gmail.com> References: <442AABC6.9090905@dm.cobite.com> <8ee061010603290756t23b1a1dcx5613c9dca99148a6@mail.gmail.com> <442AB44E.8070400@dm.cobite.com> <8ee061010603290854k425146a4t2a53b2bbb0e27843@mail.gmail.com> Message-ID: On Wed, 29 Mar 2006, Terry wrote: > You could maybe write an "intelligent" plugin to query the host > information from another source based on the service name or something > but nagios needs to know the IP address somehow. Where would you want > to put this information so nagios can perform the service > appropriately? Just to sum it up: - David dislikes adding extra hosts - David dislikes adding extra checks. If this hostgroup is important than how is each service to learn their different address? Because it can't be from the host group nor from any macro. David: You need to write your own check from scratch and give it your own table from some other source unknown to Nagios and hope you will not forget about them if you make a change or live with the extra hosts. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 29 19:20:33 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 29 Mar 2006 19:20:33 +0200 (CEST) Subject: Public Service Status page In-Reply-To: <442ABF55.7000806@cs.aau.dk> References: <442ABF55.7000806@cs.aau.dk> Message-ID: On Wed, 29 Mar 2006, Esben Bach wrote: > Does anyone know of a project that can deliver a readout similiar to the > "Service Detail" page, but available for public view (ie a webpage of > somesort). > I was considering making something in php that makes a parse over the > log file every time someone access it, but maybe someone else has > already done it? How about a tiny script that fetches the page with authentication and writes it to a page in your normal webtree? Run it once a minute to keep it up-to-date. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 dm.cobite.com Wed Mar 29 19:55:16 2006 From: nagios at dm.cobite.com (David Mansfield) Date: Wed, 29 Mar 2006 12:55:16 -0500 Subject: per host custom macros In-Reply-To: <8ee061010603290854k425146a4t2a53b2bbb0e27843@mail.gmail.com> References: <442AABC6.9090905@dm.cobite.com> <8ee061010603290756t23b1a1dcx5613c9dca99148a6@mail.gmail.com> <442AB44E.8070400@dm.cobite.com> <8ee061010603290854k425146a4t2a53b2bbb0e27843@mail.gmail.com> Message-ID: <442ACA04.9090906@dm.cobite.com> Terry wrote: > You could maybe write an "intelligent" plugin to query the host > information from another source based on the service name or something > but nagios needs to know the IP address somehow. Where would you want > to put this information so nagios can perform the service > appropriately? > Something like: define host { use generic-host host_name myhost.mydomain.com alias myhost address 1.2.3.4 custom_macro FOOPROPERTY=AA:BB:CC:DD custom_macro BARVALUE=BigImportantValue hostgroups all_foo,all_bar } With: define hostgroup { name all_foo alias all_foo } define service { hostgroup_name all_foo check_command check_foo } And finally, the payoff: define command { command_name check_foo command_line $USER1$/check_foo -f $FOOPROPERTY$ } > On 3/29/06, David Mansfield wrote: >> Terry wrote: >>> You can specify custom macros in resources.cfg: >>> >>> $USER2$="192.168.0.30" >>> However, this is not what you want and is no different than specifying >>> it in the command itself with $ARG#$ rather than using the >> Right. This is useful for a global macro, but I'm looking for something >> host specific. >> >>> $hostaddress$. Pass the dnscacheaddress onto the command via the >>> argument. >>> >>> check_dnscache -H $ARG1$ >>> >>> service foo { >>> check_command check_dnscache!192.168.0.1 >>> .... >>> >>> >> See my other reply where I have two strong arguments against doing it >> this way (to summarize: host information in multiple places, one service >> for each host instead of hostgroup). >> >> >> David >> > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Wed Mar 29 20:06:16 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Wed, 29 Mar 2006 12:06:16 -0600 Subject: per host custom macros In-Reply-To: <442ACA04.9090906@dm.cobite.com> References: <442AABC6.9090905@dm.cobite.com> <8ee061010603290756t23b1a1dcx5613c9dca99148a6@mail.gmail.com> <442AB44E.8070400@dm.cobite.com> <8ee061010603290854k425146a4t2a53b2bbb0e27843@mail.gmail.com> <442ACA04.9090906@dm.cobite.com> Message-ID: <1143655576.9440.310.camel@chi101100.int.tt.local> On Wed, 2006-03-29 at 12:55 -0500, David Mansfield wrote: > Something like: > > define host { > use generic-host > host_name myhost.mydomain.com > alias myhost > address 1.2.3.4 > > custom_macro FOOPROPERTY=AA:BB:CC:DD > custom_macro BARVALUE=BigImportantValue > > hostgroups all_foo,all_bar > } > > With: > > define hostgroup { > name all_foo > alias all_foo > } > > define service { > hostgroup_name all_foo > check_command check_foo > } > > And finally, the payoff: > > define command { > command_name check_foo > command_line $USER1$/check_foo -f $FOOPROPERTY$ > } You've pretty much exactly described $ARG1$, $ARG2$, ... $ARGn$ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: From boinger at tradingtechnologies.com Wed Mar 29 20:10:53 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Wed, 29 Mar 2006 12:10:53 -0600 Subject: per host custom macros In-Reply-To: <1143655576.9440.310.camel@chi101100.int.tt.local> References: <442AABC6.9090905@dm.cobite.com> <8ee061010603290756t23b1a1dcx5613c9dca99148a6@mail.gmail.com> <442AB44E.8070400@dm.cobite.com> <8ee061010603290854k425146a4t2a53b2bbb0e27843@mail.gmail.com> <442ACA04.9090906@dm.cobite.com> <1143655576.9440.310.camel@chi101100.int.tt.local> Message-ID: <1143655853.9440.316.camel@chi101100.int.tt.local> On Wed, 2006-03-29 at 12:06 -0600, jeff vier wrote: > > > define host { > > use generic-host > > host_name myhost.mydomain.com > > alias myhost > > address 1.2.3.4 > > > > custom_macro FOOPROPERTY=AA:BB:CC:DD > > custom_macro BARVALUE=BigImportantValue > > > > hostgroups all_foo,all_bar > > } > > > define command { > > command_name check_foo > > command_line $USER1$/check_foo -f $FOOPROPERTY$ > > } > > You've pretty much exactly described $ARG1$, $ARG2$, ... $ARGn$ I'm sorry - I misspoke. You've *almost* described $ARGn$. My apologies. Just hack in another property. shouldn't be a big deal. then it'd just be, like, ... host_macro1 BLAH host_macro2 FOO ... -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: From nagios at dm.cobite.com Wed Mar 29 21:06:31 2006 From: nagios at dm.cobite.com (David Mansfield) Date: Wed, 29 Mar 2006 14:06:31 -0500 Subject: per host custom macros In-Reply-To: <1143655576.9440.310.camel@chi101100.int.tt.local> References: <442AABC6.9090905@dm.cobite.com> <8ee061010603290756t23b1a1dcx5613c9dca99148a6@mail.gmail.com> <442AB44E.8070400@dm.cobite.com> <8ee061010603290854k425146a4t2a53b2bbb0e27843@mail.gmail.com> <442ACA04.9090906@dm.cobite.com> <1143655576.9440.310.camel@chi101100.int.tt.local> Message-ID: <442ADAB7.9000506@dm.cobite.com> jeff vier wrote: > On Wed, 2006-03-29 at 12:55 -0500, David Mansfield wrote: > >> Something like: >> >> define host { >> use generic-host >> host_name myhost.mydomain.com >> alias myhost >> address 1.2.3.4 >> >> custom_macro FOOPROPERTY=AA:BB:CC:DD >> custom_macro BARVALUE=BigImportantValue >> >> hostgroups all_foo,all_bar >> } >> >> With: >> >> define hostgroup { >> name all_foo >> alias all_foo >> } >> >> define service { >> hostgroup_name all_foo >> check_command check_foo >> } >> >> And finally, the payoff: >> >> define command { >> command_name check_foo >> command_line $USER1$/check_foo -f $FOOPROPERTY$ >> } > > You've pretty much exactly described $ARG1$, $ARG2$, ... $ARGn$ No. I'm sorry but you are missing the point. $ARG1$ blah blah are specified in the 'service' object. That means you HAVE to define a service object for every host/service combination. Yuk! Right now you can apply a service to an entire _hostgroup_, and the assignment/memebership to the hostgroup is set up IN the host object. This means that for those services, all the information necessary is captured in the host definition, as long as only the standard attributes (hostaddress etc) are referenced. Why should I configure the XYZ property of my host anywhere other than the host definition? It doesnt' make one lick of sense from a management perspective. Not to mention it forces twice the management burden to have to copy service definitions all over the place. David ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Wed Mar 29 21:15:34 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Wed, 29 Mar 2006 21:15:34 +0200 Subject: question related to host dependencies In-Reply-To: References: Message-ID: <442ADCD6.1020706@its-lehmann.de> Hello, On 3/29/2006 5:58 PM, enediel gonzalez wrote: > Hello: > for testing purposes the hostname Router is permanently down, also > hp_printer ... > What I want to do is to create a complete tree of dependencies among > host, where if in one point of my tree I have a host down, the subtree > associated doesn't send to me any notification. Sounds like you want the "parent" setting... admittedly, I never actually used dependencies, but somehow I think you don't need them for your purpose. Arno > Thanks in advance for any help > Enediel > > Linux user 300141 > Debian GNU/Linux > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hugo.rebello at dhl.com Wed Mar 29 21:21:50 2006 From: hugo.rebello at dhl.com (Hugo Rebello) Date: Wed, 29 Mar 2006 16:21:50 -0300 Subject: Winpopup Message-ID: <442ADE4E.1090901@dhl.com> Hello Guys. Anybody knows how can I use the winpopup ? I?d like to receive popups from Nagios server when some problem happen, but I don?t know what the option I must set up in contacts.cfg file. I am using the email option. Thank you. Cheers, Hugo ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frederik.vanhee at perso.be Wed Mar 29 21:36:55 2006 From: frederik.vanhee at perso.be (Frederik Vanhee) Date: Wed, 29 Mar 2006 21:36:55 +0200 Subject: Winpopup In-Reply-To: <442ADE4E.1090901@dhl.com> References: <442ADE4E.1090901@dhl.com> Message-ID: <442AE1D7.9050103@perso.be> Hello, presumed smbclient is on your Nagios server, you can send messages to a windows-pc Check the smbclient options, it needs -M and -I, one is the hostname of the pc, the other is the ip-address. I defined those values together with the contact definition, using the macros $CONTACTADDRESS1$ and $CONTACTADDRESS2$ # 'notify-by-smbclient' command definition define command{ command_name notify-by-smbclient command_line /usr/bin/printf "%b" "***** NAGIOS ***** automatically generated POP-UP \n\n Notification Type: $NOTIFICATIONTYPE$\n\nHost: $HOSTNAME$ ($HOSTALIAS$) \nAddress: $HOSTADDRESS$\nService: $SERVICEDESC$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/smbclient -M $CONTACTADDRESS1$ -I $CONTACTADDRESS2$ } Good luck, Frederik Hugo Rebello wrote: > Hello Guys. > > Anybody knows how can I use the winpopup ? > I?d like to receive popups from Nagios server when some problem > happen, but I don?t know what the option I must set up in contacts.cfg > file. > I am using the email option. > > Thank you. > > Cheers, > Hugo > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Mar 29 21:58:52 2006 From: marc at ena.com (Marc Powell) Date: Wed, 29 Mar 2006 13:58:52 -0600 Subject: per host custom macros Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of David Mansfield > Sent: Wednesday, March 29, 2006 11:55 AM > To: Terry > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] per host custom macros > > > > Terry wrote: > > You could maybe write an "intelligent" plugin to query the host > > information from another source based on the service name or something > > but nagios needs to know the IP address somehow. Where would you want > > to put this information so nagios can perform the service > > appropriately? > > > > Something like: > > define host { > use generic-host > host_name myhost.mydomain.com > alias myhost > address 1.2.3.4 > > custom_macro FOOPROPERTY=AA:BB:CC:DD > custom_macro BARVALUE=BigImportantValue > > hostgroups all_foo,all_bar > } To maybe short-circuit this direction -- http://www.nagios.org/development/upcoming.php User-Defined Object Directives: Object definitions will be extended to allow for user-defined variables/directives to be entered. This custom variables will be inheritable, just like the standard variables now. Custom variables will likely look something like this... define host{ host_name host1 ... _customvar1 "This is a custom variable of some kind" _location "Host is physically located in Room 301..." _snmp_community_string public } -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Mar 29 22:00:51 2006 From: marc at ena.com (Marc Powell) Date: Wed, 29 Mar 2006 14:00:51 -0600 Subject: Winpopup Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Hugo Rebello > Sent: Wednesday, March 29, 2006 1:22 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Winpopup > > Hello Guys. > > Anybody knows how can I use the winpopup ? > I?d like to receive popups from Nagios server when some problem happen, > but I don?t know what the option I must set up in contacts.cfg file. > I am using the email option. I don't use it myself but it's a FAQ -- http://www.nagios.org/faqs/viewfaq.php?faq_id=63 -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hugo.rebello at dhl.com Wed Mar 29 22:00:14 2006 From: hugo.rebello at dhl.com (Hugo Rebello) Date: Wed, 29 Mar 2006 17:00:14 -0300 Subject: Winpopup In-Reply-To: <442AE1D7.9050103@perso.be> References: <442ADE4E.1090901@dhl.com> <442AE1D7.9050103@perso.be> Message-ID: <442AE74E.5060909@dhl.com> Frederik, I can send message by Nagios Server to my desktop manually using smbclient. The problem is when I try to do this by Nagios Services. I have included the "winpopup" option below "email" option into contacts.cfg file, however it is doesn?t working. Look the contacts.cfg and misccommands.cfg files below. # 'hugo' contact definition define contact{ contact_name hugo alias Hugo Rebello service_notification_period work host_notification_period work service_notification_options w,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email test at teste.com winpopup myhostname } # 'host notify-by-winpopup' command definition define command{ command_name host-notify-by-winpopup command_line /usr/bin/printf "%b" "Notification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | smbclient -M $CONTACTPAGER$ Thank you. Cheers, Hugo Frederik Vanhee wrote: > Hello, > > presumed smbclient is on your Nagios server, you can send messages to > a windows-pc > Check the smbclient options, it needs -M and -I, one is the hostname > of the pc, the other is the ip-address. I defined those values > together with the contact definition, using the macros > $CONTACTADDRESS1$ and $CONTACTADDRESS2$ > > # 'notify-by-smbclient' command definition > define command{ > command_name notify-by-smbclient > command_line /usr/bin/printf "%b" "***** NAGIOS ***** > automatically generated POP-UP \n\n Notification Type: > $NOTIFICATIONTYPE$\n\nHost: $HOSTNAME$ ($HOSTALIAS$) \nAddress: > $HOSTADDRESS$\nService: $SERVICEDESC$\nState: > $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional > Info:\n\n$SERVICEOUTPUT$" | /usr/bin/smbclient -M $CONTACTADDRESS1$ -I > $CONTACTADDRESS2$ > } > > Good luck, > > Frederik > > > > Hugo Rebello wrote: > >> Hello Guys. >> >> Anybody knows how can I use the winpopup ? >> I?d like to receive popups from Nagios server when some problem >> happen, but I don?t know what the option I must set up in >> contacts.cfg file. >> I am using the email option. >> >> Thank you. >> >> Cheers, >> Hugo >> >> >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by xPML, a groundbreaking scripting >> language >> that extends applications into web and mobile media. Attend the live >> webcast >> and join the prime developer group breaking into this new coding >> territory! >> http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian.masopust at siemens.com Wed Mar 29 22:07:05 2006 From: christian.masopust at siemens.com (Masopust, Christian) Date: Wed, 29 Mar 2006 22:07:05 +0200 Subject: Winpopup In-Reply-To: <442AE74E.5060909@dhl.com> References: <442AE74E.5060909@dhl.com> Message-ID: <60721B67EAF0994EAFFB561767B700140ACCDB@nets13ha.ww300.siemens.net> Hello Hugo, have a look at your command-definition... you'll send messages to "CONTACTPAGER" but don't have any "pager" defind in your contact- definition... chris -- "I sense much NT in you, NT leads to Blue Screen. Blue Screen leads to downtime, downtime leads to suffering. NT is the path to the darkside." - Unknown Unix Jedi > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Hugo Rebello > Sent: Wednesday, March 29, 2006 10:00 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Winpopup > > Frederik, > > I can send message by Nagios Server to my desktop manually > using smbclient. > The problem is when I try to do this by Nagios Services. > I have included the "winpopup" option below "email" option into > contacts.cfg file, however it is doesn?t working. > > Look the contacts.cfg and misccommands.cfg files below. > > # 'hugo' contact definition > define contact{ > contact_name hugo > alias > Hugo Rebello > service_notification_period work > host_notification_period work > service_notification_options w,c,r > host_notification_options d,u,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email > test at teste.com > winpopup myhostname > } > > # 'host notify-by-winpopup' command definition > define command{ > command_name host-notify-by-winpopup > command_line /usr/bin/printf "%b" "Notification Type: > $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: > $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: > $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | smbclient -M > $CONTACTPAGER$ > > Thank you. > > Cheers, > Hugo > > > > Frederik Vanhee wrote: > > > Hello, > > > > presumed smbclient is on your Nagios server, you can send > messages to > > a windows-pc > > Check the smbclient options, it needs -M and -I, one is the > hostname > > of the pc, the other is the ip-address. I defined those values > > together with the contact definition, using the macros > > $CONTACTADDRESS1$ and $CONTACTADDRESS2$ > > > > # 'notify-by-smbclient' command definition > > define command{ > > command_name notify-by-smbclient > > command_line /usr/bin/printf "%b" "***** NAGIOS ***** > > automatically generated POP-UP \n\n Notification Type: > > $NOTIFICATIONTYPE$\n\nHost: $HOSTNAME$ ($HOSTALIAS$) \nAddress: > > $HOSTADDRESS$\nService: $SERVICEDESC$\nState: > > $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional > > Info:\n\n$SERVICEOUTPUT$" | /usr/bin/smbclient -M > $CONTACTADDRESS1$ -I > > $CONTACTADDRESS2$ > > } > > > > Good luck, > > > > Frederik > > > > > > > > Hugo Rebello wrote: > > > >> Hello Guys. > >> > >> Anybody knows how can I use the winpopup ? > >> I?d like to receive popups from Nagios server when some problem > >> happen, but I don?t know what the option I must set up in > >> contacts.cfg file. > >> I am using the email option. > >> > >> Thank you. > >> > >> Cheers, > >> Hugo > >> > >> > >> > >> > >> > >> > >> ------------------------------------------------------- > >> This SF.Net email is sponsored by xPML, a groundbreaking scripting > >> language > >> that extends applications into web and mobile media. > Attend the live > >> webcast > >> and join the prime developer group breaking into this new coding > >> territory! > >> http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: 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 xPML, a groundbreaking > scripting language > that extends applications into web and mobile media. Attend > the live webcast > and join the prime developer group breaking into this new > coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Mar 29 22:09:54 2006 From: marc at ena.com (Marc Powell) Date: Wed, 29 Mar 2006 14:09:54 -0600 Subject: Winpopup Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Hugo Rebello > Sent: Wednesday, March 29, 2006 2:00 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Winpopup > > Frederik, > > I can send message by Nagios Server to my desktop manually using > smbclient. > The problem is when I try to do this by Nagios Services. > I have included the "winpopup" option below "email" option into > contacts.cfg file, however it is doesn?t working. > > Look the contacts.cfg and misccommands.cfg files below. > > # 'hugo' contact definition > define contact{ > contact_name hugo > alias Hugo Rebello > service_notification_period work > host_notification_period work > service_notification_options w,c,r > host_notification_options d,u,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email > test at teste.com > winpopup myhostname > } > > # 'host notify-by-winpopup' command definition > define command{ > command_name host-notify-by-winpopup > command_line /usr/bin/printf "%b" "Notification Type: > $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: > $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: > $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | smbclient -M $CONTACTPAGER$ You can't (yet) make up new directives within a definition (i.e. your 'winpopup' directive). You'll have to hijack an existing directive, use a $ARGn$ macro or a $USERn$ macro. Judging by your host-notify-by-winpopup command, you're intending to hijack the contact pager definition ($CONTACTPAGER$) for the hostname so you'll want to set -- # 'hugo' contact definition define contact{ contact_name hugo alias Hugo Rebello service_notification_period work host_notification_period work service_notification_options w,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email,host-notify-by-winpopup email test at teste.com pager myhostname } -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Wed Mar 29 22:21:27 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Wed, 29 Mar 2006 22:21:27 +0200 Subject: Winpopup In-Reply-To: <442AE74E.5060909@dhl.com> References: <442ADE4E.1090901@dhl.com> <442AE1D7.9050103@perso.be> <442AE74E.5060909@dhl.com> Message-ID: <442AEC47.30000@its-lehmann.de> Hello, On 3/29/2006 10:00 PM, Hugo Rebello wrote: > Frederik, > > I can send message by Nagios Server to my desktop manually using smbclient. > The problem is when I try to do this by Nagios Services. > I have included the "winpopup" option below "email" option into > contacts.cfg file, however it is doesn?t working. > > Look the contacts.cfg and misccommands.cfg files below. > > # 'hugo' contact definition > define contact{ > contact_name hugo > alias Hugo Rebello > service_notification_period work > host_notification_period work > service_notification_options w,c,r I guess your service might be in state unknown. Add a u here and that part should work... > host_notification_options d,u,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email test at teste.com > winpopup myhostname > } > > # 'host notify-by-winpopup' command definition > define command{ > command_name host-notify-by-winpopup > command_line /usr/bin/printf "%b" "Notification Type: > $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: > $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: > $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | smbclient -M $CONTACTPAGER$ And, does your service notification command use the smbclient call? Arno > Thank you. > > Cheers, > Hugo > > > > Frederik Vanhee wrote: > >> Hello, >> >> presumed smbclient is on your Nagios server, you can send messages to >> a windows-pc >> Check the smbclient options, it needs -M and -I, one is the hostname >> of the pc, the other is the ip-address. I defined those values >> together with the contact definition, using the macros >> $CONTACTADDRESS1$ and $CONTACTADDRESS2$ >> >> # 'notify-by-smbclient' command definition >> define command{ >> command_name notify-by-smbclient >> command_line /usr/bin/printf "%b" "***** NAGIOS ***** >> automatically generated POP-UP \n\n Notification Type: >> $NOTIFICATIONTYPE$\n\nHost: $HOSTNAME$ ($HOSTALIAS$) \nAddress: >> $HOSTADDRESS$\nService: $SERVICEDESC$\nState: >> $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional >> Info:\n\n$SERVICEOUTPUT$" | /usr/bin/smbclient -M $CONTACTADDRESS1$ -I >> $CONTACTADDRESS2$ >> } >> >> Good luck, >> >> Frederik >> >> >> >> Hugo Rebello wrote: >> >>> Hello Guys. >>> >>> Anybody knows how can I use the winpopup ? >>> I?d like to receive popups from Nagios server when some problem >>> happen, but I don?t know what the option I must set up in >>> contacts.cfg file. >>> I am using the email option. >>> >>> Thank you. >>> >>> Cheers, >>> Hugo >>> >>> >>> >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by xPML, a groundbreaking scripting >>> language >>> that extends applications into web and mobile media. Attend the live >>> webcast >>> and join the prime developer group breaking into this new coding >>> territory! >>> http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: 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 xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SWu at ea.com Wed Mar 29 22:58:13 2006 From: SWu at ea.com (Wu, Shirley) Date: Wed, 29 Mar 2006 12:58:13 -0800 Subject: Reload configuration data without restart Message-ID: <29924C509447AB4BAB6801BE2D62549304C4647C@EAHQ-CSMB8.rws.ad.ea.com> Hi all, Is there a way to force Nagios to reload the configuration data without restarting the process and re-initializing the scheduling queue? In our environment, we are constantly adding and deleting hosts and services every day. Thanks in advanced, Shirley Wu System Engineer Electronic Arts, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lmstone at rnome.com Wed Mar 29 23:08:17 2006 From: lmstone at rnome.com (L. Mark Stone) Date: Wed, 29 Mar 2006 16:08:17 -0500 Subject: which nagios config gui are you using? In-Reply-To: <302ce8b50603281515s7b76ef79q4d477e936547a64d@mail.gmail.com> References: <20060328180219.4edcf66e@aud.vb.futz.org> <302ce8b50603281515s7b76ef79q4d477e936547a64d@mail.gmail.com> Message-ID: <20060329160817.0xd5mzxdcsccokos@webmail.rnome.com> Quoting Jim Perrin : > On 3/28/06, Robert Story wrote: >> So, of those of you who are using a GUI to configure nagios, which >> one did you >> select? Not looking to start a flame-war on which is the best, I'm >> just trying >> to narrow down the field of candidates. > > vim. does vim count as a gui? Nope. emacs counts as gui, but not vim. -- _________________________________________________________ A Message From... L. Mark Stone Reliable Networks of Maine, LLC "We manage your network so you can manage your business" 477 Congress Street Portland, ME 04101 Tel: (207) 772-5678 Web: http://www.rnome.com This email was sent from Reliable Networks of Maine LLC. It may contain information that is privileged and confidential. If you suspect that you were not intended to receive it, please delete it and notify us as soon as possible. Thank you. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-keys Size: 1714 bytes Desc: PGP Public Key URL: From nagios at dm.cobite.com Wed Mar 29 23:09:24 2006 From: nagios at dm.cobite.com (David Mansfield) Date: Wed, 29 Mar 2006 16:09:24 -0500 Subject: per host custom macros In-Reply-To: References: Message-ID: <442AF784.503@dm.cobite.com> Marc Powell wrote: > >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >> admin at lists.sourceforge.net] On Behalf Of David Mansfield >> Sent: Wednesday, March 29, 2006 11:55 AM >> To: Terry >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] per host custom macros >> >> >> >> Terry wrote: >>> You could maybe write an "intelligent" plugin to query the host >>> information from another source based on the service name or > something >>> but nagios needs to know the IP address somehow. Where would you > want >>> to put this information so nagios can perform the service >>> appropriately? >>> >> Something like: >> >> define host { >> use generic-host >> host_name myhost.mydomain.com >> alias myhost >> address 1.2.3.4 >> >> custom_macro FOOPROPERTY=AA:BB:CC:DD >> custom_macro BARVALUE=BigImportantValue >> >> hostgroups all_foo,all_bar >> } > > To maybe short-circuit this direction -- > > http://www.nagios.org/development/upcoming.php > > User-Defined Object Directives: > > Object definitions will be extended to allow for user-defined > variables/directives to be entered. This custom variables will be > inheritable, just like the standard variables now. Custom variables will > likely look something like this... > > define host{ > host_name host1 > ... > _customvar1 "This is a custom variable of some kind" > _location "Host is physically located in Room > 301..." > _snmp_community_string public > } > Thanks, Marc. That's perfect and addresses my initial concern exactly 100%. Is there any work in progress on this that I can help out with? David ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lanning at lanning.cc Wed Mar 29 23:12:27 2006 From: lanning at lanning.cc (Robert Hajime Lanning) Date: Wed, 29 Mar 2006 13:12:27 -0800 (PST) Subject: Reload configuration data without restart In-Reply-To: <29924C509447AB4BAB6801BE2D62549304C4647C@EAHQ-CSMB8.rws.ad.ea.com> References: <29924C509447AB4BAB6801BE2D62549304C4647C@EAHQ-CSMB8.rws.ad.ea.com> Message-ID: <39054.192.168.128.67.1143666747.squirrel@ssl.monsoonwind.com> > Is there a way to force Nagios to reload the configuration data > without restarting the process and re-initializing the scheduling > queue? In our environment, we are constantly adding and deleting > hosts and services every day. If you ran "make install-init", you will have a startup script installed. Something like /etc/init.d/nagios. Then just run /usr/init.d/nagios reload. If you don't then just "pkill -HUP nagios" -- And, did Guloka think the Ulus were too ugly to save? -Centauri ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Mar 29 23:13:52 2006 From: marc at ena.com (Marc Powell) Date: Wed, 29 Mar 2006 15:13:52 -0600 Subject: Reload configuration data without restart Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Wu, Shirley > Sent: Wednesday, March 29, 2006 2:58 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Reload configuration data without restart > > Hi all, > > Is there a way to force Nagios to reload the configuration data without > restarting the process and re-initializing the scheduling queue? In our > environment, we are constantly adding and deleting hosts and services > every day. http://nagios.sourceforge.net/docs/2_0/configmain.html#use_retained_sche duling_info I don't use it but it appears that you must have host/service retention enabled as well, including adding the retain_status_information and retain_nonstatus_information to your host/service definitions or templates. Using '/etc/init.d/nagios reload' or sending a HUP signal to the master nagios daemon will cause it to reload the config w/o restarting. With the settings above enabled then it should retain the scheduling queue and pre-reload status information for hosts and services. Personally, we just run a config verification (nagios -v) when adding hosts and restart each night to have the changes enabled. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 dm.cobite.com Wed Mar 29 23:15:07 2006 From: nagios at dm.cobite.com (David Mansfield) Date: Wed, 29 Mar 2006 16:15:07 -0500 Subject: per host custom macros In-Reply-To: References: <442AABC6.9090905@dm.cobite.com> <8ee061010603290756t23b1a1dcx5613c9dca99148a6@mail.gmail.com> <442AB44E.8070400@dm.cobite.com> <8ee061010603290854k425146a4t2a53b2bbb0e27843@mail.gmail.com> Message-ID: <442AF8DB.2040708@dm.cobite.com> [apologies if anyone receieves dups of this. i sent it from the wrong email address and I understand list management is fairly strict] Hugo van der Kooij wrote: > On Wed, 29 Mar 2006, Terry wrote: > >> You could maybe write an "intelligent" plugin to query the host >> information from another source based on the service name or something >> but nagios needs to know the IP address somehow. Where would you want >> to put this information so nagios can perform the service >> appropriately? > > Just to sum it up: > - David dislikes adding extra hosts > - David dislikes adding extra checks. > Not quite fair. I'm arguing that it would be far more maintainable not that I like or dislike it. For 25 hosts with 4 services, would you rather maintain 33 objects or 125? 33 = 25 hosts assigned to 4 hostgroups and 4 services bound to the hostgroups 125 = 25 hosts, 25 service#1, 25 service#2, 25 service#3, 25 service #4? Scale this up with hosts and services and it gets really bad. > If this hostgroup is important than how is each service to learn their > different address? Because it can't be from the host group nor from any > macro. > You're wrong. It just works. As a new user I guess I assumed that assigning a service to a hostgroup_name instead of a host_name would work (contrary to the documentation BTW). And guess what. It DOES WORK. Take a look. Define three hosts, put them in hostgroup 'ssh'. define a service 'ssh' assign it to hostgroup_name 'ssh'. It just works. The check_ssh is invoked for each member of the hostgroup just like a newbie like me would expect. The problem is that for a service requiring something other than $HOSTADDRESS$ it breaks down. David ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Mar 29 23:17:09 2006 From: marc at ena.com (Marc Powell) Date: Wed, 29 Mar 2006 15:17:09 -0600 Subject: per host custom macros Message-ID: > -----Original Message----- > From: David Mansfield [mailto:nagios at dm.cobite.com] > Sent: Wednesday, March 29, 2006 3:09 PM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] per host custom macros > > > > Marc Powell wrote: > > [chop] > > User-Defined Object Directives: > > > > Object definitions will be extended to allow for user-defined > > variables/directives to be entered. This custom variables will be > > inheritable, just like the standard variables now. Custom variables will > > likely look something like this... > > > > define host{ > > host_name host1 > > ... > > _customvar1 "This is a custom variable of some kind" > > _location "Host is physically located in Room > > 301..." > > _snmp_community_string public > > } > > > > > Thanks, Marc. That's perfect and addresses my initial concern exactly > 100%. > > Is there any work in progress on this that I can help out with? I don't know. You'd probably have better luck asking on nagios-devel. I haven't seen much talk about it there yet though. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Mar 29 23:24:02 2006 From: marc at ena.com (Marc Powell) Date: Wed, 29 Mar 2006 15:24:02 -0600 Subject: per host custom macros Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of David Mansfield > Sent: Wednesday, March 29, 2006 3:15 PM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] per host custom macros > > > If this hostgroup is important than how is each service to learn their > > different address? Because it can't be from the host group nor from any > > macro. > > > > You're wrong. It just works. > > As a new user I guess I assumed that assigning a service to a > hostgroup_name instead of a host_name would work (contrary to the > documentation BTW). > > And guess what. It DOES WORK. It is documented actually, but as a template exploit/trick ;) -- http://nagios.sourceforge.net/docs/2_0/templatetricks.html#service -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phallstrom at gmail.com Wed Mar 29 23:52:38 2006 From: phallstrom at gmail.com (Philip Hallstrom) Date: Wed, 29 Mar 2006 13:52:38 -0800 Subject: Specifying date ranges for notifications? Message-ID: I've read through the docs and didn't see it, but figured I'd ask anyway. We have an on-call rotation (one person per week) and I was wondering if there is a way to specify a date range (or series of date ranges) in nagios for who should be contacted when. Currently I can specify hours for a given day... I realize I could also programmatically (shell script) move a new contact notifications into place and am fine with that. Just curious to see what my options are... Thanks! ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phallstrom at gmail.com Wed Mar 29 23:54:12 2006 From: phallstrom at gmail.com (Philip Hallstrom) Date: Wed, 29 Mar 2006 13:54:12 -0800 Subject: multiple nagios monitoring that have to agree? Message-ID: I've read through the docs and distributed, failover, and redundant monitoring, but those didn't seem to apply. I'm wondering if two nagios instances can be set up to monitor the same hosts/services and have to agree with each other before sending a notification? -philip ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 30 00:00:56 2006 From: marc at ena.com (Marc Powell) Date: Wed, 29 Mar 2006 16:00:56 -0600 Subject: Specifying date ranges for notifications? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Philip Hallstrom > Sent: Wednesday, March 29, 2006 3:53 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Specifying date ranges for notifications? > > I've read through the docs and didn't see it, but figured I'd ask anyway. > > We have an on-call rotation (one person per week) and I was wondering > if there is a way to specify a date range (or series of date ranges) > in nagios for who should be contacted when. > > Currently I can specify hours for a given day... > > I realize I could also programmatically (shell script) move a new > contact notifications into place and am fine with that. > > Just curious to see what my options are... It would have to be done programmatically as above of via logic built into your notification script. Time-of-day/day-of-week is the only flexibility built in currently. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at profitability.net Thu Mar 30 00:09:37 2006 From: andrew at profitability.net (Andrew Cruse) Date: Wed, 29 Mar 2006 17:09:37 -0500 Subject: multiple nagios monitoring that have to agree? In-Reply-To: References: Message-ID: nagios-users-admin at lists.sourceforge.net wrote: > I've read through the docs and distributed, failover, and > redundant monitoring, but those didn't seem to apply. > > I'm wondering if two nagios instances can be set up to > monitor the same hosts/services and have to agree with each > other before sending a notification? Great question. I've been thinking about that a bit myself, but just haven't had time to really work on it. My thought so far would be to do something like this: Create a "wrapper" plugin that can execute two (or more) "regular" plugins and capture the return value of each. The wrapper plugin would then alert only if a certain combination of return values are received. For your purposes here, the wrapper plugin would return CRITICAL only if both "regular" plugins also return CRITICAL For what you're trying to do, (and what I'm up to as well) your two regular plugins would be: 1. Whatever normal plugin you're using to check the host/service in question 2. check_nrpe using the same plugin as (1), but running on your second host. The "wrapper" plugin could be used as both a service check and a host check, so you could make every host/service you're monitoring be checked from two (or more) systems but only alert if all or some combination of "check hosts" return CRITICAL. The only drawback here is that all the alerting is still funneled through your primary Nagios host, so if it is unavailable you get no alerts. But that's where failover monitoring can come in, which is fairly well documented and would complement this setup pretty nicely. I'm guessing the "wrapper" plugin would take only an hour or two to hack out in Perl (Much less for someone more skilled than I)...I just haven't had the time to devote to this particular project. If anyone does take the time -- let me know, I'm happy to help test. Andrew ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Thu Mar 30 00:14:22 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Wed, 29 Mar 2006 17:14:22 -0500 Subject: per host custom macros In-Reply-To: Your message of "Wed, 29 Mar 2006 12:06:16 CST." <1143655576.9440.310.camel@chi101100.int.tt.local> References: <1143655576.9440.310.camel@chi101100.int.tt.local> Message-ID: <200603292214.k2TMEwLV006157@mx1.cs.umb.edu> In message <1143655576.9440.310.camel at chi101100.int.tt.local>, jeff vier writes: >On Wed, 2006-03-29 at 12:55 -0500, David Mansfield wrote: > >> Something like: >>=20 >> define host { >> use generic-host >> host_name myhost.mydomain.com >> alias myhost >> address 1.2.3.4 >> custom_macro FOOPROPERTY=3DAA:BB:CC:DD >> custom_macro BARVALUE=3DBigImportantValue (rouilj addition) custom_macro EXTERNAL_WEB_INTERFACE=192.169.33.10 >> hostgroups all_foo,all_bar,runs_external_http >> } >> With: >> define hostgroup { >> name all_foo >> alias all_foo >> } >> define service { >> hostgroup_name all_foo >> check_command check_foo >> } (rouilj addition) define service { service_description check_http hostgroup_name runs_external_web check_command check_http!-H $EXTERNAL_WEB_INTERFACE$ } define service { service_description check_certitifcate_exp hostgroup_name runs_external_web check_command check_http!-H $EXTERNAL_WEB_INTERFACE$ -C 30 --ssl } define service { hostgroup_name runs_external_web check_command check_apache!-H $EXTERNAL_WEB_INTERFACE$ } >> And finally, the payoff: >> define command { >> command_name check_foo >> command_line $USER1$/check_foo -f $FOOPROPERTY$ >> } (rouilj addition) define command { command_name check_http command_line $USER1$/check_http $ARG1$ } >You've pretty much exactly described $ARG1$, $ARG2$, ... $ARGn$ Not at all. Using my augmented config above, change the web address to 193.169.10.2. Only one line changes. Using a hardcoded argument in the service definition 10 lines have to change. Hardcoding the server IP in the service check is much more labor intensive. Say you have 10 services for each host in the hostgroup, and you have 20 hosts. You now have 200 services to define, one for each argument. This way you have 10 services to define. You add a new host, add one new host definition and no service definitions. It's a major pain for 100 services that you want to run for a hostgroup. Yes, I can write perl one-liners just as well as the next guy but I still have to verify every change in the diff. This is also a nice way to handle multiple interfaces on devices as well. Define hostgroups and macros for each interface. Want to shut down the host, simply put host in downtime and all services defined on that host (regardless of interface) are shut down. No need to create multiple hosts in nagios, one for each interface you want to define like you do now in nagios. Want to shut down the host with this setup, you have to down each host you defined. I am working on a hack using filepp (the 'for' macro is nice) to define alternate interfaces as #define macros that cause expansion of the "hostgroup" service definitions. Also it is designed to allow generation of servicedependencies. If I get it working well, I'll post it to allow enhancing the configuration language. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 30 00:22:55 2006 From: marc at ena.com (Marc Powell) Date: Wed, 29 Mar 2006 16:22:55 -0600 Subject: multiple nagios monitoring that have to agree? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Philip Hallstrom > Sent: Wednesday, March 29, 2006 3:54 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] multiple nagios monitoring that have to agree? > > I've read through the docs and distributed, failover, and redundant > monitoring, but those didn't seem to apply. > > I'm wondering if two nagios instances can be set up to monitor the > same hosts/services and have to agree with each other before sending a > notification? That's not a standard configuration and you'd probably run into timing issues. If NagiosA has checked the service and finds it down, NagiosB may not have checked the service yet and may still consider it up. What do you do then (nothing?)? How can you tell the difference (Last Check time?)? Nagios isn't built for that kind of coordination. For an off-the-cuff suggestion, if you used multiple retries and didn't specifically require that both servers see the state as HARD you could embed that logic in your notification script. - NagiosA always sends notifications. - ServiceX on HostY reaches hard state. - NagiosA initiates notification for ServiceX on HostY - Notification script searches status.log on NagiosB or performs HTTP screen scrape on NagiosB to determine state of ServiceX on HostY as seen from there. - If NagiosB shows CRITICAL, send notification - If only one shows critical do nothing(?) - repeat at regular intervals in case NagiosB was slow to pick up the state (or use the vice-versa logic to also send notifications from NagiosB) There are probably pitfalls but I think that's how I would approach it at first. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Thu Mar 30 00:33:07 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Wed, 29 Mar 2006 17:33:07 -0500 Subject: multiple nagios monitoring that have to agree? In-Reply-To: Your message of "Wed, 29 Mar 2006 13:54:12 PST." References: Message-ID: <200603292233.k2TMXf01009060@mx1.cs.umb.edu> In message , "Philip Hallstrom" writes: >I've read through the docs and distributed, failover, and redundant >monitoring, but those didn't seem to apply. Part of them did. Reread the section(s) on sending passive events to another nagios server. >I'm wondering if two nagios instances can be set up to monitor the >same hosts/services and have to agree with each other before sending a >notification? One way to do this is to set up the following: On nagios 1 service A1 (no notifications) On nagios 1 service A2 (passive update from server 2, not polled from server 1, no notifications) On nagios 2 service A2 (no notifications) On nagios 2 service A1 (passive update from server 1, not polled from server 2, no notifications) On both nagios 1 and 2 create service B that does notify (and poll) that uses check_cluster to require that both be in error condition to generate an error notification. Set up the passive services to have a freshness interval just a little longer than the polling interval on the other server. This way loss of the remote server is detected and causes the passive service to fail. Also service B can use another script that you write to require exactly the same service output etc or perform other correlation requirements. Send the passive service via ssh, nsca, carrier pigeon etc. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Thu Mar 30 00:44:31 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Wed, 29 Mar 2006 17:44:31 -0500 Subject: multiple nagios monitoring that have to agree? In-Reply-To: Your message of "Wed, 29 Mar 2006 16:22:55 CST." References: Message-ID: <200603292244.k2TMiVVG010690@mx1.cs.umb.edu> In message , "Marc Powell" writes: >> -----Original Message----- >> From: On Behalf Of Philip Hallstrom >> Sent: Wednesday, March 29, 2006 3:54 PM >> I'm wondering if two nagios instances can be set up to monitor the >> same hosts/services and have to agree with each other before sending a >> notification? > >That's not a standard configuration and you'd probably run into timing >issues. Good point that I forgot to address in my original reply. >If NagiosA has checked the service and finds it down, NagiosB >may not have checked the service yet and may still consider it up. What >do you do then (nothing?)? How can you tell the difference (Last Check >time?)? Nagios isn't built for that kind of coordination. If you have a correlation service B watching services A1 (polled from nagios A) and A2 (polled from nagios B and sent passively to nagios A) you want B to poll at least twice as fast as the poll interval for A1 and A2. E.G. If A1 and A2 poll at 4 minutes, poll B at 2 minutes maximum to allow you to sample the state that can change twice every 4 minutes. >For an off-the-cuff suggestion, if you used multiple retries and didn't >specifically require that both servers see the state as HARD you could >embed that logic in your notification script. > >- NagiosA always sends notifications. If you have a redunant setup, only one server A or B would have to send notifications for the service B. >- ServiceX on HostY reaches hard state. >- NagiosA initiates notification for ServiceX on HostY >- Notification script searches status.log on NagiosB or performs HTTP >screen scrape on NagiosB to determine state of ServiceX on HostY as seen >from there. >- If NagiosB shows CRITICAL, send notification >- If only one shows critical do nothing(?) >- repeat at regular intervals in case NagiosB was slow to pick up the >state (or use the vice-versa logic to also send notifications from >NagiosB) Neat idea, however you would need to handle the case where nagios B isn't properly updating the service (and therfore isn't providing valid data). >There are probably pitfalls but I think that's how I would approach it >at first. Yeah. It's a bit dicey regardless of how you slice it. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 30 00:53:01 2006 From: marc at ena.com (Marc Powell) Date: Wed, 29 Mar 2006 16:53:01 -0600 Subject: multiple nagios monitoring that have to agree? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of John P. Rouillard > Sent: Wednesday, March 29, 2006 4:33 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] multiple nagios monitoring that have to agree? > > > In message , > "Philip Hallstrom" writes: > > >I've read through the docs and distributed, failover, and redundant > >monitoring, but those didn't seem to apply. > > Part of them did. Reread the section(s) on sending passive events to > another nagios server. > > >I'm wondering if two nagios instances can be set up to monitor the > >same hosts/services and have to agree with each other before sending a > >notification? > > One way to do this is to set up the following: > > On nagios 1 service A1 (no notifications) > On nagios 1 service A2 (passive update from server 2, not polled > from server 1, no notifications) > > On nagios 2 service A2 (no notifications) > On nagios 2 service A1 (passive update from server 1, not polled > from server 2, no notifications) > > On both nagios 1 and 2 create service B that does notify (and poll) > that uses check_cluster to require that both be in error condition to > generate an error notification. I had considered this as a suggestion as well but felt it was messy due to the need to duplicate all the host and service definitions on both machines but with different names plus a third definition for each for the cluster check. Templates should make it easy mandate which definition was active/passive on each machine but the duplication just wouldn't scale well IMHO. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 30 01:21:49 2006 From: marc at ena.com (Marc Powell) Date: Wed, 29 Mar 2006 17:21:49 -0600 Subject: multiple nagios monitoring that have to agree? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of John P. Rouillard > Sent: Wednesday, March 29, 2006 4:45 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] multiple nagios monitoring that have to agree? > > > In message , > "Marc Powell" writes: > >> -----Original Message----- > >> From: On Behalf Of Philip Hallstrom > >> Sent: Wednesday, March 29, 2006 3:54 PM > >> I'm wondering if two nagios instances can be set up to monitor the > >> same hosts/services and have to agree with each other before sending a > >> notification? > > [chop] > > >For an off-the-cuff suggestion, if you used multiple retries and didn't > >specifically require that both servers see the state as HARD you could > >embed that logic in your notification script. > > > >- NagiosA always sends notifications. > > If you have a redunant setup, only one server A or B would have to > send notifications for the service B. > I presume that you're referring to this from your previous e-mail -- "On both nagios 1 and 2 create service B that does notify (and poll) that uses check_cluster to require that both be in error condition to generate an error notification." How would you prevent duplicate notifications? Nagios 1 wouldn't know that Nagios 2 had already sent a notification and vice-versa unless you kept track of that externally. > >- ServiceX on HostY reaches hard state. > >- NagiosA initiates notification for ServiceX on HostY > >- Notification script searches status.log on NagiosB or performs HTTP > >screen scrape on NagiosB to determine state of ServiceX on HostY as seen > >from there. > >- If NagiosB shows CRITICAL, send notification > >- If only one shows critical do nothing(?) > >- repeat at regular intervals in case NagiosB was slow to pick up the > >state (or use the vice-versa logic to also send notifications from > >NagiosB) > > Neat idea, however you would need to handle the case where nagios B > isn't properly updating the service (and therfore isn't providing > valid data). Looking at Last Update should cover that scenario. > >There are probably pitfalls but I think that's how I would approach it > >at first. > > Yeah. It's a bit dicey regardless of how you slice it. Agreed. Interesting problem though. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swu at ea.com Thu Mar 30 02:39:07 2006 From: swu at ea.com (Shirley Wu) Date: Thu, 30 Mar 2006 02:39:07 +0200 (CEST) Subject: Reload configuration data without restart In-Reply-To: <39054.192.168.128.67.1143666747.squirrel@ssl.monsoonwind.com> References: <39054.192.168.128.67.1143666747.squirrel@ssl.monsoonwind.com> Message-ID: <20060330003907.BFDEA4F40E3@desire.netways.de> I checked the /etc/init.d/nagios script. The reload option actually does the "killproc_nagios nagios -HUP". It seems that there's no way to get around it. Thanks, - Shirley Wu ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=16845 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lanning at lanning.cc Thu Mar 30 03:21:14 2006 From: lanning at lanning.cc (Robert Hajime Lanning) Date: Wed, 29 Mar 2006 17:21:14 -0800 (PST) Subject: Reload configuration data without restart In-Reply-To: <20060330003907.BFDEA4F40E3@desire.netways.de> References: <39054.192.168.128.67.1143666747.squirrel@ssl.monsoonwind.com> <20060330003907.BFDEA4F40E3@desire.netways.de> Message-ID: <37450.192.168.128.67.1143681674.squirrel@ssl.monsoonwind.com> > I checked the /etc/init.d/nagios script. The reload option actually > does the "killproc_nagios nagios -HUP". > > It seems that there's no way to get around it. Wrong. The "-HUP" does what has been asked. It sends the HUP POSIX Signal to the Nagios process. Upon receiving this signal the Nagios process re-examines it's configuration files. Now, if you sent the "KILL" signal, then the process will die. The "kill" function call (and command which calls the said function) is just the method of delivering the signal to a process. Signal number 9 (aka "KILL") has one outcome. The process must die. No ifs, ands, or buts. All others can be caught within the program and cause specific actions to happen. Usually the "HUP" signal is used to re-read config files. By default the "kill" command sends the "TERM" signal. The "TERM" signal is usually used to tell the program that you want it to shutdown nicely, write transactions, close files, clean up its work area, then exit on its own. -- And, did Guloka think the Ulus were too ugly to save? -Centauri ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swu at ea.com Thu Mar 30 03:53:21 2006 From: swu at ea.com (Shirley Wu) Date: Thu, 30 Mar 2006 03:53:21 +0200 (CEST) Subject: Reload configuration data without restart In-Reply-To: <37450.192.168.128.67.1143681674.squirrel@ssl.monsoonwind.com> References: <37450.192.168.128.67.1143681674.squirrel@ssl.monsoonwind.com> Message-ID: <20060330015321.182E44F40E3@desire.netways.de> Thank you very much for your reply. It clears the big question in my mind about Nagios. - Shirley Wu ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=16862 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From listsub at systame.com Thu Mar 30 04:02:58 2006 From: listsub at systame.com (Randall Perry) Date: Wed, 29 Mar 2006 21:02:58 -0500 Subject: Remote host check methods In-Reply-To: <442A0146.6090805@systame.com> References: <442A0146.6090805@systame.com> Message-ID: <442B3C52.6020600@systame.com> Got it running, but am having trouble with SSL, which I'll detail in a separate post. Randall Perry wrote: > I'm new to Nagios. Got it configured and running on my monitoring box. > Tried installing NRPE on a remote host running Mac OSX but couldn't get > it to run as daemon or through xinetd. > > There seem to be several methods to check remote hosts including SSH > plugins. > > Just wondering what other's method of choice is for this -- especially > on OSXS. > > TIA > -- Randall Perry sysTame Xserve Web Hosting/Co-location/Leasing QuickTime Streaming Mac Consulting/Sales http://www.systame.com/ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From listsub at systame.com Thu Mar 30 04:25:06 2006 From: listsub at systame.com (Randall Perry) Date: Wed, 29 Mar 2006 21:25:06 -0500 Subject: NRPE SSL fails on Mac OSXS Message-ID: <442B4182.3090003@systame.com> Got Nagios monitor running fine on it's main box. But, am having troubles getting nrpe_check command to talk to a remote host. I've read the FAQ on this issue and verified that everything is kosher. http://www.nagios.org/faqs/viewfaq.php?faq_id=191 But I get this from nrpe (with debugging on): Error: Could not complete SSL handshake. 2\n And this from check_nrpe: CHECK_NRPE: Error - Could not complete SSL handshake. Also tried running both without ssl. nrpe crashed on the remote machine, while nagios host gave error: CHECK_NRPE: Socket timeout after 10 seconds Anyone got nrpe working on Mac OSX? -- Randall Perry sysTame Xserve Web Hosting/Co-location/Leasing QuickTime Streaming Mac Consulting/Sales http://www.systame.com/ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From listsub at systame.com Thu Mar 30 04:39:43 2006 From: listsub at systame.com (Randall Perry) Date: Wed, 29 Mar 2006 21:39:43 -0500 Subject: NRPE SSL fails on Mac OSXS Message-ID: <442B44EF.90203@systame.com> Forgot to mention some compiler warnings: [xserve1:/src/nagios/nrpe-2.4] randy% make all cd ./src/; make ; cd .. gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/local/ssl/lib -lssl -lcrypto -lwrap /usr/bin/ld: warning multiple definitions of symbol _allow_severity /var/tmp//ccgflxhb.o definition of _allow_severity in section (__DATA,__data) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libwrap.dylib(tcpd.o) definition of _allow_severity /usr/bin/ld: warning multiple definitions of symbol _main /var/tmp//ccgflxhb.o definition of _main in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libwrap.dylib(tcpd.o) definition of _main /usr/bin/ld: warning multiple definitions of symbol _deny_severity /var/tmp//ccgflxhb.o definition of _deny_severity in section (__DATA,__data) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libwrap.dylib(tcpd.o) definition of _deny_severity gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -DHAVE_CONFIG_H -o check_nrpe check_nrpe.c utils.c -L/usr/local/ssl/lib -lssl -lcrypto > Got Nagios monitor running fine on it's main box. But, am having > troubles getting nrpe_check command to talk to a remote host. > > I've read the FAQ on this issue and verified that everything is kosher. > http://www.nagios.org/faqs/viewfaq.php?faq_id=191 > > But I get this from nrpe (with debugging on): > Error: Could not complete SSL handshake. 2\n > > And this from check_nrpe: > CHECK_NRPE: Error - Could not complete SSL handshake. > > Also tried running both without ssl. nrpe crashed on the remote machine, > while nagios host gave error: > CHECK_NRPE: Socket timeout after 10 seconds > > > Anyone got nrpe working on Mac OSX? -- Randall Perry sysTame Xserve Web Hosting/Co-location/Leasing QuickTime Streaming Mac Consulting/Sales http://www.systame.com/ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Thu Mar 30 05:16:36 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Wed, 29 Mar 2006 22:16:36 -0500 Subject: multiple nagios monitoring that have to agree? In-Reply-To: Your message of "Wed, 29 Mar 2006 17:21:49 CST." References: Message-ID: <200603300316.k2U3Ga3t019514@mx1.cs.umb.edu> In message , "Marc Powell" writes: >> From: On Behalf Of John P. Rouillard >> Sent: Wednesday, March 29, 2006 4:45 PM >> In message , >> "Marc Powell" writes: >> >> -----Original Message----- >> >> From: On Behalf Of Philip Hallstrom >> >> Sent: Wednesday, March 29, 2006 3:54 PM >> >> I'm wondering if two nagios instances can be set up to monitor the >> >> same hosts/services and have to agree with each other before >> >> sending a notification? > >[chop] > >> >> >For an off-the-cuff suggestion, if you used multiple retries and didn't >> >specifically require that both servers see the state as HARD you could >> >embed that logic in your notification script. >> > >> >- NagiosA always sends notifications. >> >> If you have a redunant setup, only one server A or B would have to >> send notifications for the service B. >> >I presume that you're referring to this from your previous e-mail -- >"On both nagios 1 and 2 create service B that does notify (and poll) >that uses check_cluster to require that both be in error condition to >generate an error notification." Correct. >How would you prevent duplicate notifications? Nagios 1 wouldn't know >that Nagios 2 had already sent a notification and vice-versa unless you >kept track of that externally. The site where it was set up originally had the second server as a backup notifier. If it lost connectivity to the primary server it switched on notifications. Later a seperate SEC process on the second server monitored the primary's notifications and would release notifications queued up by the second nagios process (keyed by host, service, severity) if the notifications from the first and second didn't come through within 5 minutes of each other. It worked and made sure that alert's weren't delayed more than 5 minutes, but frankly the original setup with the second server not notifying unless it lost heartbeat on the original server (or the original server detected it couldn't get pages out) had a lot fewer issues. Then again I didn't have to work there. >> >- ServiceX on HostY reaches hard state. >> >- NagiosA initiates notification for ServiceX on HostY >> >- Notification script searches status.log on NagiosB or performs HTTP >> >screen scrape on NagiosB to determine state of ServiceX on HostY as >> >seen from there. >> >- If NagiosB shows CRITICAL, send notification >> >- If only one shows critical do nothing(?) >> >- repeat at regular intervals in case NagiosB was slow to pick up the >> >state (or use the vice-versa logic to also send notifications from >> >NagiosB) >> >> Neat idea, however you would need to handle the case where nagios B >> isn't properly updating the service (and therfore isn't providing >> valid data). > >Looking at Last Update should cover that scenario. True. >> >There are probably pitfalls but I think that's how I would approach it >> >at first. >> >> Yeah. It's a bit dicey regardless of how you slice it. > > >Agreed. Interesting problem though. Yup then again so is automaticaly rewriting the nagios config files and correcting the parent links so they can be used on a redundant host. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 30 07:31:45 2006 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Thu, 30 Mar 2006 16:31:45 +1100 Subject: Nagios 2.1 on Debian Sarge ? Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6ABE7012@mail01.ccia.local> Is anyone able to run Nagios (mysql) v2.1 on Debain Sarge ? The version in Apt is only 1.3. Thanks 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 -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4495 bytes Desc: not available URL: From lee at effective-it.co.uk Thu Mar 30 09:53:53 2006 From: lee at effective-it.co.uk (Lee Ball) Date: Thu, 30 Mar 2006 08:53:53 +0100 Subject: Nagios 2.1 on Debian Sarge ? In-Reply-To: <2A67EA781EC7F949A2AB0A0D07A86C6ABE7012@mail01.ccia.local> References: <2A67EA781EC7F949A2AB0A0D07A86C6ABE7012@mail01.ccia.local> Message-ID: <442B8E91.20802@effective-it.co.uk> An HTML attachment was scrubbed... URL: From mh+nagios-users at zugschlus.de Thu Mar 30 10:46:51 2006 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Thu, 30 Mar 2006 10:46:51 +0200 Subject: Nagios 2.1 on Debian Sarge ? In-Reply-To: <2A67EA781EC7F949A2AB0A0D07A86C6ABE7012@mail01.ccia.local> References: <2A67EA781EC7F949A2AB0A0D07A86C6ABE7012@mail01.ccia.local> Message-ID: <20060330084650.GB4925@torres.l21.ma.zugschlus.de> On Thu, Mar 30, 2006 at 04:31:45PM +1100, Matthew Joyce wrote: > Is anyone able to run Nagios (mysql) v2.1 on Debain Sarge ? > > The version in Apt is only 1.3. Debian Sarge was released as "stable" in June 2005, way before Nagios 2.0. It is Debian's release policy to only touch a stable release for security related or other bad bugs. Under no circumstances will a software version be updated in Debian stable. That being said, nagios2 builds fine on Debian sarge, and you can even backport the nagios2 packages from the development versions. We haven't packaged nagios 2.1 yet, and the mysql interface is gone. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From huasome at gmail.com Thu Mar 30 07:49:18 2006 From: huasome at gmail.com (Huaqing Zheng) Date: Wed, 29 Mar 2006 21:49:18 -0800 Subject: Nagios 2.1 on Debian Sarge ? In-Reply-To: <2A67EA781EC7F949A2AB0A0D07A86C6ABE7012@mail01.ccia.local> References: <2A67EA781EC7F949A2AB0A0D07A86C6ABE7012@mail01.ccia.local> Message-ID: <8855dbd90603292149o54627223s9193518f381a328c@mail.gmail.com> On 3/29/06, Matthew Joyce wrote: > > > > Is anyone able to run Nagios (mysql) v2.1 on Debain Sarge ? > > The version in Apt is only 1.3. Nagios 2.0 is in the unstable release already as the nagios2 package. I expect that the maintainer will do an upgrade to 2.1 fairly soon. You have to tweak the Debian control and compat level somewhat to backport the package to Sarge but it wasn't particularly hard. -- Huaqing Zheng Beer and Code Wrangler at Large ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandeep-n-murthy at telecom.pt Thu Mar 30 12:30:04 2006 From: sandeep-n-murthy at telecom.pt (Sandeep Narasimha Murthy) Date: Thu, 30 Mar 2006 11:30:04 +0100 Subject: NRPE: Unable to read output Problems Message-ID: Hi all, I installed a new script in a remote server but on trying to invoke it from my Nagios host with the command : ./check_nrpesun -H 192.168.5.10 -p 5666 -t 5 -c check_wlheap I get a "NRPE: Unable to read output " message. Now, before anybody suggests that I check the file and directory permissions, I have already done that and confirmed and reconfirmed that the script has the proper permissions. :) I have a number of scripts running on this remote server and all of them run fine except for this one. All have the same permissions and are configured Ok in the nrpe.cfg. Is there anything else I should check for ? TIA, sg ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mh+nagios-users at zugschlus.de Thu Mar 30 13:34:54 2006 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Thu, 30 Mar 2006 13:34:54 +0200 Subject: nagios-to-visio? Message-ID: <20060330113454.GE4925@torres.l21.ma.zugschlus.de> Hi, nagios' status maps are becoming unreadable quite quickly even for moderatly large networks. Additionally, my suits want our network team to document network structure graphically in Visio, and we don't have an intern to do this work. Is there a solution to convert a nagios configuration (comments, long host names, parent hosts etc) into some file format which visio 2003 can import without too much hassle? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From greg.cope at e-dba.net Thu Mar 30 13:40:58 2006 From: greg.cope at e-dba.net (Greg Cope) Date: Thu, 30 Mar 2006 12:40:58 +0100 Subject: Suse rpm's Message-ID: <1143718858.2464.37.camel@dl.e-dba.net> Hi All, Has anyone got any recomendations for 2.x Suse 9 RPM's? Thanks Greg ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.schulz at kinzesberg.de Thu Mar 30 15:06:41 2006 From: dirk.schulz at kinzesberg.de (Dirk H. Schulz) Date: Thu, 30 Mar 2006 15:06:41 +0200 Subject: multiple nagios monitoring that have to agree? In-Reply-To: <200603300316.k2U3Ga3t019514@mx1.cs.umb.edu> References: <200603300316.k2U3Ga3t019514@mx1.cs.umb.edu> Message-ID: <442BD7E1.4080109@kinzesberg.de> Hi folks, I would prefer a completely different approach: Setup both Nagios servers independently and have them both send notifications to an email address that hands the mail over to a little script. All this script does is checking if the same notification has already been sent from the other host and if yes delete it. The advantage of this approach is: You can add other functionality by and by to this script (e. g. filter out mass notifications from Nagios that can occur even if you use topologic dependencies). And you do not have to mess around with layers of service definitions. You can even use rsync to copy config alterations from one Nagios instance to the other. Any ideas pro/against this approach? Dirk John P. Rouillard schrieb: >In message , >"Marc Powell" writes: > > >>>From: On Behalf Of John P. Rouillard >>>Sent: Wednesday, March 29, 2006 4:45 PM >>>In message , >>>"Marc Powell" writes: >>> >>> >>>>>-----Original Message----- >>>>>From: On Behalf Of Philip Hallstrom >>>>>Sent: Wednesday, March 29, 2006 3:54 PM >>>>>I'm wondering if two nagios instances can be set up to monitor the >>>>>same hosts/services and have to agree with each other before >>>>>sending a notification? >>>>> >>>>> >>[chop] >> >> >> >>>>For an off-the-cuff suggestion, if you used multiple retries and didn't >>>>specifically require that both servers see the state as HARD you could >>>>embed that logic in your notification script. >>>> >>>>- NagiosA always sends notifications. >>>> >>>> >>>If you have a redunant setup, only one server A or B would have to >>>send notifications for the service B. >>> >>> >>> >>I presume that you're referring to this from your previous e-mail -- >>"On both nagios 1 and 2 create service B that does notify (and poll) >>that uses check_cluster to require that both be in error condition to >>generate an error notification." >> >> > >Correct. > > > >>How would you prevent duplicate notifications? Nagios 1 wouldn't know >>that Nagios 2 had already sent a notification and vice-versa unless you >>kept track of that externally. >> >> > >The site where it was set up originally had the second server as a >backup notifier. If it lost connectivity to the primary server it >switched on notifications. > >Later a seperate SEC process on the second server monitored the >primary's notifications and would release notifications queued up by >the second nagios process (keyed by host, service, severity) if the >notifications from the first and second didn't come through within 5 >minutes of each other. It worked and made sure that alert's weren't >delayed more than 5 minutes, but frankly the original setup with the >second server not notifying unless it lost heartbeat on the original >server (or the original server detected it couldn't get pages out) had >a lot fewer issues. Then again I didn't have to work there. > > > >>>>- ServiceX on HostY reaches hard state. >>>>- NagiosA initiates notification for ServiceX on HostY >>>>- Notification script searches status.log on NagiosB or performs HTTP >>>>screen scrape on NagiosB to determine state of ServiceX on HostY as >>>>seen from there. >>>>- If NagiosB shows CRITICAL, send notification >>>>- If only one shows critical do nothing(?) >>>>- repeat at regular intervals in case NagiosB was slow to pick up the >>>>state (or use the vice-versa logic to also send notifications from >>>>NagiosB) >>>> >>>> >>>Neat idea, however you would need to handle the case where nagios B >>>isn't properly updating the service (and therfore isn't providing >>>valid data). >>> >>> >>Looking at Last Update should cover that scenario. >> >> > >True. > > > >>>>There are probably pitfalls but I think that's how I would approach it >>>>at first. >>>> >>>> >>>Yeah. It's a bit dicey regardless of how you slice it. >>> >>> >>Agreed. Interesting problem though. >> >> > >Yup then again so is automaticaly rewriting the nagios config files >and correcting the parent links so they can be used on a redundant >host. > > -- rouilj >John Rouillard >=========================================================================== >My employers don't acknowledge my existence much less my opinions. > > >------------------------------------------------------- >This SF.Net email is sponsored by xPML, a groundbreaking scripting language >that extends applications into web and mobile media. Attend the live webcast >and join the prime developer group breaking into this new coding territory! >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Thu Mar 30 15:34:03 2006 From: td3201 at gmail.com (Terry) Date: Thu, 30 Mar 2006 07:34:03 -0600 Subject: Suse rpm's In-Reply-To: <1143718858.2464.37.camel@dl.e-dba.net> References: <1143718858.2464.37.camel@dl.e-dba.net> Message-ID: <442BDE4B.7030209@gmail.com> Grab the dag src rpm and build away: http://dag.wieers.com/packages/nagios/nagios-2.1-1.rf.src.rpm Greg Cope wrote: >Hi All, > >Has anyone got any recomendations for 2.x Suse 9 RPM's? > >Thanks > >Greg > > > >------------------------------------------------------- >This SF.Net email is sponsored by xPML, a groundbreaking scripting language >that extends applications into web and mobile media. Attend the live webcast >and join the prime developer group breaking into this new coding territory! >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johan.corsini at guest.minfin.fed.be Thu Mar 30 16:51:56 2006 From: johan.corsini at guest.minfin.fed.be (Johan Corsini) Date: Thu, 30 Mar 2006 16:51:56 +0200 Subject: per host custom macros In-Reply-To: <442ADAB7.9000506@dm.cobite.com> References: <442AABC6.9090905@dm.cobite.com> <1143655576.9440.310.camel@chi101100.int.tt.local> <442ADAB7.9000506@dm.cobite.com> Message-ID: <200603301651.56559.johan.corsini@guest.minfin.fed.be> I don't know if you have a real use of the "host_alias", but if not, you could maybe use this field to stock your customized definitions. You should also change the notification scripts to send the $HOSTNAME$ and not the $HOSTALIAS$ value.... you would have something like : host_alias $CUSTVAL1;$CUSTVAL2;$CUSTVAL3;... Ok, it is a bit tricky, but well, it think it could work... Johan Le Mercredi 29 Mars 2006 21:06, David Mansfield a ?crit?: > jeff vier wrote: > > On Wed, 2006-03-29 at 12:55 -0500, David Mansfield wrote: > >> Something like: > >> > >> define host { > >> use generic-host > >> host_name myhost.mydomain.com > >> alias myhost > >> address 1.2.3.4 > >> > >> custom_macro FOOPROPERTY=AA:BB:CC:DD > >> custom_macro BARVALUE=BigImportantValue > >> > >> hostgroups all_foo,all_bar > >> } > >> > >> With: > >> > >> define hostgroup { > >> name all_foo > >> alias all_foo > >> } > >> > >> define service { > >> hostgroup_name all_foo > >> check_command check_foo > >> } > >> > >> And finally, the payoff: > >> > >> define command { > >> command_name check_foo > >> command_line $USER1$/check_foo -f $FOOPROPERTY$ > >> } > > > > You've pretty much exactly described $ARG1$, $ARG2$, ... $ARGn$ > > No. I'm sorry but you are missing the point. $ARG1$ blah blah are > specified in the 'service' object. > > That means you HAVE to define a service object for every host/service > combination. Yuk! Right now you can apply a service to an entire > _hostgroup_, and the assignment/memebership to the hostgroup is set up > IN the host object. This means that for those services, all the > information necessary is captured in the host definition, as long as > only the standard attributes (hostaddress etc) are referenced. > > Why should I configure the XYZ property of my host anywhere other than > the host definition? It doesnt' make one lick of sense from a > management perspective. > > Not to mention it forces twice the management burden to have to copy > service definitions all over the place. > > David > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live > webcast and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Thu Mar 30 16:54:26 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 30 Mar 2006 08:54:26 -0600 Subject: which nagios config gui are you using? In-Reply-To: <20060329160817.0xd5mzxdcsccokos@webmail.rnome.com> References: <20060328180219.4edcf66e@aud.vb.futz.org> <302ce8b50603281515s7b76ef79q4d477e936547a64d@mail.gmail.com> <20060329160817.0xd5mzxdcsccokos@webmail.rnome.com> Message-ID: <1143730466.14065.0.camel@chi101100.int.tt.local> On Wed, 2006-03-29 at 16:08 -0500, L. Mark Stone wrote: > > vim. does vim count as a gui? > Nope. emacs counts as gui, but not vim. Them's fightin' words in my neck 'o the woods! ;) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: From marc at ena.com Thu Mar 30 17:18:48 2006 From: marc at ena.com (Marc Powell) Date: Thu, 30 Mar 2006 09:18:48 -0600 Subject: Reload configuration data without restart Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Robert Hajime Lanning > Sent: Wednesday, March 29, 2006 7:21 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Reload configuration data without restart > > > > > I checked the /etc/init.d/nagios script. The reload option actually > > does the "killproc_nagios nagios -HUP". > > > > It seems that there's no way to get around it. > > Wrong. The "-HUP" does what has been asked. It sends the HUP > POSIX Signal to the Nagios process. Upon receiving this signal > the Nagios process re-examines it's configuration files. Wrong. The OP's request was for a reload without resetting the scheduling queue. A HUP resets the queue. Try it, I did. Just sending a HUP is not sufficient to resolve her request. Per my original response, it looks possible to reload without rescheduling via the use_retained_scheduling_info config option combined with the HUP. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rafaelc at vegait.com.br Thu Mar 30 16:34:17 2006 From: rafaelc at vegait.com.br (Rafael Bandeira da Costa) Date: Thu, 30 Mar 2006 11:34:17 -0300 Subject: NRPE: Unable to read output returns ok? Message-ID: <442BEC69.1090204@vegait.com.br> [ Fedora Core 4 ] [ Nagios 2.0 ] [ NRPE 2.4 ] Hello list I am getting some wrong information when checking some of my switches, as you can see here (from the web interface): SW-14 ALIVE CRITICAL 30-03-2006 11:16:52 0d 0h 22m 10s 3/3 CRITICAL - Host Unreachable (y.y.y.y) SW-14 PORT 24 OK 30-03-2006 11:17:03 0d 19h 43m 48s 1/3 NRPE: Unable to read output My question is: is it correct that NRPE returns OK when unable to read the output? In my opinion, it should return a critical alert or at least an unknown state. That's not the only example; in some cases I get OK for "NRPE: Unable to read output" even when the switch is up. That's my configuration for the involved services/hosts/checks/nrpe. Understand that I can't check the host directly as that switch is behind a firewall - so that I use the nrpe_master host to query them. define host { use default_host check_command check_tcp!5666 host_name nrpe_master alias NRPE MASTER address x.x.x.x } define service { use default_service host_name nrpe_master service_description SW-14 ALIVE check_command check_nrpe!check-host-alive!y.y.y.y } define service { use default_service host_name nrpe_master service_description SW-14 PORT 24 check_command check_nrpe!check_snmp_int!y.y.y.y!161!public!'Port 24 on Unit 1' } define command { command_name check_nrpe command_line $USER1$/check_nrpe -t 30 -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ $ARG7$ $ARG8$ $ARG9$ $ARG10$ $ARG11$ } # NRPE commands command[check-host-alive]=/usr/local/nagios/libexec/check_ping -H $ARG1$ -w 3000.0,80% -c 5000.0,100% -p 1 -t 30 command[check_snmp_int]=/usr/local/nagios/libexec/check_snmp_int.pl -t 30 -H $ARG1$ -p $ARG2$ -C $ARG3$ -n '$ARG4$' -- Rafael Costa rafaelc at vegait.com.br Curitiba - Paran? - Brasil ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandeep-n-murthy at telecom.pt Thu Mar 30 17:50:54 2006 From: sandeep-n-murthy at telecom.pt (Sandeep Narasimha Murthy) Date: Thu, 30 Mar 2006 16:50:54 +0100 Subject: NRPE: Unable to read output Problems Message-ID: Hi again, I solved the problem and thought I should share this here.. The reason I was getting an Unable to read Output error was because the output generated by the called script was not being deciphered by nagios. I had some java commands in the script and possibly Nagios couldn't invoke them.. I solved the issue by creating a new script which then invoked the main script and then read its contents back to nagios. sg -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sandeep Narasimha Murthy Sent: quinta-feira, 30 de Mar?o de 2006 11:30 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE: Unable to read output Problems Hi all, I installed a new script in a remote server but on trying to invoke it from my Nagios host with the command : ./check_nrpesun -H 192.168.5.10 -p 5666 -t 5 -c check_wlheap I get a "NRPE: Unable to read output " message. Now, before anybody suggests that I check the file and directory permissions, I have already done that and confirmed and reconfirmed that the script has the proper permissions. :) I have a number of scripts running on this remote server and all of them run fine except for this one. All have the same permissions and are configured Ok in the nrpe.cfg. Is there anything else I should check for ? TIA, sg ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Thu Mar 30 18:08:23 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 30 Mar 2006 10:08:23 -0600 Subject: NRPE: Unable to read output Problems In-Reply-To: References: Message-ID: <1143734903.14065.10.camel@chi101100.int.tt.local> On Thu, 2006-03-30 at 11:30 +0100, Sandeep Narasimha Murthy wrote: > Hi all, > > I installed a new script in a remote server but on trying to invoke it > from my Nagios host with the command : > > ./check_nrpesun -H 192.168.5.10 -p 5666 -t 5 -c check_wlheap > > I get a "NRPE: Unable to read output " message. > > Now, before anybody suggests that I check the file and directory > permissions, I have already done that and confirmed and reconfirmed that > the script has the proper permissions. :) > > I have a number of scripts running on this remote server and all of them > run fine except for this one. All have the same permissions and are > configured Ok in the nrpe.cfg. > > Is there anything else I should check for ? Something is dumping to stderr. The quick way to find out what that is is to add " 2>&1" to the end of the problem command in your nrpe.cfg and run the check by hand (from the nagios server). -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: From werner.flamme at ufz.de Thu Mar 30 19:08:56 2006 From: werner.flamme at ufz.de (Werner Flamme) Date: Thu, 30 Mar 2006 19:08:56 +0200 Subject: problems with nrpe 2.0 and 2.4 on x86_64 Message-ID: <442C10A8.8060207@ufz.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, for about 2 weeks we have problems with 2 monitored servers. Both are running SuSE Linux Enterprise Server 9 x86_64 on AMD Opteron, both have following components installed: - - NRPE Version: 2.3 Last Modified: 01-23-2006 (I downloaded 2.4 ;-) - - nagios-plugins 1.4.2 - - nagios-plugins-sap-ccms-0.7.2-45 - - xinetd-2.3.13-39.11 Each time the monitoring server sends a nrpe trap, I find kernel: nrpe[8893]: segfault at 0000000000000030 rip 0000002a9568a911 rsp 0000007fbfffb800 error 4 in /var/log/messages. Xinetd complains about xinetd[12263]: Reading included configuration file: /etc/xinetd.d/nrpe [file=/etc/xinetd.d/nrpe] [line=15] in /var/log/messages. You see /etc/xinetd.d/nrpe here: - ---snip--- # default: on # description: NRPE (Nagios Remote Plugin Executor) # only_from: 141.65.129.80 service nrpe { socket_type = stream protocol = tcp wait = no user = nagios group = nagios disable = no server = /usr/bin/nrpe server_args = -n -c /etc/sapmon/nrpe.cfg -i flags = REUSE log_on_failure += USERID } - ---pins--- As you see, line 15 contains the closing bracket. It does not make any differences whether the order of the lines are changed or if I use nobody/nogroup instead - it's an error on line 15. When I add the only_from directive, it is still line 15. When I enter a faulty parameter ("disabled" instead of "disable") I see the corresponding line number in the error text. And to add to my confusion, the same configuration runs fine on another machine with i686 architecture. Just the instance names of some SAP checks are changed... Best of all is that the monitoring server shows all services as green, and with the correct output. I am just a bit concerned since one day we had a /var/log/messages of 35 Gig size :-( What did I do till now? Well, first I tried the rpms delivered with SLES9. Then I removed them and compiled nrpe 2.0 (and later nrpe 2.4) on the machines. No changes - the error appears, nagios shows "good" results. Then I commented out all the commands in /etc/sapmon/nrpe.cfg. The error is still there, now nagios shows (correctly) that the service is not defined. Can someone please put me on the way to get rid of those error lines? Google and alltheweb.com only told me that there was an issue with nrpe segfaulting when the config was faulty - but this was 3 years ago... BTW, I did not find something like "nrpe -v -c /etc/sapmon/nrpe.cfg" or something similar to have nrpe check its config file. Is it planned to support this check in the future? Sigh Werner - -- Werner Flamme, Abt. WKDV UFZ Umweltforschungszentrum Leipzig-Halle GmbH, Permoserstr. 15 - 04318 Leipzig Tel.: (0341) 235-3921 - Fax (0341) 235-453921 http://www.ufz.de - eMail: werner.flamme at ufz.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFELBCnk33Krq8b42MRAg8WAJ9QOW+ZmnEpYvpPNqyLaHgMlMFt4gCZAcTJ go694Dw6RzF0OrPZ+qyvL0s= =qWPr -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Thu Mar 30 21:25:10 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Thu, 30 Mar 2006 21:25:10 +0200 Subject: problems with nrpe 2.0 and 2.4 on x86_64 In-Reply-To: <442C10A8.8060207@ufz.de> References: <442C10A8.8060207@ufz.de> Message-ID: <442C3096.1070600@its-lehmann.de> Hello, On 3/30/2006 7:08 PM, Werner Flamme wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi all, > > for about 2 weeks we have problems with 2 monitored servers. Both are > running SuSE Linux Enterprise Server 9 x86_64 on AMD Opteron, both have > following components installed: > > - - NRPE Version: 2.3 Last Modified: 01-23-2006 (I downloaded 2.4 ;-) > - - nagios-plugins 1.4.2 > - - nagios-plugins-sap-ccms-0.7.2-45 > - - xinetd-2.3.13-39.11 Which gcc version did you use? Are these _all_ your SLES/x86 machines, do you have similar software on 32-bit-systems, or other software (i.e. older/newer versions, different gcc versions, different libraries...) on similar hardware? > Each time the monitoring server sends a nrpe trap, I find > kernel: nrpe[8893]: segfault at 0000000000000030 rip 0000002a9568a911 rsp > 0000007fbfffb800 error 4 > in /var/log/messages. So I assume it's nrpe crashing. > Xinetd complains about > xinetd[12263]: Reading included configuration file: /etc/xinetd.d/nrpe > [file=/etc/xinetd.d/nrpe] [line=15] I don't see a complaint. Anyway, I'd recommend to try compiling nrpe on the x64 server without optimization, i.e. using -O0 (Oh-zero). In another project there are reports that gcc 4.x on 64-bit-architectures may generate faulty code. > in /var/log/messages. You see /etc/xinetd.d/nrpe here: > - ---snip--- > # default: on > # description: NRPE (Nagios Remote Plugin Executor) > # only_from: 141.65.129.80 > service nrpe > { > socket_type = stream > protocol = tcp > wait = no > user = nagios > group = nagios > disable = no > server = /usr/bin/nrpe > server_args = -n -c /etc/sapmon/nrpe.cfg -i > flags = REUSE > log_on_failure += USERID > } > - ---pins--- > As you see, line 15 contains the closing bracket. It does not make any > differences whether the order of the lines are changed or if I use > nobody/nogroup instead - it's an error on line 15. When I add the only_from > directive, it is still line 15. When I enter a faulty parameter ("disabled" > instead of "disable") I see the corresponding line number in the error text. Bad enough, but I'd ignore this for the time being. > And to add to my confusion, the same configuration runs fine on another > machine with i686 architecture. Just the instance names of some SAP checks > are changed... > > Best of all is that the monitoring server shows all services as green, and > with the correct output. > > I am just a bit concerned since one day we had a /var/log/messages of 35 > Gig size :-( Fun... :-| > What did I do till now? Well, first I tried the rpms delivered with SLES9. > Then I removed them and compiled nrpe 2.0 (and later nrpe 2.4) on the > machines. File a bug report at SuSE / Novell and let theyr support crew work on the problem. After all, that's one of the differences between SLES and SL without ES. > No changes - the error appears, nagios shows "good" results. Then > I commented out all the commands in /etc/sapmon/nrpe.cfg. The error is > still there, now nagios shows (correctly) that the service is not defined. > > Can someone please put me on the way to get rid of those error lines? > > Google and alltheweb.com only told me that there was an issue with nrpe > segfaulting when the config was faulty - but this was 3 years ago... BTW, I > did not find something like "nrpe -v -c /etc/sapmon/nrpe.cfg" or something > similar to have nrpe check its config file. Is it planned to support this > check in the future? I don't think this is a configuration issue. Arno > Sigh > Werner > > - -- > Werner Flamme, Abt. WKDV > UFZ Umweltforschungszentrum Leipzig-Halle GmbH, > Permoserstr. 15 - 04318 Leipzig > Tel.: (0341) 235-3921 - Fax (0341) 235-453921 > http://www.ufz.de - eMail: werner.flamme at ufz.de > > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFELBCnk33Krq8b42MRAg8WAJ9QOW+ZmnEpYvpPNqyLaHgMlMFt4gCZAcTJ > go694Dw6RzF0OrPZ+qyvL0s= > =qWPr > -----END PGP SIGNATURE----- > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sameka.Prather at noaa.gov Thu Mar 30 22:35:25 2006 From: Sameka.Prather at noaa.gov (Sameka Prather) Date: Thu, 30 Mar 2006 15:35:25 -0500 Subject: Error when starting nagios In-Reply-To: <442BEC69.1090204@vegait.com.br> References: <442BEC69.1090204@vegait.com.br> Message-ID: <442C410D.3020500@noaa.gov> When I start nagios I get the following error but it seem to start fine. Starting network monitor: nagios This account is currently not available. PID TTY TIME CMD 2953? 00:00:00 nagios Can any one tell me what this mean? Like I said, is working fine but I get this error when I restart or start the service. Thank you, Sameka Prather Office of Internet Services sameka.prather at noaa.gov 301-713-1384 x 109 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Thu Mar 30 22:38:04 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 30 Mar 2006 14:38:04 -0600 Subject: Error when starting nagios In-Reply-To: <442C410D.3020500@noaa.gov> References: <442BEC69.1090204@vegait.com.br> <442C410D.3020500@noaa.gov> Message-ID: <1143751084.14065.18.camel@chi101100.int.tt.local> On Thu, 2006-03-30 at 15:35 -0500, Sameka Prather wrote: > When I start nagios I get the following error but it seem to start fine. > Starting network monitor: nagios > This account is currently not available. > PID TTY TIME CMD > 2953? 00:00:00 nagios > > Can any one tell me what this mean? Like I said, is working fine but I > get this error when I restart or start the service. Add " -x" to your #! line and look at where it's happening in the script. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: From Sameka.Prather at noaa.gov Thu Mar 30 22:46:20 2006 From: Sameka.Prather at noaa.gov (Sameka Prather) Date: Thu, 30 Mar 2006 15:46:20 -0500 Subject: Error when starting/restarting nagios In-Reply-To: <8ee061010603290756t23b1a1dcx5613c9dca99148a6@mail.gmail.com> References: <442AABC6.9090905@dm.cobite.com> <8ee061010603290756t23b1a1dcx5613c9dca99148a6@mail.gmail.com> Message-ID: <442C439C.1060509@noaa.gov> Hello, When I start nagios I get the following error but it seem to start fine. Starting network monitor: nagios This account is currently not available. PID TTY TIME CMD 2953? 00:00:00 nagios Can any one tell me what this mean? Like I said, is working fine but I get this error when I restart or start the service. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Thu Mar 30 22:48:37 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 30 Mar 2006 14:48:37 -0600 Subject: Error when starting/restarting nagios In-Reply-To: <442C439C.1060509@noaa.gov> References: <442AABC6.9090905@dm.cobite.com> <8ee061010603290756t23b1a1dcx5613c9dca99148a6@mail.gmail.com> <442C439C.1060509@noaa.gov> Message-ID: <1143751717.14065.22.camel@chi101100.int.tt.local> On Thu, 2006-03-30 at 15:46 -0500, Sameka Prather wrote: > Hello, > > When I start nagios I get the following error but it seem to start fine. > Starting network monitor: nagios > This account is currently not available. > PID TTY TIME CMD > 2953? 00:00:00 nagios > > Can any one tell me what this mean? Like I said, is working fine but I > get this error when I restart or start the service. Same answer as the last time you asked (11 minutes ago). -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: From rhall at HealthVision.com Thu Mar 30 22:56:52 2006 From: rhall at HealthVision.com (Rusty Hall) Date: Thu, 30 Mar 2006 14:56:52 -0600 Subject: nagios-to-visio? Message-ID: Try looking at nagvis it doesn't automate it but very simple to creat custom views www.nagvis.org Rusty -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Haber Sent: Thursday, March 30, 2006 5:35 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios-to-visio? Hi, nagios' status maps are becoming unreadable quite quickly even for moderatly large networks. Additionally, my suits want our network team to document network structure graphically in Visio, and we don't have an intern to do this work. Is there a solution to convert a nagios configuration (comments, long host names, parent hosts etc) into some file format which visio 2003 can import without too much hassle? Greetings Marc -- ------------------------------------------------------------------------ ----- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Thu Mar 30 23:00:58 2006 From: jhmartin at toger.us (Jason Martin) Date: Thu, 30 Mar 2006 13:00:58 -0800 Subject: nagios-to-visio? In-Reply-To: References: Message-ID: <20060330210058.GF23133@mal.toger.us> On Thu, Mar 30, 2006 at 02:56:52PM -0600, Rusty Hall wrote: > Is there a solution to convert a nagios configuration (comments, long > host names, parent hosts etc) into some file format which visio > 2003 can import without too much hassle? > www.nagvis.org It might also be worthwhile to checkout GraphViz (www.graphviz.org). -Jason Martin -- [Please insert a quarter in Drive A: for the next tagline.] This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: From marc at ena.com Thu Mar 30 23:47:49 2006 From: marc at ena.com (Marc Powell) Date: Thu, 30 Mar 2006 15:47:49 -0600 Subject: Error when starting/restarting nagios Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Sameka Prather > Sent: Thursday, March 30, 2006 2:46 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Error when starting/restarting nagios > > Hello, > > When I start nagios I get the following error but it seem to start fine. > Starting network monitor: nagios > This account is currently not available. > PID TTY TIME CMD > 2953? 00:00:00 nagios > > Can any one tell me what this mean? Like I said, is working fine but I > get this error when I restart or start the service. Does your nagios user have a valid shell in /etc/passwd? -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wrjacqmein at gmail.com Fri Mar 31 02:23:08 2006 From: wrjacqmein at gmail.com (Bill Jacqmein) Date: Thu, 30 Mar 2006 19:23:08 -0500 Subject: Remote host check methods In-Reply-To: <442B3C52.6020600@systame.com> References: <442A0146.6090805@systame.com> <442B3C52.6020600@systame.com> Message-ID: <3c9a5bae0603301623t57399f1arc167876a23f1cfc3@mail.gmail.com> Im a bigger fan of check by ssh for unix like OSes. On 3/29/06, Randall Perry wrote: > Got it running, but am having trouble with SSL, which I'll detail in a > separate post. > > > > Randall Perry wrote: > > I'm new to Nagios. Got it configured and running on my monitoring box. > > Tried installing NRPE on a remote host running Mac OSX but couldn't get > > it to run as daemon or through xinetd. > > > > There seem to be several methods to check remote hosts including SSH > > plugins. > > > > Just wondering what other's method of choice is for this -- especially > > on OSXS. > > > > TIA > > > > > -- > Randall Perry > sysTame > > Xserve Web Hosting/Co-location/Leasing > QuickTime Streaming > Mac Consulting/Sales > > http://www.systame.com/ > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Mar 31 02:33:32 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 30 Mar 2006 16:33:32 -0800 Subject: Remote host check methods In-Reply-To: <3c9a5bae0603301623t57399f1arc167876a23f1cfc3@mail.gmail.com> References: <442A0146.6090805@systame.com> <442B3C52.6020600@systame.com> <3c9a5bae0603301623t57399f1arc167876a23f1cfc3@mail.gmail.com> Message-ID: <20060331003332.GC29692@hermes.americas.hpqcorp.net> check_by_ssh is great, but when you're monitoring thousands of hosts/services, the overhead can kill you. NRPE's great in those situations, because it's so lightweight. On Thu, 30 Mar 2006, Bill Jacqmein wrote: > Im a bigger fan of check by ssh for unix like OSes. > > On 3/29/06, Randall Perry wrote: > > Got it running, but am having trouble with SSL, which I'll detail in a > > separate post. > > > > > > > > Randall Perry wrote: > > > I'm new to Nagios. Got it configured and running on my monitoring box. > > > Tried installing NRPE on a remote host running Mac OSX but couldn't get > > > it to run as daemon or through xinetd. > > > > > > There seem to be several methods to check remote hosts including SSH > > > plugins. > > > > > > Just wondering what other's method of choice is for this -- especially > > > on OSXS. > > > > > > TIA > > > > > > > > > -- > > Randall Perry > > sysTame > > > > Xserve Web Hosting/Co-location/Leasing > > QuickTime Streaming > > Mac Consulting/Sales > > > > http://www.systame.com/ > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > > that extends applications into web and mobile media. Attend the live webcast > > and join the prime developer group breaking into this new coding territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 motionbox.com Fri Mar 31 02:32:02 2006 From: jim at motionbox.com (James Nachlin) Date: Thu, 30 Mar 2006 19:32:02 -0500 Subject: won't start as daemon Message-ID: <442C7882.3030308@motionbox.com> I'm having this crazy problem. `nagios -v nagios.cfg` says there are no errors in the config file. Nagios will run in the foreground (`nagios nagios.cfg`). But `nagios -d nagios.cfg` does nothing. No nagios in background. No nagios in foreground. No error messages. Nothing. This is Nagios 2.0 running in CentOS on the 2.6.9 kernel. I'm issuing these commands as root. Any ideas, thoughts, musings, or insights appreciated. Thanks, Jim ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Fri Mar 31 02:37:13 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 30 Mar 2006 18:37:13 -0600 Subject: won't start as daemon In-Reply-To: <442C7882.3030308@motionbox.com> References: <442C7882.3030308@motionbox.com> Message-ID: <1143765433.14065.28.camel@chi101100.int.tt.local> On Thu, 2006-03-30 at 19:32 -0500, James Nachlin wrote: > I'm having this crazy problem. `nagios -v nagios.cfg` says there are no > errors in the config file. Nagios will run in the foreground (`nagios > nagios.cfg`). But `nagios -d nagios.cfg` does nothing. No nagios in > background. No nagios in foreground. No error messages. Nothing. > > This is Nagios 2.0 running in CentOS on the 2.6.9 kernel. I'm issuing > these commands as root. > > Any ideas, thoughts, musings, or insights appreciated. what does the log tell you? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: From patrick.morris at hp.com Fri Mar 31 03:05:51 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 30 Mar 2006 17:05:51 -0800 Subject: pkill -HUP nagios = Dead box Message-ID: <20060331010551.GA12514@hermes.americas.hpqcorp.net> I've been having an issue with multiple Nagios installations over a span of a few years, and after setting up another installation over the last few months it's biting me again. Sometimes, but not always, issuing a HUP to Nagios causes bad things to happen. The configuration won't reload (for example, new services don't appear in the web interface), and the Nagios socket stops accepting input. In the case of my current installation, this means that I get a crapload of hung NSCA processes from the external boxes that submit checks for ~4000 services to the "master" box. Withing an hour or so, this'll pretty much take out the master as the number of waiting NSCA processes exhausts the server's file handles. If not caught in time, it takes a server reboot to recover. I'm working around it by training people *not* to send HUPs to nagios, and do full reloads, but I'd love to figure out why this happens and/or if it can be fixed. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stucky101 at gmail.com Fri Mar 31 02:38:04 2006 From: stucky101 at gmail.com (stucky) Date: Thu, 30 Mar 2006 16:38:04 -0800 Subject: Remote host check methods In-Reply-To: <3c9a5bae0603301623t57399f1arc167876a23f1cfc3@mail.gmail.com> References: <442A0146.6090805@systame.com> <442B3C52.6020600@systame.com> <3c9a5bae0603301623t57399f1arc167876a23f1cfc3@mail.gmail.com> Message-ID: <30997e260603301638n7fade793rb1cfa7d792d97872@mail.gmail.com> I can only agree. I do all my checking with ssh and it works wonderfully. Every monitored machine has a 'nagios' user that is used to log on to it via an ssh key where only the nagios box has the privkey to. In the pubkey I use the 'command' directive to force a sanity check on every command that is passed via ssh. This command compares what's in the SSH_ORIGINAL_COMMAND environment variable to a list of allowed commands. If it passes it get executed, otherwise nagios errors. It's a simple perl script I wrote. So the authorized_keys file on all hosts for user 'nagios' looks like that: from="{nagioshost}",command="/usr/local/nagios/home/acl_agent",no-port-forwarding,no-X11-forwarding,no-agent-forwarding ssh-dss..key stuff This way the key can only be used from the nagios box for exactly the commands that the plugins need to run. acl_agent is the perl script and the acl's themselves are maintained via cfengine. On 3/30/06, Bill Jacqmein wrote: > > Im a bigger fan of check by ssh for unix like OSes. > > On 3/29/06, Randall Perry wrote: > > Got it running, but am having trouble with SSL, which I'll detail in a > > separate post. > > > > > > > > Randall Perry wrote: > > > I'm new to Nagios. Got it configured and running on my monitoring box. > > > Tried installing NRPE on a remote host running Mac OSX but couldn't > get > > > it to run as daemon or through xinetd. > > > > > > There seem to be several methods to check remote hosts including SSH > > > plugins. > > > > > > Just wondering what other's method of choice is for this -- especially > > > on OSXS. > > > > > > TIA > > > > > > > > > -- > > Randall Perry > > sysTame > > > > Xserve Web Hosting/Co-location/Leasing > > QuickTime Streaming > > Mac Consulting/Sales > > > > http://www.systame.com/ > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > > that extends applications into web and mobile media. Attend the live > webcast > > and join the prime developer group breaking into this new coding > territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- stucky -------------- next part -------------- An HTML attachment was scrubbed... URL: From RNathan at baxglobal.com Fri Mar 31 09:36:01 2006 From: RNathan at baxglobal.com (Ranga Nathan) Date: Thu, 30 Mar 2006 23:36:01 -0800 Subject: Nagios Plugins 1.3.1 installation problems Message-ID: I have been trying to install nagios 1.3.1 plug-ins from a source RPM that I downloaded. When I try to do a build from the spec file I get the following messages: Failed build dependencies: openssl-devel is needed by nagios-plugins-1.3.1-10.rf radiusclient-devel is needed by nagios-plugins-1.3.1-10.rf fping is needed by nagios-plugins-1.3.1-10.rf openssh-clients is needed by nagios-plugins-1.3.1-10.rf qstat is needed by nagios-plugins-1.3.1-10.rf openldap-devel is needed by nagios-plugins-1.3.1-10.rf mysql-devel is needed by nagios-plugins-1.3.1-10.rf perl(Net::SNMP) is needed by nagios-plugins-1.3.1-10.rf net-snmp-devel is needed by nagios-plugins-1.3.1-10.rf net-snmp-utils is needed by nagios-plugins-1.3.1-10.rf I am having a hard time finding these modules for SuSE intel and s390 environments. Does anyone know of a place where I can find source rpms all of these? I am not asking anyone to do the work for me. I have been googling around but not successful. Many of the sources are marked for spefific Linux distros and I do not find this in SuSE distro or at Novell's site. Guidance appreciated. __________________________________________ Ranga Nathan / CSG Systems Programmer - Specialist; Technical Services; BAX Global Inc. Irvine-California Tel: 714-442-7591 Fax: 714-442-2840 -------------- next part -------------- An HTML attachment was scrubbed... URL: From tomvo at absi.be Fri Mar 31 11:16:01 2006 From: tomvo at absi.be (tomvo at absi.be) Date: Fri, 31 Mar 2006 11:16:01 +0200 Subject: Event Handlers In-Reply-To: References: Message-ID: Hi James, I just came accross your message on the nagios mailing list, and i have exactly the same request. I didn't see any answers on the list, so I was wondering if you have found a solution ? regards, Tom. --------------------------------------------------------------------------- Tom Van Overbeke - ABSI Service Delivery Coordinator email: tomvo at absi.be Tel: +32 2 333 40 00 - Fax: +32 2 332 34 69 website: http://www.absi.be --------------------------------------------------------------------------- Dehnert James Sr Sent by: nagios-users-admin at lists.sourceforge.net 10/03/2006 23:29 To: nagios-users at lists.sourceforge.net cc: Subject: [Nagios-users] Event Handlers Most of all of the processes and such I monitor are not on the Nagios server. I do want to be able to use event handlers to try and resolve things before I get paged though, so I am wondering if there is a plug-in that can be used through NCSA or NRPE that will allow me to run an event handler script on a remote system. Thanks, Zeke -- mailto:jdehnert at caymas.com James "Zeke" Dehnert Phone: 707 283 5042 Fax: 707 283 5001 -= Eschew Obfuscation =- "Life is racing, everything else is just waiting" Arrested Development ==>> http://www.the-op.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From simvirus at gmail.com Fri Mar 31 11:47:51 2006 From: simvirus at gmail.com (Sim) Date: Fri, 31 Mar 2006 11:47:51 +0200 Subject: check_load is good? Message-ID: Hi! I'm using check_load with this sintax /usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 This morning I have see ( from RRDTools ) high/100% load for my cpu ( this costant state for approximately 5 hours ). # top top - 11:40:55 up 82 days, 20:12, 2 users, load average: 1.00, 1.07, 1.09 Tasks: 69 total, 3 running, 66 sleeping, 0 stopped, 0 zombie Cpu(s): 96.7% user, 1.0% system, 0.0% nice, 2.3% idle Mem: 1033420k total, 1019868k used, 13552k free, 1448k buffers Swap: 1831400k total, 6368k used, 1825032k free, 79300k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 11426 root 18 0 560m 560m 1204 R 97.3 55.6 82:23.55 vi 17116 root 10 0 964 964 776 R 0.3 0.1 0:00.04 top # /usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 OK - load average: 1.01, 1.05, 1.08|load1=1.010;15.000;30.000;0; load5=1.050;10.000;25.000;0; load15=1.080;5.000;20.000;0; Why check_load can't see this "abouse" of CPU? Thanks. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MThomas at InnovationsTech.com Fri Mar 31 11:53:53 2006 From: MThomas at InnovationsTech.com (InnovationsTech, Matthew Thomas) Date: Fri, 31 Mar 2006 04:53:53 -0500 Subject: check_load is good? Message-ID: This is only checking the load of the box. You have it set to alert when the load gets to 15 or 5 or such. Your load is circa 1.. You would have to use ./check_proc or something of another Am I following correctly? Regards, Matt -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sim Sent: Friday, March 31, 2006 04:48 To: Nagios Users Mailing List Subject: [Nagios-users] check_load is good? Hi! I'm using check_load with this sintax /usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 This morning I have see ( from RRDTools ) high/100% load for my cpu ( this costant state for approximately 5 hours ). # top top - 11:40:55 up 82 days, 20:12, 2 users, load average: 1.00, 1.07, 1.09 Tasks: 69 total, 3 running, 66 sleeping, 0 stopped, 0 zombie Cpu(s): 96.7% user, 1.0% system, 0.0% nice, 2.3% idle Mem: 1033420k total, 1019868k used, 13552k free, 1448k buffers Swap: 1831400k total, 6368k used, 1825032k free, 79300k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 11426 root 18 0 560m 560m 1204 R 97.3 55.6 82:23.55 vi 17116 root 10 0 964 964 776 R 0.3 0.1 0:00.04 top # /usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 OK - load average: 1.01, 1.05, 1.08|load1=1.010;15.000;30.000;0; load5=1.050;10.000;25.000;0; load15=1.080;5.000;20.000;0; Why check_load can't see this "abouse" of CPU? Thanks. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kylet at panix.com Fri Mar 31 12:19:20 2006 From: kylet at panix.com (Kyle Tucker) Date: Fri, 31 Mar 2006 05:19:20 -0500 (EST) Subject: check_snmp truncates load return strings Message-ID: <200603311019.k2VAJK204106@panix1.panix.com> Hi, If I use check_snmp to get the load from Net-SNMP's load directives, all comes back fine until I set -w or -c option. When I use these options, everything after the decimal point gets cut off. If I leave off the options, I get the full numeric value. Thoughts? # check_snmp -t 3 -P 3 -H 192.168.2.1 -L authPriv -U xxxxxx -a MD5 -A yyyyyy -X zzzzzz -o laLoad.1,laLoad.2,laLoad.3 SNMP OK - 0.32 0.38 0.39 | UCD-SNMP-MIB::laLoad.1=0.32;;;; UCD-SNMP-MIB::laLoad.2=0.38;;;; UCD-SNMP-MIB::laLoad.3=0.39;;;; # check_snmp -t 3 -P 3 -H 192.168.2.1 -L authPriv -U xxxxxx -a MD5 -A yyyyyy -X zzzzzz -o laLoad.1,laLoad.2,laLoad.3 -w 1,1,1 -c 2,2,2 SNMP OK - 0 0 0 | UCD-SNMP-MIB::laLoad.1=0;;;; UCD-SNMP-MIB::laLoad.2=0;;;; UCD-SNMP-MIB::laLoad.3=0;;;; # check_snmp -vvv -t 3 -P 3 -H 192.168.2.1 -L authPriv -U xxxxxx -a MD5 -A yyyyyy -X zzzzzz -o laLoad.1,> /usr/local/bin/snmpget -t 3 -r 5 -m ALL -v 3 -l authPriv -a MD5 -u xxxxxx -A yyyyyy -x DES -X zzzzzz 192.168.2.1:161 laLoad.1 laLoad.2 laLoad.3 UCD-SNMP-MIB::laLoad.1 = STRING: 0.37 UCD-SNMP-MIB::laLoad.2 = STRING: 0.39 UCD-SNMP-MIB::laLoad.3 = STRING: 0.39 SNMP OK - 0 0 0 | UCD-SNMP-MIB::laLoad.1=0;;;; UCD-SNMP-MIB::laLoad.2=0;;;; UCD-SNMP-MIB::laLoad.3=0;;;; -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sameka.Prather at noaa.gov Fri Mar 31 14:34:44 2006 From: Sameka.Prather at noaa.gov (Sameka Prather) Date: Fri, 31 Mar 2006 07:34:44 -0500 Subject: Error when starting nagios In-Reply-To: <1143751084.14065.18.camel@chi101100.int.tt.local> References: <442BEC69.1090204@vegait.com.br> <442C410D.3020500@noaa.gov> <1143751084.14065.18.camel@chi101100.int.tt.local> Message-ID: <442D21E4.1090509@noaa.gov> I am not sure what you mean. Do you want me to add -s to the first line in the script #! -x? So that line would look like #! /bin/sh -x. Thank you, Sameka Prather Office of Internet Services sameka.prather at noaa.gov 301-713-1384 x 109 jeff vier wrote: > On Thu, 2006-03-30 at 15:35 -0500, Sameka Prather wrote: > >> When I start nagios I get the following error but it seem to start fine. >> Starting network monitor: nagios >> This account is currently not available. >> PID TTY TIME CMD >> 2953? 00:00:00 nagios >> >> Can any one tell me what this mean? Like I said, is working fine but I >> get this error when I restart or start the service. >> > > Add " -x" to your #! line and look at where it's happening in the > script. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kylet at panix.com Fri Mar 31 16:14:40 2006 From: kylet at panix.com (Kyle Tucker) Date: Fri, 31 Mar 2006 09:14:40 -0500 (EST) Subject: check_snmp truncates load return strings In-Reply-To: References: Message-ID: <200603311414.k2VEEeN17541@panix3.panix.com> Trying to debug this with gdb didn't help as it acts properly using gdb. Why would this happen? Program exited normally. (gdb) run check_snmp -u "load average" -t 3 -P 3 -H 192.168.2.1 -L authPriv -U xxxxxx -a MD5 -A yyyyyy -X zzzzzz -o laLoad.2 Starting program: /usr/local/nagios/libexec/check_snmp check_snmp -u "load average" -t 3 -P 3 -H 192.168.2.1 -L authPriv -U xxxxxx -a MD5 -A yyyyyy -X zzzzzz -o laLoad.2 SNMP OK - 0.04 load average | UCD-SNMP-MIB::laLoad.2=0.04;;;; ^^^^ Program exited normally. vwatch# /usr/local/nagios/libexec/check_snmp -u "load average" -t 3 -P 3 -H 192.168.2.1 -L authPriv -U xxxxxx -a MD5 -A yyyyyy -X zzzzzz -o laLoad.2 SNMP OK - 0 load average | UCD-SNMP-MIB::laLoad.2=0;;;; ^^^ > Hi, > If I use check_snmp to get the load from Net-SNMP's load > directives, all comes back fine until I set -w or -c option. When > I use these options, everything after the decimal point gets cut > off. If I leave off the options, I get the full numeric value. > Thoughts? > > # check_snmp -t 3 -P 3 -H 192.168.2.1 -L authPriv -U xxxxxx -a MD5 -A yyyyyy -X zzzzzz -o laLoad.1,laLoad.2,laLoad.3 > SNMP OK - 0.32 0.38 0.39 | UCD-SNMP-MIB::laLoad.1=0.32;;;; UCD-SNMP-MIB::laLoad.2=0.38;;;; UCD-SNMP-MIB::laLoad.3=0.39;;;; > # check_snmp -t 3 -P 3 -H 192.168.2.1 -L authPriv -U xxxxxx -a MD5 -A yyyyyy -X zzzzzz -o laLoad.1,laLoad.2,laLoad.3 -w 1,1,1 -c 2,2,2 > SNMP OK - 0 0 0 | UCD-SNMP-MIB::laLoad.1=0;;;; UCD-SNMP-MIB::laLoad.2=0;;;; UCD-SNMP-MIB::laLoad.3=0;;;; > # check_snmp -vvv -t 3 -P 3 -H 192.168.2.1 -L authPriv -U xxxxxx -a MD5 -A yyyyyy -X zzzzzz -o laLoad.1,> > /usr/local/bin/snmpget -t 3 -r 5 -m ALL -v 3 -l authPriv -a MD5 -u xxxxxx -A yyyyyy -x DES -X zzzzzz 192.168.2.1:161 laLoad.1 laLoad.2 laLoad.3 > UCD-SNMP-MIB::laLoad.1 = STRING: 0.37 > UCD-SNMP-MIB::laLoad.2 = STRING: 0.39 > UCD-SNMP-MIB::laLoad.3 = STRING: 0.39 > SNMP OK - 0 0 0 | UCD-SNMP-MIB::laLoad.1=0;;;; UCD-SNMP-MIB::laLoad.2=0;;;; UCD-SNMP-MIB::laLoad.3=0;;;; > > -- > - Kyle > --------------------------------------------- > kylet at panix.com http://www.panix.com/~kylet > --------------------------------------------- > -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Fri Mar 31 16:49:41 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Fri, 31 Mar 2006 08:49:41 -0600 Subject: Error when starting nagios In-Reply-To: <442D21E4.1090509@noaa.gov> References: <442BEC69.1090204@vegait.com.br> <442C410D.3020500@noaa.gov> <1143751084.14065.18.camel@chi101100.int.tt.local> <442D21E4.1090509@noaa.gov> Message-ID: <1143816581.14065.35.camel@chi101100.int.tt.local> On Fri, 2006-03-31 at 07:34 -0500, Sameka Prather wrote: > I am not sure what you mean. Do you want me to add -s to the first > line in the script #! -x? So that line would look like #! /bin/sh -x. without the space after the #!, yes. #!/bin/sh -x a quick google search found: http://www.injunea.demon.co.uk/pages/page213.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: From boinger at tradingtechnologies.com Fri Mar 31 17:00:38 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Fri, 31 Mar 2006 09:00:38 -0600 Subject: Event broker causing graph gaps? Message-ID: <1143817238.14065.45.camel@chi101100.int.tt.local> I've experimented with the cause/effect relationship of the NDO utils running as the event broker, and I can say positively that it is "causing" my service graphs to have lots of gaps for checks that write metrics to RRD files. I'm honestly at a loss as to why, though. The load hasn't gone up on the nagios server (if anything, it's gone down a bit). The MySQL backend is very comfy (low load, again). All rrd writes are done *within* the plugin (both with an apan wrapper and custom scripts). Yet, the checks appear to be happening (alerts are still going out, etc). Definitely perplexing. Any ideas? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: From rarmistead at datanamicsinc.com Fri Mar 31 18:00:29 2006 From: rarmistead at datanamicsinc.com (Armistead, Raffy) Date: Fri, 31 Mar 2006 08:00:29 -0800 Subject: Nagios 'Out Of Memory' Problems Message-ID: It appears that the problem is still happening. With all the changes I have made it had lasted a while longer going from 1-2 days up to 4 days this time. I had perfparse enabled previously but I decided to disable that since I didn't need it. Does anyone else have any sugguestions on what else I could try to fix the problem? Thanks. Raffy Armistead, CCNP, CCSP Datanamics, Inc 702-697-2289 -----Original Message----- From: Armistead, Raffy Sent: Saturday, March 25, 2006 11:54 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios 'Out Of Memory' Problems Thanks for the information. I have added the lines to the init script and I will monitor the server to see if it still occurs. I had also changed the max_concurrent_checks to 50 from 100 and changed service_reaper_frequency from 2 to 1. This was done on all servers. I also set process_performance_data from 1 to 0 to disable it from running in hopes to eliminate more processes. I was wondering will this process get executed when running the external command to reboot the server from the webpage. If it isn't is there anything I can change for it to do so? Also what type of computer should the main central server be running for 7000 devices (1 service each). We haven't added more devices to the Nagios server since the problem has been happening but we expect to add another 1000 once the problem is corrected and another 1000 or so throughout the rest of the year. I doubt the computer I had running now is adequate for the job so I would like to move it to a more powerful system. Currently I have a 2.4 Celeron PC with 2 GB of RAM running on the main server. What system should I get to properly handle this many devices? The individual servers are running the same thing and don't seem to have problems but should these be upgraded as well? I am planning on installing Fedora for the OS and had installed everything as a package with the current setup. To eliminate more processes can someone tell me what packages should I have installed to get Nagios, NSCA and Apache working properly without anything else. I am sure there might be a better flavor of Linux to run Nagios but we have already standarized using RedHat and Fedora for the OS. Thanks again for the information and hopefully this will resolve my problem. Raffy -----Original Message----- From: Stephen Barron [mailto:thurgoodj187 at gmail.com] Sent: Fri 3/24/2006 9:56 PM To: nagios-users at lists.sourceforge.net Cc: Subject: Re: [Nagios-users] Nagios 'Out Of Memory' Problems Hi I had this problem also, and in our case it was NCSA that was filling up the memory on the Nagios Central Server. We noticed the problem increasingly after we installed perfparse, which attempts (poorly) to stop and restart the nagios process. The nagios process has to be running or the nsca instances will never get processed, and therefore stay in memory. I setup a simple process check for nsca and we shoed at some points 11000+ instances of NCSA, right before having to go to our data center and give it the old hard reboot. We use authorized keys and check_by_ssh to run local checks on the nagios Central Server, athough a snmp script would also work well. I would suggest adding a line to your init script for nagios to stop and start ncsa along with nagios. ex. start) echo "Starting network monitor: nagios" $NagiosBin -v $NagiosCfgFile > /dev/null 2>&1; if [ $? -eq 0 ]; then su - $NagiosUser -c "touch $NagiosVarDir/nagios.log $NagiosRetentionFile" rm -f $NagiosCommandFile touch $NagiosRunFile chown $NagiosUser:$NagiosGroup $NagiosRunFile $NagiosBin -d $NagiosCfgFile if [ -d $NagiosLockDir ]; then touch $NagiosLockDir/$NagiosLockFile; fi #sleep 1 #status_nagios nagios /usr/local/nagios/bin/nsca -c /usr/local/nagios/etc/nsca.cfg -d exit 0 else echo "CONFIG ERROR! Start aborted. Check your Nagios configuration." exit 1 fi ;; killproc_nagios () { if test ! -f $NagiosRunFile; then echo "No lock file found in $NagiosRunFile" return 1 fi NagiosPID=`head -n 1 $NagiosRunFile` kill $2 $NagiosPID killall -9 nsca } Good Luck Steve On 3/24/06, Marco Ramos wrote: > > Hi, > > I had some out of memory and forking problems a while ago. After some > debugging I've tunned some parameters, namely service_reaper_frequency > and max_concurrent_checks. > > Maybe this URL will help you: http://www.nagios.org/faqs/viewfaq.php? > faq_id=115 > > HTH, > Marco Ramos > > On Thu, 2006-03-23 at 13:51 -0800, Armistead, Raffy wrote: > > I am not sure exactly what process is causing it to run out of memory. > > Since I have it as a dedicated Nagios system I would imagine it is > > Nagios that is causing a problem. This occurred when we had about > > 4000 devices but very seldom and it wasn't much of an issue then. > > Now that we almost have 7000 devices that are being monitored it is > > happening more frequently. Since this was the case I had assumed it > > was Nagios but didn't know how to go about fixing the problem. > > > > I do not know that much about Linux so I am not sure how to go about > > setting that up. How do I setup ulimits for memory utilization? What > > steps would I go about to monitor memory utilization for the Nagios > > server? > > > > I had checked the nagios.cfg file and I do have that setting at -1: > > > > command_check_interval=-1 > > > > > > I appreciate any help. Thanks. > > > > Raffy > > > > -----Original Message----- > > From: Marc Powell [mailto:marc at ena.com] > > Sent: Thursday, March 23, 2006 11:12 AM > > To: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Nagios 'Out Of Memory' Problems > > > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users- admin at lists.sourceforge.net] On Behalf Of > > > Armistead, Raffy > > > Sent: Thursday, March 23, 2006 12:23 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Nagios 'Out Of Memory' Problems > > > > > > I have a problem with my Nagios server constantly crashing. It > > > keeps outputting on the screen Out of Memory errors which causes > > > loss of > > access > > > to the server. I can ping the box but I cannot SSH or web into it > > > to > > view > > > any information. This has been happening increasingly more lately. > > > Now > > it > > > is about every 2-3 days that this is occurring. We have been > > > adding > > more > > > and more devices to the servers and this problem has been > > > increasing > > as > > > this occurs. This is how I have it set up. > > > > > > > > > > > > I have a Main Nagios server that is running the latest 2.0 > > > (stable) > > Nagios > > > release. It is monitoring about 6800 devices but it is not > > > actively checking the devices. Its main role is to provide a web > > > interface and receive passive polls from three other servers which do the polling. > > The > > > main server also does email notifications when a device goes down. > > > The server sends about 30-40 emails a day. I am using NSCA 2.5 > > > between the server and the client Nagios servers. I am only > > > monitoring one service > > for > > > each device which is either TCP or ping depending on the device. > > Mostly > > > all devices are monitored with TCP (roughly 6000). The rest are > > monitored > > > with ping. The individual servers are pretty evenly spread with > > > the > > number > > > of devices. They are about 2000-2500 each. > > > > > > Can someone please help me in resolving this problem? Thanks > > > > Have you determined what process is using the memory? One of the > > first steps you should take is to set appropriate ulimits for memory > > utilization for that user so that it doesn't bring down the server. > > I would configure nagios to monitor memory on that server then use > > top or ps to identify the process(es) using the allocated memory > > when memory utilization is high. That will provide better direction > > for troubleshooting rather than simply that the machine is crashing > > due to memory exhaustion. The nagios deamon itself isn't going to be > > using a lot of RAM (10M on my box with 3400 passive services). > > > > My somewhat unfounded guess is that perhaps nagios isn't reaping the > > results from NSCA frequently enough so you're having a backlog of > > ncsa processes. Each process uses just a little memory but if you > > have thousands of them then it adds up. I've personally experienced > > this on a machine that was experiencing disk problems. If this is > > the case, beyond a hardware problem or capacity issue, I'd verify > > that your command_check_interval is set to -1 to make sure that > > nagios is checking the external command file as quickly as it can. > > > > -- > > Marc > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language that extends applications into web and mobile media. Attend > > the live webcast and join the prime developer group breaking into > > this new coding territory! > > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 xPML, a groundbreaking scripting > > language that extends applications into web and mobile media. Attend > > the live webcast and join the prime developer group breaking into this new coding territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 xPML, a groundbreaking scripting > language that extends applications into web and mobile media. Attend > the live webcast and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=1216 > 42 _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Steve ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bill-carlson at uiowa.edu Fri Mar 31 18:04:07 2006 From: bill-carlson at uiowa.edu (Bill Carlson) Date: Fri, 31 Mar 2006 10:04:07 -0600 (CST) Subject: Service Contact and Templates Message-ID: Hey all, I've got a question related to Nagios 1.3 (running Sarge), templates and service contact groups. I'd like to be able to template all services to have the same contact_group as the associated host (hostgroup). Any tricks to do that? >From what I'm seeing I'm stuck defining the contact per service. Thanks, Bill Carlson -- Systems Administrator bill-carlson at uiowa.edu | Anything is possible, HCIS | given time and money. University of Iowa Hospitals and Clinics | Opinions are mine, not my employer's. | ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Mar 31 18:41:06 2006 From: marc at ena.com (Marc Powell) Date: Fri, 31 Mar 2006 10:41:06 -0600 Subject: check_load is good? Message-ID: Yep, you're right on. The OP would need to use something like -- check_procs -m CPU -w 80 -c 90 That would warn if any process exceeded 80% cpu and show critical if it exceeded 90%. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of InnovationsTech, Matthew Thomas > Sent: Friday, March 31, 2006 3:54 AM > To: Sim; Nagios Users Mailing List > Subject: RE: [Nagios-users] check_load is good? > > This is only checking the load of the box. You have it set to alert when > the load gets to 15 or 5 or such. Your load is circa 1.. > > You would have to use ./check_proc or something of another > > Am I following correctly? > > Regards, > Matt > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sim > Sent: Friday, March 31, 2006 04:48 > To: Nagios Users Mailing List > Subject: [Nagios-users] check_load is good? > > Hi! I'm using check_load with this sintax > > /usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 > > This morning I have see ( from RRDTools ) high/100% load for my cpu ( > this costant state for approximately 5 hours ). > > # top > top - 11:40:55 up 82 days, 20:12, 2 users, load average: 1.00, 1.07, > 1.09 > Tasks: 69 total, 3 running, 66 sleeping, 0 stopped, 0 zombie > Cpu(s): 96.7% user, 1.0% system, 0.0% nice, 2.3% idle > Mem: 1033420k total, 1019868k used, 13552k free, 1448k buffers > Swap: 1831400k total, 6368k used, 1825032k free, 79300k cached > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > 11426 root 18 0 560m 560m 1204 R 97.3 55.6 82:23.55 vi > 17116 root 10 0 964 964 776 R 0.3 0.1 0:00.04 top > > > > # /usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 > OK - load average: 1.01, 1.05, 1.08|load1=1.010;15.000;30.000;0; > load5=1.050;10.000;25.000;0; load15=1.080;5.000;20.000;0; > > > Why check_load can't see this "abouse" of CPU? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravikmrs at yahoo.com Fri Mar 31 19:41:06 2006 From: ravikmrs at yahoo.com (Ravi Kumar) Date: Fri, 31 Mar 2006 09:41:06 -0800 (PST) Subject: Socket error: Connection reset by peer Message-ID: <20060331174106.79671.qmail@web53909.mail.yahoo.com> I have been getting "Socket error: Connection reset by peer " on Linux machine.I cheked other check like http etc are working fine. Please suggest. Thanks Ravi --------------------------------- New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shoktai at gmail.com Fri Mar 31 20:26:51 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Fri, 31 Mar 2006 20:26:51 +0200 Subject: Event Handlers In-Reply-To: References: Message-ID: <619cf3c0603311026y7193b042ha81eea0730ed9af8@mail.gmail.com> It really depends on what you are trying to resolve. I am using eventhandlers with nrpe when a windows' service is down so i can make it starts. That happens -not so often hopefully- with servers that are rebooting due to power failure : the Exchange Information Store service for instance is not always up automatically (strange but still...), so with a windows shell script i managed to get ride of users complains about not being able to get their emails. You can write short scripts in perl, vbscript, shell bash, whatever. You have to know exactly how to react when problems arise and that the tricky part beyond handling Nagios configuration. I am newbie and would appreciate others feedback about how they use eventhandlers, cause that's nagios power to respond to problems...the so called proactive monitoring. 2006/3/31, tomvo at absi.be : > > Hi James, > > > I just came accross your message on the nagios mailing list, and i have > exactly the same request. > > I didn't see any answers on the list, so I was wondering if you have found > a solution ? > > > regards, > Tom. > > > --------------------------------------------------------------------------- > Tom Van Overbeke - ABSI Service Delivery Coordinator > email: tomvo at absi.be > Tel: +32 2 333 40 00 - Fax: +32 2 332 34 69 > website: http://www.absi.be > > --------------------------------------------------------------------------- > > > > > > Dehnert James Sr > Sent by: nagios-users-admin at lists.sourceforge.net > 10/03/2006 23:29 > > To: nagios-users at lists.sourceforge.net > cc: > Subject: [Nagios-users] Event Handlers > > > Most of all of the processes and such I monitor are not on the Nagios > server. I do want to be able to use event handlers to try and > resolve things before I get paged though, so I am wondering if there > is a plug-in that can be used through NCSA or NRPE that will allow me > to run an event handler script on a remote system. > > Thanks, > Zeke > > -- > mailto:jdehnert at caymas.com James "Zeke" Dehnert > Phone: 707 283 5042 Fax: 707 283 5001 > -= Eschew Obfuscation =- > "Life is racing, everything else is just waiting" > Arrested Development ==>> http://www.the-op.com > > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Fri Mar 31 20:59:05 2006 From: marc at ena.com (Marc Powell) Date: Fri, 31 Mar 2006 12:59:05 -0600 Subject: Socket error: Connection reset by peer Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Ravi Kumar > Sent: Friday, March 31, 2006 11:41 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Socket error: Connection reset by peer > > I have been getting "Socket error: Connection reset by peer " on Linux > machine.I cheked other check like http etc are working fine. > Please suggest. Look at the program that's supposed to be answering on the port that you are checking and determine why it's closing the connection. If you'd like more specific advice, provide more specific information. Include the troubleshooting that you've already done to diagnose/correct the problem. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kylet at panix.com Fri Mar 31 22:17:45 2006 From: kylet at panix.com (Kyle Tucker) Date: Fri, 31 Mar 2006 15:17:45 -0500 (EST) Subject: multiple parents Message-ID: <200603312017.k2VKHjG12201@panix3.panix.com> Hi, At out colocation site, the systems I am monitoring have two border routers by which they can get out, so both of these would need to be down for me to not want to monitor hosts and services beyond these. Is this where comma separated parent hosts would come into play? If not, how would I set that up? And what would multiple parent hosts be defining? I think a parent of a parent would be outlined in that parents' parents directive. Thanks. -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Mar 31 23:32:30 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 31 Mar 2006 13:32:30 -0800 Subject: multiple parents In-Reply-To: <200603312017.k2VKHjG12201@panix3.panix.com> References: <200603312017.k2VKHjG12201@panix3.panix.com> Message-ID: <20060331213230.GD18594@hermes.americas.hpqcorp.net> Sounds like you have a pretty firm grip on it already. multiple parents (and parents of parents) work exactly how you describe. On Fri, 31 Mar 2006, Kyle Tucker wrote: > Hi, > At out colocation site, the systems I am monitoring > have two border routers by which they can get out, so both > of these would need to be down for me to not want to monitor > hosts and services beyond these. Is this where comma separated > parent hosts would come into play? If not, how would I set > that up? And what would multiple parent hosts be defining? I > think a parent of a parent would be outlined in that parents' > parents directive. Thanks. > > -- > - Kyle > --------------------------------------------- > kylet at panix.com http://www.panix.com/~kylet > --------------------------------------------- > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null