From MJoyce at ccia.unsw.edu.au Thu Mar 1 01:39:49 2007 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Thu, 1 Mar 2007 11:39:49 +1100 Subject: [Fwd: Re: Service Dependencies - How do you doyours?] Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6A01DA6058@mail01.ccia.local> I prefixed the serviced which depended on an SNMP service "SNMP -", then I cobbled a python script to search for those services. It outputs a single service_dependency_HOSTNAME_SNMP file which I put in a service_dependencies folder. Each time I add a server or service I run this script and pass the host name to it. It works well, I'll probably do the same for NRPE. The only thing that stops me sharing the script is that it's a real kludge and once it worked I stopped working on it. Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Andy Shellam (Mailing Lists) Sent: Thursday, 1 March 2007 2:17 AM To: Nagios Users Mailing List Subject: [Nagios-users] [Fwd: Re: Service Dependencies - How do you doyours?] For anyone else that's interested in this, I've raised as a project on Nagios Exchange. Hopefully should have something up over the weekend! http://www.nagiosexchange.org/Configuration.20.0.html?&tx_netnagext_pi1[ p_view]=882&tx_netnagext_pi1[page]=10%3A10 Andy. -------- Original Message -------- Subject: Re: [Nagios-users] Service Dependencies - How do you do yours? Date: Wed, 28 Feb 2007 15:02:09 +0000 From: Andy Shellam (Mailing Lists) To: Hari Sekhon CC: Nagios Users mailinglist References: <45E594FB.9070006 at googlemail.com> Hari, I have this exact problem (raised it a few weeks ago.) I've got it on my to-do list to create a shell script (probably PHP) that will create a service_dependencies.cfg file for you with each host and it's NRPE services. I'll try and get round to it this weekend and post on Nagios Exchange. I'll probably even post it as a page on my webserver so you won't have to have PHP locally. HTH Andy. Hari Sekhon wrote: > Hi, > I'm using NRPE to check a lot of things, but it occurs to me that if > nrpe goes down, I will receive a storm of emails about all the things > that it checks. > > So I want to create service_dependencies which say, for example, "all > Ram checks must depend on check serviceX on the same host" where > "serviceX" is also an nrpe check that always succeeds. > Therefore, if NRPE breaks for any reason, it should only alert me once > for serviceX > > Of course, I'm not sure this could be done in a very easily templated > way. I've had a look at the templating docs again but it seems to me > that group hosts or service together will create a lattice of > dependencies across hosts or services which will probably mean that any > broken service on any host will prevent all dependent services from > sending notifications for any other host. > > Any ideas on this? > > -h > > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null !DSPAM:37,45e599b7103001596114515! -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle at caosdigital.com Thu Mar 1 10:11:50 2007 From: kyle at caosdigital.com (kyle) Date: Thu, 1 Mar 2007 10:11:50 +0100 Subject: nagiosgraph render issue Message-ID: <20070301091150.GA16221@pulsar> Hi folks, I'm having issues generating graphics with nagiosgraph - the installation is more or less OK but graphics show in a bizarre way ; for example below you'll find 2 graphs related to load in 2 linux servers : http://caosdigital.com/rrd-load-server1.png http://caosdigital.com/rrd-load-server2.png It seems the data isn't collected, but it is (checked in the nagiosgraph.log). My concern now is the gap between checks (10 mins), perhaps nagiosgraph is droping/unable to display such distant data. As a workaround I've lowered check interval to 90 secs (waiting to see what happens). I'm having the same issue with other services (free disk space, # of process, whatever). Any idea will be greatly appreciated :-) -- Hoy es Domingo, 1 de Enero de 1984. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Mar 1 10:39:34 2007 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Thu, 1 Mar 2007 10:39:34 +0100 Subject: nagiosgraph render issue Message-ID: Hej Kyle What version of rrdtool you use What version of Nagios Nagios.cfg ? process_performance_data=1 service_perfdata_file=/var/log/nagios/perfdata.log service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDES C$||$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 What happened when you do a tail -f /pathtothe/nagiosgraph.log ? Output ? There you can see whats happened like .... "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" Regards /J?rg -----Ursprungligt meddelande----- Fr?n: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] F?r kyle at caosdigital.com Skickat: den 1 mars 2007 10:12 Till: nagios-users at lists.sourceforge.net ?mne: [Nagios-users] nagiosgraph render issue Hi folks, I'm having issues generating graphics with nagiosgraph - the installation is more or less OK but graphics show in a bizarre way ; for example below you'll find 2 graphs related to load in 2 linux servers : http://caosdigital.com/rrd-load-server1.png http://caosdigital.com/rrd-load-server2.png It seems the data isn't collected, but it is (checked in the nagiosgraph.log). My concern now is the gap between checks (10 mins), perhaps nagiosgraph is droping/unable to display such distant data. As a workaround I've lowered check interval to 90 secs (waiting to see what happens). I'm having the same issue with other services (free disk space, # of process, whatever). Any idea will be greatly appreciated :-) -- Hoy es Domingo, 1 de Enero de 1984. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.4/705 - Release Date: 2007-02-27 15:24 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.4/705 - Release Date: 2007-02-27 15:24 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle at caosdigital.com Thu Mar 1 10:40:23 2007 From: kyle at caosdigital.com (kyle) Date: Thu, 1 Mar 2007 10:40:23 +0100 Subject: nagiosgraph render issue In-Reply-To: <20070301091150.GA16221@pulsar> References: <20070301091150.GA16221@pulsar> Message-ID: <20070301094023.GA17105@pulsar> On Thu, Mar 01, 2007 at 10:11:50AM +0100, kyle wrote: > > Hi folks, > > I'm having issues generating graphics with nagiosgraph - the installation is > more or less OK but graphics show in a bizarre way ; for example below > you'll find 2 graphs related to load in 2 linux servers : > > http://caosdigital.com/rrd-load-server1.png > http://caosdigital.com/rrd-load-server2.png I've dumped the data actually stored in the .rrd files (with rrdtool dump) and I get funny stuff : NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN [...] 1.0000000000e-02 1.0000000000e-02 0.0000000000e+00 1.0000000000e-02 1.0000000000e-02 0.0000000000e+00 I'm pretty sure the regexp in the nagiosgraph 'map' file works (it's the default), so I'm unsure why data doesn't get properly stored. Any ideas here? (load for that server is pretty low, less than 0.1) -- Hoy es Domingo, 1 de Enero de 1984. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle at caosdigital.com Thu Mar 1 11:04:45 2007 From: kyle at caosdigital.com (kyle) Date: Thu, 1 Mar 2007 11:04:45 +0100 Subject: nagiosgraph render issue In-Reply-To: References: Message-ID: <20070301100445.GA17160@pulsar> On Thu, Mar 01, 2007 at 10:39:34AM +0100, Jorg.Schulz at systeam.se wrote: > Hej Kyle Hi Jorg, thanks for the reply :-) > What version of rrdtool you use > What version of Nagios nagios 2.4 and rrdtool 1.0.49-1 > 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 yes, exactly like this > and this in command.cfg yup > define command{ > command_name process-service-perfdata > command_line /usr/local/nagios/nagiosgraph/insert.pl > > > What happened when you do a tail -f /pathtothe/nagiosgraph.log ? Output ? > There you can see whats happened like > .... > "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" no, the graphics get rendered, but output is b0rked... don't really know why the rrd DB is properly populated -- Hoy es Domingo, 1 de Enero de 1984. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From narendran.neelamegam at wipro.com Thu Mar 1 11:16:56 2007 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Thu, 1 Mar 2007 15:46:56 +0530 Subject: Nagios Alert integration with EMC Smarts References: <20070301100445.GA17160@pulsar> Message-ID: Hi, Has any one integrated Nagios alerts with EMC Smarts. Which approach should be taken to ensure that we can bring this integration out of the box. To my mind I see two adapters. SNMP Trap and Syslog adapter. Which of these will be out of the box without much effort to the Nagios/Smarts guy. Thanks and Regards, Narendran Neelamegam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwolfe at shatterit.com Thu Mar 1 11:36:49 2007 From: rwolfe at shatterit.com (Robert Wolfe) Date: Thu, 1 Mar 2007 05:36:49 -0500 Subject: Windows Process Checking Message-ID: <20070301053649.2f57681f.rwolfe@shatterit.com> I downloaded the wincheck_counter plugin from nagiosexchange.org. However, I only noticed a .dll file and an .exe file. I am assuming that these will not work under *NIX installations of Nagios? If not, is there a plugin comparable to this for running on *NIX-based Nagios configurations? -- Robert Wolfe (MCP/Linux+) http://www.shatterit.com Linux: Improvise! Adapt! Overcome! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwolfe at shatterit.com Thu Mar 1 11:42:28 2007 From: rwolfe at shatterit.com (Robert Wolfe) Date: Thu, 1 Mar 2007 05:42:28 -0500 Subject: Fw: Windows Process Checking Message-ID: <20070301054228.0e5d09e7.rwolfe@shatterit.com> 1.0x and 2.x versions of Nagios. Begin forwarded message: Date: Thu, 1 Mar 2007 05:36:49 -0500 From: Robert Wolfe To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Windows Process Checking I downloaded the wincheck_counter plugin from nagiosexchange.org. However, I only noticed a .dll file and an .exe file. I am assuming that these will not work under *NIX installations of Nagios? If not, is there a plugin comparable to this for running on *NIX-based Nagios configurations? -- Robert Wolfe (MCP/Linux+) http://www.shatterit.com Linux: Improvise! Adapt! Overcome! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Robert Wolfe (MCP/Linux+) http://www.shatterit.com Linux: Improvise! Adapt! Overcome! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Mar 1 11:59:35 2007 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Thu, 1 Mar 2007 11:59:35 +0100 Subject: nagiosgraph render issue Message-ID: On Thu, Mar 01, 2007 at 10:39:34AM +0100, Jorg.Schulz at systeam.se wrote: > Hej Kyle Hi Jorg, thanks for the reply :-) > What version of rrdtool you use > What version of Nagios nagios 2.4 and rrdtool 1.0.49-1 > Hm, your rrdtool is a little bit old RRDtool 1.2.18 is the what i use > Nagios.cfg ? > > process_performance_data=1 > service_perfdata_file=/var/log/nagios/perfdata.log > service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDES C$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ > service_perfdata_file_mode=a > service_perfdata_file_processing_interval=30 > service_perfdata_file_processing_command=process-service-perfdata yes, exactly like this > and this in command.cfg yup > define command{ > command_name process-service-perfdata > command_line /usr/local/nagios/nagiosgraph/insert.pl > > > What happened when you do a tail -f /pathtothe/nagiosgraph.log ? Output ? > There you can see whats happened like > .... > "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" no, the graphics get rendered, but output is b0rked... don't really know why the rrd DB is properly populated > can you create the graph by hand (see my example) /usr/bin/rrdtool graph - --start 1170645140 --end 1170659540 --height 100 --width 500 --imgformat PNG --vertical-label "" --title "MailQueue" --lower=0 DEF:var1=/usr/local/nagios/share/perfdata/NAGIOS/MAILQ.rrd:1:AVERAGE AREA:var1#EACC00:"users " LINE1:var1#000000:"" GPRINT:var1:LAST:"%3.4lf %s LAST " GPRINT:var1:MAX:"%3.4lf %s MAX " GPRINT:var1:AVERAGE:"%3.4lf %s AVERAGE \n" HRULE:75#FFFF00:"Warning on 75\n" HRULE:150#FF0000:"Critical on 150\n" COMMENT:"Default Template\r" COMMENT:"Check Command check_local_users\r" /j?rg -- Hoy es Domingo, 1 de Enero de 1984. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.4/705 - Release Date: 2007-02-27 15:24 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.4/705 - Release Date: 2007-02-27 15:24 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Mar 1 12:09:02 2007 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Thu, 1 Mar 2007 12:09:02 +0100 Subject: Windows Process Checking Message-ID: Hi The wincheck_counter plugin has to be on a w2k or 2003 box. The plugin to get the information is check_nrpe from the Linux/unix site. If you want to get info from remote hosts (linux) you need a NRPE or via SNMP Example Here are some samples of monitoring stuff you can do with the counter. [quote]# General Health command[check_gen_sut]=C:\winnt\wincheck\wincheck_counter -C "System" -P "System Up Time" -f "System Up Time is %f Seconds" command[check_gen_prq]=C:\winnt\wincheck\wincheck_counter -C "System" -P "% Registry Quota in use" -w 75 -c 85 -f "Registry Quota in use is %f%%" # Processor Health command[check_proc_tpt]=C:\winnt\wincheck\wincheck_counter -C "Processor" -I "_Total" -P "% Processor Time" -w 70 -c 85 -f "Processor Time is %f%%" command[check_proc_pql]=C:\winnt\wincheck\wincheck_counter -C "System" -P "Processor Queue Length" -w 80 -c 90 -f "Processor Queue Length is %f" command[check_proc_ppt]=C:\winnt\wincheck\wincheck_counter -C "Processor" -I "_Total" -P "% Privileged Time" -w 20 -c 25 -f "Processor Privileged Time is %f%%" command[check_proc_dpt]=C:\winnt\wincheck\wincheck_counter -C "Processor" -I "_Total" -P "% DPC Time" -w 40 -c 50 -f "Deferred Procedure calls is %f%%" # Memory Health command[check_mem_pps]=C:\winnt\wincheck\wincheck_counter -C "Memory" -P "Pages/sec" -c 50 -w 25 -f "Pages per second is %f" command[check_mem_fps]=C:\winnt\wincheck\wincheck_counter -C "Memory" -P "Page Faults/sec" -w 50 -c 100 -f "Page Faults per second is %f" command[check_mem_pfu]=C:\winnt\wincheck\wincheck_counter -C "Paging File" -I "_Total" -P "% Usage" -w 65 -c 71 -f "Paging File Usage is %f%%" # Disk Health command[check_disk_c]=C:\winnt\wincheck\wincheck_counter -C "LogicalDisk" -I "C:" -P "% Free Space" -w 20 -c 10 -f "Disk C is %f%% free." command[check_disk_pdt]=C:\winnt\wincheck\wincheck_counter -C "PhysicalDisk" -I "_Total" -P "% Disk Time" -w 40 -c 50 -f "%% Disk Time is %f" command[check_disk_rql]=C:\winnt\wincheck\wincheck_counter -C "PhysicalDisk" -I "_Total" -P "Avg. Disk Read Queue Length" -w 1 -c 2 -f "Avg. Read Queue Length is %f" command[check_disk_wql]=C:\winnt\wincheck\wincheck_counter -C "PhysicalDisk" -I "_Total" -P "Avg. Disk Write Queue Length" -w 1 -c 2 -f "Avg. Write Queue Length is %f" # Exchange 5.5 command[msexchangeimc_que_out]=C:\winnt\wincheck\wincheck_counter -C "MSExchangeIMC" -P "Queued Outbound" -w 200 -c 250 -f "Queued Outbound is %f Emails Waiting for Delivery" [/quote] Checkcommands.cfg define command { command_name check_nrpe command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } Services.cfg (examples) define service { host_name exchange service_description check_disk_c check_command check_nrpe!check_disk_c use generic-service max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 check_period 24x7 notification_interval 0 notification_period 24x7 notification_options w,u,c,r contact_groups admins } Regards /J?rg I downloaded the wincheck_counter plugin from nagiosexchange.org. However, I only noticed a .dll file and an .exe file. I am assuming that these will not work under *NIX installations of Nagios? If not, is there a plugin comparable to this for running on *NIX-based Nagios configurations? -- Robert Wolfe (MCP/Linux+) http://www.shatterit.com Linux: Improvise! Adapt! Overcome! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.4/705 - Release Date: 2007-02-27 15:24 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.4/705 - Release Date: 2007-02-27 15:24 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From c.mies at itnovum.de Thu Mar 1 12:39:35 2007 From: c.mies at itnovum.de (Mies, Christian) Date: Thu, 1 Mar 2007 12:39:35 +0100 Subject: SOLVED: nsclient++ and nrpe commands Message-ID: <1160D06701B0154985D72DA43FE3D33AA7DF6E@srvcom02.master.dns> It was an issue in NSC.INI on my Client. thanks for support! Mit freundlichem Gru? Christian Mies it-novum GmbH, Edelzeller Str. 44, 36043 Fulda, Germany FON: +49 (661) 103-874(333) FAX: +49 (661) 103-334 MAIL: c.mies at itnovum.de WEB: http://www.itnovum.de Handelsregister: Amtsgericht Fulda, HRB 1934 Gesch?ftsf?hrer: Michael Kienle (Vorsitz), Stefan Heil Sitz der Gesellschaft: Fulda UstID-Nr: DE813211784 Steuernr.: 018/225/03095 ________________________________ Von: Steve Shipway [mailto:s.shipway at auckland.ac.nz] Gesendet: Mittwoch, 28. Februar 2007 23:17 An: Mies, Christian Cc: nagios-users Betreff: RE: [Nagios-users] nsclient++ and nrpe commands I believe that the 'Illegal metacharacter' error message is generated because your command contains a '>' character, which could potentially be someone trying to use shell redirect to break in to your machine. You will definitely need to escape or quote the > to prevent the shell interpreting it. I don't know if this error is being produced by check_nrpe, by nsclient++, or by Nagios itself. Certainly on our system, Nagios 1.4 does not check commands for illegal characters, and check_nrpe 2.5.2 does not either, so my guess is that nsclient++ is doing it. Make sure you have your parameters quoted and check nsclient++ for definitions of illegal characters... Steve -- Steve Shipway ITSS, University of Auckland (09) 3737 599 x 86487 s.shipway at auckland.ac.nz ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mies, Christian Sent: Thursday, 1 March 2007 10:36 a.m. To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nsclient++ and nrpe commands Hi, I'm trying to use nsclient++ on Windows Machines. Everything is working fine, instead of check_nrpe with checkEventLog :-( If I type: ./check_nrpe -H 172.16.101.13 -p 5666 -c checkeventlog -a file=System filter=in filter=all truncate=512 MaxWarn=1 MaxCrit=1 filter-eventType==info filter-generated=>10m on my shell, I get no output. If I try ./check_nrpe -H 172.16.101.13 -p 5666 -c checkeventlog -a file=System filter=in filter=all truncate=512 MaxWarn=1 MaxCrit=1 filter-eventType==info filter-generated=\>10m I'll get a error :Illegal Meta Character. Any ideas to this? Who is using nsclient++ with Eventlog Functionallity? regards Christian Mies -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skeplin at one.net Thu Mar 1 14:08:07 2007 From: skeplin at one.net (Sean Keplinger) Date: Thu, 1 Mar 2007 08:08:07 -0500 (EST) Subject: Recommend hardware specs In-Reply-To: <20070228144832.179400@gmx.net> References: <20070228144832.179400@gmx.net> Message-ID: On Wed, 28 Feb 2007, chiel at gmx.net wrote: > Do you guys agree with this list? The article also said that disk speed > (scsi) was also very important. I think I will be monitoring 1000> > hosts. With distributed nagios servers. I'm running on an HP DL380 (dual 1.4Ghz PIII's) with 2GB RAM. The disks are SCSI, RAID5. The OS is SLES10. We have about 500 hosts and over 550 service checks. The load average is 3.01, 1.03, 0.51. Memory usage is about 1.5 GB with most of that in cache. >From the results we've seen, the box that I'm using (although fairly old now) is over powered. Adding more service checks or increasing their frequency would probably have an impact on overall load. HTH, Sean -- Sean Keplinger / Visit my Hiking/Backpacking and Projects skeplin AT gmail DOT com / blog at: http://spookyworld.dnsalias.com/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Thu Mar 1 14:11:53 2007 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Thu, 1 Mar 2007 08:11:53 -0500 Subject: Fw: Windows Process Checking References: <20070301054228.0e5d09e7.rwolfe@shatterit.com> Message-ID: <7F477BD26F545A4C8E4779754A38EFB30D30C2@PEPWMV00043.corp.pep.pvt> Robert, I think you may misunderstand what this program is used for. It's a program that you run on a Windows box to collect information from the Windows Performance Data Helper (PDH) library that Microsoft provides. It would have no function on a *nix box. In our case, we have a Linux Nagios installation which uses NRPE to connect remotely to Windows machines and runs the wincheck_counter.exe program as a plugin which returns whatever information about that windows box we want (like cpu load at that moment, for example). The PDH.DLL file is really only needed if your particular windows box doesn't have it already. Win2K, WinXP and Win2K3 already have it although I've had some weird issues with wincheck_counter.exe on Win2K, but maybe that's just me. Hope that helps. Mark -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net on behalf of Robert Wolfe Sent: Thu 3/1/2007 5:42 AM To: nflug at nflug.org Cc: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Fw: Windows Process Checking 1.0x and 2.x versions of Nagios. Begin forwarded message: Date: Thu, 1 Mar 2007 05:36:49 -0500 From: Robert Wolfe To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Windows Process Checking I downloaded the wincheck_counter plugin from nagiosexchange.org. However, I only noticed a .dll file and an .exe file. I am assuming that these will not work under *NIX installations of Nagios? If not, is there a plugin comparable to this for running on *NIX-based Nagios configurations? -- Robert Wolfe (MCP/Linux+) http://www.shatterit.com Linux: Improvise! Adapt! Overcome! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Robert Wolfe (MCP/Linux+) http://www.shatterit.com Linux: Improvise! Adapt! Overcome! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 1 15:16:47 2007 From: sandeep-n-murthy at telecom.pt (Sandeep Narasimha Murthy) Date: Thu, 1 Mar 2007 14:16:47 -0000 Subject: Event Handler problems In-Reply-To: <7F477BD26F545A4C8E4779754A38EFB30D30C2@PEPWMV00043.corp.pep.pvt> References: <20070301054228.0e5d09e7.rwolfe@shatterit.com> <7F477BD26F545A4C8E4779754A38EFB30D30C2@PEPWMV00043.corp.pep.pvt> Message-ID: Hi, I have been trying to set up the Nagios Eventhandler option for quite sometime in vain. I perused the link http://nagios.sourceforge.net/docs/1_0/eventhandlers.html and tried out a number of time but the script to be execute by the event handler never gets executed.. :( In the nagios log, I see the Event Handler being invoked fine and nothing else happens. Any ideas/ suggestions ? Thnx, sg ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios 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 1 16:23:53 2007 From: marc at ena.com (Marc Powell) Date: Thu, 1 Mar 2007 09:23:53 -0600 Subject: Event Handler problems Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sandeep Narasimha Murthy > Sent: Thursday, March 01, 2007 8:17 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Event Handler problems > > Hi, > > I have been trying to set up the Nagios Eventhandler option for quite > sometime in vain. I perused the link > http://nagios.sourceforge.net/docs/1_0/eventhandlers.html and tried out > a number of time but the script to be execute by the event handler never > gets executed.. :( > > In the nagios log, I see the Event Handler being invoked fine and > nothing else happens. > > Any ideas/ suggestions ? Is your event handler executable by the nagios user? I'd add debug output to the event handler that gets written to a file to make sure that it's actually running and getting the input you expect. For example, in all my event handlers written in sh, I have the following as the first thing done -- LOGFILE=/usr/local/nagios/var/eventhandler.log; export LOGFILE echo -n `date` . " " >> $LOGFILE 2>&1 echo "$0 IFP service check ($1) ($2) ($3) ($4)... " >> $LOGFILE 2>&1 And lines like the following at appropriate places -- echo -n `date` . " " >> $LOGFILE 2>/usr/local/nagios/var/eventhandler.log 2>&1 echo -n "$0 Restarting IFP service (2nd soft critical state) on $4... " >> $LOGFILE 2>&1 /usr/bin/ssh $4 'sudo /etc/init.d/n2h2-ifpserver restart' >>$LOGFILE 2>&1 This allows for intimate tracing of the execution of the event handler to catch any problems. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dit.dash at gmail.com Thu Mar 1 16:58:22 2007 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Thu, 1 Mar 2007 10:58:22 -0500 Subject: list remote logged on users Message-ID: <7f62d2420703010758p28b6b9e1q347ffbe2b9c0198a@mail.gmail.com> Anyone know of a plugin (NRPE, nsclient) that will display back to nagios on linux a list of users logged into win2000 or winXP? I can do this on the window side thru scripting and running from the resource kit psloggedon on each host. My users would find it useful to see which machines are available TIA ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Mar 1 19:21:12 2007 From: drussell at mpifix.com (Danny Russell) Date: Thu, 1 Mar 2007 11:21:12 -0700 Subject: NDOUtils Problem with Acknowledgements table out of sync... Message-ID: Hello everyone, I have the following: * ndoutils-1.4b2 * nagios-2.7-1.el4.rf * CentOS release 4.4 (Final) * mysql-5.0.22-1.centos.1 The ndoutils is running really well. I am just having one question...When an item is acknowledged, a record is created in the Acknowledgements table. That works. But, when the service or host recovers, the record does not get deleted from the acknowledgements table? Is anyone else having similar experiences? Am I missing a "virtually deleted" column within the table? Thanks, Much Appreciated, Danny -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 1 19:32:40 2007 From: lanning at lanning.cc (Robert Hajime Lanning) Date: Thu, 1 Mar 2007 10:32:40 -0800 (PST) Subject: nagiosgraph render issue In-Reply-To: <20070301091150.GA16221@pulsar> References: <20070301091150.GA16221@pulsar> Message-ID: <59306.192.168.128.27.1172773960.squirrel@ssl.monsoonwind.com> > It seems the data isn't collected, but it is (checked in the > nagiosgraph.log). My concern now is the gap between checks > (10 mins), perhaps nagiosgraph is droping/unable to display > such distant data. As a workaround I've lowered check interval > to 90 secs (waiting to see what happens). Make sure this is set correctly in nagiosgraph.conf: # Heartbeat. In seconds, twice the size of servicecheck intervals heartbeat = 600 If you have to change it, you will need to delete your RRD files, so that nagiosgraph will create new ones with the correct heartbeat. If you are checking every 10 minutes, the heartbeat needs to be 1200 seconds. RRD throws out data that is not within the correct time window. -- And, did Galoka think the Ulus were too ugly to save? -Centauri ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pells at gmail.com Thu Mar 1 22:14:07 2007 From: james.pells at gmail.com (James Pells) Date: Thu, 1 Mar 2007 16:14:07 -0500 Subject: Monitor DB Server without outside IP Address Message-ID: I just started using Nagios to monitor my two web servers from a development box outside of the production network. I would like to use Nagios to monitor my DB server which has no outside IP Address, but is on the same network as my webserver. I was wondering if you guys have any easy solutions for this? Right now I am thinking about setting up nagios to do a nrpe_check on a different port on my webserver, and configure my firewall to forward that port to my dbserver, which will also have the nrpe daemon running on it. It seems like that should work, if only I could configure my IP TABLES correctly. I would appreciate if anyone has any better solutions to this problem. Thank you, Jimmy -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Mar 1 23:06:52 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 1 Mar 2007 14:06:52 -0800 Subject: Monitor DB Server without outside IP Address In-Reply-To: References: Message-ID: <20070301220652.GK11333@pmorris.usa.hp.com> On Thu, 01 Mar 2007, James Pells wrote: > Right now I am thinking about setting up nagios to do a nrpe_check on a > different port on my webserver, and configure my firewall to forward that > port to my dbserver, which will also have the nrpe daemon running on it. > > It seems like that should work, if only I could configure my IP TABLES > correctly. > > I would appreciate if anyone has any better solutions to this problem. If I were going to make a recommendation, it would be: Don't do it. You're asking for trouble. There are reasons people don't make their DB boxes available from the internet. A couple better solutions might be: 1. Monitor the box from inside the network it's on, or 2. Have the DB submit passive checks to your monitoring box. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios 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 1 23:45:21 2007 From: marc at ena.com (Marc Powell) Date: Thu, 1 Mar 2007 16:45:21 -0600 Subject: Monitor DB Server without outside IP Address Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Patrick Morris > Sent: Thursday, March 01, 2007 4:07 PM > To: James Pells > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitor DB Server without outside IP Address > > > There are reasons people don't make their DB boxes available from the > internet. A couple better solutions might be: > > 1. Monitor the box from inside the network it's on, or > 2. Have the DB submit passive checks to your monitoring box. Depending on what you are actually interested in monitoring some other options might be... 3. create a small script on your web server that performs checks on your DB and outputs a web page than you can check with check_http. 4. check_nrpe -> webserver calls check_nrpe -> DB server (untested but should work) -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klausman at schwarzvogel.de Fri Mar 2 00:12:11 2007 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Fri, 2 Mar 2007 00:12:11 +0100 Subject: Monitor DB Server without outside IP Address In-Reply-To: References: Message-ID: <20070301231211.GA14617@eric.schwarzvogel.de> Hi! On Thu, 01 Mar 2007, Marc Powell wrote: > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Patrick Morris > > Sent: Thursday, March 01, 2007 4:07 PM > > To: James Pells > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Monitor DB Server without outside IP Address > > > > There are reasons people don't make their DB boxes available from the > > internet. A couple better solutions might be: > > > > 1. Monitor the box from inside the network it's on, or > > 2. Have the DB submit passive checks to your monitoring box. > > Depending on what you are actually interested in monitoring some other > options might be... > > 3. create a small script on your web server that performs checks on your > DB and outputs a web page than you can check with check_http. > 4. check_nrpe -> webserver calls check_nrpe -> DB server (untested but > should work) Note though that longer NRPE cascades (>=3 hops) can be notopriously difficult to debug. Worse, if you don't have proper dependencies (between your NRPE checks and a check for NRPE itself), you can very easily spam your cell into oblivion ;) Also, some DB machines deliberately have no default route (or one not letting them leave their nets). So passive sending is not possibel, either. So, from a security standpoint, I'd recommend the "webpage does the checks and is checked by check_http" approach. Regards, Tobias ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcianfarani at rogers.com Fri Mar 2 04:19:51 2007 From: jcianfarani at rogers.com (John Cianfarani) Date: Thu, 1 Mar 2007 22:19:51 -0500 Subject: Monitor DB Server without outside IP Address In-Reply-To: <20070301231211.GA14617@eric.schwarzvogel.de> References: <20070301231211.GA14617@eric.schwarzvogel.de> Message-ID: Could have the DB Server only have a route for the nagios box. Thanks John -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Tobias Klausmann Sent: Thursday, March 01, 2007 6:12 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitor DB Server without outside IP Address Hi! On Thu, 01 Mar 2007, Marc Powell wrote: > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Patrick Morris > > Sent: Thursday, March 01, 2007 4:07 PM > > To: James Pells > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Monitor DB Server without outside IP Address > > > > There are reasons people don't make their DB boxes available from the > > internet. A couple better solutions might be: > > > > 1. Monitor the box from inside the network it's on, or > > 2. Have the DB submit passive checks to your monitoring box. > > Depending on what you are actually interested in monitoring some other > options might be... > > 3. create a small script on your web server that performs checks on your > DB and outputs a web page than you can check with check_http. > 4. check_nrpe -> webserver calls check_nrpe -> DB server (untested but > should work) Note though that longer NRPE cascades (>=3 hops) can be notopriously difficult to debug. Worse, if you don't have proper dependencies (between your NRPE checks and a check for NRPE itself), you can very easily spam your cell into oblivion ;) Also, some DB machines deliberately have no default route (or one not letting them leave their nets). So passive sending is not possibel, either. So, from a security standpoint, I'd recommend the "webpage does the checks and is checked by check_http" approach. Regards, Tobias ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlt at pshtc.ks.gov Fri Mar 2 17:34:08 2007 From: mlt at pshtc.ks.gov (Mark Thompson) Date: Fri, 02 Mar 2007 10:34:08 -0600 Subject: Problem with statusmap Message-ID: <45E7FDA0020000C800001C24@PSHGRPWISE.PSHTC.KS.GOV> Opensuse 10.2 Nagios 2.7 all libs installed. make all returns this error: gcc -g -O2 -I/usr/local/include/ -DHAVE_CONFIG_H -DNSCGI -L/usr/local/lib/ -o statusmap.cgi statusmap.c getcgi.o cgiutils.o cgiauth.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o -lgd -lttf -lpng -ljpeg -lz -lm /tmp/ccQJAY1X.o: In function `load_image_from_file': /usr/local/src/nagios-2.7/cgi/statusmap.c:2215: undefined reference to `gdImageCreateFromJpeg' collect2: ld returned 1 exit status make[1]: *** [statusmap.cgi] Error 1 make[1]: Leaving directory `/usr/local/src/nagios-2.7/cgi' make: *** [all] Error 2 Is this a bug in the compile or is there something else that needs to be installed? thanks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 2 17:50:28 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 2 Mar 2007 11:50:28 -0500 Subject: Problem with statusmap In-Reply-To: <45E7FDA0020000C800001C24@PSHGRPWISE.PSHTC.KS.GOV> References: <45E7FDA0020000C800001C24@PSHGRPWISE.PSHTC.KS.GOV> Message-ID: > Opensuse 10.2 > Nagios 2.7 > all libs installed. > make all returns this error: > > gcc -g -O2 -I/usr/local/include/ -DHAVE_CONFIG_H -DNSCGI > -L/usr/local/lib/ -o statusmap.cgi statusmap.c getcgi.o > cgiutils.o cgiauth.o objects-cgi.o xobjects-cgi.o > statusdata-cgi.o xstatusdata-cgi.o -lgd -lttf -lpng -ljpeg -lz -lm > /tmp/ccQJAY1X.o: In function `load_image_from_file': > /usr/local/src/nagios-2.7/cgi/statusmap.c:2215: undefined > reference to `gdImageCreateFromJpeg' > > collect2: ld returned 1 exit status > make[1]: *** [statusmap.cgi] Error 1 > make[1]: Leaving directory `/usr/local/src/nagios-2.7/cgi' > make: *** [all] Error 2 > > Is this a bug in the compile or is there something else that > needs to be installed? This probably means your headers and libraries for the gd library are out of sync. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Fri Mar 2 18:28:42 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Fri, 02 Mar 2007 17:28:42 +0000 Subject: Problem with statusmap In-Reply-To: <45E7FDA0020000C800001C24@PSHGRPWISE.PSHTC.KS.GOV> References: <45E7FDA0020000C800001C24@PSHGRPWISE.PSHTC.KS.GOV> Message-ID: <45E85ECA.1070907@mailnetwork.co.uk> What's your ./configure line? Mark Thompson wrote: > Opensuse 10.2 > Nagios 2.7 > all libs installed. > make all returns this error: > > gcc -g -O2 -I/usr/local/include/ -DHAVE_CONFIG_H -DNSCGI -L/usr/local/lib/ -o statusmap.cgi statusmap.c getcgi.o cgiutils.o cgiauth.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o -lgd -lttf -lpng -ljpeg -lz -lm > /tmp/ccQJAY1X.o: In function `load_image_from_file': > /usr/local/src/nagios-2.7/cgi/statusmap.c:2215: undefined reference to `gdImageCreateFromJpeg' > > collect2: ld returned 1 exit status > make[1]: *** [statusmap.cgi] Error 1 > make[1]: Leaving directory `/usr/local/src/nagios-2.7/cgi' > make: *** [all] Error 2 > > Is this a bug in the compile or is there something else that needs to be installed? > > thanks > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,45e85264103002543180458! > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Fri Mar 2 18:52:07 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Fri, 02 Mar 2007 17:52:07 +0000 Subject: Problem with statusmap In-Reply-To: <45E80C56.0C26.00C8.0@pshtc.ks.gov> References: <45E7FDA0020000C800001C24@PSHGRPWISE.PSHTC.KS.GOV> <45E85ECA.1070907@mailnetwork.co.uk> <45E80C56.0C26.00C8.0@pshtc.ks.gov> Message-ID: <45E86447.2010208@mailnetwork.co.uk> Try adding /usr/local/lib to /etc/ld.so.conf and run ldconfig (not sure if SuSE has this?) Or try linking /usr/local/lib/libgd*.so* /usr/local/lib/libpng*.so* /usr/local/lib/libjpeg*.so* /usr/local/lib/libttf*.so.* into /lib. I've had this sorta problem with other applications on FreeBSD (Nagios was actually OK.) PS. Don't forget to copy the list in! Mark Thompson wrote: > ./configure --sysconfdir=/etc/nagios --localstatedir=/var/nagios --with-command-group=nagcmd --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include. > > The 4 libs that are listed in the faq were installed with yast. > > thanks > > > >>>> "Andy Shellam (Mailing Lists)" 3/2/2007 11:28 AM >>> >>>> > What's your ./configure line? > > > Mark Thompson wrote: > >> Opensuse 10.2 >> Nagios 2.7 >> all libs installed. >> make all returns this error: >> >> gcc -g -O2 -I/usr/local/include/ -DHAVE_CONFIG_H -DNSCGI -L/usr/local/lib/ -o statusmap.cgi statusmap.c getcgi.o cgiutils.o cgiauth.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o -lgd -lttf -lpng -ljpeg -lz -lm >> /tmp/ccQJAY1X.o: In function `load_image_from_file': >> /usr/local/src/nagios-2.7/cgi/statusmap.c:2215: undefined reference to `gdImageCreateFromJpeg' >> >> collect2: ld returned 1 exit status >> make[1]: *** [statusmap.cgi] Error 1 >> make[1]: Leaving directory `/usr/local/src/nagios-2.7/cgi' >> make: *** [all] Error 2 >> >> Is this a bug in the compile or is there something else that needs to be installed? >> >> thanks >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> >> >> > > > > !DSPAM:37,45e860fc103001942811417! > > > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mihai at duras.ro Sat Mar 3 11:00:08 2007 From: mihai at duras.ro (Mihai Tanasescu) Date: Sat, 03 Mar 2007 12:00:08 +0200 Subject: Notification via yahoo messenger/jabber Message-ID: <45E94728.1030904@duras.ro> Hello, I've read the nagios website and forums to search for a solution to send a yahoo messenger text to me in case a host fails with no luck so far. All that I've seen are two Perl modules that are outdated and no longer work so I thought I could use the jabber protocol with a yahoo messenger configured gateway to send me a message on YMSG (but no luck finding something that could do that, text mode based). Do you have any other ideas ? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 3 11:44:32 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 3 Mar 2007 11:44:32 +0100 (CET) Subject: Notification via yahoo messenger/jabber In-Reply-To: <45E94728.1030904@duras.ro> References: <45E94728.1030904@duras.ro> Message-ID: On Sat, 3 Mar 2007, Mihai Tanasescu wrote: > I've read the nagios website and forums to search for a solution to send > a yahoo messenger text to me in case a host fails with no luck so far. > > All that I've seen are two Perl modules that are outdated and no longer > work so I thought I could use the jabber protocol with a yahoo messenger > configured gateway to send me a message on YMSG (but no luck finding > something that could do that, text mode based). I just noticed Jabber WindowGram Client (JWGC) http://jwgc.blathersource.org/ The jwrite commandline tools seems to be usefull http://jwgc.blathersource.org/docs/jwrite.html I have not tried it (yet) myself. (It just went rather high on my overloaded to-do list.) Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mihai at duras.ro Sat Mar 3 12:08:05 2007 From: mihai at duras.ro (Mihai Tanasescu) Date: Sat, 03 Mar 2007 13:08:05 +0200 Subject: Notification via yahoo messenger/jabber In-Reply-To: References: <45E94728.1030904@duras.ro> Message-ID: <45E95715.9050801@duras.ro> Hugo van der Kooij wrote: > On Sat, 3 Mar 2007, Mihai Tanasescu wrote: > >> I've read the nagios website and forums to search for a solution to send >> a yahoo messenger text to me in case a host fails with no luck so far. >> >> All that I've seen are two Perl modules that are outdated and no longer >> work so I thought I could use the jabber protocol with a yahoo messenger >> configured gateway to send me a message on YMSG (but no luck finding >> something that could do that, text mode based). > > > I just noticed Jabber WindowGram Client (JWGC) > http://jwgc.blathersource.org/ > > The jwrite commandline tools seems to be usefull > http://jwgc.blathersource.org/docs/jwrite.html > > I have not tried it (yet) myself. (It just went rather high on my > overloaded to-do list.) > > Hugo. > Hmm the client seems alright but it doesn't allow any possibility to interact with the yahoo gateway component of the jabber server and unfortunately everyone here that needs to be notified uses YMSG. I was hoping to avoid having to analyze the Gaim sourcecode and try to build something from scratch as I'm not such a good programmer. - Mihai ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 3 12:55:33 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 3 Mar 2007 12:55:33 +0100 (CET) Subject: Notification via yahoo messenger/jabber In-Reply-To: References: <45E94728.1030904@duras.ro> Message-ID: On Sat, 3 Mar 2007, Hugo van der Kooij wrote: > On Sat, 3 Mar 2007, Mihai Tanasescu wrote: > >> I've read the nagios website and forums to search for a solution to send >> a yahoo messenger text to me in case a host fails with no luck so far. >> >> All that I've seen are two Perl modules that are outdated and no longer >> work so I thought I could use the jabber protocol with a yahoo messenger >> configured gateway to send me a message on YMSG (but no luck finding >> something that could do that, text mode based). > > I just noticed Jabber WindowGram Client (JWGC) > http://jwgc.blathersource.org/ > > The jwrite commandline tools seems to be usefull > http://jwgc.blathersource.org/docs/jwrite.html > > I have not tried it (yet) myself. (It just went rather high on my > overloaded to-do list.) I tried it and you can scratch it. But it seems sendxmpp (http://sendxmpp.platon.sk/) seems to fit the bill quite well. Requirements on Centos 4.4 are met with packages available through the common repositories. Just did `yum install perl-Net-XMPP' and the required packages were installed. Now the challenge is to find a jabber server that will work with this perl module. (XS4ALL is listed as non-working.) Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ampranti at gmail.com Sun Mar 4 21:12:41 2007 From: ampranti at gmail.com (Brandino Andreas) Date: Sun, 4 Mar 2007 22:12:41 +0200 Subject: Printable Documentation In-Reply-To: <4e0e33ee0605031325j4d9d9005n150d7aa96e53d502@mail.gmail.com> References: <4e0e33ee0605031325j4d9d9005n150d7aa96e53d502@mail.gmail.com> Message-ID: <403825636.20070304221241@gmail.com> The link is broken May you provide the doc again? Thanks Wednesday, May 3, 2006, 10:25:24 PM, you wrote: > Hello to all, > I've repackaged the Official Nagios documentation to generate a > "pretty" printable version of the doc. > (2side version, table of content and page numbering, chapter numbering ...) > Available here: > http://runnagios.be/index.html?doc.html > Comments are welcome ... > Regards, > Seb. > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > 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 <> --- - - - --- <> Brandino Andreas ampranti at gmail.com <> --- - - - --- <> ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Sun Mar 4 23:46:37 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Sun, 04 Mar 2007 22:46:37 +0000 Subject: Printable Documentation In-Reply-To: <403825636.20070304221241@gmail.com> References: <4e0e33ee0605031325j4d9d9005n150d7aa96e53d502@mail.gmail.com> <403825636.20070304221241@gmail.com> Message-ID: <45EB4C4D.5030300@mailnetwork.co.uk> Personally I use the "official" PDF: http://nagios.sourceforge.net/download/contrib/documentation/english/Nagios_2_0_Docs.pdf Brandino Andreas wrote: > The link is broken > May you provide the doc again? > > Thanks > > > Wednesday, May 3, 2006, 10:25:24 PM, you wrote: > > >> Hello to all, >> I've repackaged the Official Nagios documentation to generate a >> "pretty" printable version of the doc. >> (2side version, table of content and page numbering, chapter numbering ...) >> ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Mon Mar 5 00:07:23 2007 From: stava at telcotec.se (Lars Stavholm) Date: Mon, 05 Mar 2007 00:07:23 +0100 Subject: Printable Documentation In-Reply-To: <45EB4C4D.5030300@mailnetwork.co.uk> References: <4e0e33ee0605031325j4d9d9005n150d7aa96e53d502@mail.gmail.com> <403825636.20070304221241@gmail.com> <45EB4C4D.5030300@mailnetwork.co.uk> Message-ID: <45EB512B.70600@telcotec.se> Andy Shellam wrote: > Personally I use the "official" PDF: > > http://nagios.sourceforge.net/download/contrib/documentation/english/Nagios_2_0_Docs.pdf Is that one really up to date? /L ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holger at CIS.FU-Berlin.DE Mon Mar 5 03:25:30 2007 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Mon, 5 Mar 2007 03:25:30 +0100 Subject: Printable Documentation In-Reply-To: <45EB512B.70600@telcotec.se> References: <4e0e33ee0605031325j4d9d9005n150d7aa96e53d502@mail.gmail.com> <403825636.20070304221241@gmail.com> <45EB4C4D.5030300@mailnetwork.co.uk> <45EB512B.70600@telcotec.se> Message-ID: <20070305022529.GJ44795887@CIS.FU-Berlin.DE> * Lars Stavholm [2007-03-05 00:07]: > Andy Shellam wrote: > > Personally I use the "official" PDF: > > > > http://nagios.sourceforge.net/download/contrib/documentation/english/Nagios_2_0_Docs.pdf > > Is that one really up to date? I had created it for Nagios 2.0 and the docs haven't changed that much since then. However, here's an updated version: ftp://ftp.in-berlin.de/pub/users/weiss/nagios/doc/nagios-2.pdf Holger -- PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sudhir.more at wipro.com Mon Mar 5 06:49:41 2007 From: sudhir.more at wipro.com (sudhir.more at wipro.com) Date: Mon, 5 Mar 2007 11:19:41 +0530 Subject: NRPE:Unable to read output Message-ID: <380D9721A8E2114485644D71E87C6AB203738048@PNE-HJN-MBX01.wipro.com> Hi, I am trying Nagios 2.6 & NRPE 2.6 on Redhat EL4 update 4. When I am running command .check_nrpe command, getting Unable to read output error [root at NAGIOS-SRV plugins]# ./check_nrpe -H 10.111.251.3 -c check_load NRPE: Unable to read output Any help on this & Also anybody have doc explaining how to use nagios to monitor using SNMP. Thanks & Regards, Sudhir. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.welsh at bt.com Mon Mar 5 10:43:10 2007 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Mon, 5 Mar 2007 09:43:10 -0000 Subject: Rackables + nagios Message-ID: <15DD454F6DC0034489215436393787949D5C67@i2km09-ukbr.domain1.systemhost.net> Hi List, Has anyone implemented Nagios monitoring of Rackables kit? www.rackables.com ( I think) If so what are you monitoring and how (SNMP, Custom Plugins etc) Any help gratefully received. Regards Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kakikubo at gmail.com Mon Mar 5 11:44:56 2007 From: kakikubo at gmail.com (kakikubo teruo) Date: Mon, 05 Mar 2007 19:44:56 +0900 Subject: NRPE:Unable to read output In-Reply-To: <380D9721A8E2114485644D71E87C6AB203738048@PNE-HJN-MBX01.wipro.com> References: <380D9721A8E2114485644D71E87C6AB203738048@PNE-HJN-MBX01.wipro.com> Message-ID: <45EBF4A8.7090704@gmail.com> Hello, sudhir.more at wipro.com wrote: > Hi, > > > > I am trying Nagios 2.6 & NRPE 2.6 on Redhat EL4 update 4. When I am > running command .check_nrpe command, getting Unable to read output error > > > > > > [root at NAGIOS-SRV plugins]# ./check_nrpe -H 10.111.251.3 -c check_load > > NRPE: Unable to read output Please be in remote host's nrpe.cfg, and change the following line. debug=0 --> 1 restart nrpe , and re-run check_nrpe again. Please check the nrpe's output(on /var/log/messages). regards ----- kakikubo > > > > Any help on this & Also anybody have doc explaining how to use nagios to > monitor using SNMP. > > > > > > Thanks & Regards, > > Sudhir. > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From magic.rooter at gmail.com Mon Mar 5 15:21:17 2007 From: magic.rooter at gmail.com ( magic_rooter) Date: Mon, 5 Mar 2007 17:21:17 +0300 Subject: When Nagios 3.0 will release? Message-ID: <989aee610703050621p3f459f59j9ba9128534d79cb9@mail.gmail.com> Hello everybody! Does anybody know the date, at least the year of this version? There will be so many useful changes which I need right now:) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srikalyan.tangirala at gmail.com Mon Mar 5 15:55:25 2007 From: srikalyan.tangirala at gmail.com (srikalyan tangirala) Date: Mon, 5 Mar 2007 09:55:25 -0500 Subject: NAGIOS 2.3.1 version issues Message-ID: Hi All: I'm using NAGIOS 2.3.1 version.Installed and configured it with authenticated users as nagiosadmin and guest. Now, when I logged in as nagiosadmin and trying to check if the services under Monitoring list works, they dont seem to work and the information that it provides is the below. I configured the additional permissions to CGI also with system information, commands, all hosts,services according to the documentation. It does not seem to work. Can anyone help me? I'm a newbie and need some help. Whoops! *Error: Could not read host and service status information!* The most common cause of this error message (especially for new users), is the fact that Nagios is not actually running. If Nagios is indeed not running, this is a normal error message. It simply indicates that the CGIs could not obtain the current status of hosts and services that are being monitored. If you've just installed things, make sure you read the documentation on starting Nagios. Some other things you should check in order to resolve this error include: 1. Check the Nagios log file for messages relating to startup or status data errors. 2. Always verify configuration options using the *-v* command-line option before starting or restarting Nagios! 3. Make sure you've compiled the main program and the CGIs to use the same status data storage options (i.e. text file or database). If the main program is storing status data in a text file and the CGIs are trying to read status data from a database, you'll have problems. Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing thanks sri -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios 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 5 16:06:23 2007 From: marc at ena.com (Marc Powell) Date: Mon, 5 Mar 2007 09:06:23 -0600 Subject: NAGIOS 2.3.1 version issues In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of srikalyan tangirala > Sent: Monday, March 05, 2007 8:55 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NAGIOS 2.3.1 version issues > > Hi All: > I'm using NAGIOS 2.3.1 version.Installed and configured it > with authenticated users as nagiosadmin and guest. Now, when I logged in > as nagiosadmin and trying to check if the services under Monitoring list > works, they dont seem to work and the information that it provides is the > below. I configured the additional permissions to CGI also with system > information, commands, all hosts,services according to the documentation. > It does not seem to work. Can anyone help me? I'm a newbie and need some > help. What are the results of the checks recommended below? One of them is almost certainly your problem. > Error: Could not read host and service status information! > > The most common cause of this error message (especially for new users), is > the fact that Nagios is not actually running. If Nagios is indeed not > running, this is a normal error message. It simply indicates that the CGIs > could not obtain the current status of hosts and services that are being > monitored. If you've just installed things, make sure you read the > documentation on starting Nagios. > > Some other things you should check in order to resolve this error include: > > 1. Check the Nagios log file for messages relating to startup or status > data errors. > 2. Always verify configuration options using the -v command-line option > before starting or restarting Nagios! > 3. Make sure you've compiled the main program and the CGIs to use the > same status data storage options (i.e. text file or database). If the main > program is storing status data in a text file and the CGIs are trying to > read status data from a database, you'll have problems. > > Make sure you read the documentation on installing, configuring and > running Nagios thoroughly before continuing. If all else fails, try > sending a message to one of the mailing\ -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Mar 5 16:27:04 2007 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Mon, 5 Mar 2007 16:27:04 +0100 Subject: When Nagios 3.0 will release? Message-ID: Hello Hello everybody! Does anybody know the date, at least the year of this version? There will be so many useful changes which I need right now:) > Go to the new Nagios Community from Ethan....... And read "Nagios 3 alpha releases soon" http://www.nagioscommunity.org/ > /J?rg ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.7/711 - Release Date: 2007-03-05 09:41 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.7/711 - Release Date: 2007-03-05 09:41 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jking at informs.com Mon Mar 5 18:28:02 2007 From: jking at informs.com (Jason King) Date: Mon, 05 Mar 2007 11:28:02 -0600 Subject: Services "Flapping" Message-ID: <45EC5322.2020009@informs.com> I have nagios setup to check several servers. On one server, however, it keeps notifying me that all 4 services running on the server are going down then coming back up again then going down then coming backup up again. This only happens after around 8:00pm or so and I stop getting notifications around 7:00am. I also get notifications over the weekend all throughout the day. The problem is that when I get notifications about a service going down, I can check that service myself and the service that is "down" according to nagios works fine from my PC. Has anyone else seen this issue? What is wrong? Jason ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 5 18:44:47 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 5 Mar 2007 18:44:47 +0100 (CET) Subject: Services "Flapping" In-Reply-To: <45EC5322.2020009@informs.com> References: <45EC5322.2020009@informs.com> Message-ID: On Mon, 5 Mar 2007, Jason King wrote: > I have nagios setup to check several servers. On one server, however, it > keeps notifying me that all 4 services running on the server are going > down then coming back up again then going down then coming backup up > again. This only happens after around 8:00pm or so and I stop getting > notifications around 7:00am. I also get notifications over the weekend > all throughout the day. The problem is that when I get notifications > about a service going down, I can check that service myself and the > service that is "down" according to nagios works fine from my PC. Has > anyone else seen this issue? What is wrong? Did you define a time object with these values? Did you verify it manually from the nagios server? Did you check other suspects? The timing seesm way too much like a scheduled thing. Perhaps time related firewall rules? Hugo -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jking at informs.com Mon Mar 5 19:16:51 2007 From: jking at informs.com (Jason King) Date: Mon, 05 Mar 2007 12:16:51 -0600 Subject: Services "Flapping" In-Reply-To: References: <45EC5322.2020009@informs.com> Message-ID: <45EC5E93.1030907@informs.com> I did not define a "time object". I have run the service check from the nagios server and it runs fine. No other service has this behavior. Also, I have another nagios machine setup in a different location that checks the same box for the same services and that box shows no flapping behavior. By the way. The message I get is "Socket timeout after 10 seconds". Not "connection refused" as one would see when the port on the server is closed. jason Hugo van der Kooij wrote: > On Mon, 5 Mar 2007, Jason King wrote: > >> I have nagios setup to check several servers. On one server, however, it >> keeps notifying me that all 4 services running on the server are going >> down then coming back up again then going down then coming backup up >> again. This only happens after around 8:00pm or so and I stop getting >> notifications around 7:00am. I also get notifications over the weekend >> all throughout the day. The problem is that when I get notifications >> about a service going down, I can check that service myself and the >> service that is "down" according to nagios works fine from my PC. Has >> anyone else seen this issue? What is wrong? > > Did you define a time object with these values? > > Did you verify it manually from the nagios server? > > Did you check other suspects? > > The timing seesm way too much like a scheduled thing. > Perhaps time related firewall rules? > > Hugo > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srikalyan.tangirala at gmail.com Mon Mar 5 19:21:38 2007 From: srikalyan.tangirala at gmail.com (srikalyan tangirala) Date: Mon, 5 Mar 2007 13:21:38 -0500 Subject: NAGIOS 2.3.1 version issues In-Reply-To: References: Message-ID: Hi Marc, Thanks you for the valuable response. As NAGIOS has been allready installed by the people who were working earlier, I have no clue if they have configured it properly or not. the only links that seem to work are the ones which i specified. ( under reporting link the sub-links that qare working are alert history,alert summary, notifications and event log. In configuration link , view config sublink is working). I have a question. If i recongifure it, with the main config file and stuff, would it overwrite it and is it going to be ok or would it mess it up? Any Suggestions? thanks for the help in advance best, Sri On 3/5/07, srikalyan tangirala wrote: > > Hi All: > I'm using NAGIOS 2.3.1 version.Installed and configured it > with authenticated users as nagiosadmin and guest. Now, when I logged in as > nagiosadmin and trying to check if the services under Monitoring list > works, they dont seem to work and the information that it provides is the > below. I configured the additional permissions to CGI also with system > information, commands, all hosts,services according to the documentation. It > does not seem to work. Can anyone help me? I'm a newbie and need some help. > > Whoops! > > *Error: Could not read host and service status information!* > > The most common cause of this error message (especially for new users), is > the fact that Nagios is not actually running. If Nagios is indeed not > running, this is a normal error message. It simply indicates that the CGIs > could not obtain the current status of hosts and services that are being > monitored. If you've just installed things, make sure you read the > documentation on starting Nagios. > > Some other things you should check in order to resolve this error include: > > > > 1. Check the Nagios log file for messages relating to startup or > status data errors. > 2. Always verify configuration options using the *-v* command-line > option before starting or restarting Nagios! > 3. Make sure you've compiled the main program and the CGIs to use > the same status data storage options (i.e. text file or database). > If the main program is storing status data in a text file and the CGIs are > trying to read status data from a database, you'll have problems. > > Make sure you read the documentation on installing, configuring and > running Nagios thoroughly before continuing. If all else fails, try sending > a message to one of the mailing > > > > thanks > sri > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tcowin at blackfinsoftware.com Mon Mar 5 22:44:07 2007 From: tcowin at blackfinsoftware.com (Tom Cowin) Date: Mon, 05 Mar 2007 13:44:07 -0800 Subject: Passing a string from services to commands for check_http Message-ID: <45EC8F27.6010009@blackfinsoftware.com> I've had trouble passing a string from a service definition to a command, and getting the command to execute properly. in services.cfg: define service{ use remote-service-critical host_name workflow-server service_description Workflow Automation Server check_command check_http_port_string!XXXX!lackfin } in commands.cfg: define command { command_name check_http_port_string command_line /usr/local/nagios/libexec/check_http -I $HOSTADDRESS$ -p $ARG1$ -s $ARG2$ } supplied as the second argument in the service definition, the string 'lackfin' will work, but not the string 'Blackfin' nor 'lackfin_logo_small' - they will all work from the command line however. Is there some way to handle strings in this context that I'm missing? Many TIA, Tom ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dimma at higis.ru Mon Mar 5 09:52:38 2007 From: dimma at higis.ru (Dmitriy Kirhlarov) Date: Mon, 5 Mar 2007 11:52:38 +0300 Subject: NRPE:Unable to read output In-Reply-To: <380D9721A8E2114485644D71E87C6AB203738048@PNE-HJN-MBX01.wipro.com> References: <380D9721A8E2114485644D71E87C6AB203738048@PNE-HJN-MBX01.wipro.com> Message-ID: <20070305085232.GB11596@dkirhlarov.mow.oilspace.com> On Mon, Mar 05, 2007 at 11:19:41AM +0530, sudhir.more at wipro.com wrote: > I am trying Nagios 2.6 & NRPE 2.6 on Redhat EL4 update 4. When I am > running command .check_nrpe command, getting Unable to read output error Check your server. - is nrpe started? - is you have same password and CRYPT algoritm on client and server side? - is your nrpe server configured for run check_load from client? > Any help on this & Also anybody have doc explaining how to use nagios to > monitor using SNMP. At first you have to configure snmpd on target hosts. Then, you must define OID's for checks. Nothing special for nagios. WBR -- Dmitriy Kirhlarov OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia P:+7 495 105 7245 ext.208 F:+7 495 105 7246 E:DmitriyKirhlarov at oilspace.com Building Successful Supply Chains - One Solution At A Time. www.oilspace.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From barbereau at gmail.com Tue Mar 6 09:08:53 2007 From: barbereau at gmail.com (=?UTF-8?Q?S=C3=A9bastien_Barbereau?=) Date: Tue, 6 Mar 2007 08:08:53 +0000 Subject: Printable Documentation In-Reply-To: <20070305022529.GJ44795887@CIS.FU-Berlin.DE> References: <4e0e33ee0605031325j4d9d9005n150d7aa96e53d502@mail.gmail.com> <403825636.20070304221241@gmail.com> <45EB4C4D.5030300@mailnetwork.co.uk> <45EB512B.70600@telcotec.se> <20070305022529.GJ44795887@CIS.FU-Berlin.DE> Message-ID: <4e0e33ee0703060008j676aca31y17c201b5b85dc294@mail.gmail.com> Hi, the broken link has been fixed. There are differences betwen the PDF I've generated and the "official" pdf from Holger Weiss. Especially about printed output (alternate margins, table of contents, page formatting ...). URL: http://runnagios.be/doc.html Seb. On 3/5/07, Holger Weiss wrote: > > * Lars Stavholm [2007-03-05 00:07]: > > Andy Shellam wrote: > > > Personally I use the "official" PDF: > > > > > > > http://nagios.sourceforge.net/download/contrib/documentation/english/Nagios_2_0_Docs.pdf > > > > Is that one really up to date? > > I had created it for Nagios 2.0 and the docs haven't changed that much > since then. However, here's an updated version: > > ftp://ftp.in-berlin.de/pub/users/weiss/nagios/doc/nagios-2.pdf > > Holger > > -- > PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue Mar 6 14:27:56 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 6 Mar 2007 13:27:56 +0000 Subject: Passing a string from services to commands for check_http In-Reply-To: <45EC8F27.6010009@blackfinsoftware.com> References: <45EC8F27.6010009@blackfinsoftware.com> Message-ID: <765d77c80703060527v487c2b6bp7251bfb9f7748ce5@mail.gmail.com> On 05/03/07, Tom Cowin wrote: > in commands.cfg: > define command { > command_name check_http_port_string > command_line /usr/local/nagios/libexec/check_http -I $HOSTADDRESS$ -p > $ARG1$ -s $ARG2$ > } That looks okay to me. It wouldn't do any harm to put the string in quotes in the service definition: check_command check_http_port_string!XXXX!"lackfin" It might be an idea to do a view source on the page you are checking to see that there aren't any extraneous codes in it for example, what you thought was: Blackfin might actually be [font size=2]B[/font]lackfin or something like that? hth, Jim ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcraig.email at gmail.com Tue Mar 6 17:43:46 2007 From: jrcraig.email at gmail.com (Justin Craig) Date: Tue, 6 Mar 2007 10:43:46 -0600 Subject: External Commands not working Message-ID: My external commands are not working. Can someone provide assistance? Below is some of my cgi.cfg info: cgi.cfg nagios_check_command=/usr/local/nagios/libexec/check_nagios /usr/local/nagios/var/status.dat 5 '/usr/local/nagios/bin/nagios' use_authentication=1 authorized_for_system_commands=nagiosadmin And my nagios.cfg is set to check for external commands. Also, I have in my httpd.conf file: ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" # SSLRequireSSL Options ExecCGI AllowOverride AuthConfig Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user Alias /nagios "/usr/local/nagios/share" # SSLRequireSSL Options None AllowOverride AuthConfig Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user # Let me know your thoughts and any commands to run that would help troubleshoot this? -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From listas at fabriciolima.com.br Tue Mar 6 17:54:39 2007 From: listas at fabriciolima.com.br (Fabricio Lima) Date: Tue, 6 Mar 2007 13:54:39 -0300 Subject: Initial checks delayed too much In-Reply-To: References: Message-ID: <20070306165347.M61089@fabriciolima.com.br> Hello, I've set up a nagios system monitoring several hosts (50 hosts with 10 services). When I add some host, and reloads with pkill -HUP nagios, the host/services are exibited at the cgi, but it doesn't get checked as informed. Check it out bellow: Current Network Status Last Updated: Tue Mar 6 11:08:58 BRT 2007 host Alpha DISKSPACE PENDING N/A 0d 0h 22m 47s+ 1/3 Service check scheduled for Tue Mar 6 10:57:45 BRT 2007 Why nagios haven't checked this (and others) service yet? The system is already up for 22 minutes. Someone has a logical explanation about that? Thanks Fabricio Lima ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Mar 6 18:54:05 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 6 Mar 2007 09:54:05 -0800 Subject: External Commands not working In-Reply-To: References: Message-ID: <20070306175405.GL9694@pmorris.usa.hp.com> Hi Justin! > My external commands are not working. Can someone provide assistance? > > Below is some of my cgi.cfg info: > > cgi.cfg > nagios_check_command=/usr/local/nagios/libexec/check_nagios /usr/local/nagios/var/status.dat 5 '/usr/local/nagios/bin/nagios' > use_authentication=1 > authorized_for_system_commands=nagiosadmin > > And my nagios.cfg is set to check for external commands. What happens when you try? Any errors in the browser? What are the permissions on your command file, and is the file writeable by the user your webservers runs as? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jking at informs.com Tue Mar 6 19:32:21 2007 From: jking at informs.com (Jason King) Date: Tue, 06 Mar 2007 12:32:21 -0600 Subject: External Commands not working In-Reply-To: References: Message-ID: <45EDB3B5.8060201@informs.com> You have to make sure "check_external_commands" option in the nagios.cfg file is set to 1. Otherwise nagios never checks to see if an external command has been issued. Jason Justin Craig wrote: > My external commands are not working. Can someone provide assistance? > > Below is some of my cgi.cfg info: > > cgi.cfg > nagios_check_command=/usr/local/nagios/libexec/check_nagios > /usr/local/nagios/var/status.dat 5 '/usr/local/nagios/bin/nagios' > use_authentication=1 > authorized_for_system_commands=nagiosadmin > > And my nagios.cfg is set to check for external commands. > > Also, I have in my httpd.conf file: > > > ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" > > > # SSLRequireSSL > Options ExecCGI > AllowOverride AuthConfig > Order allow,deny > Allow from all > # Order deny,allow > # Deny from all > # Allow from 127.0.0.1 > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > Require valid-user > > > Alias /nagios "/usr/local/nagios/share" > > > # SSLRequireSSL > Options None > AllowOverride AuthConfig > Order allow,deny > Allow from all > # Order deny,allow > # Deny from all > # Allow from 127.0.0.1 > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > Require valid-user > > # > > > > Let me know your thoughts and any commands to run that would help > troubleshoot this? > > > > -- > - Justin > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Tue Mar 6 20:21:30 2007 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 6 Mar 2007 14:21:30 -0500 Subject: Problem with check_nis script Message-ID: <9C63A4713C4E3342B90428CE44806A7302679C4B@PHSXMB5.partners.org> Hi there - I have installed the check_nis script on our Nagios 2.6 server, and have been able to manually run it. My next step is getting it to run within Nagios. The script has been copied to the libexec directory, and I have added a command definition to the commands.cfg file. Here is the syntax of the entry: # 'check_nis_space' command definition define command{ command_name /usr/local/nagios/libexec/check_nis -H space -d nisdomain command_line /usr/local/nagios/libexec/check_nis -H space -d nisdomain } I then went to the services.cfg file and added an entry there for the aforementioned command. The syntax there is the following: # Service definition define service{ use generic-service ; Name of service template to use host_name space service_description Check NIS Service is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nis_space } When I run the nagios -v check, I get an error message stating that the check_nis_space check_command in services.cfg is not defined anywhere. Is there another file(s) that I need to configure to get this to work? Thanks. The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Tue Mar 6 20:43:02 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Tue, 06 Mar 2007 19:43:02 +0000 Subject: Problem with check_nis script In-Reply-To: <9C63A4713C4E3342B90428CE44806A7302679C4B@PHSXMB5.partners.org> References: <9C63A4713C4E3342B90428CE44806A7302679C4B@PHSXMB5.partners.org> Message-ID: <45EDC446.2070904@mailnetwork.co.uk> Kaplan, Andrew H. wrote: > > Hi there ? > > I have installed the check_nis script on our Nagios 2.6 server, and > have been able to manually run it. My next step is getting it to run > within Nagios. > > The script has been copied to the libexec directory, and I have added > a command definition to the commands.cfg file. Here is the syntax of > the entry: > > # ?check_nis_space? command definition > > define command{ > > command_name /usr/local/nagios/libexec/check_nis ?H space ?d nisdomain > > command_line /usr/local/nagios/libexec/check_nis ?H space ?d nisdomain > > } > ^^ There-in lies your problem. command_name should be check_nis_space. i.e. define command { command_name check_nis_space command_line /usr/local/nagios/libexec/check_nis ?H space ?d nisdomain } > I then went to the services.cfg file and added an entry there for the > aforementioned command. The syntax there is the following: > > # Service definition > > define service{ > > use generic-service ; Name of service template to use > > host_name space > > service_description Check NIS Service > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 5 > > retry_check_interval 1 > > contact_groups linux-admins > > notification_interval 120 > > notification_period 24x7 > > notification_options w,u,c,r > > check_command check_nis_space > > } > > When I run the nagios ?v check, I get an error message stating that > the check_nis_space check_command in services.cfg is not defined > anywhere. > > Is there another file(s) that I need to configure to get this to work? > Thanks. > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Mar 6 20:39:24 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 6 Mar 2007 11:39:24 -0800 Subject: Problem with check_nis script In-Reply-To: <9C63A4713C4E3342B90428CE44806A7302679C4B@PHSXMB5.partners.org> References: <9C63A4713C4E3342B90428CE44806A7302679C4B@PHSXMB5.partners.org> Message-ID: <20070306193924.GM9694@pmorris.usa.hp.com> Hi Kaplan,! On Tue, 06 Mar 2007, Kaplan, Andrew H. wrote: > # 'check_nis_space' command definition > > define command{ > > command_name /usr/local/nagios/libexec/check_nis -H space > -d nisdomain > > command_line /usr/local/nagios/libexec/check_nis -H > space -d nisdomain > > When I run the nagios -v check, I get an error message stating that the > check_nis_space check_command in services.cfg is not defined anywhere. It's not -- you've defined a command named "/usr/local/nagios/libexec/check_nis -H space -d nisdomain" You probably want "command_name check_nis_space" ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ampranti at gmail.com Tue Mar 6 20:51:06 2007 From: ampranti at gmail.com (Brandino Andreas) Date: Tue, 6 Mar 2007 21:51:06 +0200 Subject: PING is critical Message-ID: <138990999.20070306215106@gmail.com> I have a nagios monitoring some hosts (routers /servers). For some reason i get many notifications that ping has expired (100% loss). Howerver, the host isn't down and i can ping the remote hosts from the linux thats runs nagios without any problem the same moment i get the critical notifications! At next check the 'PING' service is again up! The rest monitored services are up , only the ping expires. Any idea what can be wrong?? Regards <> --- - - - --- <> Brandino Andreas ampranti at gmail.com <> --- - - - --- <> ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Mar 6 20:54:01 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 6 Mar 2007 11:54:01 -0800 Subject: PING is critical In-Reply-To: <138990999.20070306215106@gmail.com> References: <138990999.20070306215106@gmail.com> Message-ID: <20070306195401.GN9694@pmorris.usa.hp.com> On Tue, 06 Mar 2007, Brandino Andreas wrote: > I have a nagios monitoring some hosts (routers /servers). > For some reason i get many notifications that ping has expired (100% > loss). > Howerver, the host isn't down and i can ping the remote hosts from > the linux thats runs nagios without any problem the same moment i get > the critical notifications! > At next check the 'PING' service is again up! The rest monitored services are > up , only the ping expires. > > Any idea what can be wrong?? Sounds like an intermittent network issue, either on the Nagios host, the target host, or somewhere in between. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue Mar 6 20:58:46 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 6 Mar 2007 19:58:46 +0000 Subject: Initial checks delayed too much In-Reply-To: <20070306165347.M61089@fabriciolima.com.br> References: <20070306165347.M61089@fabriciolima.com.br> Message-ID: <765d77c80703061158i50094ce3ve87f41b7797c17c8@mail.gmail.com> Correct me if I am wrong but I think you need to look at the retain_state_information directive in nagios.cfg . If you don't have this on, then I think Nagios will not know what state each host and service is in when it restarts, so they will all be pending until the relevant service checks are run. hth, Jim On 06/03/07, Fabricio Lima wrote: > > Hello, > > I've set up a nagios system monitoring several hosts (50 hosts with 10 services). > > When I add some host, and reloads with pkill -HUP nagios, the host/services > are exibited at the cgi, but it doesn't get checked as informed. > > Check it out bellow: > > Current Network Status > Last Updated: Tue Mar 6 11:08:58 BRT 2007 > > host Alpha > DISKSPACE > PENDING N/A 0d 0h 22m 47s+ 1/3 Service check scheduled for > Tue Mar 6 > 10:57:45 BRT 2007 > > Why nagios haven't checked this (and others) service yet? The system is > already up for 22 minutes. > > Someone has a logical explanation about that? > > Thanks > Fabricio Lima > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue Mar 6 21:05:39 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 6 Mar 2007 20:05:39 +0000 Subject: PING is critical In-Reply-To: <20070306195401.GN9694@pmorris.usa.hp.com> References: <138990999.20070306215106@gmail.com> <20070306195401.GN9694@pmorris.usa.hp.com> Message-ID: <765d77c80703061205t3fcf5e9au13c9deb0f104694@mail.gmail.com> On 06/03/07, Patrick Morris wrote: > > Any idea what can be wrong?? I expect you have configured the service check (or the command definition) so that Nagios only sends one ping. Pings are not guaranteed to get there and back so sometimes do get lost. Configure your services to send a few pings (I'd say anything between three and ten but your mileage may vary) and consider using either check_fping or check_icmp instead of check_ping. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ampranti at gmail.com Wed Mar 7 07:10:26 2007 From: ampranti at gmail.com (Brandino Andreas) Date: Wed, 7 Mar 2007 08:10:26 +0200 Subject: PING is critical In-Reply-To: <765d77c80703061205t3fcf5e9au13c9deb0f104694@mail.gmail.com> References: <138990999.20070306215106@gmail.com> <20070306195401.GN9694@pmorris.usa.hp.com> <765d77c80703061205t3fcf5e9au13c9deb0f104694@mail.gmail.com> Message-ID: <1846562.20070307081026@gmail.com> Yesterday i increased the number of pings from 3 to 6 with some better results (less notifications). Tomorrow i will set critical to be set when there is 100% lost. That way i hope fake alerts will be stopped. Thanks Tuesday, March 6, 2007, 10:05:39 PM, you wrote: > On 06/03/07, Patrick Morris wrote: >> > Any idea what can be wrong?? > I expect you have configured the service check (or the command > definition) so that Nagios only sends one ping. Pings are not > guaranteed to get there and back so sometimes do get lost. Configure > your services to send a few pings (I'd say anything between three and > ten but your mileage may vary) and consider using either check_fping > or check_icmp instead of check_ping. > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 ampranti at gmail.com <> --- - - - --- <> ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ezra at iskoot.com Wed Mar 7 08:58:11 2007 From: ezra at iskoot.com (Ezra Radoff) Date: Wed, 7 Mar 2007 01:58:11 -0600 Subject: alerting flakey Message-ID: <224A144BE305664CAE7807796F8FC9FA8240E7@mail-29ps.atlarge.net> hello. I've been using nagios for a couple of months now pretty successfully, but I've noticed that the alerting function is a bit flakey. I've been over the configuration many times, but everything seems fine. The amount of alerting it does seems to change after I restart the service with /etc/init.d/nagios restart. It was sending warning and criticals. Then, after a restart, it wasn't sending service critical alerts. Then I restarted it again. It wasn't sending anything. Then I restarted it again, and it was sending warnings. I'm using version 2.6 which I got from the CVS tree a couple of months ago. Can anybody give me a little help on this one? The alert just calls a script I wrote by hand which is referenced in the commands.cfg . I don't use the groups or anything. No alert attempt is showing up in the event log either. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Mar 7 09:48:05 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 7 Mar 2007 08:48:05 +0000 Subject: alerting flakey In-Reply-To: <224A144BE305664CAE7807796F8FC9FA8240E7@mail-29ps.atlarge.net> References: <224A144BE305664CAE7807796F8FC9FA8240E7@mail-29ps.atlarge.net> Message-ID: <765d77c80703070048w77d2b0a4ve140a31595ebe69d@mail.gmail.com> On 07/03/07, Ezra Radoff wrote: > hello. I've been using nagios for a couple of months now pretty > successfully, but I've noticed that the alerting function is a bit flakey. > I've been over the configuration many times, but everything seems fine. The > amount of alerting it does seems to change after I restart the service with > /etc/init.d/nagios restart. It was sending warning and criticals. Then, > after a restart, it wasn't sending service critical alerts. Then I restarted > it again. It wasn't sending anything. Then I restarted it again, and it was > sending warnings. It's not because the hosts or services are flapping is it? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From narendran.neelamegam at wipro.com Wed Mar 7 10:51:10 2007 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Wed, 7 Mar 2007 15:21:10 +0530 Subject: NRPE and Nagios plugin for Tru64 and HPUX 10 References: <224A144BE305664CAE7807796F8FC9FA8240E7@mail-29ps.atlarge.net> <765d77c80703070048w77d2b0a4ve140a31595ebe69d@mail.gmail.com> Message-ID: Hi, Can some one share the pre-compiled binaries of Tru64 and HPUX 10 NRPE and Plugin. Or please share the procedure to compile them on Tru64 and HPUX 10. Thank you Regards, Narendran Neelamegam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ezra at iskoot.com Wed Mar 7 11:42:16 2007 From: ezra at iskoot.com (Ezra Radoff) Date: Wed, 7 Mar 2007 04:42:16 -0600 Subject: alerting flakey References: <224A144BE305664CAE7807796F8FC9FA8240E7@mail-29ps.atlarge.net> <765d77c80703070048w77d2b0a4ve140a31595ebe69d@mail.gmail.com> Message-ID: <224A144BE305664CAE7807796F8FC9FA8240E8@mail-29ps.atlarge.net> No, but I'm thinking now that it's always sending warnings and never sending criticals. It's not flapping. We had a server down for hours. It wasn't sending the warnings because it only does it after four. I think that part has been consistant. In the service def it looks like all four states are configured for sending alerts. I don't get it. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net on behalf of Jim Avery Sent: Wed 3/7/2007 2:48 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] alerting flakey On 07/03/07, Ezra Radoff wrote: > hello. I've been using nagios for a couple of months now pretty > successfully, but I've noticed that the alerting function is a bit flakey. > I've been over the configuration many times, but everything seems fine. The > amount of alerting it does seems to change after I restart the service with > /etc/init.d/nagios restart. It was sending warning and criticals. Then, > after a restart, it wasn't sending service critical alerts. Then I restarted > it again. It wasn't sending anything. Then I restarted it again, and it was > sending warnings. It's not because the hosts or services are flapping is it? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Mar 7 13:24:58 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 7 Mar 2007 12:24:58 +0000 Subject: alerting flakey In-Reply-To: <224A144BE305664CAE7807796F8FC9FA8240E8@mail-29ps.atlarge.net> References: <224A144BE305664CAE7807796F8FC9FA8240E7@mail-29ps.atlarge.net> <765d77c80703070048w77d2b0a4ve140a31595ebe69d@mail.gmail.com> <224A144BE305664CAE7807796F8FC9FA8240E8@mail-29ps.atlarge.net> Message-ID: <765d77c80703070424q67fb59e7x8054efa4678965a3@mail.gmail.com> On 07/03/07, Ezra Radoff wrote: > No, but I'm thinking now that it's always sending warnings and never sending > criticals. > It's not flapping. We had a server down for hours. > It wasn't sending the warnings because it only does it after four. I think > that part has been consistant. > In the service def it looks like all four states are configured for sending > alerts. I don't get it. Whether a critical alert gets generated or not can depend on the notification_options in the service definition, the host definition and/or the contact definition. Whether notifications are generated at all can depend on notification_enabled in the host or service definition, on the timeperiod in the contact definition, globally in the nagios configuration and it can be dynamically enabled/disabled for hosts, services and for nagios as a whole. My guess is that it might be something quite simple in the notification_options somewhere. See http://nagios.sourceforge.net/docs/2_0/notifications.html Another option worth trying is check_for_orphaned_services in your main nagios.cfg file. See: http://nagios.sourceforge.net/docs/2_0/configmain.html#check_for_orphaned_services Cheers, Jim ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ezra at iskoot.com Wed Mar 7 13:27:30 2007 From: ezra at iskoot.com (Ezra Radoff) Date: Wed, 7 Mar 2007 06:27:30 -0600 Subject: alerting flakey References: <224A144BE305664CAE7807796F8FC9FA8240E7@mail-29ps.atlarge.net><765d77c80703070048w77d2b0a4ve140a31595ebe69d@mail.gmail.com><224A144BE305664CAE7807796F8FC9FA8240E8@mail-29ps.atlarge.net> <765d77c80703070424q67fb59e7x8054efa4678965a3@mail.gmail.com> Message-ID: <224A144BE305664CAE7807796F8FC9FA8240EA@mail-29ps.atlarge.net> OK. It's definatly none of those. take a look. define service{ use local-service hostgroup_name cisco_routers service_description Cisco_load check_command check_snmp_load_cisco!cisco!90,80,60!100,100,100 } ############## define service{ name local-service ; The name of this service template use generic-service ; Inherit default values from the generic-service definition check_period 24x7 ; The service can be checked at any time of the day max_check_attempts 4 ; Re-check the service up to 4 times in order to determine its final (hard) state normal_check_interval 5 ; Check the service every 5 minutes under normal conditions retry_check_interval 1 ; Re-check the service every minute until a hard state can be determined contact_groups admins ; Notifications get sent out to everyone in the 'admins' group notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events notification_interval 60 ; Re-notify about service problems every hour notification_period 24x7 ; Notifications can be sent out at any time register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } ############## Whether a critical alert gets generated or not can depend on the notification_options in the service definition, the host definition and/or the contact definition. Whether notifications are generated at all can depend on notification_enabled in the host or service definition, on the timeperiod in the contact definition, globally in the nagios configuration and it can be dynamically enabled/disabled for hosts, services and for nagios as a whole. My guess is that it might be something quite simple in the notification_options somewhere. See http://nagios.sourceforge.net/docs/2_0/notifications.html Another option worth trying is check_for_orphaned_services in your main nagios.cfg file. See: http://nagios.sourceforge.net/docs/2_0/configmain.html#check_for_orphaned_services Cheers, Jim ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ezra at iskoot.com Wed Mar 7 13:50:44 2007 From: ezra at iskoot.com (Ezra Radoff) Date: Wed, 7 Mar 2007 06:50:44 -0600 Subject: alerting flakey References: Message-ID: <224A144BE305664CAE7807796F8FC9FA8240EB@mail-29ps.atlarge.net> sounds like you've seen this before? I did as you advised. stop restart. I don't know what other processes to look for besides the one below. There weren't any running. isk-nagios:/usr/local/nagios/etc # ps -ef | grep nagios nagios 25494 1 0 14:48 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg root 25501 25032 0 14:50 pts/0 00:00:00 grep nagios -----Original Message----- From: Santhosh Kumar A [mailto:santhoshkumar.a at ramcoinfotech.com] Sent: Wed 3/7/2007 6:43 AM To: Ezra Radoff; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] alerting flakey ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Ezra Radoff Sent: Wednesday, March 07, 2007 1:28 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] alerting flakey hello. I've been using nagios for a couple of months now pretty successfully, but I've noticed that the alerting function is a bit flakey. I've been over the configuration many times, but everything seems fine. The amount of alerting it does seems to change after I restart the service with /etc/init.d/nagios restart. It was sending warning and criticals. Then, after a restart, it wasn't sending service critical alerts. Then I restarted it again. It wasn't sending anything. Then I restarted it again, and it was sending warnings. check whether multiple nagios daemons running or not . stop nagios and ensure every nagios process is killed then do a start (don't use restart) Santhosh I'm using version 2.6 which I got from the CVS tree a couple of months ago. Can anybody give me a little help on this one? The alert just calls a script I wrote by hand which is referenced in the commands.cfg . I don't use the groups or anything. No alert attempt is showing up in the event log either. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Wed Mar 7 14:44:26 2007 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 7 Mar 2007 08:44:26 -0500 Subject: NRPE and Nagios plugin for Tru64 and HPUX 10 In-Reply-To: References: Message-ID: <9C63A4713C4E3342B90428CE44806A7302679C50@PHSXMB5.partners.org> Hi there - If you are running Nagios 1.x, the precompiled binaries for hpux 10.x can be found at www.bennyvision.com . They are located on the projects page. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of narendran.neelamegam at wipro.com Sent: Wednesday, March 07, 2007 4:51 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE and Nagios plugin for Tru64 and HPUX 10 Hi, Can some one share the pre-compiled binaries of Tru64 and HPUX 10 NRPE and Plugin. Or please share the procedure to compile them on Tru64 and HPUX 10. Thank you Regards, Narendran Neelamegam The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Wed Mar 7 14:47:54 2007 From: benny at bennyvision.com (C. Bensend) Date: Wed, 7 Mar 2007 07:47:54 -0600 (CST) Subject: NRPE and Nagios plugin for Tru64 and HPUX 10 In-Reply-To: <9C63A4713C4E3342B90428CE44806A7302679C50@PHSXMB5.partners.org> References: <9C63A4713C4E3342B90428CE44806A7302679C50@PHSXMB5.partners.org> Message-ID: <56226.63.227.74.41.1173275274.squirrel@webmail.stinkweasel.net> > If you are running Nagios 1.x, the precompiled binaries for hpux 10.x can > be > found at www.bennyvision.com . They are > located on > the projects page. Please note that those binaries are ooolllllllllddddddddddd. I need to update the page with a banner in about 60-point BLINK to emphasize that fact. ;) I don't have access to a decent HP-UX build environment any longer, hence, the outdatedness of the binaries. Please be aware. Benny -- "During the Armageddon, only two things will survive - cockroaches and Cher." -- "What's her bra size" online game ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srikalyan.tangirala at gmail.com Wed Mar 7 15:03:17 2007 From: srikalyan.tangirala at gmail.com (srikalyan tangirala) Date: Wed, 7 Mar 2007 09:03:17 -0500 Subject: NAGIOS 2.3.1 version issues In-Reply-To: References: Message-ID: Hi all: As I'm trying to verify the configuration file, I'm getting this error message. We have this HP Cluster setup and NAGIOS is installed there. There are 18 nodes(n1 through n18) n18 being the main node. All the nodes are up and running. Can any one help me out? Best, Sri -bash-3.00# /opt/hptc/nagios/bin/nagios -v /opt/hptc/nagios/etc/nagios.cfg Nagios 2.3.1 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 05-15-2006 License: GPL Reading configuration data... Warning: Could not get group entry for 'nagios' Error: Could not find any host matching 'n1' Error: Could not expand member hosts specified in hostgroup (config file '/opt/hptc/nagios/etc/xc-hostgroups.cfg', starting on line 90) ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. On 3/5/07, srikalyan tangirala wrote: > > Hi All: > I'm using NAGIOS 2.3.1 version.Installed and configured it > with authenticated users as nagiosadmin and guest. Now, when I logged in as > nagiosadmin and trying to check if the services under Monitoring list > works, they dont seem to work and the information that it provides is the > below. I configured the additional permissions to CGI also with system > information, commands, all hosts,services according to the documentation. It > does not seem to work. Can anyone help me? I'm a newbie and need some help. > > Whoops! > > *Error: Could not read host and service status information!* > > The most common cause of this error message (especially for new users), is > the fact that Nagios is not actually running. If Nagios is indeed not > running, this is a normal error message. It simply indicates that the CGIs > could not obtain the current status of hosts and services that are being > monitored. If you've just installed things, make sure you read the > documentation on starting Nagios. > > Some other things you should check in order to resolve this error include: > > > > 1. Check the Nagios log file for messages relating to startup or > status data errors. > 2. Always verify configuration options using the *-v* command-line > option before starting or restarting Nagios! > 3. Make sure you've compiled the main program and the CGIs to use > the same status data storage options (i.e. text file or database). > If the main program is storing status data in a text file and the CGIs are > trying to read status data from a database, you'll have problems. > > Make sure you read the documentation on installing, configuring and > running Nagios thoroughly before continuing. If all else fails, try sending > a message to one of the mailing > > > > thanks > sri > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.welsh at bt.com Wed Mar 7 16:28:19 2007 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Wed, 7 Mar 2007 15:28:19 -0000 Subject: NAGIOS 2.3.1 version issues Message-ID: <15DD454F6DC003448921543639378794A9E675@i2km09-ukbr.domain1.systemhost.net> Hey All, Its only a wild guess but there is a space in your config file name .... config file '/opt/hptc/nagios/etc/xc- hostgroups.cfg', xc- hostgroups.cfg Should it not be xc-hostgroups.cfg. Check your nagios.cfg file where you specified the above filename and verify it is the same as the actual hostgroups.cfg file. HTH Tom _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of srikalyan tangirala Sent: 07 March 2007 14:03 To: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NAGIOS 2.3.1 version issues Hi all: As I'm trying to verify the configuration file, I'm getting this error message. We have this HP Cluster setup and NAGIOS is installed there. There are 18 nodes(n1 through n18) n18 being the main node. All the nodes are up and running. Can any one help me out? Best, Sri -bash-3.00# /opt/hptc/nagios/bin/nagios -v /opt/hptc/nagios/etc/nagios.cfg Nagios 2.3.1 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org ) Last Modified: 05-15-2006 License: GPL Reading configuration data... Warning: Could not get group entry for 'nagios' Error: Could not find any host matching 'n1' Error: Could not expand member hosts specified in hostgroup (config file '/opt/hptc/nagios/etc/xc- hostgroups.cfg', starting on line 90) ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. On 3/5/07, srikalyan tangirala wrote: Hi All: I'm using NAGIOS 2.3.1 version.Installed and configured it with authenticated users as nagiosadmin and guest. Now, when I logged in as nagiosadmin and trying to check if the services under Monitoring list works, they dont seem to work and the information that it provides is the below. I configured the additional permissions to CGI also with system information, commands, all hosts,services according to the documentation. It does not seem to work. Can anyone help me? I'm a newbie and need some help. Whoops! Error: Could not read host and service status information! The most common cause of this error message (especially for new users), is the fact that Nagios is not actually running. If Nagios is indeed not running, this is a normal error message. It simply indicates that the CGIs could not obtain the current status of hosts and services that are being monitored. If you've just installed things, make sure you read the documentation on starting Nagios. Some other things you should check in order to resolve this error include: 1. Check the Nagios log file for messages relating to startup or status data errors. 2. Always verify configuration options using the -v command-line option before starting or restarting Nagios! 3. Make sure you've compiled the main program and the CGIs to use the same status data storage options (i.e. text file or database). If the main program is storing status data in a text file and the CGIs are trying to read status data from a database, you'll have problems. Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing thanks sri -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Wed Mar 7 18:42:02 2007 From: kyle.odonnell at gmail.com (Kyle O'Donnell) Date: Wed, 7 Mar 2007 12:42:02 -0500 Subject: NRPE and Nagios plugin for Tru64 and HPUX 10 In-Reply-To: <56226.63.227.74.41.1173275274.squirrel@webmail.stinkweasel.net> References: <9C63A4713C4E3342B90428CE44806A7302679C50@PHSXMB5.partners.org> <56226.63.227.74.41.1173275274.squirrel@webmail.stinkweasel.net> Message-ID: <2274b9c30703070942u400371dan1132160844da3b5d@mail.gmail.com> Hi, I've successfully compiled the nrpe, nsca and *most* of the nagios-plugin binaries for hpux 10.20. Off the top of my head: There were a few plug-ins that wouldn't compile, I didn't need them so i removed from the Makefile. Nrpe and Nsca src required a few changes: -didn't bother trying to compile in ssl support -the compiler didn't like some of the operators used in utils.c ( had to change if => to if > && < in places) nrpe config options $ ./configure --prefix=/opt/nagios --with-nrpe-user=nagios --with-nrpe-group=nagios --disable-ssl --without-ssl CCOPTS=+DA1.1 CXXOPTS=+DA1.1 --enable-command-args nsca config options: ./configure --prefix=/opt/nagios CCOPTS=+DA1.1 CXXOPTS=+DA1.1 I'll be upgrading to the latest nrpe/nsca version shortly and will post more specifics then. --kyleo On 3/7/07, C. Bensend wrote: > > > If you are running Nagios 1.x, the precompiled binaries for hpux 10.x can > > be > > found at www.bennyvision.com . They are > > located on > > the projects page. > > Please note that those binaries are ooolllllllllddddddddddd. I > need to update the page with a banner in about 60-point BLINK to > emphasize that fact. ;) > > I don't have access to a decent HP-UX build environment any longer, > hence, the outdatedness of the binaries. Please be aware. > > Benny > > > -- > "During the Armageddon, only two things will survive - cockroaches > and Cher." -- "What's her bra size" online game > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Mar 7 20:10:51 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 7 Mar 2007 19:10:51 +0000 Subject: alerting flakey In-Reply-To: <224A144BE305664CAE7807796F8FC9FA8240EA@mail-29ps.atlarge.net> References: <224A144BE305664CAE7807796F8FC9FA8240E7@mail-29ps.atlarge.net> <765d77c80703070048w77d2b0a4ve140a31595ebe69d@mail.gmail.com> <224A144BE305664CAE7807796F8FC9FA8240E8@mail-29ps.atlarge.net> <765d77c80703070424q67fb59e7x8054efa4678965a3@mail.gmail.com> <224A144BE305664CAE7807796F8FC9FA8240EA@mail-29ps.atlarge.net> Message-ID: <765d77c80703071110v67197e8aj61ef88cf890eb65e@mail.gmail.com> On 07/03/07, Ezra Radoff wrote: > define service{ > use local-service > hostgroup_name cisco_routers > service_description Cisco_load > check_command > check_snmp_load_cisco!cisco!90,80,60!100,100,100 > } I can't see anything obviously wrong there. I'm not familiar with the check_snmp_load_cisco plugin though. It might be wise to run that manually while logged in as nagios. Make sure it returns with the right exit code and returns the expected output. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From c.mies at itnovum.de Wed Mar 7 21:25:57 2007 From: c.mies at itnovum.de (Mies, Christian) Date: Wed, 7 Mar 2007 21:25:57 +0100 Subject: nagios 3 latency not shown Message-ID: <1160D06701B0154985D72DA43FE3D33ABBF53E@srvcom02.master.dns> Hi List, hi Ethan, I've installed Nagios 3.0a1 on a SLES 10 Server. I have about 1700 Services on about 300 Hosts running. In the Nagios.cfg I've set the use_large_installation_tweaks=1 Now, If I show in the tactical Overview I see a latency of 0.000 sec. But my scheduling queue is 3 minutes behind the actual server time. Mit freundlichem Gru? / regards Christian Mies it-novum GmbH, Edelzeller Str. 44, 36043 Fulda, Germany FON: +49 (661) 103-874(333) FAX: +49 (661) 103-334 MAIL: c.mies at itnovum.de WEB: http://www.itnovum.de Handelsregister: Amtsgericht Fulda, HRB 1934 Gesch?ftsf?hrer: Michael Kienle (Vorsitz), Stefan Heil Sitz der Gesellschaft: Fulda UstID-Nr: DE813211784 Steuernr.: 018/225/03095 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From c.mies at itnovum.de Wed Mar 7 21:47:58 2007 From: c.mies at itnovum.de (Mies, Christian) Date: Wed, 7 Mar 2007 21:47:58 +0100 Subject: nagios 3 latency not shown Message-ID: <1160D06701B0154985D72DA43FE3D33ABBF53F@srvcom02.master.dns> use_large_installation_tweaks is now set to 0, but still no latency shown Mit freundlichem Gru? Christian Mies it-novum GmbH, Edelzeller Str. 44, 36043 Fulda, Germany FON: +49 (661) 103-874(333) FAX: +49 (661) 103-334 MAIL: c.mies at itnovum.de WEB: http://www.itnovum.de Handelsregister: Amtsgericht Fulda, HRB 1934 Gesch?ftsf?hrer: Michael Kienle (Vorsitz), Stefan Heil Sitz der Gesellschaft: Fulda UstID-Nr: DE813211784 Steuernr.: 018/225/03095 ________________________________ Von: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von Mies, Christian Gesendet: Mittwoch, 7. M?rz 2007 21:26 An: Nagios-users at lists.sourceforge.net Betreff: [Nagios-users] nagios 3 latency not shown Hi List, hi Ethan, I've installed Nagios 3.0a1 on a SLES 10 Server. I have about 1700 Services on about 300 Hosts running. In the Nagios.cfg I've set the use_large_installation_tweaks=1 Now, If I show in the tactical Overview I see a latency of 0.000 sec. But my scheduling queue is 3 minutes behind the actual server time. Mit freundlichem Gru? / regards Christian Mies it-novum GmbH, Edelzeller Str. 44, 36043 Fulda, Germany FON: +49 (661) 103-874(333) FAX: +49 (661) 103-334 MAIL: c.mies at itnovum.de WEB: http://www.itnovum.de Handelsregister: Amtsgericht Fulda, HRB 1934 Gesch?ftsf?hrer: Michael Kienle (Vorsitz), Stefan Heil Sitz der Gesellschaft: Fulda UstID-Nr: DE813211784 Steuernr.: 018/225/03095 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PriggeScottM at JohnDeere.com Wed Mar 7 22:52:25 2007 From: PriggeScottM at JohnDeere.com (Prigge Scott) Date: Wed, 7 Mar 2007 15:52:25 -0600 Subject: Current States logged upon log rotation Message-ID: <0B5F692B776CFF4AB836841D36E92E9B02BF3651@edxmb7.jdnet.deere.com> I recently upgraded from 1.0b to 2.7. I noticed that immediately after my daily log rotation, the current state of all hosts and services is entered in the log file. As I have thousands of hosts/services, this makes the log (in my case) unnecessarily large, and was hoping to find an option to prevent those states from being logged. Here is a sample of entries I am referring to: Informational Message[03-07-2007 00:00:00] CURRENT SERVICE STATE: ;Ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 29.40 ms Informational Message[03-07-2007 00:00:00] CURRENT SERVICE STATE: ;Ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 73.01 ms Informational Message[03-07-2007 00:00:00] CURRENT HOST STATE: ;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 10.64 ms Informational Message[03-07-2007 00:00:00] CURRENT HOST STATE: ;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 28.26 ms The documentation references the "log_initial_states" entry in the main configuration file, which seems like it should control this option. But as you can see by my config file below, it's disabled. Should I be looking at a different option(s)? Thanks. cfg_file=/usr/local/nagios/etc/host_templates.cfg cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/commands.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/service_templates.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/servicegroups.cfg resource_file=/usr/local/nagios/etc/resources.cfg cfg_file=/usr/local/nagios/etc/hostextinfo.cfg cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg cfg_file=/usr/local/nagios/etc/dependencies.cfg cfg_file=/usr/local/nagios/etc/escalations.cfg log_file=/usr/local/nagios/var/nagios.log temp_file=/usr/local/nagios/var/nagios.tmp status_file=/usr/local/nagios/var/status.dat aggregate_status_updates=1 status_update_interval=30 nagios_user=nagios nagios_group=nagios enable_notifications=1 execute_service_checks=1 accept_passive_service_checks=0 enable_event_handlers=0 log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd downtime_file=/usr/local/nagios/var/downtime.dat comment_file=/usr/local/nagios/var/comment.dat lock_file=/usr/local/nagios/var/nagios.lock retain_state_information=1 state_retention_file=/usr/local/nagios/var/retention.dat retention_update_interval=15 use_retained_program_state=1 use_syslog=0 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_checks=0 service_interleave_factor=s service_reaper_frequency=10 interval_length=60 service_check_timeout=60 host_check_timeout=60 notification_timeout=60 date_format=us illegal_object_name_chars=`~!$%^&*"|'<>?,()= illegal_macro_output_chars=`~$^&"|'<> object_cache_file=/usr/local/nagios/var/objects.cache execute_host_checks=1 service_inter_check_delay_method=s use_retained_scheduling_info=0 accept_passive_host_checks=0 host_inter_check_delay_method=s host_perfdata_file_mode=a service_perfdata_file_mode=a host_perfdata_file_processing_interval=0 service_perfdata_file_processing_interval=0 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 7 23:33:31 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 7 Mar 2007 23:33:31 +0100 (CET) Subject: [FRAUD] [DISARMED] nagios 3 latency not shown In-Reply-To: <1160D06701B0154985D72DA43FE3D33ABBF53E@srvcom02.master.dns> References: <1160D06701B0154985D72DA43FE3D33ABBF53E@srvcom02.master.dns> Message-ID: On Wed, 7 Mar 2007, Mies, Christian wrote: > I've installed Nagios 3.0a1 on a SLES 10 Server. I have about 1700 Services on about 300 Hosts running. > In the Nagios.cfg I've set the use_large_installation_tweaks=1 > > Now, If I show in the tactical Overview I see a latency of 0.000 sec. > > But my scheduling queue is 3 minutes behind the actual server time. I would gues sthat latency refers to the average time between the start of a service/host check and the time it finishes. So near 0 is rather good. Having a schedula running 3 minutes slow seems to indicate the system is having a bit of a hard time keeping up. Given it is a test version I would not be surprised if there is some error in these calculations. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andreas.Luber at atosorigin.com Thu Mar 8 08:35:43 2007 From: Andreas.Luber at atosorigin.com (Andreas.Luber at atosorigin.com) Date: Thu, 8 Mar 2007 08:35:43 +0100 Subject: Nagios drops service checks when executing a host event handler? Message-ID: <0BD0B10BB7C83641AF55A85477F75F9701266272@DEFMX001.deuser.de.intra> Hi, i have a strange problem i quite don't understand to handle. Question: Is Nagios dropping service checks when executing a host event handler? Situation: 1. We are monitoring 85 Windows Servers with about 630 service checks being performed. check_ping is being run on all servers. 2. Any and all performance data is being passed to a custom shell script. Among others, this script is writing the performance data to a text file 3. The text file containing the performance data is then passed to our data warehouse in order to generate reports. Problem: Per day, there are about 150 checks (Ping) NOT being executed at all. When checking our external text file, i see (example here) that a check at 16:23 is missing. Actually, it seems like check_ping at 16:23 was not executed on ANY host at all. 02-19-2007 16:21:18#SRVDE050#Ping#OK#PING OK - Packet loss = 0%, RTA = 4.24 ms# SRVDE050#02-19-2007 16:21:18#Ping#PING OK - Packet loss = 0%, RTA = 4.24 ms 02-19-2007 16:22:18#SRVDE050#Ping#OK#PING OK - Packet loss = 0%, RTA = 1.21 ms# SRVDE050#02-19-2007 16:22:18#Ping#PING OK - Packet loss = 0%, RTA = 1.21 ms 02-19-2007 16:24:45#SRVDE050#Ping#OK#PING OK - Packet loss = 0%, RTA = 7.24 ms# SRVDE050#02-19-2007 16:24:45#Ping#PING OK - Packet loss = 0%, RTA = 7.24 ms Problem source could be: When checking nagios.log, i see that a host event handler was being executed at that time. Workflow: 1. check_ping reports a problem (host down, for example) 2. nagios executes the configured host event handler This is the point where it seems to me, that ANY check related to the same check_command (here: check_ping) are being dropped at that time. Maybe i am missing something here...? We use Nagios 2.6. Any help is appreciated. Kind regards, Andreas Atos Origin GmbH, Theodor-Althoff-Str. 47, D-45133 Essen, Postfach 100 123, D-45001 Essen Telefon: +49 201 4305 0, Fax: +49 201 4305 689095, www.atosorigin.de Dresdner Bank AG, Hamburg: Kto. 0954411200, BLZ 200 800 00, Swift Code DRESDEFF200, IBAN DE69200800000954411200 Gesch?ftsf?hrer: Dominique Illien, Handelsregister Essen HRB 19354, Ust.-ID.-Nr.: DE147861238 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Mar 8 08:47:52 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 8 Mar 2007 02:47:52 -0500 Subject: Nagios drops service checks when executing a hostevent handler? In-Reply-To: <0BD0B10BB7C83641AF55A85477F75F9701266272@DEFMX001.deuser.de.intra> References: <0BD0B10BB7C83641AF55A85477F75F9701266272@DEFMX001.deuser.de.intra> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Andreas.Luber at atosorigin.com > Sent: Wednesday, March 07, 2007 11:36 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios drops service checks when > executing a hostevent handler? > > Hi, > > i have a strange problem i quite don't understand to handle. > > Question: > Is Nagios dropping service checks when executing a host event > handler? Probably. All service checks stop when a host check is being executed. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eagle at cyberdelia.de Thu Mar 8 09:03:01 2007 From: eagle at cyberdelia.de (Daniel Meyer) Date: Thu, 8 Mar 2007 09:03:01 +0100 (CET) Subject: Problem with parents and multipath Message-ID: Hi, i've the following network structure between our main location and several other sites: /---->RouterA1<---->RouterB1<----\ LanA<---->SwitchA X SwitchB<---->LanB \---->RouterA2<---->RouterB2<----/ The nagios server is located in LanA, switch a and b are layer3 switches and are being used as default gateway in their local networks. Each wan link is connected to both routers on each side - so any single failing router or wan link does not cause a network problem. I used the following config on the nagios server: RouterA1: parents SwitchA RouterA2: parents SwitchA RouterB1: parents RouterA1,RouterA2 RouterB2: parents RouterA1,RouterA2 SwitchB: parents RouterB1,RouterB2 The problem is: if any given router fails nagios states "blocking outage" and stops sending messages for any other system on the remote site. This is clearly wrong, since all systems are perfectly reachable. Is there a mistake in my config or have i hit a bug? Danny -- Q: Gentoo is too hard to install = http://www.cyberdelia.de and I feel like whining. = eagle at cyberdelia.de A: Please see /dev/null. = (from the gentoo installer FAQ) = \o/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eagle at cyberdelia.de Thu Mar 8 09:14:12 2007 From: eagle at cyberdelia.de (Daniel Meyer) Date: Thu, 8 Mar 2007 09:14:12 +0100 (CET) Subject: Problem with parents and multipath In-Reply-To: References: Message-ID: stupid me :) forgot something: i'm using Nagios 2.7 -- Q: Gentoo is too hard to install = http://www.cyberdelia.de and I feel like whining. = eagle at cyberdelia.de A: Please see /dev/null. = (from the gentoo installer FAQ) = \o/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at ayksolutions.com Thu Mar 8 12:43:45 2007 From: nagios at ayksolutions.com (Artyom Khmelnitsky) Date: Thu, 8 Mar 2007 12:43:45 +0100 (CET) Subject: putting a Subject into the notification email Message-ID: <20070308114345.A05734F4045@desire.netways.de> Hello, What command do you use to give the notification email a subject. Right now, if a box is down, it just sends an email with no subject at all. It would be nice to put a subject in there that has the Host's IP for instance. Currently, here's what we have: # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/lib/sendmail "Host $HOSTSTATE$ alert for $HOSTNAME$" $CONTACTEMAIL$ } I take it the part after '| /usr/lib/senmail' is the subject of the email. Anyone know why it does not process it? We currently usq qmail server. Thank you for the help! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Mar 8 13:00:07 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 08 Mar 2007 12:00:07 +0000 Subject: putting a Subject into the notification email In-Reply-To: <20070308114345.A05734F4045@desire.netways.de> References: <20070308114345.A05734F4045@desire.netways.de> Message-ID: <45EFFAC7.2030603@googlemail.com> I use the mail command rather than the sendmail command. This will still use your local smtp mechanism. printf "blah blah" | mail -s "this is the subject" me at mydomain.com hth -h Hari Sekhon Artyom Khmelnitsky wrote: > Hello, > > What command do you use to give the notification email a subject. Right now, if a box is down, it just sends an email with no subject at all. It would be nice to put a subject in there that has the Host's IP for instance. > > Currently, here's what we have: > > # 'host-notify-by-email' command definition > define command{ > command_name host-notify-by-email > command_line /usr/bin/printf "%b" "\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/lib/sendmail "Host $HOSTSTATE$ alert for $HOSTNAME$" $CONTACTEMAIL$ > } > > I take it the part after '| /usr/lib/senmail' is the subject of the email. Anyone know why it does not process it? We currently usq qmail server. > > Thank you for the help! > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hunter at userfriendly.net Thu Mar 8 13:58:42 2007 From: hunter at userfriendly.net (Michael Weiner) Date: Thu, 08 Mar 2007 07:58:42 -0500 Subject: weighted health monitors Message-ID: This may sound like somewhat of a silly question, but one of our server admins asked me if it were possible to change the 'health' monitors on the Tactical Overview page. In other words, he would like to know if its possible to 'weight' a host and/or service - he thinks some hosts or services should count more than others (i.e. a server providing DNS or AD should weight more than a server providing file serving activities) and would like the health meters on that page to account for this. Is this possible? Thanks for any ideas Michael Weiner ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Thu Mar 8 16:15:03 2007 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Thu, 8 Mar 2007 10:15:03 -0500 Subject: Nagios drops service checks when executing a hostevent handler? In-Reply-To: References: <0BD0B10BB7C83641AF55A85477F75F9701266272@DEFMX001.deuser.de.intra> Message-ID: <2274b9c30703080715u51c56320r559a77684c151ace@mail.gmail.com> Hi, In the nagios performance tuning doc they recommend changing the check_interval on host checks to 0. Running a host check isn't really required as the system will automagically run one when required. http://nagios.sourceforge.net/docs/2_0/tuning.html --kyleo On 3/8/07, Morris, Patrick wrote: > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > > Of Andreas.Luber at atosorigin.com > > Sent: Wednesday, March 07, 2007 11:36 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Nagios drops service checks when > > executing a hostevent handler? > > > > Hi, > > > > i have a strange problem i quite don't understand to handle. > > > > Question: > > Is Nagios dropping service checks when executing a host event > > handler? > > Probably. All service checks stop when a host check is being executed. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 8 17:34:55 2007 From: enediel at hotmail.com (enediel gonzalez) Date: Thu, 08 Mar 2007 16:34:55 +0000 Subject: nagios and Director for ibm servers Message-ID: Hello I need to monitor temperature sensors on IBM servers, I don't know if installing the Director agents I can get the information using snmp request. Is there any other solution to do this? Thanks in advance for any answer. Enediel Linux user 300141 Debian GNU/Linux _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Thu Mar 8 18:36:05 2007 From: israel at frontierflying.com (Israel Brewster) Date: Thu, 8 Mar 2007 08:36:05 -0900 Subject: weighted health monitors In-Reply-To: References: Message-ID: <39EA1DF4-3C76-45C1-A335-F7A663AC29C1@frontierflying.com> On Mar 8, 2007, at 3:58 AM, Michael Weiner wrote: > This may sound like somewhat of a silly question, but one of our > server > admins asked me if it were possible to change the 'health' monitors > on the > Tactical Overview page. In other words, he would like to know if its > possible to 'weight' a host and/or service - he thinks some hosts or > services should count more than others (i.e. a server providing DNS > or AD > should weight more than a server providing file serving activities) > and > would like the health meters on that page to account for this. Is this > possible? > > Thanks for any ideas > Michael Weiner I don't know of any good ways to do it (maybe someone else does), but here is a VERY stupid/silly and HIGHLY in-efficient method (read: you probably don't want to do this :) ) that might produce the results you want (with the health meters, at any rate): put the more important services/hosts into your config multiple times. For example, if you were to weight the importance of your servers on a scale from one to three, a highly important one might be in there three times, like so: hostname server_A_1 ... hostname server_A_2 ... hostname server_A_3 ... if you want to get fancy, then only server_A_1 does any actual checking, then runs an eventhandler or something to submit a passive check result for the other two. Course, this will clutter up the display of the rest of nagios immensely, as well as making the count of critical/warning/ok hosts/services be incorrect, so I would recommend NOT doing it, but if all you are concerned about are the health meters, it might have the desired effect... :) > > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dosiu at wp-sa.pl Thu Mar 8 19:14:05 2007 From: dosiu at wp-sa.pl (Dariusz Ankowski) Date: Thu, 08 Mar 2007 19:14:05 +0100 Subject: Problem with excluding hostgroups? Message-ID: <20070308191405.3b8c9d24@wpant> Hello, Here you can see short outline of my configuration of hosts, hostgroups and services: #v+ define host { use host-template-a hostgroups hostgroup-a hostname server-a alias server-a } define host { use host-template-b hostgroups hostgroup-b hostname server-b alias server-b } define host { use host-template-c hostgroups hostgroup-c hostname server-c alias server-c } define hostgroup { hostgroup_name hostgroup-a alias hostgroup-a } define hostgroup { hostgroup_name hostgroup-b alias hostgroup-b } define hostgroup { hostgroup_name hostgroup-c alias hostgroup-c } define hostgroup { hostgroup_name hostgroup-all alias hostgroup-all hostgroup_members hostgroup-a,hostgroup-b,hostgroup-c } define service { use service-template hostgroup_name hostgroup-all,!hostgroup-c service_description Service test check_command test_command } #v- What I need to do is running "Service test" for all hosts from "hostgroup-all", excluding hosts belonging to "hostgroup-c". But when I start Nagios and use configuration listed above I see that "Service test" is running for all hosts including those from "hostgroup-c". Would you be so kind and tell me if I have made any mistake in configuration or there is any bug related to excluding groups? -- Pozdrawiam, Dariusz Ankowski ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lflacayo at cps.k12.il.us Thu Mar 8 23:02:43 2007 From: lflacayo at cps.k12.il.us (Lacayo, Luis F) Date: Thu, 8 Mar 2007 16:02:43 -0600 Subject: Problem with excluding hostgroups? In-Reply-To: <20070308191405.3b8c9d24@wpant> References: <20070308191405.3b8c9d24@wpant> Message-ID: I am not sure but in your hostgroup definitions you need to add members. Luis Luis Lacayo Sr. UNIX Admin Chicago Public Schools Office of Technology Services 125 S. Clark Street - Suite 300 Chicago, IL 60603 Direct:773-553-3835 Office: 773-553-1300 FAX:773-553-1363 lflacayo at cps.k12.il.us -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dariusz Ankowski Sent: Thursday, March 08, 2007 12:14 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problem with excluding hostgroups? Hello, Here you can see short outline of my configuration of hosts, hostgroups and services: #v+ define host { use host-template-a hostgroups hostgroup-a hostname server-a alias server-a } define host { use host-template-b hostgroups hostgroup-b hostname server-b alias server-b } define host { use host-template-c hostgroups hostgroup-c hostname server-c alias server-c } define hostgroup { hostgroup_name hostgroup-a alias hostgroup-a } define hostgroup { hostgroup_name hostgroup-b alias hostgroup-b } define hostgroup { hostgroup_name hostgroup-c alias hostgroup-c } define hostgroup { hostgroup_name hostgroup-all alias hostgroup-all hostgroup_members hostgroup-a,hostgroup-b,hostgroup-c } define service { use service-template hostgroup_name hostgroup-all,!hostgroup-c service_description Service test check_command test_command } #v- What I need to do is running "Service test" for all hosts from "hostgroup-all", excluding hosts belonging to "hostgroup-c". But when I start Nagios and use configuration listed above I see that "Service test" is running for all hosts including those from "hostgroup-c". Would you be so kind and tell me if I have made any mistake in configuration or there is any bug related to excluding groups? -- Pozdrawiam, Dariusz Ankowski ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Mar 8 23:08:11 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 8 Mar 2007 14:08:11 -0800 Subject: Problem with excluding hostgroups? In-Reply-To: References: <20070308191405.3b8c9d24@wpant> Message-ID: <20070308220811.GB11158@pmorris.usa.hp.com> On Thu, 08 Mar 2007, Lacayo, Luis F wrote: > I am not sure but in your hostgroup definitions you need to add members. No, actually, you don't, if you have the hostgroups defined in the host configs. > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dariusz > Ankowski > Sent: Thursday, March 08, 2007 12:14 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problem with excluding hostgroups? > > > Hello, > > Here you can see short outline of my configuration of hosts, > hostgroups and services: Dariusz -- What does your nagios.conf file have set for use_regexp_matching and use_true_regexp_matching? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manishs at gs-lab.com Fri Mar 9 02:41:14 2007 From: manishs at gs-lab.com (Manish Sapariya) Date: Thu, 08 Mar 2007 17:41:14 -0800 Subject: query about passive checks and tactical overview Message-ID: <45F0BB39.70409@gs-lab.com> Hi all, I have configured nagios to do passive checks for host and services as none of my host are services are accessible directly. I was expecting the tactical overview page to say that there are no active checks for service/host. However the tactical overview page says that for the active checks "X services disabled" and "Y hosts disabled" and shows them in red color. I am not sure if this is correct or incorrect. However I certainly does not want to see anything in "red" on tactical overview page unless it really is down. One more thing regarding the passive host/service configuration that I am not able to understand is the "check_command" configuration. When I put a host/service in passive_check_mode, I understand that nagios will update the status for such a device based on external command results fed to nagiso.cmd. My question is why do I need to specify the check_command in this case? I have supplied the check_dummy which essentially returns 0 always. Is my nagios really showing the status as reported by the passive external command status or is showing from the result of check_dummy command. I am sure I am missing something, but not sure what? Any help will be appreciated. Thanks and Regards, Manish ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrickm at garlic.com Fri Mar 9 02:50:36 2007 From: patrickm at garlic.com (Patrick - South Valley Internet) Date: Thu, 08 Mar 2007 17:50:36 -0800 Subject: Getting Nagios and AIX SNMP working together happily Message-ID: <45F0BD6C.4040705@garlic.com> Hi all, I'm trying to monitor all the important stuff from a few of our AIX boxes, such as CPU load, memory load, and storage. I want to be able to have Nagios notify us when we reach a certain level of storage for all the partitions. I downloaded the AIX Harddisk Checks located at http://www.nagiosexchange.org/AIX.139.0.html?&tx_netnagext_pi1[p_view]=712 and I have it working, but it only tells me OK that there is a hard drive in the system. I want to be able to have Nagios notify us when we reach a certain level of storage for all the partitions. Here's my /etc/snmpdv3.conf from the AIX box: --------------------------------------------------------------------------------------- VACM_GROUP group1 SNMPv1 public - VACM_VIEW defaultView internet - included - # exclude snmpv3 related MIBs from the default view VACM_VIEW defaultView snmpModules - excluded - VACM_VIEW defaultView 1.3.6.1.6.3.1.1.4 - included - VACM_VIEW defaultView 1.3.6.1.6.3.1.1.5 - included - # exclude aixmibd managed MIBs from the default view VACM_VIEW defaultView 1.3.6.1.4.1.2.6.191 - included - VACM_ACCESS group1 - - noAuthNoPriv SNMPv1 defaultView - defaultView - NOTIFY notify1 traptag trap - TARGET_ADDRESS Target1 UDP 127.0.0.1 traptag trapparms1 - - - TARGET_PARAMETERS trapparms1 SNMPv1 SNMPv1 public noAuthNoPriv - COMMUNITY public public noAuthNoPriv 0.0.0.0 0.0.0.0 - DEFAULT_SECURITY no-access - - logging file=/usr/tmp/snmpdv3.log enabled logging size=0 level=0 smux 1.3.6.1.4.1.2.3.1.2.1.2 gated_password # gated --------------------------------------------------------------------------------------- Could anyone point me in the right direction on how to get Nagios to check for the amount of storage on the drive? Do I need a different plugin? I also want to put a password on this instead of making it public, do I just change all words that say public to the passphrase I want? Calling all AIX and Nagios experts - your help is much apprecaited! :) Patrick ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 9 03:01:57 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 8 Mar 2007 18:01:57 -0800 Subject: query about passive checks and tactical overview In-Reply-To: <45F0BB39.70409@gs-lab.com> References: <45F0BB39.70409@gs-lab.com> Message-ID: <20070309020157.GD11158@pmorris.usa.hp.com> Hi Manish! On Thu, 08 Mar 2007, Manish Sapariya wrote: > I was expecting the tactical overview page to say that there are no > active checks for service/host. However the tactical overview page > says that for the active checks "X services disabled" and "Y hosts > disabled" and shows them in red color. This is normal. I'm not sure if there's a way to get them to not show red down there without some CGI hacking. > One more thing regarding the passive host/service configuration that I > am not able to understand is the "check_command" configuration. If you run strictly passive checks, it doesn't matter what you put in as the check command, since it will never get run. If you turn on freshness checking, though, this command will be run if the box receiving check results doesn't receive one within the expected timeframe. If your checks are supposed to come in at regular intervals, it can be helpful to put in a check that always fails in the config, so you get alerted if your passive checks stop coming in. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 9 03:04:25 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 8 Mar 2007 18:04:25 -0800 Subject: Getting Nagios and AIX SNMP working together happily In-Reply-To: <45F0BD6C.4040705@garlic.com> References: <45F0BD6C.4040705@garlic.com> Message-ID: <20070309020425.GE11158@pmorris.usa.hp.com> On Thu, 08 Mar 2007, Patrick - South Valley Internet wrote: > Hi all, > > I'm trying to monitor all the important stuff from a few of our AIX > boxes, such as CPU load, memory load, and storage. I want to be able to > have Nagios notify us when we reach a certain level of storage for all > the partitions. I downloaded the AIX Harddisk Checks located at > http://www.nagiosexchange.org/AIX.139.0.html?&tx_netnagext_pi1[p_view]=712 > and I have it working, but it only tells me OK that there is a hard > drive in the system. I want to be able to have Nagios notify us when we > reach a certain level of storage for all the partitions. Does the standard check_disk plugin not work on AIX? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Mar 9 03:34:51 2007 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 9 Mar 2007 15:34:51 +1300 Subject: check_rbl update: NJABL change Message-ID: <12A6FDDD13C460408A6E47E5DB1235A29836D2@UXCHANGE3.UoA.auckland.ac.nz> If anyone out there is using my check_rbl plugin (available from NagiosExchange) to check for their mail servers being listed on any blacklists, then please note that the NJABL blacklist has been superseded by the Spamhaus PBL. Now, your config section at the beginning should be: my( @BLACKLISTS ) = ( # DNS blackhole domain, name, optional website address [ "dnsbl.sorbs.net", "SORBS", "http://www.sorbs.net/" ], [ "list.dsbl.org", "Distributed Sender", "http://dsbl.org/" ], [ "zen.spamhaus.org", "Spamhaus SBL/XBL/PBL", "http://www.spamhaus.org/" ], [ "fuldom.rfc-ignorant.org", "RFC-Ignorant", "http://www.rfc-ignorant.org/" ], [ "bl.spamcop.net", "SpamCop", "http://www.spamcop.net/" ], [ "blackholes.mail-abuse.org", "Mail-abuse.org", "http://www.mail-abuse.org/" ] ); Thanks for your time, Steve --- Steve Shipway UNIX Systems Adminstration, University of Auckland, New Zealand +64 9 3737 599 x 86487 s.shipway at auckland.ac.nz -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dosiu at wp-sa.pl Fri Mar 9 11:14:41 2007 From: dosiu at wp-sa.pl (Dariusz Ankowski) Date: Fri, 09 Mar 2007 11:14:41 +0100 Subject: Problem with excluding hostgroups? In-Reply-To: <20070308220811.GB11158@pmorris.usa.hp.com> References: <20070308191405.3b8c9d24@wpant> <20070308220811.GB11158@pmorris.usa.hp.com> Message-ID: <20070309111441.2bdaded8@wpant> Dnia Thu, 08 Mar 2007 14:08:11 -0800 Patrick Morris napisa?(a): > Dariusz -- > > What does your nagios.conf file have set for use_regexp_matching and > use_true_regexp_matching? Hello, From my nagios.cfg: use_regexp_matching=1 use_true_regexp_matching=0 And I forgot to write this earlier: I'm using Nagios 3.0a1. -- Pozdrawiam, Dariusz Ankowski dosiu at wp-sa.pl ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Marco at praxell.com Fri Mar 9 14:17:58 2007 From: Marco at praxell.com (Marco Supino) Date: Fri, 9 Mar 2007 15:17:58 +0200 Subject: Distributed setup - host checking Message-ID: <45B7271392D7634ABA08F4429B57F1B13A1BD3@praxexil2> Hi, I would like to know how people handle host checking in a distributed environment. Assuming the "Central" server is not able to access the computers in the remote sites, I am using passive checks through NSCA to get the active results done by the "Agent" nagios. How do you define the hosts of the computers in the central server? Do you use localhost as the host IP? Do you use freshness checking of hosts in the central server? I had an idea to use scheduled checking of the host on the "Agent" , and send passive host results to the central nagios, if freshness checking discovers the results are not fresh, It runs a script that put "Info: host info is stale", and will exit with the same error code the host is currently in (from the a macro value), I think my way of handling this is wrong, as scheduled host checking must be done on the agent, which is bad for performance. Please share you thoughts/setup, I need some ideas.. Thanks. Marco. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios 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 9 16:10:39 2007 From: marc at ena.com (Marc Powell) Date: Fri, 9 Mar 2007 09:10:39 -0600 Subject: query about passive checks and tactical overview In-Reply-To: <20070309020157.GD11158@pmorris.usa.hp.com> References: <20070309020157.GD11158@pmorris.usa.hp.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Patrick Morris > Sent: Thursday, March 08, 2007 8:02 PM > To: Manish Sapariya > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] query about passive checks and tactical > overview > > Hi Manish! > > On Thu, 08 Mar 2007, Manish Sapariya wrote: > > > I was expecting the tactical overview page to say that there are no > > active checks for service/host. However the tactical overview page > > says that for the active checks "X services disabled" and "Y hosts > > disabled" and shows them in red color. > > This is normal. I'm not sure if there's a way to get them to not show > red down there without some CGI hacking. Enable active checks for the hosts/services but set their check_period to none. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri Mar 9 16:22:35 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 09 Mar 2007 15:22:35 +0000 Subject: ANNOUNCE: Script to Generate Servicegroups Message-ID: <45F17BBB.3030001@googlemail.com> I have just written a script to automatically generate all my service groups. (Quite useful if you have hundreds of services) It's on Nagios Exchange if anyone wants it. http://www.nagiosexchange.org/Configuration.20.0.html?&tx_netnagext_pi1[p_view]=896&tx_netnagext_pi1[page]=20%3A10 -h -- Hari Sekhon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Fri Mar 9 16:25:33 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 09 Mar 2007 10:25:33 -0500 Subject: Distributed setup - host checking In-Reply-To: <45B7271392D7634ABA08F4429B57F1B13A1BD3@praxexil2> References: <45B7271392D7634ABA08F4429B57F1B13A1BD3@praxexil2> Message-ID: <45F17C6D.60008@aei.ca> On 09/03/07 08:17 AM, Marco Supino wrote: > Hi, > > > > I would like to know how people handle host checking in a distributed > environment. The Nagios documentation suggest leaving active host checks on the central server as you normally can't have freshness checking on them. I believe that's just a matter of personal preference and you can have them distributed just like the rest. > Assuming the ?Central? server is not able to access the computers in the > remote sites, I am using passive checks through NSCA to get the active > results done by the ?Agent? nagios. That's another idea. You can have the "check_host_alive" command run nrpe with args, though it's considered a big security risk. It shouldn't be a problem though is there's no users on the lan and it is properly secured. Note that the additional latency of running nrpe could impact performances if there's a lot of hosts. > How do you define the hosts of the computers in the central server? Do > you use localhost as the host IP? Do you use freshness checking of hosts > in the central server? IMHO the IP is fine. > I had an idea to use scheduled checking of the host on the ?Agent? , and > send passive host results to the central nagios, if freshness checking > discovers the results are not fresh, It runs a script that put ?Info: > host info is stale?, and will exit with the same error code the host is > currently in (from the a macro value), That's a good idea too. It will reduce a lot the impact of host checks on performances. > I think my way of handling this is wrong, as scheduled host checking > must be done on the agent, which is bad for performance. Another solution is to use Nagios 3 which has a completely different logic for host checks. You shouldn't have performance impact anymore with a properly set-up Nagios 3. You must keep in mind that's it'S alpha software and can (and likely will) have bugs. Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sloane at ku.edu Fri Mar 9 16:36:24 2007 From: sloane at ku.edu (Sloane, Robert Raymond) Date: Fri, 9 Mar 2007 09:36:24 -0600 Subject: query about passive checks and tactical overview In-Reply-To: References: Message-ID: <9632C3DAB675864EB0A9B7724D85DB7906889B1D@MAILBOXSEVEN.home.ku.edu> > Enable active checks for the hosts/services but set their > check_period to none. > This used to work, but now the check_period is enforced for the freshness check. Here is a patch that will change back to the old behaviour. This is for version 2.5. *** checks.c~ Tue Jun 20 19:59:19 2006 --- checks.c Thu Sep 28 10:27:04 2006 *************** *** 1731,1741 **** /* skip services that are already being freshened */ if(temp_service->is_being_freshened==TRUE) continue; ! /* see if the time is right... */ if(check_time_against_period(current_time,temp_service->check_period)==E RROR) continue; ! /* EXCEPTION */ /* don't check freshness of services without regular check intervals if we're using auto-freshness threshold */ if(temp_service->check_interval==0 && temp_service->freshness_threshold==0) --- 1731,1741 ---- /* skip services that are already being freshened */ if(temp_service->is_being_freshened==TRUE) continue; ! #if 0 /* see if the time is right... */ if(check_time_against_period(current_time,temp_service->check_period)==E RROR) continue; ! #endif /* EXCEPTION */ /* don't check freshness of services without regular check intervals if we're using auto-freshness threshold */ if(temp_service->check_interval==0 && temp_service->freshness_threshold==0) -- Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045 Email:sloane at ku.edu http://www.ku.edu/home/sloane Phone:(785)864-0444 > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Marc Powell > Sent: Friday, March 09, 2007 9:11 AM > To: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] query about passive checks and > tactical overview > > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Patrick Morris > > Sent: Thursday, March 08, 2007 8:02 PM > > To: Manish Sapariya > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] query about passive checks and tactical > > overview > > > > Hi Manish! > > > > On Thu, 08 Mar 2007, Manish Sapariya wrote: > > > > > I was expecting the tactical overview page to say that > there are no > > > active checks for service/host. However the tactical > overview page > > > says that for the active checks "X services disabled" and > "Y hosts > > > disabled" and shows them in red color. > > > > This is normal. I'm not sure if there's a way to get them > to not show > > red down there without some CGI hacking. > > -- > Marc > > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the > chance to share your opinions on IT & business topics through > brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge &CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri Mar 9 16:40:53 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 09 Mar 2007 15:40:53 +0000 Subject: ANNOUNCE: Raid Plugins for Nagios 32-bit & 64-bit Message-ID: <45F18005.3000906@googlemail.com> Hi, I've written 3 Raid plugins for Nagios, which are immensely useful, I found 2 servers with degraded arrays! The plugins cover Linux Software Raid, LSI MegaRaid and 3ware Raid. The plugins are written in python so work on all modern Linux systems (and theoretically other systems that have python too) and I have them running on both 32-bit and 64-bit servers. Here are the links on NagiosExchange if anyone wants them: Linux Software Raid (aka MD Raid) http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=880 LSI MegaRaid http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=879 3ware Raid http://www.nagiosexchange.org/RAID_Controller.58.0.html?&tx_netnagext_pi1[p_view]=878 Any feedback or feature requests are welcome at this email address -h -- Hari Sekhon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at ng23.net Fri Mar 9 16:57:45 2007 From: tom at ng23.net (Tom Brown) Date: Fri, 09 Mar 2007 15:57:45 +0000 Subject: automagically add hosts Message-ID: <45F183F9.4080802@ng23.net> Hi Can i ask people how they have got around the auto adding of hosts to their setup? I have a situation were _sometimes_ we have to build many hosts, ~100, at a time so adding these is a bit of a pain. All checks are the same so i can just add to hostgroups etc. I can shell onto the monitoring box using keys so i can have scripts do this but i wonder how people do it so i can get ideas on how to solve this etc. Or if someone has a script they would share that i can modify that would also be great. something like ./add_host $HOSTNAME type affair thanks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Fri Mar 9 17:08:20 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 09 Mar 2007 11:08:20 -0500 Subject: automagically add hosts In-Reply-To: <45F183F9.4080802@ng23.net> References: <45F183F9.4080802@ng23.net> Message-ID: <45F18674.6090506@aei.ca> On 09/03/07 10:57 AM, Tom Brown wrote: > Hi > > Can i ask people how they have got around the auto adding of hosts to > their setup? I have a situation were _sometimes_ we have to build many > hosts, ~100, at a time so adding these is a bit of a pain. All checks > are the same so i can just add to hostgroups etc. > > I can shell onto the monitoring box using keys so i can have scripts do > this but i wonder how people do it so i can get ideas on how to solve > this etc. > > Or if someone has a script they would share that i can modify that would > also be great. > > something like > > ./add_host $HOSTNAME type affair Something like this: #!/bin/bash dd if=/dev/null of=new/hostgroup.cfg cat hostgroup_template.head >> new/hostgroup.cfg for i in server1 server2 servern do ip=$(gethostip -d $i.example.com|tr -d " \n") sed s/SERVER_NAME/$i.example.com/g hostgroup_template.cfg | sed s/SERVER_IP/$ip/g >> new/hostgroup.cfg done You will need hostgroup_template.head which will look like the top of your file, then hostgroup_template.cfg which contains one host definision with the server name replaces with SERVER_NAME and IP address replaced with SERVER_IP. It will create a new file in new/ with the hostgroup_template.head as header and one properly modified hostgroup_template.cfg per hosts in the for loop after the header. This is just an example; i.e. I used to use the above script to generate my MRTG configs, but the same principle can apply for Nagios. Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From J.F.Wheeler at rl.ac.uk Fri Mar 9 17:39:00 2007 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Fri, 9 Mar 2007 16:39:00 -0000 Subject: Out of memory failures on Nagios master server Message-ID: My configuration has a master server and 2 slave servers with about 730 hosts and 16000 service checks. All our systems are running Linux. For some time now the master server has been running out of memory between 4:50 and 5:00 such that the server either kernel panics (rarely) or it kills all useful processes. To try and investigate the problem I have been running at commands to run "vmstat 15 160" and "date; ps -ef; sleep 15" (160 times) to record system activity at 15 second intervals for 40 minutes, i.e. from 4:30 until 5:10. This has revealed that the problem is caused by a) nsca processes starting and not being completed (today's maximum count was 4447) until they all suddenly complete at about 4:50. During this time vmstat shows that memory usage increases slowly, but it is all released when the nsca processes run. About 10 minutes later there are many separate nagios processes which do not complete (183); as the nagios process is quite large this fills system memory and swap space which effectively kills the system. You might think, given the time that this is happening, that this is affected by cron, but for this morning I had retimed cron.daily to run at 10:02 rather than 4:02. Has anyone seen anything like this ? I can say from the master server logs that no tests seem to be recorded from about 4:00 onwards; if they system survives they start after that. Any help would be appreciated. The server is a blade server with a single CPU but it is running with hyper-threading on (if that makes a difference); the kernel is 2.6.0-42.0.8 Any suggestions would be appreciated. Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 9 18:20:36 2007 From: ton.voon at altinity.com (Ton Voon) Date: Fri, 9 Mar 2007 17:20:36 +0000 Subject: Out of memory failures on Nagios master server In-Reply-To: References: Message-ID: <8C47A349-DB30-47B0-83E5-A74BA7ADA5BF@altinity.com> Jonathan, On 9 Mar 2007, at 16:39, Wheeler, JF (Jonathan) wrote: > My configuration has a master server and 2 slave servers with about > 730 > hosts and 16000 service checks. All our systems are running > Linux. For > some time now the master server has been running out of memory between > 4:50 and 5:00 such that the server either kernel panics (rarely) or it > kills all useful processes. To try and investigate the problem I have > been running at commands to run "vmstat 15 160" and "date; ps -ef; > sleep > 15" (160 times) to record system activity at 15 second intervals > for 40 > minutes, i.e. from 4:30 until 5:10. This has revealed that the > problem > is caused by a) nsca processes starting and not being completed > (today's > maximum count was 4447) until they all suddenly complete at about > 4:50. You may want to try running nsca in --single mode. You can potentially lose some slave checks, but you would never get the high number of nsca processes. We've seen situations where a high number of nsca processes makes the nagios server crawl, slowing other things down. > During this time vmstat shows that memory usage increases slowly, > but it > is all released when the nsca processes run. About 10 minutes later > there are many separate nagios processes which do not complete > (183); as > the nagios process is quite large this fills system memory and swap > space which effectively kills the system. IIRC, passive check results are processed by the main nagios process, so shouldn't be responsible for multiple nagios processes. There are multiple nagios processes for parallelised service checks - perhaps you could restrict the number of parallelised checks? Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrickm at garlic.com Fri Mar 9 19:13:27 2007 From: patrickm at garlic.com (Patrick - South Valley Internet) Date: Fri, 09 Mar 2007 10:13:27 -0800 Subject: Getting Nagios and AIX SNMP working together happily In-Reply-To: <20070309020425.GE11158@pmorris.usa.hp.com> References: <45F0BD6C.4040705@garlic.com> <20070309020425.GE11158@pmorris.usa.hp.com> Message-ID: <45F1A3C7.4050604@garlic.com> Patrick Morris wrote: > On Thu, 08 Mar 2007, Patrick - South Valley Internet wrote: > > >> Hi all, >> >> I'm trying to monitor all the important stuff from a few of our AIX >> boxes, such as CPU load, memory load, and storage. I want to be able to >> have Nagios notify us when we reach a certain level of storage for all >> the partitions. I downloaded the AIX Harddisk Checks located at >> http://www.nagiosexchange.org/AIX.139.0.html?&tx_netnagext_pi1[p_view]=712 >> and I have it working, but it only tells me OK that there is a hard >> drive in the system. I want to be able to have Nagios notify us when we >> reach a certain level of storage for all the partitions. >> > > Does the standard check_disk plugin not work on AIX? > > > > > > I don't think the standard check_disk plugin works for SNMP. I'm trying to contact the AIX server and parse the SNMP results that the AIX server kicks back. Patrick ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaron.segura at cabelas.com Fri Mar 9 19:26:56 2007 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Fri, 09 Mar 2007 11:26:56 -0700 Subject: Getting Nagios and AIX SNMP working together happily In-Reply-To: <45F1A3C7.4050604@garlic.com> References: <45F0BD6C.4040705@garlic.com> <20070309020425.GE11158@pmorris.usa.hp.com> <45F1A3C7.4050604@garlic.com> Message-ID: <1173464816.24293.139.camel@sidhqmis4grdv91> On Fri, 2007-03-09 at 10:13 -0800, Patrick - South Valley Internet wrote: > Patrick Morris wrote: > > On Thu, 08 Mar 2007, Patrick - South Valley Internet wrote: > > > > > >> Hi all, > >> > >> I'm trying to monitor all the important stuff from a few of our AIX > >> boxes, such as CPU load, memory load, and storage. I want to be able to > >> have Nagios notify us when we reach a certain level of storage for all > >> the partitions. I downloaded the AIX Harddisk Checks located at > >> http://www.nagiosexchange.org/AIX.139.0.html?&tx_netnagext_pi1[p_view]=712 > >> and I have it working, but it only tells me OK that there is a hard > >> drive in the system. I want to be able to have Nagios notify us when we > >> reach a certain level of storage for all the partitions. > >> > > > > Does the standard check_disk plugin not work on AIX? > > > >------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > I don't think the standard check_disk plugin works for SNMP. I'm trying > to contact the AIX server and parse the SNMP results that the AIX server > kicks back. > > Patrick > There are no shortage of SNMP-based hard drive checks listed on nagiosexchange.org ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lflacayo at cps.k12.il.us Fri Mar 9 20:19:48 2007 From: lflacayo at cps.k12.il.us (Lacayo, Luis F) Date: Fri, 9 Mar 2007 13:19:48 -0600 Subject: Nagios and Windows Event log question. In-Reply-To: <45F183F9.4080802@ng23.net> References: <45F183F9.4080802@ng23.net> Message-ID: Hi All, I was wondering if anyone is monitoring the Microsoft event logs, with Nagios. Basically I would need to trap a certain type of event log and based on a value send a Nagios Alert. Thanks for any feed back. Luis Luis Lacayo Sr. UNIX Admin ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at AdamsInfoServ.Com Fri Mar 9 22:20:57 2007 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Fri, 9 Mar 2007 15:20:57 -0600 Subject: Getting Nagios and AIX SNMP working together happily In-Reply-To: <1173464816.24293.139.camel@sidhqmis4grdv91> References: <45F0BD6C.4040705@garlic.com> <20070309020425.GE11158@pmorris.usa.hp.com> <45F1A3C7.4050604@garlic.com> <1173464816.24293.139.camel@sidhqmis4grdv91> Message-ID: <20070309212057.GA22588@odin.demosthenes.org> > There are no shortage of SNMP-based hard drive checks listed on > nagiosexchange.org AIX used to not support RFC2790 (HOST-RESOURCES-MIB) which is required to use most generic snmp plugins to query data. AIX 5.2 and earlier had this problem. I just snmpwalked one of my AIX 5.3 systems and it returned HOSTMIB data. You can also run Net-SNMP on AIX instead of the default snmpd. Good luck! ------------------------------------------------------------------ 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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From surcouf at debianfr.net Fri Mar 9 23:17:38 2007 From: surcouf at debianfr.net (=?ISO-8859-1?Q?Rapha=EBl?= 'SurcouF' Bordet) Date: Fri, 09 Mar 2007 23:17:38 +0100 Subject: Getting Nagios and AIX SNMP working together happily In-Reply-To: <45F0BD6C.4040705@garlic.com> References: <45F0BD6C.4040705@garlic.com> Message-ID: <1173478658.5870.6.camel@xiombarg> Le jeudi 08 mars 2007 ? 17:50 -0800, Patrick - South Valley Internet a ?crit : > Hi all, Hi, > I'm trying to monitor all the important stuff from a few of our AIX > boxes, such as CPU load, memory load, and storage. I want to be able to > have Nagios notify us when we reach a certain level of storage for all > the partitions. I downloaded the AIX Harddisk Checks located at > http://www.nagiosexchange.org/AIX.139.0.html?&tx_netnagext_pi1[p_view]=712 > and I have it working, but it only tells me OK that there is a hard > drive in the system. I want to be able to have Nagios notify us when we > reach a certain level of storage for all the partitions. > > Could anyone point me in the right direction on how to get Nagios to > check for the amount of storage on the drive? Do I need a different plugin? You can check storage by using check_snmp_storage[1] wrote by Patrick Proy. AIX SNMP agents should provide HOSTS-RESSOURCES-MIB: I've already set some services using this plugins for a customer. You can also use Patrick Proy's plugins to get CPU load (check_snmp_load[2]) and memory usage (check_snmp_mem[3]). Since AIX 5.2, you must enable aixmibd sub-agent to get "Paging Space" statistics (I can publish a plugin that support this IBM-AIX-MIB if you need). > I also want to put a password on this instead of making it public, do I > just change all words that say public to the passphrase I want? Right, you've to modify this string to change the community. Note : with SNMPv1 and SNMPv2c, this community will be transfered without any protection on the network. You must use at least SNMPv3 to get a more secure protocol. AIX snmpdv3[4] agent also support this protocol version. Regards, [1]: http://nagios.manubulon.com/snmp_load.html [2]: http://nagios.manubulon.com/snmp_mem.html [3]: http://nagios.manubulon.com/snmp_storage.html [4]:http://publib16.boulder.ibm.com/pseries/fr_FR/files/aixfiles/snmpdv3.conf.htm -- Rapha?l 'SurcouF' Bordet ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From surcouf at debianfr.net Sat Mar 10 02:02:36 2007 From: surcouf at debianfr.net (=?ISO-8859-1?Q?Rapha=EBl?= 'SurcouF' Bordet) Date: Sat, 10 Mar 2007 02:02:36 +0100 Subject: Getting Nagios and AIX SNMP working together happily In-Reply-To: <20070309212057.GA22588@odin.demosthenes.org> References: <45F0BD6C.4040705@garlic.com> <20070309020425.GE11158@pmorris.usa.hp.com> <45F1A3C7.4050604@garlic.com> <1173464816.24293.139.camel@sidhqmis4grdv91> <20070309212057.GA22588@odin.demosthenes.org> Message-ID: <1173488557.5870.12.camel@xiombarg> Le vendredi 09 mars 2007 ? 15:20 -0600, Russell Adams a ?crit : > > There are no shortage of SNMP-based hard drive checks listed on > > nagiosexchange.org > > AIX used to not support RFC2790 (HOST-RESOURCES-MIB) which is required > to use most generic snmp plugins to query data. AIX 5.2 and earlier > had this problem. > > I just snmpwalked one of my AIX 5.3 systems and it returned HOSTMIB data. Hi, I've already and successfully use some AIX 5.2 systems and retreives OID from H-R-M (hrSystem, hrStorage, hrDevice and hrSWInstalled tables). Did you have hostmibd[1] running ? This DPI2 sub-agent implement HOST-RESSOURCES-MIB (RFC 1155 and 1592). Regards, [1]: http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds2/hostmibd.htm -- Rapha?l 'SurcouF' Bordet ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yokoyoko at rd.aisin.co.jp Sat Mar 10 09:46:41 2007 From: yokoyoko at rd.aisin.co.jp (yokoyoko at rd.aisin.co.jp) Date: Sat, 10 Mar 2007 17:46:41 +0900 Subject: about Compiling Error Message-ID: Hi ! I got the following errors when compiling nagios plugins (1.4.6) check_snmp.c: In function `main': check_snmp.c:187: `PATH_TO_SNMPGETNEXT' undeclared (first use in this function) check_snmp.c:187: (Each undeclared identifier is reported only once check_snmp.c:187: for each function it appears in.) make[2]: *** [check_snmp.o] Error 1 make[2]: Leaving directory `/usr/local/src/nagios-plugins-1.4.6/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/nagios-plugins-1.4.6' make: *** [all] Error 2 What do I do ? Please help me ! Best Regards. ------------------------------------------------------ Yoshinari Yokota MailTo:yokoyoko at rd.aisin.co.jp (Office) MailTo:yoshinari-yokota at docomo.ne.jp (Mobile) ------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nilesh at extenprise.com Sat Mar 10 11:34:54 2007 From: nilesh at extenprise.com (Nilesh Shastrakar) Date: Sat, 10 Mar 2007 16:04:54 +0530 Subject: Nagios Plugin - compliation error Message-ID: <010101c762ff$c1801e10$2000a8c0@shastra> Dear All, I have Installed sucessfully Nagios 2.8 and now I am trying to install Nagios-plugins-1.4.6 but when I call MAKE command I get below error, could any one please help how to solve the problem before installing I have checked the required softwares and install them like gd-devel, libpng-devel, libjpeg-devel OS : Centos4.4 MySQL : MySQL-client-5.0.22-0 MySQL-shared-5.0.22-0 MySQL-devel-5.0.22-0 MySQL-bench-5.0.22-0 MySQL-server-5.0.22-0 MySQL-shared-compat-4.1.10-0 make all-recursive make[1]: Entering directory `/root/nagiosinstall/nagios-plugins-1.4.6' Making all in gl make[2]: Entering directory `/root/nagiosinstall/nagios-plugins-1.4.6/gl' make all-am make[3]: Entering directory `/root/nagiosinstall/nagios-plugins-1.4.6/gl' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/root/nagiosinstall/nagios-plugins-1.4.6/gl' make[2]: Leaving directory `/root/nagiosinstall/nagios-plugins-1.4.6/gl' Making all in lib make[2]: Entering directory `/root/nagiosinstall/nagios-plugins-1.4.6/lib' Making all in tests make[3]: Entering directory `/root/nagiosinstall/nagios-plugins-1.4.6/lib/tests' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/root/nagiosinstall/nagios-plugins-1.4.6/lib/tests' make[3]: Entering directory `/root/nagiosinstall/nagios-plugins-1.4.6/lib' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/root/nagiosinstall/nagios-plugins-1.4.6/lib' make[2]: Leaving directory `/root/nagiosinstall/nagios-plugins-1.4.6/lib' Making all in plugins make[2]: Entering directory `/root/nagiosinstall/nagios-plugins-1.4.6/plugins' /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_mysql check_mysql-check_mysql.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv gcc -g -O2 -o check_mysql check_mysql-check_mysql.o netutils.o utils.o -L/root/nagiosinstall/nagios-plugins-1.4.6/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -L/usr/lib/mysql /usr/lib/mysql/libmysqlclient.a -L/usr/local/lib -lpthread -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv /usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x8): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0xc): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x10): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x14): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x18): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(cert_wrapper.o)(.text+0x77): In function `yaSSL::x509::~x509(void)': : undefined reference to `__builtin_delete' /usr/lib/mysql/libmysqlclient.a(cert_wrapper.o)(.text+0x30f): In function `yaSSL::CertManager::~CertManager(void)': : undefined reference to `__builtin_delete' /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL11SSL_SESSION+0x41): In function `mySTL::list::~list(void)': : undefined reference to `__builtin_delete' /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL12input_buffer+0x41): In function `mySTL::list::~list(void)': : undefined reference to `__builtin_delete': undefined reference to `__builtin_delete' /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPUc+0x41): more undefined references to `__builtin_delete' follow /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x8): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0xc): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x10): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x14): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(yassl_imp.o)(.text+0x2a62): In function `yaSSL::ServerDHParams::~ServerDHParams(void)': : undefined reference to `__builtin_delete' /usr/lib/mysql/libmysqlclient.a(yassl_imp.o)(.text+0x4b3b): In function `yaSSL::Connection::~Connection(void)': : undefined reference to `__builtin_delete' /usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x32cd): In function `yaSSL::SSL_SESSION::~SSL_SESSION(void)': : undefined reference to `__builtin_delete' /usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x348b): In function `yaSSL::Sessions::~Sessions(void)': : undefined reference to `__builtin_delete' /usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x37db): In function `yaSSL::SSL_CTX::~SSL_CTX(void)': : undefined reference to `__builtin_delete' /usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x3c60): more undefined references to `__builtin_delete' follow /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0xc): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x10): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x14): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x18): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x1c): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt11BER_Decoder+0xc): more undefined references to `__pure_virtual' follow /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.t._._Q28TaoCrypt13DSA_PublicKey+0xa7): In function `TaoCrypt::DSA_PublicKey::~DSA_PublicKey(void)': : undefined reference to `__builtin_delete' /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-random.o)(.text+0x166): In function `TaoCrypt::OS_Seed::~OS_Seed(void)': : undefined reference to `__builtin_delete' /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x14): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x18): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x1c): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x20): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x24): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x28): more undefined references to `__pure_virtual' follow /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.text+0x16a6): In function `yaSSL::RandomPool::~RandomPool(void)': : undefined reference to `__builtin_delete' /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.text+0x20d6): In function `yaSSL::Integer::~Integer(void)': : undefined reference to `__builtin_delete' /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.text+0x2476): In function `yaSSL::DiffieHellman::~DiffieHellman(void)': : undefined reference to `__builtin_delete' /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3DES7DESImpl+0x37): In function `yaSSL::DES::DESImpl::~DESImpl(void)': : undefined reference to `__builtin_delete' /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3AES7AESImpl+0x8e): In function `yaSSL::AES::AESImpl::~AESImpl(void)': : undefined reference to `__builtin_delete' /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3RSA7RSAImpl+0x76): more undefined references to `__builtin_delete' follow /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt9Mode_BASE+0xc): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0x8): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0xc): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0x10): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL10BulkCipher+0x8): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL10BulkCipher+0xc): more undefined references to `__pure_virtual' follow /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q28TaoCrypt14RSA_PrivateKey+0x12b): In function `TaoCrypt::RSA_PrivateKey::~RSA_PrivateKey(void)': : undefined reference to `__builtin_delete' /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt8DES_BASE+0xc): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(log.o)(.text+0x31): In function `yaSSL::Log::~Log(void)': : undefined reference to `__builtin_delete' /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0xc): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x10): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x14): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x18): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x3c): undefined reference to `__pure_virtual' /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x40): more undefined references to `__pure_virtual' follow /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x85): In function `TaoCrypt::FileSource::~FileSource(void)': : undefined reference to `__builtin_delete' /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x295): In function `TaoCrypt::FileSink::~FileSink(void)': : undefined reference to `__builtin_delete' collect2: ld returned 1 exit status make[2]: *** [check_mysql] Error 1 make[2]: Leaving directory `/root/nagiosinstall/nagios-plugins-1.4.6/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/nagiosinstall/nagios-plugins-1.4.6' make: *** [all] Error 2 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hunter at userfriendly.net Sat Mar 10 17:08:53 2007 From: hunter at userfriendly.net (Michael Weiner) Date: Sat, 10 Mar 2007 11:08:53 -0500 Subject: Getting Nagios and AIX SNMP working together happily In-Reply-To: <1173488557.5870.12.camel@xiombarg> References: <1173488557.5870.12.camel@xiombarg> Message-ID: On 3/9/07 8:02 PM, "Rapha?l 'SurcouF' Bordet" wrote: > Le vendredi 09 mars 2007 ? 15:20 -0600, Russell Adams a ?crit : >>> There are no shortage of SNMP-based hard drive checks listed on >>> nagiosexchange.org >> >> AIX used to not support RFC2790 (HOST-RESOURCES-MIB) which is required >> to use most generic snmp plugins to query data. AIX 5.2 and earlier >> had this problem. >> >> I just snmpwalked one of my AIX 5.3 systems and it returned HOSTMIB data. > > Hi, > > I've already and successfully use some AIX 5.2 systems and retreives OID > from H-R-M (hrSystem, hrStorage, hrDevice and hrSWInstalled tables). > Did you have hostmibd[1] running ? This DPI2 sub-agent implement > HOST-RESSOURCES-MIB (RFC 1155 and 1592). > > Regards, > > > [1]: > http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm > .aix.cmds/doc/aixcmds2/hostmibd.htm Not trying to highjack this interesting thread, but has anyone managed to do the same against SGI IRIX? What annoys me most is that when i query system i get the uptime of the actual snmpd instance not the host - which may or may not necessarily be the same length of time. I have googled and googled and have had no real success. Anyone doing this that might be able to help? Thanks in advance Michael Weiner ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Sat Mar 10 17:30:54 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sat, 10 Mar 2007 11:30:54 -0500 Subject: Getting Nagios and AIX SNMP working together happily In-Reply-To: References: Message-ID: <45F2DD3E.7090808@aei.ca> On 10/03/07 11:08 AM, Michael Weiner wrote: > On 3/9/07 8:02 PM, "Rapha?l 'SurcouF' Bordet" wrote: > >> Le vendredi 09 mars 2007 ? 15:20 -0600, Russell Adams a ?crit : >>>> There are no shortage of SNMP-based hard drive checks listed on >>>> nagiosexchange.org >>> AIX used to not support RFC2790 (HOST-RESOURCES-MIB) which is required >>> to use most generic snmp plugins to query data. AIX 5.2 and earlier >>> had this problem. >>> >>> I just snmpwalked one of my AIX 5.3 systems and it returned HOSTMIB data. >> Hi, >> >> I've already and successfully use some AIX 5.2 systems and retreives OID >> from H-R-M (hrSystem, hrStorage, hrDevice and hrSWInstalled tables). >> Did you have hostmibd[1] running ? This DPI2 sub-agent implement >> HOST-RESSOURCES-MIB (RFC 1155 and 1592). >> >> Regards, >> >> >> [1]: >> http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm >> .aix.cmds/doc/aixcmds2/hostmibd.htm > > Not trying to highjack this interesting thread, but has anyone managed to do > the same against SGI IRIX? What annoys me most is that when i query system i > get the uptime of the actual snmpd instance not the host - which may or may > not necessarily be the same length of time. I have googled and googled and > have had no real success. > > Anyone doing this that might be able to help? Not trying to highjack this interesting thread either, but has anyone though of using NRPE? You can then use any Nagios-plugins checks and make your own in any programming language you like. Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hunter at userfriendly.net Sat Mar 10 17:36:41 2007 From: hunter at userfriendly.net (Michael Weiner) Date: Sat, 10 Mar 2007 11:36:41 -0500 Subject: Getting Nagios and AIX SNMP working together happily In-Reply-To: <45F2DD3E.7090808@aei.ca> References: <45F2DD3E.7090808@aei.ca> Message-ID: On 3/10/07 11:30 AM, "Thomas Guyot-Sionnest" wrote: > On 10/03/07 11:08 AM, Michael Weiner wrote: >> On 3/9/07 8:02 PM, "Rapha?l 'SurcouF' Bordet" wrote: >> >>> Le vendredi 09 mars 2007 ? 15:20 -0600, Russell Adams a ?crit : >>>>> There are no shortage of SNMP-based hard drive checks listed on >>>>> nagiosexchange.org >>>> AIX used to not support RFC2790 (HOST-RESOURCES-MIB) which is required >>>> to use most generic snmp plugins to query data. AIX 5.2 and earlier >>>> had this problem. >>>> >>>> I just snmpwalked one of my AIX 5.3 systems and it returned HOSTMIB data. >>> Hi, >>> >>> I've already and successfully use some AIX 5.2 systems and retreives OID >>> from H-R-M (hrSystem, hrStorage, hrDevice and hrSWInstalled tables). >>> Did you have hostmibd[1] running ? This DPI2 sub-agent implement >>> HOST-RESSOURCES-MIB (RFC 1155 and 1592). >>> >>> Regards, >>> >>> >>> [1]: >>> http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.i >>> bm >>> .aix.cmds/doc/aixcmds2/hostmibd.htm >> >> Not trying to highjack this interesting thread, but has anyone managed to do >> the same against SGI IRIX? What annoys me most is that when i query system i >> get the uptime of the actual snmpd instance not the host - which may or may >> not necessarily be the same length of time. I have googled and googled and >> have had no real success. >> >> Anyone doing this that might be able to help? > > Not trying to highjack this interesting thread either, but has anyone > though of using NRPE? You can then use any Nagios-plugins checks and > make your own in any programming language you like. Good point, although i was trying to do this without having to put anything else on the remote server, and since snmp runs on it natively, that was the most straightforward choice - at least for me I will check into it, thanks! Michael ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Sat Mar 10 18:42:50 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Sat, 10 Mar 2007 17:42:50 +0000 Subject: Nagios Plugin - compliation error In-Reply-To: <010101c762ff$c1801e10$2000a8c0@shastra> References: <010101c762ff$c1801e10$2000a8c0@shastra> Message-ID: <45F2EE1A.7010209@mailnetwork.co.uk> That looks like a lot of missing references to SSL functions. Check your OpenSSL installation. Andy. Nilesh Shastrakar wrote: > Dear All, > > I have Installed sucessfully Nagios 2.8 and now I am trying to install > Nagios-plugins-1.4.6 > but when I call MAKE command I get below error, > could any one please help how to solve the problem > before installing I have checked the required softwares and install them > like gd-devel, libpng-devel, libjpeg-devel > > OS : Centos4.4 > MySQL : > > MySQL-client-5.0.22-0 > MySQL-shared-5.0.22-0 > MySQL-devel-5.0.22-0 > MySQL-bench-5.0.22-0 > MySQL-server-5.0.22-0 > MySQL-shared-compat-4.1.10-0 > > > > > > make all-recursive > make[1]: Entering directory `/root/nagiosinstall/nagios-plugins-1.4.6' > Making all in gl > make[2]: Entering directory `/root/nagiosinstall/nagios-plugins-1.4.6/gl' > make all-am > make[3]: Entering directory `/root/nagiosinstall/nagios-plugins-1.4.6/gl' > make[3]: Nothing to be done for `all-am'. > make[3]: Leaving directory `/root/nagiosinstall/nagios-plugins-1.4.6/gl' > make[2]: Leaving directory `/root/nagiosinstall/nagios-plugins-1.4.6/gl' > Making all in lib > make[2]: Entering directory `/root/nagiosinstall/nagios-plugins-1.4.6/lib' > Making all in tests > make[3]: Entering directory > `/root/nagiosinstall/nagios-plugins-1.4.6/lib/tests' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory > `/root/nagiosinstall/nagios-plugins-1.4.6/lib/tests' > make[3]: Entering directory `/root/nagiosinstall/nagios-plugins-1.4.6/lib' > make[3]: Nothing to be done for `all-am'. > make[3]: Leaving directory `/root/nagiosinstall/nagios-plugins-1.4.6/lib' > make[2]: Leaving directory `/root/nagiosinstall/nagios-plugins-1.4.6/lib' > Making all in plugins > make[2]: Entering directory > `/root/nagiosinstall/nagios-plugins-1.4.6/plugins' > /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o > check_mysql check_mysql-check_mysql.o netutils.o utils.o > ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -L/usr/lib/mysql > -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv > -lc -lnss_files -lnss_dns -lresolv > gcc -g -O2 -o check_mysql check_mysql-check_mysql.o netutils.o > utils.o -L/root/nagiosinstall/nagios-plugins-1.4.6/plugins > ../lib/libnagiosplug.a ../gl/libgnu.a -L/usr/lib/mysql > /usr/lib/mysql/libmysqlclient.a -L/usr/local/lib -lpthread -lz -lcrypt > -lnsl -lm -lc -lnss_files -lnss_dns -lresolv > /usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x8): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0xc): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x10): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x14): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x18): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(cert_wrapper.o)(.text+0x77): In > function `yaSSL::x509::~x509(void)': > : undefined reference to `__builtin_delete' > /usr/lib/mysql/libmysqlclient.a(cert_wrapper.o)(.text+0x30f): In > function `yaSSL::CertManager::~CertManager(void)': > : undefined reference to `__builtin_delete' > /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(..gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL11SSL_SESSION+0x41): > In function `mySTL::list::~list(void)': > : undefined reference to `__builtin_delete' > /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(..gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL12input_buffer+0x41): > In function `mySTL::list::~list(void)': > : undefined reference to `__builtin_delete': undefined reference to > `__builtin_delete' > /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(..gnu.linkonce.t._._Q25mySTLt4list1ZPUc+0x41): > more undefined references to `__builtin_delete' follow > /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x8): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0xc): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x10): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x14): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(yassl_imp.o)(.text+0x2a62): In > function `yaSSL::ServerDHParams::~ServerDHParams(void)': > : undefined reference to `__builtin_delete' > /usr/lib/mysql/libmysqlclient.a(yassl_imp.o)(.text+0x4b3b): In > function `yaSSL::Connection::~Connection(void)': > : undefined reference to `__builtin_delete' > /usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x32cd): In > function `yaSSL::SSL_SESSION::~SSL_SESSION(void)': > : undefined reference to `__builtin_delete' > /usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x348b): In > function `yaSSL::Sessions::~Sessions(void)': > : undefined reference to `__builtin_delete' > /usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x37db): In > function `yaSSL::SSL_CTX::~SSL_CTX(void)': > : undefined reference to `__builtin_delete' > /usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x3c60): more > undefined references to `__builtin_delete' follow > /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0xc): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x10): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x14): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x18): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x1c): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt11BER_Decoder+0xc): > more undefined references to `__pure_virtual' follow > /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.t._._Q28TaoCrypt13DSA_PublicKey+0xa7): > In function `TaoCrypt::DSA_PublicKey::~DSA_PublicKey(void)': > : undefined reference to `__builtin_delete' > /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-random.o)(.text+0x166): > In function `TaoCrypt::OS_Seed::~OS_Seed(void)': > : undefined reference to `__builtin_delete' > /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash..o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x14): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x18): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x1c): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x20): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x24): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x28): > more undefined references to `__pure_virtual' follow > /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.text+0x16a6): In > function `yaSSL::RandomPool::~RandomPool(void)': > : undefined reference to `__builtin_delete' > /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.text+0x20d6): In > function `yaSSL::Integer::~Integer(void)': > : undefined reference to `__builtin_delete' > /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.text+0x2476): In > function `yaSSL::DiffieHellman::~DiffieHellman(void)': > : undefined reference to `__builtin_delete' > /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3DES7DESImpl+0x37): > In function `yaSSL::DES::DESImpl::~DESImpl(void)': > : undefined reference to `__builtin_delete' > /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3AES7AESImpl+0x8e): > In function `yaSSL::AES::AESImpl::~AESImpl(void)': > : undefined reference to `__builtin_delete' > /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3RSA7RSAImpl+0x76): > more undefined references to `__builtin_delete' follow > /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce..d.__vt_Q28TaoCrypt9Mode_BASE+0xc): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0x8): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0xc): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0x10): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL10BulkCipher+0x8): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL10BulkCipher+0xc): > more undefined references to `__pure_virtual' follow > /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce..t._._Q28TaoCrypt14RSA_PrivateKey+0x12b): > In function `TaoCrypt::RSA_PrivateKey::~RSA_PrivateKey(void)': > : undefined reference to `__builtin_delete' > /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt8DES_BASE+0xc): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(log.o)(.text+0x31): In function > `yaSSL::Log::~Log(void)': > : undefined reference to `__builtin_delete' > /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0xc): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x10): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x14): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x18): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x3c): > undefined reference to `__pure_virtual' > /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x40): > more undefined references to `__pure_virtual' follow > /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x85): In > function `TaoCrypt::FileSource::~FileSource(void)': > : undefined reference to `__builtin_delete' > /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-file..o)(.text+0x295): > In function `TaoCrypt::FileSink::~FileSink(void)': > : undefined reference to `__builtin_delete' > collect2: ld returned 1 exit status > make[2]: *** [check_mysql] Error 1 > make[2]: Leaving directory > `/root/nagiosinstall/nagios-plugins-1.4.6/plugins' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/nagiosinstall/nagios-plugins-1.4.6' > make: *** [all] Error 2 > > !DSPAM:37,45f28a05103001486464952! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > !DSPAM:37,45f28a05103001486464952! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,45f28a05103001486464952! > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sfrazer at duoconsulting.com Sat Mar 10 19:59:28 2007 From: sfrazer at duoconsulting.com (Scott Frazer) Date: Sat, 10 Mar 2007 12:59:28 -0600 Subject: Check_snmp plugin. Is this part of the standard plugin distribution or is it extra? Message-ID: I compiled Nagios 2.7 and the latest plugins from scratch on a very barebones server. I later discovered that it was barebones enough not to have the openssl libs on it and so check_http's https functionality didn't work. I'm wondering if something similar happened with check_snmp, because I don't have it in my libexec directory. I suppose I could've used the debian universe version of Nagios, but it was stuck back at 2.4 and gave me trouble during install anyway. Scott ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From surcouf at debianfr.net Sat Mar 10 20:38:45 2007 From: surcouf at debianfr.net (=?ISO-8859-1?Q?Rapha=EBl?= 'SurcouF' Bordet) Date: Sat, 10 Mar 2007 20:38:45 +0100 Subject: SNMP : sysUptime and hrSystemUptime on SGI IRIX [Was [Re: Getting Nagios and AIX SNMP working together happily]] In-Reply-To: References: Message-ID: <1173555525.5870.25.camel@xiombarg> Le samedi 10 mars 2007 ? 11:08 -0500, Michael Weiner a ?crit : > Not trying to highjack this interesting thread, but has anyone managed to do > the same against SGI IRIX? What annoys me most is that when i query system i > get the uptime of the actual snmpd instance not the host - which may or may > not necessarily be the same length of time. I have googled and googled and > have had no real success. > > Anyone doing this that might be able to help? Hi, According to SNMPv2-MIB, syUpTime (OID you're talking about) is: "The time (in hundredths of a second) since the network management portion of the system was last re-initialized.". If you want to get host uptime, you've better to check hrSystemUptime from HOST-RESOURCES-MIB : "The amount of time since this host was last initialized. Note that this is different from sysUpTime in the SNMPv2-MIB [RFC1907] because sysUpTime is the uptime of the network management portion of the system." I've never used IRIX but I think you must have "host-snmp" subagent to be running in order to implements RFC1514 (or HOST-RESOURCES-MIB) : http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=0650&db=relnotes&fname=/usr/relnotes/host_snmp Regards, -- Rapha?l 'SurcouF' Bordet ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hunter at userfriendly.net Sat Mar 10 21:19:11 2007 From: hunter at userfriendly.net (Michael Weiner) Date: Sat, 10 Mar 2007 15:19:11 -0500 Subject: SNMP : sysUptime and hrSystemUptime on SGI IRIX [Was [Re: Getting Nagios and AIX SNMP working together happily]] In-Reply-To: <1173555525.5870.25.camel@xiombarg> References: <1173555525.5870.25.camel@xiombarg> Message-ID: On 3/10/07 2:38 PM, "Rapha?l 'SurcouF' Bordet" wrote: > Le samedi 10 mars 2007 ? 11:08 -0500, Michael Weiner a ?crit : > >> Not trying to highjack this interesting thread, but has anyone managed to do >> the same against SGI IRIX? What annoys me most is that when i query system i >> get the uptime of the actual snmpd instance not the host - which may or may >> not necessarily be the same length of time. I have googled and googled and >> have had no real success. >> >> Anyone doing this that might be able to help? > > Hi, > > According to SNMPv2-MIB, syUpTime (OID you're talking about) is: > > "The time (in hundredths of a second) since the network management > portion of the system was last re-initialized.". > > If you want to get host uptime, you've better to check hrSystemUptime > from HOST-RESOURCES-MIB : > > "The amount of time since this host was last initialized. Note that > this is different from sysUpTime in the SNMPv2-MIB [RFC1907] because > sysUpTime is the uptime of the network management portion of the > system." > > I've never used IRIX but I think you must have "host-snmp" subagent to > be running in order to implements RFC1514 (or HOST-RESOURCES-MIB) : > http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=0650&db=relnotes&f > name=/usr/relnotes/host_snmp > Raphael - I will check it out, but i DO appreciate your response. I have looked at that page before, and have been trying to get it working correctly - i must be missing something but i will happily re-read the page again. Michael ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From v-alloo at ti.com Sun Mar 11 11:00:01 2007 From: v-alloo at ti.com (Alloo, Vincent) Date: Sun, 11 Mar 2007 11:00:01 +0100 Subject: nagios and Director for ibm servers In-Reply-To: References: Message-ID: <0AB0CB5257FF3C43A27E201CC8AADA86033027B9@dnce02.ent.ti.com> We are using IPMI on our x86 IBM (and other) servers. --SSH-- [6 valloo:{10:58:22am}:svripmiadm001: ~ ] % /apps/free/ipmitool/1.8.6/bin/ipmitool -H sp-lnwod1785 -U USERID sensor Password: Fan 1 Tach | 8025.000 | RPM | ok | 750.000 | 1950.000 | 1950.000 | na | na | na Fan 2 Tach | 7725.000 | RPM | ok | 750.000 | 1950.000 | 1950.000 | na | na | na Fan 3 Tach | 8025.000 | RPM | ok | 750.000 | 1950.000 | 1950.000 | na | na | na Fan 4 Tach | 7725.000 | RPM | ok | 750.000 | 1950.000 | 1950.000 | na | na | na Fan 5 Tach | 7725.000 | RPM | ok | 750.000 | 1950.000 | 1950.000 | na | na | na Fan 6 Tach | 6825.000 | RPM | ok | 750.000 | 1950.000 | 1950.000 | na | na | na Fan 7 Tach | 7500.000 | RPM | ok | 750.000 | 1950.000 | 1950.000 | na | na | na Fan 8 Tach | 6525.000 | RPM | ok | 750.000 | 1950.000 | 1950.000 | na | na | na Fan 9 Tach | 11400.000 | RPM | ok | 750.000 | 1950.000 | 1950.000 | na | na | na Fan 10 Tach | 11475.000 | RPM | ok | 750.000 | 1950.000 | 1950.000 | na | na | na In coordination with NRPE, it works perfectly. Regards, Vincent Alloo TI France Design Systems Operations Manager Europe and Middle East IT Services Texas Instruments France E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 00 80 -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of enediel gonzalez Sent: Thursday, March 08, 2007 5:35 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios and Director for ibm servers Hello I need to monitor temperature sensors on IBM servers, I don't know if installing the Director agents I can get the information using snmp request. Is there any other solution to do this? Thanks in advance for any answer. Enediel Linux user 300141 Debian GNU/Linux _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Sun Mar 11 13:03:21 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Sun, 11 Mar 2007 12:03:21 +0000 Subject: Nagios Looking Glass 1.0.3 released Message-ID: <45F3F009.2050505@mailnetwork.co.uk> The Nagios Looking Glass project is pleased to announce, for immediate availability, version 1.0.3. This release primarily fixes 2 quite serious bugs - one which we believe to have been present since v1.0.0, and one that was introduced with v1.0.2. The first bug saw the backgrounds to servers in the Network Browser disappear when a host descended into a "network error" or "down" state, and the second saw peculiar behaviour when hosts and services changed state (particularly when the length of the plugin output varied drastically between index rebuilds.) This may have resulted in spurious "unreadable ...." errors in the display, or check results being shown under a different service to what it should have been. 1.0.3 also improves NLG's decision of when to rebuild it's internal indexes, stops it opening a file it didn't need to, and indexes Nagios' "info {}" section in the status file. Unless any other bugs come to light, this is the last maintenance release in the 1.0 series before 1.1 is due later in the year. NLG has been tested with Nagios 2.4 - 2.8. I urge anyone using any previous 1.0.* release to upgrade. For more information: www.nagioslookingglass.co.uk Download: www.nagioslookingglass.co.uk/download.phpx Regards Andy Shellam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shacky83 at gmail.com Sun Mar 11 13:14:22 2007 From: shacky83 at gmail.com (shacky) Date: Sun, 11 Mar 2007 13:14:22 +0100 Subject: Translating the web interface Message-ID: <7fedbc910703110514u2f1d6ba8h8c3134d3cbab211a@mail.gmail.com> Hi. How I can translate the Nagios' web interface in the Italian language? Thank you very much and goodbye! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nilesh at extenprise.com Sun Mar 11 14:09:05 2007 From: nilesh at extenprise.com (Nilesh Shastrakar) Date: Sun, 11 Mar 2007 18:39:05 +0530 Subject: Nagios Plugin - compliation error References: <010101c762ff$c1801e10$2000a8c0@shastra> <45F2EE1A.7010209@mailnetwork.co.uk> Message-ID: <002d01c763de$754e6530$2000a8c0@shastra> I have installed the openssl but facing the same problem Could someone give me some assistance to solve this problem? ----- Original Message ----- From: "Andy Shellam" To: "Nilesh Shastrakar" Cc: Sent: Saturday, March 10, 2007 11:12 PM Subject: Re: [Nagios-users] Nagios Plugin - compliation error > That looks like a lot of missing references to SSL functions. > Check your OpenSSL installation. > > Andy. > > Nilesh Shastrakar wrote: >> Dear All, >> I have Installed sucessfully Nagios 2.8 and now I am trying to install >> Nagios-plugins-1.4.6 >> but when I call MAKE command I get below error, >> could any one please help how to solve the problem >> before installing I have checked the required softwares and install them >> like gd-devel, libpng-devel, libjpeg-devel >> OS : Centos4.4 >> MySQL : >> MySQL-client-5.0.22-0 >> MySQL-shared-5.0.22-0 >> MySQL-devel-5.0.22-0 >> MySQL-bench-5.0.22-0 >> MySQL-server-5.0.22-0 >> MySQL-shared-compat-4.1.10-0 >> make all-recursive >> make[1]: Entering directory `/root/nagiosinstall/nagios-plugins-1.4.6' >> Making all in gl >> make[2]: Entering directory `/root/nagiosinstall/nagios-plugins-1.4.6/gl' >> make all-am >> make[3]: Entering directory `/root/nagiosinstall/nagios-plugins-1.4.6/gl' >> make[3]: Nothing to be done for `all-am'. >> make[3]: Leaving directory `/root/nagiosinstall/nagios-plugins-1.4.6/gl' >> make[2]: Leaving directory `/root/nagiosinstall/nagios-plugins-1.4.6/gl' >> Making all in lib >> make[2]: Entering directory >> `/root/nagiosinstall/nagios-plugins-1.4.6/lib' >> Making all in tests >> make[3]: Entering directory >> `/root/nagiosinstall/nagios-plugins-1.4.6/lib/tests' >> make[3]: Nothing to be done for `all'. >> make[3]: Leaving directory >> `/root/nagiosinstall/nagios-plugins-1.4.6/lib/tests' >> make[3]: Entering directory >> `/root/nagiosinstall/nagios-plugins-1.4.6/lib' >> make[3]: Nothing to be done for `all-am'. >> make[3]: Leaving directory `/root/nagiosinstall/nagios-plugins-1.4.6/lib' >> make[2]: Leaving directory `/root/nagiosinstall/nagios-plugins-1.4.6/lib' >> Making all in plugins >> make[2]: Entering directory >> `/root/nagiosinstall/nagios-plugins-1.4.6/plugins' >> /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_mysql >> check_mysql-check_mysql.o netutils.o utils.o ../lib/libnagiosplug.a >> ../gl/libgnu.a -lnsl -lresolv -L/usr/lib/mysql -lmysqlclient -lz -lcrypt >> -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv >> gcc -g -O2 -o check_mysql check_mysql-check_mysql.o netutils.o >> tils.o -L/root/nagiosinstall/nagios-plugins-1.4.6/plugins >> ../lib/libnagiosplug.a ../gl/libgnu.a -L/usr/lib/mysql >> /usr/lib/mysql/libmysqlclient.a -L/usr/local/lib -lpthread -lz -lcrypt -lnsl >> -lm -lc -lnss_files -lnss_dns -lresolv >> /usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x8): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0xc): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x10): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x14): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x18): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(cert_wrapper.o)(.text+0x77): In function >> `yaSSL::x509::~x509(void)': >> : undefined reference to `__builtin_delete' >> /usr/lib/mysql/libmysqlclient.a(cert_wrapper.o)(.text+0x30f): In function >> `yaSSL::CertManager::~CertManager(void)': >> : undefined reference to `__builtin_delete' >> /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(..gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL11SSL_SESSION+0x41): >> In function `mySTL::list::~list(void)': >> : undefined reference to `__builtin_delete' >> /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(..gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL12input_buffer+0x41): >> In function `mySTL::list::~list(void)': >> : undefined reference to `__builtin_delete': undefined reference to >> `__builtin_delete' >> /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(..gnu.linkonce.t._._Q25mySTLt4list1ZPUc+0x41): >> more undefined references to `__builtin_delete' follow >> /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x8): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0xc): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x10): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x14): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(yassl_imp.o)(.text+0x2a62): In function >> `yaSSL::ServerDHParams::~ServerDHParams(void)': >> : undefined reference to `__builtin_delete' >> /usr/lib/mysql/libmysqlclient.a(yassl_imp.o)(.text+0x4b3b): In function >> `yaSSL::Connection::~Connection(void)': >> : undefined reference to `__builtin_delete' >> /usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x32cd): In function >> `yaSSL::SSL_SESSION::~SSL_SESSION(void)': >> : undefined reference to `__builtin_delete' >> /usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x348b): In function >> `yaSSL::Sessions::~Sessions(void)': >> : undefined reference to `__builtin_delete' >> /usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x37db): In function >> `yaSSL::SSL_CTX::~SSL_CTX(void)': >> : undefined reference to `__builtin_delete' >> /usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x3c60): more >> undefined references to `__builtin_delete' follow >> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0xc): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x10): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x14): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x18): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x1c): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt11BER_Decoder+0xc): >> more undefined references to `__pure_virtual' follow >> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.t._._Q28TaoCrypt13DSA_PublicKey+0xa7): >> In function `TaoCrypt::DSA_PublicKey::~DSA_PublicKey(void)': >> : undefined reference to `__builtin_delete' >> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-random.o)(.text+0x166): In >> function `TaoCrypt::OS_Seed::~OS_Seed(void)': >> : undefined reference to `__builtin_delete' >> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash..o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x14): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x18): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x1c): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x20): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x24): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x28): >> more undefined references to `__pure_virtual' follow >> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.text+0x16a6): In >> function `yaSSL::RandomPool::~RandomPool(void)': >> : undefined reference to `__builtin_delete' >> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.text+0x20d6): In >> function `yaSSL::Integer::~Integer(void)': >> : undefined reference to `__builtin_delete' >> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.text+0x2476): In >> function `yaSSL::DiffieHellman::~DiffieHellman(void)': >> : undefined reference to `__builtin_delete' >> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3DES7DESImpl+0x37): >> In function `yaSSL::DES::DESImpl::~DESImpl(void)': >> : undefined reference to `__builtin_delete' >> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3AES7AESImpl+0x8e): >> In function `yaSSL::AES::AESImpl::~AESImpl(void)': >> : undefined reference to `__builtin_delete' >> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3RSA7RSAImpl+0x76): >> more undefined references to `__builtin_delete' follow >> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce..d.__vt_Q28TaoCrypt9Mode_BASE+0xc): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0x8): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0xc): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0x10): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL10BulkCipher+0x8): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL10BulkCipher+0xc): >> more undefined references to `__pure_virtual' follow >> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce..t._._Q28TaoCrypt14RSA_PrivateKey+0x12b): >> In function `TaoCrypt::RSA_PrivateKey::~RSA_PrivateKey(void)': >> : undefined reference to `__builtin_delete' >> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt8DES_BASE+0xc): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(log.o)(.text+0x31): In function >> `yaSSL::Log::~Log(void)': >> : undefined reference to `__builtin_delete' >> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0xc): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x10): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x14): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x18): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x3c): >> undefined reference to `__pure_virtual' >> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x40): >> more undefined references to `__pure_virtual' follow >> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x85): In >> function `TaoCrypt::FileSource::~FileSource(void)': >> : undefined reference to `__builtin_delete' >> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-file..o)(.text+0x295): In >> function `TaoCrypt::FileSink::~FileSink(void)': >> : undefined reference to `__builtin_delete' >> collect2: ld returned 1 exit status >> make[2]: *** [check_mysql] Error 1 >> make[2]: Leaving directory >> `/root/nagiosinstall/nagios-plugins-1.4.6/plugins' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/root/nagiosinstall/nagios-plugins-1.4.6' >> make: *** [all] Error 2 >> >> !DSPAM:37,45f28a05103001486464952! >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share >> your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> >> !DSPAM:37,45f28a05103001486464952! >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk being >> sent to /dev/null >> >> !DSPAM:37,45f28a05103001486464952! >> > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eagle at cyberdelia.de Mon Mar 12 08:49:39 2007 From: eagle at cyberdelia.de (Daniel Meyer) Date: Mon, 12 Mar 2007 08:49:39 +0100 (CET) Subject: Problem with parents and multipath In-Reply-To: References: Message-ID: Hi, no ideas? It's a quite common setup :-) Most important thing i need to know is if i made a mistake or if its broken (by design?) within nagios... Danny -- Q: Gentoo is too hard to install = http://www.cyberdelia.de and I feel like whining. = eagle at cyberdelia.de A: Please see /dev/null. = (from the gentoo installer FAQ) = \o/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle at caosdigital.com Mon Mar 12 10:24:39 2007 From: kyle at caosdigital.com (kyle) Date: Mon, 12 Mar 2007 10:24:39 +0100 Subject: Translating the web interface In-Reply-To: <7fedbc910703110514u2f1d6ba8h8c3134d3cbab211a@mail.gmail.com> References: <7fedbc910703110514u2f1d6ba8h8c3134d3cbab211a@mail.gmail.com> Message-ID: <20070312092439.GA17645@pulsar> On Sun, Mar 11, 2007 at 01:14:22PM +0100, shacky wrote: > Hi. > How I can translate the Nagios' web interface in the Italian language? there have been a number of interlnationalization proposals, specially for the documentation. Unfortunately none of them have catched up, specially since nagios at this moment doesn't really support gettext or any standard internationalization method (even non-ASCII chars in hosts or groups definitions aren't supported) Perhaps this would be a good proposal for nagios-devel :-) (Of course, you can always translate the literals in the source code but is far from optimal since all your translation would be lost for every new release) -- Hoy es Domingo, 1 de Enero de 1984. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Mon Mar 12 10:57:38 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 12 Mar 2007 09:57:38 +0000 Subject: ANNOUNCE: Script to Generate Servicegroups In-Reply-To: <54F5EEB76DAED44289579C133133D0FF0A7B57@EXCHANGE01.cc2k.bank> References: <45F17BBB.3030001@googlemail.com> <54F5EEB76DAED44289579C133133D0FF0A7B57@EXCHANGE01.cc2k.bank> Message-ID: <45F52412.109@googlemail.com> you're most welcome, I'm happy to contribute something back. I was in the same boat, I had 3 groups, but couldn't be bothered to write (and then have to maintain) the rest for ~400 services so I wrote the script instead. I use it to create a servicegroup-generated.cfg file and I still have my own 3 groups in servicegroups.cfg, both sourced in nagios.cfg so I have the best of both worlds. This is good in case you want to group services with different names by hand for convenient lookups/perms in nagios interface. -h Hari Sekhon Randy Adams wrote: > That was a really great script and I am sure your RAID plugins are great > as well. The servicegroups I hadn't got around to keying in yet but > your script made quick work of it. > > Thanks Again!! > > Randall Adams > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari > Sekhon > Sent: Friday, March 09, 2007 10:23 AM > To: Nagios Users mailinglist > Subject: [Nagios-users] ANNOUNCE: Script to Generate Servicegroups > > I have just written a script to automatically generate all my service > groups. (Quite useful if you have hundreds of services) > > > It's on Nagios Exchange if anyone wants it. > > http://www.nagiosexchange.org/Configuration.20.0.html?&tx_netnagext_pi1[ > p_view]=896&tx_netnagext_pi1[page]=20%3A10 > > -h > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MarcJonkers at mgzl.nl Mon Mar 12 11:08:37 2007 From: MarcJonkers at mgzl.nl (Marc Jonkers) Date: Mon, 12 Mar 2007 11:08:37 +0100 Subject: Nagios question about Notifications Message-ID: Hi, I have Nagios running but notifications do not work. When I look at the Service Detail I see a speaker with a red cross through it. In the Tactical Overview I see at Monitoring Features--> Notifications it says 12 Services Disabled. I enabled notifications in the configuration file. What am I doing wrong? Thx, Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andurin at process-zero.de Mon Mar 12 11:13:06 2007 From: andurin at process-zero.de (Hendrik Baecker) Date: Mon, 12 Mar 2007 11:13:06 +0100 Subject: Nagios question about Notifications In-Reply-To: References: Message-ID: <45F527B2.5080307@process-zero.de> Hi, try to enable the notification through the web interface to get the status-file synchronized with your config, or try to stop nagios and delete the status-file that you are using for retention. Marc Jonkers schrieb: > Hi, > > I have Nagios running but notifications do not work. When I look at > the Service Detail I see a speaker with a red cross through it. > In the Tactical Overview I see at Monitoring Features--> Notifications > it says 12 Services Disabled. > I enabled notifications in the configuration file. > What am I doing wrong? > > > Thx, > > Marc > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MarcJonkers at mgzl.nl Mon Mar 12 11:13:18 2007 From: MarcJonkers at mgzl.nl (Marc Jonkers) Date: Mon, 12 Mar 2007 11:13:18 +0100 Subject: Nagios question about Notifications[Scanned] In-Reply-To: <45F527B2.5080307@process-zero.de> References: <45F527B2.5080307@process-zero.de> Message-ID: Where do I do that in the webinterface? -----Oorspronkelijk bericht----- Van: Hendrik Baecker [mailto:andurin at process-zero.de] Verzonden: 12 maart 2007 11:13 Aan: Marc Jonkers CC: nagios-users at lists.sourceforge.net Onderwerp: Re: [Nagios-users] Nagios question about Notifications[Scanned] Hi, try to enable the notification through the web interface to get the status-file synchronized with your config, or try to stop nagios and delete the status-file that you are using for retention. Marc Jonkers schrieb: > Hi, > > I have Nagios running but notifications do not work. When I look at > the Service Detail I see a speaker with a red cross through it. > In the Tactical Overview I see at Monitoring Features--> Notifications > it says 12 Services Disabled. > I enabled notifications in the configuration file. > What am I doing wrong? > > > Thx, > > Marc > ---------------------------------------------------------------------- > -- > > ---------------------------------------------------------------------- > --- Take Surveys. Earn Cash. Influence the Future of IT Join > SourceForge.net's Techsay panel and you'll get the chance to share > your opinions on IT & business topics through brief surveys-and earn > cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEV > DEV > ---------------------------------------------------------------------- > -- > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nilesh at extenprise.com Mon Mar 12 14:44:32 2007 From: nilesh at extenprise.com (Nilesh Shastrakar) Date: Mon, 12 Mar 2007 19:14:32 +0530 Subject: how to setup email notification References: <45F527B2.5080307@process-zero.de> Message-ID: <001101c764ac$93d12be0$2000a8c0@shastra> Dear All, I want to configure the email notication on Nagios, I have checked the documents but couldnot found the settings to set the smtp server and authentication could someone assist me configure the same on nagios. Thanks Nilesh ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios 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 12 15:01:08 2007 From: marc at ena.com (Marc Powell) Date: Mon, 12 Mar 2007 09:01:08 -0500 Subject: how to setup email notification In-Reply-To: <001101c764ac$93d12be0$2000a8c0@shastra> References: <001101c764ac$93d12be0$2000a8c0@shastra> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Nilesh Shastrakar > Sent: Monday, March 12, 2007 8:45 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] how to setup email notification > > Dear All, > > I want to configure the email notication on Nagios, > I have checked the documents but couldnot found the settings to set the > smtp > server and authentication > could someone assist me configure the same on nagios. A typical nagios installation uses /bin/mail to send out notifications. Check your notification commands to verify (usually host-notify-by-email and service-notify-by-email). In this configuration, /bin/mail uses whatever MTA you have running on the nagios machine (sendmail, postfix, exim, etc) for delivery so if you need to specify a particular upstream SMTP server that all mail must flow through you'll need to configure the MTA to do so appropriately. When searching for MTA specific docs on this it's usually referred to as smarthosting. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios 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 12 15:06:36 2007 From: marc at ena.com (Marc Powell) Date: Mon, 12 Mar 2007 09:06:36 -0500 Subject: Nagios question about Notifications In-Reply-To: <45F527B2.5080307@process-zero.de> References: <45F527B2.5080307@process-zero.de> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Hendrik Baecker > Sent: Monday, March 12, 2007 5:13 AM > To: Marc Jonkers > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios question about Notifications > > Hi, > > try to enable the notification through the web interface to get the > status-file synchronized with your config, or try to stop nagios and > delete the status-file that you are using for retention. For the notifications_enabled option, the config file setting will override the status file setting. > > Marc Jonkers schrieb: > > Hi, > > > > I have Nagios running but notifications do not work. When I look at > > the Service Detail I see a speaker with a red cross through it. > > In the Tactical Overview I see at Monitoring Features--> Notifications > > it says 12 Services Disabled. > > I enabled notifications in the configuration file. > > What am I doing wrong? Do you have 'notifications_enabled 1' in your host and service definitions or templates? You'll need to reload or restart nagios for the configuration to take affect. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios 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 12 15:10:41 2007 From: marc at ena.com (Marc Powell) Date: Mon, 12 Mar 2007 09:10:41 -0500 Subject: Check_snmp plugin. Is this part of the standard plugin distribution or is it extra? In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Scott Frazer > Sent: Saturday, March 10, 2007 12:59 PM > To: Nagios Users mailinglist > Subject: [Nagios-users] Check_snmp plugin. Is this part of the standard > plugin distribution or is it extra? > > I compiled Nagios 2.7 and the latest plugins from scratch on a very > barebones server. I later discovered that it was barebones enough not to > have the openssl libs on it and so check_http's https functionality didn't > work. > > I'm wondering if something similar happened with check_snmp, because I > don't > have it in my libexec directory. Read the REQUIREMENTS file and/or check the output of the ./configure command that you ran. The first will tell you what you need and the latter will tell you what you're missing. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From narendran.neelamegam at wipro.com Mon Mar 12 15:59:34 2007 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Mon, 12 Mar 2007 20:29:34 +0530 Subject: how to setup email notification References: <45F527B2.5080307@process-zero.de> <001101c764ac$93d12be0$2000a8c0@shastra> Message-ID: Dear Nilesh, It is beyond the scope of Nagios Document to provide SMTP server and authentication configuration, Therefore, you will not find in the documentation. You could use a package like SendEmail http://caspian.dotconf.net/menu/Software/SendEmail/ OR You can configure a MTA on Nagios server as a Smart Relay to your SMTP server. Ensure that your SMTP server is configure to allow relaying from the Nagios server. Regards, Narendran Neelamegam ________________________________ From: nagios-users-bounces at lists.sourceforge.net on behalf of Nilesh Shastrakar Sent: Mon 3/12/2007 7:14 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] how to setup email notification Dear All, I want to configure the email notication on Nagios, I have checked the documents but couldnot found the settings to set the smtp server and authentication could someone assist me configure the same on nagios. Thanks Nilesh ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From weinerm at ccf.org Mon Mar 12 16:05:43 2007 From: weinerm at ccf.org (Weiner, Michael) Date: Mon, 12 Mar 2007 11:05:43 -0400 Subject: nrpe on solaris Message-ID: Good morning folks. I was taking someone's advice and decided to try NRPE for remote command checks FROM a linux nagios server against a Solaris remote server. I am running nagios-2.7 on a Fedora Core 6 server and nrpe-1.9_5 on a solaris 9 remote host along with nagios-plugins-1.3.1_2 for sparc. I have the nrpe running as a daemon at the moment to keep things simple, and without SSL, have the nrpe.cfg tweaked to run on port: 5666/U: nagios/G: nagios and the example check defined: Command[check_load]=/usr/local/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 And run the following from the nagios server while the nrpe daemon is running on the remote host: /usr/lib/nagios/plugins/check_nrpe -n -H remote.host.name -p 5666 -t 30 -c check_load And I continually get the proverbal nrpe[427]: [ID 421412 daemon.error] Could not read request from client, bailing out... error. Any thoughts or ideas on what I could fix/check/reconfigure? Thanks in advance Michael Weiner =================================== Cleveland Clinic is ranked one of the top 3 hospitals in America by U.S.News & World Report. Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Mon Mar 12 17:13:31 2007 From: philc at foundation-it.com (Phil Costelloe) Date: Mon, 12 Mar 2007 16:13:31 -0000 Subject: nrpe on solaris In-Reply-To: References: Message-ID: Is nrpe running as a standalone daemon or under inetd. If the latter, can you post the relevant line from inetd.conf? Phil -------------------------------------------------------- Phil Costelloe Technical Consultant philc at foundation-it.com http://www.foundation-it.com Foundation IT Foundation Court Old Street Oare Hermitage Berkshire RG18 9SE Switch: +44 (0) 1635 203700 Helpdesk: +44 (0) 800 0121099 DDI: +44 (0) 1635 203719 Fax: +44 (0) 8700 543537 Mobile: +44 (0) 7884 236299 Visit us on stand: 734 http://www.businesscontinuityexpo.co.uk/foundation_it -------------------------------------------------------- This message contains confidential information and is intended only for nagios-users at lists.sourceforge.net. If you are not nagios-users at lists.sourceforge.net you should not disseminate, distribute or copy this e-mail. Please notify Foundation IT immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Foundation IT therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -------------------------------------------------------- ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Weiner, Michael Sent: 12 March 2007 15:06 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nrpe on solaris Good morning folks. I was taking someone's advice and decided to try NRPE for remote command checks FROM a linux nagios server against a Solaris remote server. I am running nagios-2.7 on a Fedora Core 6 server and nrpe-1.9_5 on a solaris 9 remote host along with nagios-plugins-1.3.1_2 for sparc. I have the nrpe running as a daemon at the moment to keep things simple, and without SSL, have the nrpe.cfg tweaked to run on port: 5666/U: nagios/G: nagios and the example check defined: Command[check_load]=/usr/local/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 And run the following from the nagios server while the nrpe daemon is running on the remote host: /usr/lib/nagios/plugins/check_nrpe -n -H remote.host.name -p 5666 -t 30 -c check_load And I continually get the proverbal nrpe[427]: [ID 421412 daemon.error] Could not read request from client, bailing out... error. Any thoughts or ideas on what I could fix/check/reconfigure? Thanks in advance Michael Weiner =================================== Cleveland Clinic is ranked one of the top 3 hospitals in America by U.S.News & World Report. Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Business Continuity.gif Type: image/gif Size: 4735 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: logo.gif Type: image/gif Size: 5729 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Mon Mar 12 17:17:23 2007 From: kyle.odonnell at gmail.com (Kyle O'Donnell) Date: Mon, 12 Mar 2007 12:17:23 -0400 Subject: nrpe on solaris In-Reply-To: References: Message-ID: <2274b9c30703120917tfe9c7f4rfb774c8f917e78f@mail.gmail.com> nrpe 1.x and 2.x do not communicate. try grabbing nrpe 1.x and compile check_nrpe. On 3/12/07, Weiner, Michael wrote: > Good morning folks. I was taking someone's advice and decided to try > NRPE for remote command checks FROM a linux nagios server against a > Solaris remote server. I am running nagios-2.7 on a Fedora Core 6 server > and nrpe-1.9_5 on a solaris 9 remote host along with > nagios-plugins-1.3.1_2 for sparc. I have the nrpe running as a daemon at > the moment to keep things simple, and without SSL, have the nrpe.cfg > tweaked to run on port: 5666/U: nagios/G: nagios and the example check > defined: > > > > Command[check_load]=/usr/local/lib/nagios/plugins/check_load -w 15,10,5 > -c 30,25,20 > > > > And run the following from the nagios server while the nrpe daemon is > running on the remote host: > > > > /usr/lib/nagios/plugins/check_nrpe -n -H remote.host.name -p 5666 -t 30 > -c check_load > > > > And I continually get the proverbal > > > > nrpe[427]: [ID 421412 daemon.error] Could not read request from client, > bailing out... > > > > error. Any thoughts or ideas on what I could fix/check/reconfigure? > > > > Thanks in advance > > Michael Weiner > > > =================================== > > > > > Cleveland Clinic is ranked one of the top 3 hospitals in > America by U.S.News & World Report. Visit us online at > http://www.clevelandclinic.org for a complete listing of > our services, staff and locations. > > > Confidentiality Note: This message is intended for use > only by the individual or entity to which it is addressed > and may contain information that is privileged, > confidential, and exempt from disclosure under applicable > law. If the reader of this message is not the intended > recipient or the employee or agent responsible for > delivering the message to the intended recipient, you are > hereby notified that any dissemination, distribution or > copying of this communication is strictly prohibited. If > you have received this communication in error, please > contact the sender immediately and destroy the material in > its entirety, whether electronic or hard copy. Thank you. > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.radcliffe at gmail.com Mon Mar 12 17:23:44 2007 From: jay.radcliffe at gmail.com (Jay Radcliffe) Date: Mon, 12 Mar 2007 12:23:44 -0400 Subject: Nagios Konference 2007 Message-ID: <3075aa7f0703120923u53f8c570y64598562e210ec04@mail.gmail.com> Has anyone from the United States gone to the Nagios Konference held in germany? I am thinking of asking my management to send me as I am in charge of our nagios architecture which is quite large (6000+ hosts, 90,000 service checks in total). Specifically, how much of the conference is in english and how worthwhile was it ? I have 3 semesters of German, but it has gone unused for quite some time. TIA, Jay Radcliffe ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Mon Mar 12 18:08:55 2007 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Mon, 12 Mar 2007 13:08:55 -0400 Subject: Nagios Konference 2007 In-Reply-To: <3075aa7f0703120923u53f8c570y64598562e210ec04@mail.gmail.com> References: <3075aa7f0703120923u53f8c570y64598562e210ec04@mail.gmail.com> Message-ID: <2274b9c30703121008m4fc03b90jc531fcbb657d5a67@mail.gmail.com> Do you have more details on the conf? I'd love to attend! On 3/12/07, Jay Radcliffe wrote: > Has anyone from the United States gone to the Nagios Konference held > in germany? I am thinking of asking my management to send me as I am > in charge of our nagios architecture which is quite large (6000+ > hosts, 90,000 service checks in total). Specifically, how much of the > conference is in english and how worthwhile was it ? I have 3 > semesters of German, but it has gone unused for quite some time. > > TIA, > Jay Radcliffe > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 13 07:30:11 2007 From: christian.masopust at siemens.com (Masopust, Christian) Date: Tue, 13 Mar 2007 07:30:11 +0100 Subject: Nagios Konference 2007 In-Reply-To: <2274b9c30703121008m4fc03b90jc531fcbb657d5a67@mail.gmail.com> References: <3075aa7f0703120923u53f8c570y64598562e210ec04@mail.gmail.com> <2274b9c30703121008m4fc03b90jc531fcbb657d5a67@mail.gmail.com> Message-ID: <60721B67EAF0994EAFFB561767B700140125D6D7@nets13ha.ww300.siemens.net> hmmm... i think ther is currently only a german web-page about it: http://www.netways.de/de/nagios_konferenz/ 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-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of kyle.odonnell at gmail.com > Sent: Monday, March 12, 2007 6:09 PM > To: Jay Radcliffe > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios Konference 2007 > > Do you have more details on the conf? I'd love to attend! > > On 3/12/07, Jay Radcliffe wrote: > > Has anyone from the United States gone to the Nagios Konference held > > in germany? I am thinking of asking my management to send me as I am > > in charge of our nagios architecture which is quite large (6000+ > > hosts, 90,000 service checks in total). Specifically, how > much of the > > conference is in english and how worthwhile was it ? I have 3 > > semesters of German, but it has gone unused for quite some time. > > > > TIA, > > Jay Radcliffe > > > > > -------------------------------------------------------------- > ----------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the > chance to share your > > opinions on IT & business topics through brief surveys-and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge > &CID=DEVDEV > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and > OS when reporting > > any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the > chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge > &CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nilesh at extenprise.com Tue Mar 13 07:59:58 2007 From: nilesh at extenprise.com (Nilesh Shastrakar) Date: Tue, 13 Mar 2007 12:29:58 +0530 Subject: how to setup email notification References: <45F527B2.5080307@process-zero.de> <001101c764ac$93d12be0$2000a8c0@shastra> Message-ID: <001301c7653d$38c3e080$2000a8c0@shastra> [Nagios-users] how to setup email notificationHi , Thanks for the reply, we have smtp server that is hosted at remote place. we use smtp.example.com to send emails from outlook with use "My server require Authentication" in this case how do I configure Nagios to send emails of problem alerts. Thanks Nilesh ----- Original Message ----- From: narendran.neelamegam at wipro.com To: nilesh at extenprise.com ; nagios-users at lists.sourceforge.net Sent: Monday, March 12, 2007 8:29 PM Subject: RE: [Nagios-users] how to setup email notification Dear Nilesh, It is beyond the scope of Nagios Document to provide SMTP server and authentication configuration, Therefore, you will not find in the documentation. You could use a package like SendEmail http://caspian.dotconf.net/menu/Software/SendEmail/ OR You can configure a MTA on Nagios server as a Smart Relay to your SMTP server. Ensure that your SMTP server is configure to allow relaying from the Nagios server. Regards, Narendran Neelamegam ------------------------------------------------------------------------------ From: nagios-users-bounces at lists.sourceforge.net on behalf of Nilesh Shastrakar Sent: Mon 3/12/2007 7:14 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] how to setup email notification Dear All, I want to configure the email notication on Nagios, I have checked the documents but couldnot found the settings to set the smtp server and authentication could someone assist me configure the same on nagios. Thanks Nilesh ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From barness at paynet.co.ke Tue Mar 13 08:18:53 2007 From: barness at paynet.co.ke (Steve Barnes) Date: Tue, 13 Mar 2007 10:18:53 +0300 Subject: --enable-neb does what exactly? In-Reply-To: <001301c7653d$38c3e080$2000a8c0@shastra> References: <45F527B2.5080307@process-zero.de><001101c764ac$93d12be0$2000a8c0@shastra> <001301c7653d$38c3e080$2000a8c0@shastra> Message-ID: <43F744E0C1D7334E8AC73B02B5697F75ABD70B@mail.paynet.co.ke> Hi I have a FreeBSD 6.1 port of Nagios 2.7 installed. However, it seems there is no "convenient" way to --enable-neb (it is not enabled and there does not appear to be any way to enable it using the port). To this end I have downloaded the nagios 2.7 source and am intending to compile it using the same FreeBSD port options, but this time, include the --enable-neb configure switch. How feasible is it to just replace the current nagios binary with the new one? Or will this fail horribly? Thanks Steve. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue Mar 13 09:38:51 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 13 Mar 2007 08:38:51 +0000 Subject: --enable-neb does what exactly? In-Reply-To: <43F744E0C1D7334E8AC73B02B5697F75ABD70B@mail.paynet.co.ke> References: <45F527B2.5080307@process-zero.de> <001101c764ac$93d12be0$2000a8c0@shastra> <001301c7653d$38c3e080$2000a8c0@shastra> <43F744E0C1D7334E8AC73B02B5697F75ABD70B@mail.paynet.co.ke> Message-ID: <765d77c80703130138q3660b7fbo69837ed5ac0f527c@mail.gmail.com> On 13/03/07, Steve Barnes wrote: > How feasible is it to just replace the current nagios binary with the > new one? Or will this fail horribly? That's what I did with my Fedora .rpm installed Nagios here. It worked fine. Cheers, Jim ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From narendran.neelamegam at wipro.com Tue Mar 13 10:56:54 2007 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Tue, 13 Mar 2007 15:26:54 +0530 Subject: how to setup email notification References: <45F527B2.5080307@process-zero.de> <001101c764ac$93d12be0$2000a8c0@shastra> <001301c7653d$38c3e080$2000a8c0@shastra> Message-ID: Hi, You can use SendEmail. Just check the command line options ________________________________ From: Nilesh Shastrakar [mailto:nilesh at extenprise.com] Sent: Tue 3/13/2007 12:29 PM To: Narendran Neelamegam (WT01 - TECHNOLOGY INFRASTRUCTURE SERVICES (GS)); nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] how to setup email notification Hi , Thanks for the reply, we have smtp server that is hosted at remote place. we use smtp.example.com to send emails from outlook with use "My server require Authentication" in this case how do I configure Nagios to send emails of problem alerts. Thanks Nilesh ----- Original Message ----- From: narendran.neelamegam at wipro.com To: nilesh at extenprise.com ; nagios-users at lists.sourceforge.net Sent: Monday, March 12, 2007 8:29 PM Subject: RE: [Nagios-users] how to setup email notification Dear Nilesh, It is beyond the scope of Nagios Document to provide SMTP server and authentication configuration, Therefore, you will not find in the documentation. You could use a package like SendEmail http://caspian.dotconf.net/menu/Software/SendEmail/ OR You can configure a MTA on Nagios server as a Smart Relay to your SMTP server. Ensure that your SMTP server is configure to allow relaying from the Nagios server. Regards, Narendran Neelamegam ________________________________ From: nagios-users-bounces at lists.sourceforge.net on behalf of Nilesh Shastrakar Sent: Mon 3/12/2007 7:14 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] how to setup email notification Dear All, I want to configure the email notication on Nagios, I have checked the documents but couldnot found the settings to set the smtp server and authentication could someone assist me configure the same on nagios. Thanks Nilesh ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhein at netways.de Tue Mar 13 11:38:44 2007 From: jhein at netways.de (Julian Hein) Date: Tue, 13 Mar 2007 11:38:44 +0100 Subject: Nagios Konference 2007 In-Reply-To: <3075aa7f0703120923u53f8c570y64598562e210ec04@mail.gmail.com> References: <3075aa7f0703120923u53f8c570y64598562e210ec04@mail.gmail.com> Message-ID: Hi, > Has anyone from the United States gone to the Nagios Konference held > in germany? I am thinking of asking my management to send me as I am > in charge of our nagios architecture which is quite large (6000+ > hosts, 90,000 service checks in total). Specifically, how much of the > conference is in english and how worthwhile was it ? I have 3 > semesters of German, but it has gone unused for quite some time. Well, I am not from the US, but we are hosting the conference. We started the conference last year and it was mainly in German. Only Ton's and Ethan's speeches were in English. For this year we plan a complete track in English, so there will be 2 German tracks and 1 English Track. We would be very happy to have participants or speakers from the US. If you have specific questions you can ask on the list or PM me. Thanks for your interest, Julian -- Julian Hein NETWAYS GmbH Managing Director Deutschherrnstr. 47a Fon. +49 911 92885-0 D-90429 N?rnberg Fax. +49 911 92885-31 jhein at netways.de http://www.netways.de ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kilala.nl Tue Mar 13 12:59:41 2007 From: nagios at kilala.nl (Thomas Sluyter) Date: Tue, 13 Mar 2007 12:59:41 +0100 Subject: [Nagiosplug-help] Temperature Monitoring In-Reply-To: <7a20e7880703130417y34161d3tf634439d8d4055b9@mail.gmail.com> References: <7a20e7880703130104h45672d6amb5d88d5fe637d385@mail.gmail.com> <3AAD5E54-50D8-479E-ABD0-D9CA009594CB@kilala.nl> <7a20e7880703130417y34161d3tf634439d8d4055b9@mail.gmail.com> Message-ID: <05C43C09-AB47-4F12-95F4-1AFE54AB1361@kilala.nl> >> > do we have a pluggin to monitor temperature of the router / network >> > devices. Or rather do we have any mechanism through which distinct >> > OIDs can be monitored in nagios. >> >> Well, of course there is the lovely check_snmp ;) > > Can I get a specific example of using check_snmp. Well, ./check_snmp -? is one specific example ;) If you're looking for an example where check_snmp is used to read a temperature from a Cisco box, then you're not going to get it from me. I don't know the OID in question and you'll have to look it up in the Cisco MIB. Other examples of the uage of check_snmp are rife on the Internet. Cheers! Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guyrosen at hotmail.com Tue Mar 13 13:49:53 2007 From: guyrosen at hotmail.com (Guy Rosen) Date: Tue, 13 Mar 2007 12:49:53 +0000 (UTC) Subject: Getting too many Nagios notifications Message-ID: Hi, I have a simple setup running Nagios 2.3.1 (actually NagiosVMA, configured using Groundwork Monarch). I have a host with many services on it (both remote checks performed using check_by_ssh and checks for various public services), and I get a barrage of notifications whenever something goes wrong. So, I defined dependencies. The services in a host are dependent on the host (and/or on the PING service, and some other general services). But, there are some timing issues that mean I still get hammered with a lot of alerts. What happens during outages it this: 1. The host itself goes down, but not before a few services manage to go down individually (so I get a few service down notifications) 2. More services that go down when the host is down do not generate any notifications - good. 3. When the outage is over, Nagios detects the host is up. 4. Now the services are detected as going up, and since the host is up there is no dependency to filter the notifications, so I get a whole barrage of "service OK" notifications. These are killing my cellphone :-). Can anyone direct me to the best way to better configure these things? Thanks! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.DeZego at americanhm.com Tue Mar 13 14:01:28 2007 From: James.DeZego at americanhm.com (James DeZego) Date: Tue, 13 Mar 2007 09:01:28 -0400 Subject: please help with service dependencies Message-ID: <42764260AAB66B40B278E3D8DE86C5BA280477@melpsechmbx12.hq.corp.americanhm.com> Using NRPE_NT running on a Windows server as a WMI Proxy to process checks on Windows servers via WMI scripts. The initial problem was that when the proxy was down, or rebooted, we got thousands of alerts from the services that used the proxy to do checks. We thought that to fix this we would make all the WMI checks dependent upon the NRPE service running on the proxy. This way when the parent NRPE service was down or unreachable, the WMI checks would not be processed. This is NOT working to due the time it takes for the NRPE service to go from soft-down to hard-down (during this time tons of alerts are sent out). We enabled soft state dependency and this fixed the problem, but it will KILL our WMI proxy as its now doing MANY more checks (the NRPE parent service is constantly checked to get the current state as opposed to using the last know state, which is what happens when soft state dependencies are turned off) So what is the answer to my problem? I need to make sure that when the NRPE service running on the proxy is down or unreachable, ALL wmi checks immediately stop and not even a single alert is sent out. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Lane at CIBC.com Tue Mar 13 14:11:23 2007 From: Jim.Lane at CIBC.com (Lane, Jim) Date: Tue, 13 Mar 2007 09:11:23 -0400 Subject: Getting too many Nagios notifications In-Reply-To: References: Message-ID: <42C65DFAF1777047B7669BF53A8BE48D05421B53@CBSCC-X3-MBVS02.ad.cibc.com> It strikes me that this is more of a philosophical issue than a technical one. It's easy to get carried away with all the myriad of things that Nagios can check on and end up with a monster, as you seem to have. The question you need to ask yourself is "what event is likely to happen and how would Nagios be able to recognize it and tell me about it"? It sounds like you have an all-or-nothing situation, your server is either up or it slowly goes down one bit at a time. If that's so perhaps you really only need to monitor the server itself. To me the point of Nagios is to be like a fire alarm. Once the alarm sounds I'll investigate the details myself, I don't need Nagios to tell me in great detail of everything that's not working on a server. FWIW Jim Lane -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Guy Rosen Sent: March 13, 2007 8:50 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Getting too many Nagios notifications Hi, I have a simple setup running Nagios 2.3.1 (actually NagiosVMA, configured using Groundwork Monarch). I have a host with many services on it (both remote checks performed using check_by_ssh and checks for various public services), and I get a barrage of notifications whenever something goes wrong. So, I defined dependencies. The services in a host are dependent on the host (and/or on the PING service, and some other general services). But, there are some timing issues that mean I still get hammered with a lot of alerts. What happens during outages it this: 1. The host itself goes down, but not before a few services manage to go down individually (so I get a few service down notifications) 2. More services that go down when the host is down do not generate any notifications - good. 3. When the outage is over, Nagios detects the host is up. 4. Now the services are detected as going up, and since the host is up there is no dependency to filter the notifications, so I get a whole barrage of "service OK" notifications. These are killing my cellphone :-). Can anyone direct me to the best way to better configure these things? Thanks! ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guyrosen at hotmail.com Tue Mar 13 14:28:11 2007 From: guyrosen at hotmail.com (Guy Rosen) Date: Tue, 13 Mar 2007 13:28:11 +0000 (UTC) Subject: Getting too many Nagios notifications References: <42C65DFAF1777047B7669BF53A8BE48D05421B53@CBSCC-X3-MBVS02.ad.cibc.com> Message-ID: Lane, Jim CIBC.com> writes: > > It strikes me that this is more of a philosophical issue than a > technical one. It's easy to get carried away with all the myriad of > things that Nagios can check on and end up with a monster, as you seem > to have. The question you need to ask yourself is "what event is likely > to happen and how would Nagios be able to recognize it and tell me about > it"? It sounds like you have an all-or-nothing situation, your server is > either up or it slowly goes down one bit at a time. If that's so perhaps > you really only need to monitor the server itself. To me the point of > Nagios is to be like a fire alarm. Once the alarm sounds I'll > investigate the details myself, I don't need Nagios to tell me in great > detail of everything that's not working on a server. Hi Jim, I see what you're getting at, but do not think it is relevant to the situation at hand. Sometimes, individual services in my host do fall, and I'd sure be glad to know about them. On other occasions, it's the whole server (or rather the network and crappy provider) that malfunctions - and it is then that I receive the army of notifications as each and every service is discovered as "failing". - Guy. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Mar 13 15:18:06 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 13 Mar 2007 10:18:06 -0400 Subject: how to setup email notification In-Reply-To: <001301c7653d$38c3e080$2000a8c0@shastra> References: <45F527B2.5080307@process-zero.de><001101c764ac$93d12be0$2000a8c0@shastra> <001301c7653d$38c3e080$2000a8c0@shastra> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Nilesh Shastrakar > Sent: Tuesday, March 13, 2007 12:00 AM > To: narendran.neelamegam at wipro.com; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] how to setup email notification > > Hi , > > Thanks for the reply, we have smtp server that is hosted at > remote place. > we use smtp.example.com to send emails from outlook with use > "My server require Authentication" > in this case how do I configure Nagios to send emails of > problem alerts. What people have been trying to tell you is that you don't configure Nagios for SMTP authentication. Nagios itself doesn't use SMTP. You need to configure the mailer on your machine (whatever you happen to use) to relay through your SMTP server, and that's also where you need to configure the authentication. How you do that depends on which mailer you use. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Mar 13 15:22:36 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 13 Mar 2007 10:22:36 -0400 Subject: Getting too many Nagios notifications In-Reply-To: References: <42C65DFAF1777047B7669BF53A8BE48D05421B53@CBSCC-X3-MBVS02.ad.cibc.com> Message-ID: > I see what you're getting at, but do not think it is relevant > to the situation at hand. Sometimes, individual services in > my host do fall, and I'd sure be glad to know about them. On > other occasions, it's the whole server (or rather the network > and crappy provider) that malfunctions - and it is then that > I receive the army of notifications as each and every service > is discovered as "failing". How are your host checks configured? If you have host checks enabled and a valid host check configured, Nagios will run it as soon as any service goes into a non-OK state. Usually this would prevent any service alerts from going out if the host is completely down. It sounds like you may just need to tweak your host checks. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Tue Mar 13 15:42:13 2007 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Tue, 13 Mar 2007 10:42:13 -0400 Subject: --enable-neb does what exactly? In-Reply-To: <765d77c80703130138q3660b7fbo69837ed5ac0f527c@mail.gmail.com> References: <45F527B2.5080307@process-zero.de> <001101c764ac$93d12be0$2000a8c0@shastra> <001301c7653d$38c3e080$2000a8c0@shastra> <43F744E0C1D7334E8AC73B02B5697F75ABD70B@mail.paynet.co.ke> <765d77c80703130138q3660b7fbo69837ed5ac0f527c@mail.gmail.com> Message-ID: <2274b9c30703130742hd8ca5fey9720c88dc02f9ccb@mail.gmail.com> I usually just modify the ports Makefile and re-compile. On 3/13/07, Jim Avery wrote: > On 13/03/07, Steve Barnes wrote: > > > How feasible is it to just replace the current nagios binary with the > > new one? Or will this fail horribly? > > That's what I did with my Fedora .rpm installed Nagios here. It worked > fine. > > Cheers, > > Jim > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From J.F.Wheeler at rl.ac.uk Tue Mar 13 15:59:00 2007 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Tue, 13 Mar 2007 14:59:00 -0000 Subject: Option append_to_file in nsca.cfg Message-ID: As I have said before my configuration consists of 1 master server and 2 slaves with about 700 hosts and 16000 checks. In the file nsca.cfg which configures the nsca daemon, there is an append_to_file option which is (by default) set to 0 for writing to the command file rather than 1 for appending to it. Please would someone explain why appending to the command file is deprecated. I ask because I can have several nsca processes running every second; if each of them writes to the command file, the output from previous nsca processes has been lost; this would explain why my master server issues so many tests itself because test results become stale. I should add that the command file is a pipe and it is reaped every 4 seconds. Perhaps I am misunderstanding something, about the nature of a pipe ? Or perhaps the documentation in the configuration file is misleading/wrong ? Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios 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 13 17:17:19 2007 From: marc at ena.com (Marc Powell) Date: Tue, 13 Mar 2007 11:17:19 -0500 Subject: Option append_to_file in nsca.cfg In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Wheeler, JF (Jonathan) > Sent: Tuesday, March 13, 2007 9:59 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Option append_to_file in nsca.cfg > > As I have said before my configuration consists of 1 master server and 2 > slaves with about 700 hosts and 16000 checks. In the file nsca.cfg > which configures the nsca daemon, there is an append_to_file option > which is (by default) set to 0 for writing to the command file rather > than 1 for appending to it. Please would someone explain why appending > to the command file is deprecated. I ask because I can have several Semi-educated commentary follows -- The 'command file' is more properly named a 'command pipe'. It's not a real file and therefore appending to it makes no sense. A pipe is essentially a FIFO buffer. Data is written to it by one process and read by another in a sequential fashion. If the reading process can't keep up with the writing process, your kernel will buffer the writes up to a point depending on the OS. For linux kernel < 2.6.11 the buffer was 4096 bytes. For > 2.6.11, the buffer is 65535 bytes. Nagios also has its own internal buffers to help process the pipe faster. With nagios-2.7, these are controlled by the external_command_buffer_slots option in nagios.cfg. You can also control how often nagios checks for data in the pipe with the command_check_interval setting. You certainly want that to be -1 and not every 4 seconds. -1 tells nagios to check as often as possible. Depending on your check frequency, it sounds like nagios isn't able to keep up with your check submissions, almost certainly related to your checking the pipe every 4 seconds only. At ~100 bytes per check, you could only accept 40 results in 4 seconds before dropping. If you're doing 16,000 checks every 5 minutes that's ~213 check results every 4 seconds. You can do the math based on your actual sizes/intervals... Verify that you have a good amount of buffer slots (use nagiostats to see current utilization) and that you're checking external commands as fast as possible. I'm only doing 1/4 of the passive checks you are so you may be hitting limits that I haven't experienced yet but it doesn't appear so at this point. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Tue Mar 13 17:54:33 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Tue, 13 Mar 2007 12:54:33 -0400 Subject: Getting too many Nagios notifications In-Reply-To: References: Message-ID: <7abcf48e0703130954q4f5e2c82jea20c65a8a8d3b6@mail.gmail.com> Set up parenting not dependencies on your network this will definitly reduce your emails and or also increase Ping latency if you are getting alot of warning messages as well afterwards On 3/13/07, Guy Rosen wrote: > > Hi, > > I have a simple setup running Nagios 2.3.1 (actually NagiosVMA, configured > using > Groundwork Monarch). I have a host with many services on it (both remote > checks > performed using check_by_ssh and checks for various public services), and > I get > a barrage of notifications whenever something goes wrong. > > So, I defined dependencies. The services in a host are dependent on the > host > (and/or on the PING service, and some other general services). But, there > are > some timing issues that mean I still get hammered with a lot of alerts. > What > happens during outages it this: > 1. The host itself goes down, but not before a few services manage to go > down > individually (so I get a few service down notifications) > 2. More services that go down when the host is down do not generate any > notifications - good. > 3. When the outage is over, Nagios detects the host is up. > 4. Now the services are detected as going up, and since the host is up > there is > no dependency to filter the notifications, so I get a whole barrage of > "service > OK" notifications. > > These are killing my cellphone :-). Can anyone direct me to the best way > to > better configure these things? > > Thanks! > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Tue Mar 13 18:05:00 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Tue, 13 Mar 2007 13:05:00 -0400 Subject: Nagios Users as Admin Message-ID: <7abcf48e0703131005v1f7e55ebj9e4d84627b9a3aee@mail.gmail.com> Hey everyone i have Nagios 2.4 i have the default login as nagiosadmin as master administrator where everyone do external commands such as acknowledgements but i want to be able to add different users to view and have the same permission as admin to change stuff on nagios webinterface? i tryed adding a user1 as an example, but when i login no information can be seen (ex : no hosts are there no services) How do i enable this user to have same view and permission as admin I am sure this is possible thanks ??? -Nedim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Tue Mar 13 18:16:42 2007 From: kyle.odonnell at gmail.com (Kyle O'Donnell) Date: Tue, 13 Mar 2007 13:16:42 -0400 Subject: Nagios Users as Admin In-Reply-To: <7abcf48e0703131005v1f7e55ebj9e4d84627b9a3aee@mail.gmail.com> References: <7abcf48e0703131005v1f7e55ebj9e4d84627b9a3aee@mail.gmail.com> Message-ID: <2274b9c30703131016o13f4dcbbp27a8e8674ccf39c0@mail.gmail.com> modify cgi.cfg authorized_for_system_information=nagiosadmin,newuser authorized_for_system_commands=nagiosadmin,newuser authorized_for_configuration_information=... authorized_for_all_services... authorized_for_all_hosts=... On 3/13/07, Nedim Bicic wrote: > Hey everyone i have Nagios 2.4 i have the default login as nagiosadmin as > master administrator where everyone do external commands such as > acknowledgements > > but i want to be able to add different users to view and have the same > permission as admin to change stuff on nagios webinterface? > > i tryed adding a user1 as an example, but when i login no information can be > seen (ex : no hosts are there no services) How do i enable this user to have > same view and permission as admin I am sure this is possible thanks ??? > > -Nedim > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios 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 13 19:37:33 2007 From: marc at ena.com (Marc Powell) Date: Tue, 13 Mar 2007 13:37:33 -0500 Subject: Nagios Users as Admin In-Reply-To: <2274b9c30703131016o13f4dcbbp27a8e8674ccf39c0@mail.gmail.com> References: <2274b9c30703131016o13f4dcbbp27a8e8674ccf39c0@mail.gmail.com> Message-ID: Or define them as a contact for all the services they should see. -- Marc (mmmmm. top posting. Tasty fun.) > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Kyle O'Donnell > Sent: Tuesday, March 13, 2007 12:17 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios Users as Admin > > modify cgi.cfg > > authorized_for_system_information=nagiosadmin,newuser > authorized_for_system_commands=nagiosadmin,newuser > authorized_for_configuration_information=... > authorized_for_all_services... > authorized_for_all_hosts=... > > On 3/13/07, Nedim Bicic wrote: > > Hey everyone i have Nagios 2.4 i have the default login as nagiosadmin > as > > master administrator where everyone do external commands such as > > acknowledgements > > > > but i want to be able to add different users to view and have the same > > permission as admin to change stuff on nagios webinterface? > > > > i tryed adding a user1 as an example, but when i login no information > can be > > seen (ex : no hosts are there no services) How do i enable this user to > have > > same view and permission as admin I am sure this is possible thanks ??? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at zango.com Tue Mar 13 21:54:01 2007 From: Thomas at zango.com (Thomas Guyot-Sionnest) Date: Tue, 13 Mar 2007 13:54:01 -0700 Subject: Trap reset script Message-ID: <804160344192334BB21922E8082EA6C066AC94@seaex01.180solutions.com> Hi lists, Some time ago I talked about using a script for resetting traps; I just made one. Unfortunately Nagios::Config was way too buggy to work on complex configs so I went up with a solution using Nagios::StatusLog. The command looks like this: ./TrapReset.pl -c /path/to/nagios.cfg It will look up the status and command files from the Nagios config, parse the status and then force an active check for services matching these criterias: 1. Should not be scheduled to be checked 2. Has active checks enabled On my setup this roughly translate to all my traps (They all have the following proprieties: check_period none; max_check_attempts 1; is_volatile 1; active_checks_enabled 1 ) Alternatively you can look in the code and replace: if ($$log{'SERVICE'}{$host}{$service}{'should_be_scheduled'} == 0 && $$log{'SERVICE'}{$host}{$service}{'active_checks_enabled'} == 1) { With the following line (already there, commented-out): if ($service =~ /^.+Trap$/) { Where '^.+Trap$' is the regexp to match. It will use the regexp to match services on which to run a forced check. You can also change the command sent, say if you want to submit passive check results instead. This is by no way a finished product and I assume the user has at least basic Perl programming skills to make this program suit his needs. Thomas -------------- next part -------------- A non-text attachment was scrubbed... Name: TrapReset.pl Type: application/octet-stream Size: 1799 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3076 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 14 00:51:03 2007 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 14 Mar 2007 12:51:03 +1300 Subject: Trap reset script In-Reply-To: <804160344192334BB21922E8082EA6C066AC94@seaex01.180solutions.com> References: <804160344192334BB21922E8082EA6C066AC94@seaex01.180solutions.com> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A29839BA@UXCHANGE3.UoA.auckland.ac.nz> > It will look up the status and command files from the Nagios config, parse > the status and then force an active check for services matching these > criterias: > 1. Should not be scheduled to be checked > 2. Has active checks enabled Is there a reason why you are not using the Nagios freshness checking to achieve this? We have a similar system, with SNMP alerts coming into Nagios, and use the Freshness Check to set the status to OK after a set period of time. Services are set to volatile, max_checks=1, so they notify immediately on receiving a trap no matter what the current state. Steve ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ben at directshop.com.au Wed Mar 14 03:06:58 2007 From: ben at directshop.com.au (Ben James) Date: Wed, 14 Mar 2007 13:06:58 +1100 Subject: Service Notifications Stopped Message-ID: <45F758C2.80104@directshop.com.au> Hi all, I'm hoping you may be able to give me some insight into a problem I'm having with my Nagios configuration. I have approximately 20 hosts with 35 services set up, with notifications only set to send for service alerts. This was all working fine up until a couple of weeks ago, when notifications for services seem to have stopped. Something may have changed in the configuration at this point, but I have gone back over it all and have not been able to find the problem. If I turn on notification for hosts (by replacing 'n' in the host notification options in the contact definitions with 'u,d') they work fine, and I did receive a single service notification yesterday for one particular service, though when I tried to recreate the circumstances, I didn't receive it again. It is not a problem with my notification command, as I was using the same command for the hosts, plus the notification does not even show up in the event log so it doesn't seem to be even attempting to run it. This leads me to believe it is failing one of the notification checks, though I can't for the life of me figure out which one, I've gone through them multiple times to try to figure it out. Is there anyway I can get some information on what nagios is doing when I get a HARD service alert, and where it is deciding it doesn't need to send a notification? Thanks, Ben James. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From seppy at chartermi.net Wed Mar 14 03:23:16 2007 From: seppy at chartermi.net (Brian E. Seppanen) Date: Tue, 13 Mar 2007 22:23:16 -0400 (EDT) Subject: Struggling with Service Definitions without Hostgroups Message-ID: I'm a long time netsaint/nagios user. At this time I'm still running 1.x version 1.4.1. I'm trying to make the migration to nagios-2.8, but I'm struggling with object definitions for services in 2.x. in 1.x I define hostgroups with member hosts. In the service definition I tie the hostgroup to the service. Easy binding of large numbers of hosts to a single service, keeping the config sane. I have ten distributed nagios hosts with several hundred hosts and thousands of service checks, so I cannot believe that services need to be defined on an individual basis for hosts, so I'm assuming that I'm missing something fundamental to 2.x. If I have 2500 current services, am I to understand that I need to define 2500 different services? There has to be a short hand method for this that I'm missing. Can someone point me to a best practice that they've been able to implement in 2.x that will allow large numbers of services to be defined in a minimally managed scenario. Any suggestions appreciated. thanks for your time. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From seppy at chartermi.net Wed Mar 14 03:42:43 2007 From: seppy at chartermi.net (Brian E. Seppanen) Date: Tue, 13 Mar 2007 22:42:43 -0400 (EDT) Subject: Struggling with Service Definitions without Hostgroups In-Reply-To: References: Message-ID: I think my problem was trying to use an older 1.x configuration file with 2.x. I still have the hostgroup definitions and my sytanx check is coming up clean. This is what I was getting with the 1.x nagios.cfg. Nagios 2.8 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 03-08-2007 License: GPL Reading configuration data... ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. the best way to solve a problem is to post something to a public list that makes you look like an idiot... you're guaranteed to solve the problem shortly after posting.... thanks, ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at zango.com Wed Mar 14 04:23:38 2007 From: Thomas at zango.com (Thomas Guyot-Sionnest) Date: Tue, 13 Mar 2007 20:23:38 -0700 Subject: Trap reset script References: <804160344192334BB21922E8082EA6C066AC94@seaex01.180solutions.com> <12A6FDDD13C460408A6E47E5DB1235A29839BA@UXCHANGE3.UoA.auckland.ac.nz> Message-ID: <804160344192334BB21922E8082EA6C0267482@seaex01.180solutions.com> Hi Steve, That decision was made a while ago and I probably though about using the freshness checking. I guess my idea was that a trap should stay on until it is handled. For various reasons we're not really using traps yet, but the system is there for the day we start using them (soon hopefully). Maybe after we use them a bit we'll decide on changing to "Self-reset" traps. Thanks for bringing is on though, that's a good suggestion... :) Thomas -----Original Message----- From: Steve Shipway [mailto:s.shipway at auckland.ac.nz] Sent: Tue 13-Mar-07 19:51 To: Thomas Guyot-Sionnest; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Trap reset script > It will look up the status and command files from the Nagios config, parse > the status and then force an active check for services matching these > criterias: > 1. Should not be scheduled to be checked > 2. Has active checks enabled Is there a reason why you are not using the Nagios freshness checking to achieve this? We have a similar system, with SNMP alerts coming into Nagios, and use the Freshness Check to set the status to OK after a set period of time. Services are set to volatile, max_checks=1, so they notify immediately on receiving a trap no matter what the current state. Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Mar 14 07:57:56 2007 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Wed, 14 Mar 2007 17:57:56 +1100 Subject: Getting too many Nagios notifications Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6A01F5C785@mail01.ccia.local> Sage words Jim. I've found myself adding services over the years, the other day I started writing a script to analyse the service dependencies of a windows server and generate service and service dependencies. Luckily, in moment of clarity I realised it was getting out of control. Now I take the attitude; what are the fewest things I can monitor to adequately determine the health of this infrastructure. Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Lane, Jim > Sent: Wednesday, 14 March 2007 12:11 AM > To: Guy Rosen; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Getting too many Nagios notifications > > It strikes me that this is more of a philosophical issue than > a technical one. It's easy to get carried away with all the > myriad of things that Nagios can check on and end up with a > monster, as you seem to have. The question you need to ask > yourself is "what event is likely to happen and how would > Nagios be able to recognize it and tell me about it"? It > sounds like you have an all-or-nothing situation, your server > is either up or it slowly goes down one bit at a time. If > that's so perhaps you really only need to monitor the server > itself. To me the point of Nagios is to be like a fire alarm. > Once the alarm sounds I'll investigate the details myself, I > don't need Nagios to tell me in great detail of everything > that's not working on a server. > > FWIW > > Jim Lane > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Guy Rosen > Sent: March 13, 2007 8:50 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Getting too many Nagios notifications > > Hi, > > I have a simple setup running Nagios 2.3.1 (actually > NagiosVMA, configured using Groundwork Monarch). I have a > host with many services on it (both remote checks performed > using check_by_ssh and checks for various public services), > and I get a barrage of notifications whenever something goes wrong. > > So, I defined dependencies. The services in a host are > dependent on the host (and/or on the PING service, and some > other general services). But, there are some timing issues > that mean I still get hammered with a lot of alerts. > What > happens during outages it this: > 1. The host itself goes down, but not before a few services > manage to go down individually (so I get a few service down > notifications) 2. More services that go down when the host is > down do not generate any notifications - good. > 3. When the outage is over, Nagios detects the host is up. > 4. Now the services are detected as going up, and since the > host is up there is no dependency to filter the > notifications, so I get a whole barrage of "service OK" notifications. > > These are killing my cellphone :-). Can anyone direct me to > the best way to better configure these things? > > Thanks! > > > > -------------------------------------------------------------- > ---------- > - > Take Surveys. Earn Cash. Influence the Future of IT Join > SourceForge.net's Techsay panel and you'll get the chance to > share your opinions on IT & business topics through brief > surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge &CID=DEVDE > V > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT Join > SourceForge.net's Techsay panel and you'll get the chance to > share your opinions on IT & business topics through brief > surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge &CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Mar 14 08:00:16 2007 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Wed, 14 Mar 2007 18:00:16 +1100 Subject: Nagios, syslog, splunk Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6A01F5C786@mail01.ccia.local> I've been playing with Splunk of late, can anyone tell me how I might forward Nagios event logs to a remote splunk server ? Is there a way to configure Nagios to send to two syslog servers, one remote ? 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Wed Mar 14 08:03:08 2007 From: stava at telcotec.se (Lars Stavholm) Date: Wed, 14 Mar 2007 08:03:08 +0100 Subject: Struggling with Service Definitions without Hostgroups In-Reply-To: References: Message-ID: <45F79E2C.20308@telcotec.se> Brian E. Seppanen wrote: > I'm a long time netsaint/nagios user. At this time I'm still running 1.x > version 1.4.1. I'm trying to make the migration to nagios-2.8, but I'm > struggling with object definitions for services in 2.x. in 1.x I define > hostgroups with member hosts. In the service definition I tie the > hostgroup to the service. Easy binding of large numbers of hosts to a > single service, keeping the config sane. I have ten distributed nagios > hosts with several hundred hosts and thousands of service checks, so I > cannot believe that services need to be defined on an individual basis for > hosts, so I'm assuming that I'm missing something fundamental to 2.x. > > If I have 2500 current services, am I to understand that I > need to define 2500 different services? There has to be a short hand > method for this that I'm missing. Can someone point me to a best > practice that they've been able to implement in 2.x that will allow large > numbers of services to be defined in a minimally managed scenario. > > Any suggestions appreciated. thanks for your time. Maybe: . /L ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nilesh at extenprise.com Wed Mar 14 08:18:54 2007 From: nilesh at extenprise.com (Nilesh Shastrakar) Date: Wed, 14 Mar 2007 12:48:54 +0530 Subject: Process Information Plugin Message-ID: <00a301c76609$083d91a0$2000a8c0@shastra> Dear All, I have written a scripts which we will give the output like top command but on nagios screen it shows me only one line status information also in mail notification. I want to print all output of this file on mail as well as on Nagios status Information screen The current status shows me like this. Current Status: OK Status Information: %Mem %CPU Command User PID Time I want in fromat Current Status OK Status Information: %Mem %CPU Command User PID Time 7.1 0.3 MailScanner root 20492 00:00:01 7.1 0.3 MailScanner root 19144 00:00:01 7.1 0.2 MailScanner root 19652 00:00:01 7.1 0.2 MailScanner root 19388 00:00:01 7.0 0.2 MailScanner root 19617 00:00:01 4.3 0.0 clamd clamav 3919 00:00:03 3.9 0.0 rhn-applet-gui root 5587 00:00:03 3.6 0.5 X root 4921 00:00:29 3.5 0.0 mysqld mysql 5725 00:00:00 3.5 0.0 MailScanner root 19143 00:00:00 3.0 0.0 nautilus root 5563 00:00:00 2.5 0.6 gnome-terminal root 10650 00:00:07 2.3 0.0 gnome-panel root 5558 00:00:00 2.1 6.9 gnome-system-mo root 23128 00:00:19 2.1 0.0 gnome-session root 5225 00:00:00 2.0 0.0 wnck-applet root 5782 00:00:00 1.8 0.0 mixer_applet2 root 5840 00:00:00 1.5 0.0 clock-applet root 5843 00:00:00 1.4 0.0 gconfd-2 root 5292 00:00:01 1.4 0.0 eggcups root 5583 00:00:00 1.3 0.0 notification-ar root 5845 00:00:00 1.3 0.0 metacity root 5390 00:00:00 1.3 0.0 gnome-settings- root 5362 00:00:00 1.2 0.0 gnome-volume-ma root 5570 00:00:00 0.8 0.0 pam-panel-icon root 5585 00:00:00 0.8 0.0 hald root 4222 00:00:00 0.6 0.0 gnome-vfs-daemo root 5735 00:00:00 0.5 0.0 httpd apache 5604 00:00:00 0.5 0.0 httpd apache 5603 00:00:00 0.5 0.0 httpd apache 5602 00:00:00 0.5 0.0 httpd apache 5601 00:00:00 0.5 0.0 httpd apache 5600 00:00:00 0.5 0.0 httpd apache 5599 00:00:00 0.5 0.0 httpd apache 5598 00:00:00 0.5 0.0 httpd apache 5597 00:00:00 0.5 0.0 gdm-binary root 4900 00:00:00 0.5 0.0 bonobo-activati root 5327 00:00:00 0.4 0.0 sshd root 14828 00:00:00 If I run the command on shell the above output will show me [root at centos4 ~]# ksh check_top_process.sh.old Could someone help me or is there other plugin which will give the all process list with details also I have attached the script for reference. Thanks Nilesh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: check_top_process.sh Type: application/octet-stream Size: 1828 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Cyrille.Bollu at fedasil.be Wed Mar 14 10:07:08 2007 From: Cyrille.Bollu at fedasil.be (Cyrille Bollu) Date: Wed, 14 Mar 2007 10:07:08 +0100 Subject: Nagios and LDAP group membership Message-ID: Hi all, I just subscribed to the list and wanted to give my feedback on the message of Francois Pernet from 2007-01-22 (https://sourceforge.net/mailarchive/message.php?msg_id=38030310). I would really love to be able to do Nagios AAA through LDAP. I also set up LDAP authentication for Nagios and, I thing, it's only limited by the contact_name in Nagios not matching the LDAP-authenticated HTTP user; Our LDAP users are in the form "uid=cbu,dc=mycompany,dc=be" where contact_name are in the form "cbu" (that's the uid in the LDAP dn... so close to the goal...). I just read in the Apache log documentation that the userid of the person requesting the document as determined by HTTP authentication is typically provided to CGI scripts in the REMOTE_USER environment variable. So, if Nagios cgi do use this environment variable, it would be in my case as simple as adding a small filter at the start of all Nagios cgi. Best regards, Cyrille -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.blake at gmail.com Wed Mar 14 10:20:33 2007 From: rob.blake at gmail.com (Rob Blake) Date: Wed, 14 Mar 2007 09:20:33 +0000 Subject: Process Information Plugin In-Reply-To: <00a301c76609$083d91a0$2000a8c0@shastra> References: <00a301c76609$083d91a0$2000a8c0@shastra> Message-ID: On 3/14/07, Nilesh Shastrakar wrote: > > Dear All, > > I have written a scripts which we will give the output like top command > but on nagios screen it shows me only one line status information also in > mail notification. > > I want to print all output of this file on mail as well as on Nagios > status Information screen > The current status shows me like this. > > Current Status: OK > Status Information: %Mem %CPU Command User PID Time > > I want in fromat > > Current Status OK > > Status Information: > > %Mem %CPU Command User PID > Time > 7.1 0.3 MailScanner root 20492 00:00:01 > > 7.1 0.3 MailScanner root 19144 00:00:01 > > 7.1 0.2 MailScanner root 19652 00:00:01 > > 7.1 0.2 MailScanner root 19388 00:00:01 > > 7.0 0.2 MailScanner root 19617 00:00:01 > > 4.3 0.0 clamd clamav 3919 00:00:03 > > 3.9 0.0 rhn-applet-gui root 5587 00:00:03 > > 3.6 0.5 X root 4921 00:00:29 > > 3.5 0.0 mysqld mysql 5725 00:00:00 > > 3.5 0.0 MailScanner root 19143 00:00:00 > > 3.0 0.0 nautilus root 5563 00:00:00 > > 2.5 0.6 gnome-terminal root 10650 00:00:07 > > 2.3 0.0 gnome-panel root 5558 00:00:00 > > 2.1 6.9 gnome-system-mo root 23128 00:00:19 > > 2.1 0.0 gnome-session root 5225 00:00:00 > > 2.0 0.0 wnck-applet root 5782 00:00:00 > > 1.8 0.0 mixer_applet2 root 5840 00:00:00 > > 1.5 0.0 clock-applet root 5843 00:00:00 > > 1.4 0.0 gconfd-2 root 5292 00:00:01 > > 1.4 0.0 eggcups root 5583 00:00:00 > > 1.3 0.0 notification-ar root 5845 00:00:00 > > 1.3 0.0 metacity root 5390 00:00:00 > > 1.3 0.0 gnome-settings- root 5362 00:00:00 > > 1.2 0.0 gnome-volume-ma root 5570 00:00:00 > > 0.8 0.0 pam-panel-icon root 5585 00:00:00 > > 0.8 0.0 hald root 4222 00:00:00 > > 0.6 0.0 gnome-vfs-daemo root 5735 00:00:00 > > 0.5 0.0 httpd apache 5604 00:00:00 > > 0.5 0.0 httpd apache 5603 00:00:00 > > 0.5 0.0 httpd apache 5602 00:00:00 > > 0.5 0.0 httpd apache 5601 00:00:00 > > 0.5 0.0 httpd apache 5600 00:00:00 > > 0.5 0.0 httpd apache 5599 00:00:00 > > 0.5 0.0 httpd apache 5598 00:00:00 > > 0.5 0.0 httpd apache 5597 00:00:00 > > 0.5 0.0 gdm-binary root 4900 00:00:00 > > 0.5 0.0 bonobo-activati root 5327 00:00:00 > > 0.4 0.0 sshd root 14828 00:00:00 > > If I run the command on shell the above output will show me > > [root at centos4 ~]# ksh check_top_process.sh.old > > Could someone help me or is there other plugin which will give the all > process list with details > also I have attached the script for reference. > Thanks > Nilesh > Nagios plugins by default only allow 1 line of output. You can delimit this line with the | (pipe) character to include more performance data, but it certainly won't get you anywhere near what you want. Nagios 3 does have extended output capabilities for plugins allowing you to return more details from the plugin check. See http://nagios.cvs.sourceforge.net/*checkout*/nagios/nagios/html/docs/pluginapi.htmlfor more details. Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Mar 14 10:23:52 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 14 Mar 2007 09:23:52 +0000 Subject: Nagios, syslog, splunk In-Reply-To: <2A67EA781EC7F949A2AB0A0D07A86C6A01F5C786@mail01.ccia.local> References: <2A67EA781EC7F949A2AB0A0D07A86C6A01F5C786@mail01.ccia.local> Message-ID: <45F7BF28.9090408@googlemail.com> Why don't you just have it log locally and then have your local syslog daemon forward to a remote server as well. Both syslog and syslog-ng can do this (I prefer the latter, newer and better/more flexible) This is what I do as I use a central syslog server. -h Hari Sekhon Matthew Joyce wrote: > > I've been playing with Splunk of late, can anyone tell me how I might > forward Nagios event logs to a remote splunk server ? > > Is there a way to configure Nagios to send to two syslog servers, one > remote ? > > Thanks > > *Matthew Joyce* > 02 9382 0051* |* IT Manager* |* Children's Cancer Institute Australia > for Medical Research > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.blake at gmail.com Wed Mar 14 10:25:02 2007 From: rob.blake at gmail.com (Rob Blake) Date: Wed, 14 Mar 2007 09:25:02 +0000 Subject: Nagios, syslog, splunk In-Reply-To: <2A67EA781EC7F949A2AB0A0D07A86C6A01F5C786@mail01.ccia.local> References: <2A67EA781EC7F949A2AB0A0D07A86C6A01F5C786@mail01.ccia.local> Message-ID: On 3/14/07, Matthew Joyce wrote: > > > I've been playing with Splunk of late, can anyone tell me how I might > forward Nagios event logs to a remote splunk server ? > > Is there a way to configure Nagios to send to two syslog servers, one > remote ? > > Thanks > > *Matthew Joyce* > 02 9382 0051***** |* IT Manager***** |* Children's Cancer Institute > Australia for Medical Research > > I guess you could use something like the global_event_handler option. Simply provide a small script that copies across the files you need to your remote splunk server and then set the global_event_handler to be enabled. This would copy it across every time an event occurred, so you may need to put some logic into your script that only copied after a certain duration to avoid too many connections to your remote host. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chiel at gmx.net Wed Mar 14 12:17:11 2007 From: chiel at gmx.net (chiel) Date: Wed, 14 Mar 2007 12:17:11 +0100 Subject: Problem with notify-by-email Message-ID: <005501c7662a$4ff38f10$700010ac@michiel> Hi, When Nagios is trying to send me an e-mail I get the following error in the event log: [03-14-2007 12:02:36] Warning: Attempting to execute the command "/usr/bin/printf "%b" "***** Nagios 2.7 *****\n\nNotification Type: PROBLEM\n\nService: Nagios\nHost: ****\nAddress: ***.***.***.***\nState: CRITICAL\n\nDate/Time: Wed Mar 14 12:02:36 CET 2007\n\nAdditional Info:\n\nNAGIOS CRITICAL: Could not locate a running Nagios process!" | -s "** PROBLEM alert - ****/Nagios is CRITICAL **" ****@****.com" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... I use Nagios 2.7 with Debian and Exim4. Exim is working normal and sents a e-mail when I do the following test: "printf text | mail -s "subject" e-mail address" The "notify-by-email" command is present in the commands.cfg I didn't find any help on google etc.. any idea? chiel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From c.mies at itnovum.de Wed Mar 14 12:40:53 2007 From: c.mies at itnovum.de (Mies, Christian) Date: Wed, 14 Mar 2007 12:40:53 +0100 Subject: Problem with notify-by-email Message-ID: <1160D06701B0154985D72DA43FE3D33ABBFB30@srvcom02.master.dns> Hi, have a look at this part of the error: Nagios process!" | -s "** PROBLEM alert The mail command is missing, I think. Mit freundlichem Gru? Christian Mies it-novum GmbH, Edelzeller Str. 44, 36043 Fulda, Germany FON: +49 (661) 103-874(333) FAX: +49 (661) 103-334 MAIL: c.mies at itnovum.de WEB: http://www.itnovum.de Handelsregister: Amtsgericht Fulda, HRB 1934 Gesch?ftsf?hrer: Michael Kienle (Vorsitz), Stefan Heil Sitz der Gesellschaft: Fulda UstID-Nr: DE813211784 Steuernr.: 018/225/03095 ________________________________ Von: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von chiel Gesendet: Mittwoch, 14. M?rz 2007 12:17 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Problem with notify-by-email Hi, When Nagios is trying to send me an e-mail I get the following error in the event log: [03-14-2007 12:02:36] Warning: Attempting to execute the command "/usr/bin/printf "%b" "***** Nagios 2.7 *****\n\nNotification Type: PROBLEM\n\nService: Nagios\nHost: ****\nAddress: ***.***.***.***\nState: CRITICAL\n\nDate/Time: Wed Mar 14 12:02:36 CET 2007\n\nAdditional Info:\n\nNAGIOS CRITICAL: Could not locate a running Nagios process!" | -s "** PROBLEM alert - ****/Nagios is CRITICAL **" ****@****.com" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... I use Nagios 2.7 with Debian and Exim4. Exim is working normal and sents a e-mail when I do the following test: "printf text | mail -s "subject" e-mail address" The "notify-by-email" command is present in the commands.cfg I didn't find any help on google etc.. any idea? chiel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.blake at gmail.com Wed Mar 14 12:42:56 2007 From: rob.blake at gmail.com (Rob Blake) Date: Wed, 14 Mar 2007 11:42:56 +0000 Subject: Problem with notify-by-email In-Reply-To: <005501c7662a$4ff38f10$700010ac@michiel> References: <005501c7662a$4ff38f10$700010ac@michiel> Message-ID: On 3/14/07, chiel wrote: > > Hi, > > > When Nagios is trying to send me an e-mail I get the following error in > the event log: > > > [03-14-2007 12:02:36] Warning: Attempting to execute the command > "/usr/bin/printf "%b" "***** Nagios 2.7 *****\n\nNotification Type: > PROBLEM\n\nService: Nagios\nHost: ****\nAddress: ***.***.***.***\nState: > CRITICAL\n\nDate/Time: Wed Mar 14 12:02:36 CET 2007\n\nAdditional > Info:\n\nNAGIOS CRITICAL: Could not locate a running Nagios process!" | -s > "** PROBLEM alert - ****/Nagios is CRITICAL **" ****@****.com" resulted in > a return code of 127. Make sure the script or binary you are trying to > execute actually exists... > > > > I use Nagios 2.7 with Debian and Exim4. Exim is working normal and sents a > e-mail when I do the following test: > "printf text | mail -s "subject" e-mail address" > > The "notify-by-email" command is present in the commands.cfg > > I didn't find any help on google etc.. > any idea? > > chiel > It looks like the keyword 'mail' is missing from your command definition, right after the pipe. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chiel at gmx.net Wed Mar 14 12:52:38 2007 From: chiel at gmx.net (chiel) Date: Wed, 14 Mar 2007 12:52:38 +0100 Subject: Problem with notify-by-email References: <1160D06701B0154985D72DA43FE3D33ABBFB30@srvcom02.master.dns> Message-ID: <008c01c7662f$438febb0$700010ac@michiel> Thanks, After adding "mail" into the command it works. What may have caused it to not be there? I didn't specify --with-mail=dir when I compiled nagios. Can that be the problem??? ----- Original Message ----- From: Mies, Christian To: nagios-users at lists.sourceforge.net Sent: Wednesday, March 14, 2007 12:40 PM Subject: Re: [Nagios-users] Problem with notify-by-email Hi, have a look at this part of the error: Nagios process!" | -s "** PROBLEM alert The mail command is missing, I think. Mit freundlichem Gru? Christian Mies it-novum GmbH, Edelzeller Str. 44, 36043 Fulda, Germany FON: +49 (661) 103-874(333) FAX: +49 (661) 103-334 MAIL: c.mies at itnovum.de WEB: http://www.itnovum.de Handelsregister: Amtsgericht Fulda, HRB 1934 Gesch?ftsf?hrer: Michael Kienle (Vorsitz), Stefan Heil Sitz der Gesellschaft: Fulda UstID-Nr: DE813211784 Steuernr.: 018/225/03095 ---------------------------------------------------------------------------- Von: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von chiel Gesendet: Mittwoch, 14. M?rz 2007 12:17 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Problem with notify-by-email Hi, When Nagios is trying to send me an e-mail I get the following error in the event log: [03-14-2007 12:02:36] Warning: Attempting to execute the command "/usr/bin/printf "%b" "***** Nagios 2.7 *****\n\nNotification Type: PROBLEM\n\nService: Nagios\nHost: ****\nAddress: ***.***.***.***\nState: CRITICAL\n\nDate/Time: Wed Mar 14 12:02:36 CET 2007\n\nAdditional Info:\n\nNAGIOS CRITICAL: Could not locate a running Nagios process!" | -s "** PROBLEM alert - ****/Nagios is CRITICAL **" ****@****.com" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... I use Nagios 2.7 with Debian and Exim4. Exim is working normal and sents a e-mail when I do the following test: "printf text | mail -s "subject" e-mail address" The "notify-by-email" command is present in the commands.cfg I didn't find any help on google etc.. any idea? chiel ------------------------------------------------------------------------------ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From D.Parise at iaea.org Wed Mar 14 13:02:06 2007 From: D.Parise at iaea.org (D.Parise at iaea.org) Date: Wed, 14 Mar 2007 13:02:06 +0100 Subject: Problem with notify-by-email In-Reply-To: <008c01c7662f$438febb0$700010ac@michiel> References: <1160D06701B0154985D72DA43FE3D33ABBFB30@srvcom02.master.dns> <008c01c7662f$438febb0$700010ac@michiel> Message-ID: It happened to me as well as I installed the mail agent after nagios, I guess. Regards, Davide ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of chiel Sent: 14 March 2007 12:53 To: Mies, Christian; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem with notify-by-email Thanks, After adding "mail" into the command it works. What may have caused it to not be there? I didn't specify --with-mail=dir when I compiled nagios. Can that be the problem??? ----- Original Message ----- From: Mies, Christian To: nagios-users at lists.sourceforge.net Sent: Wednesday, March 14, 2007 12:40 PM Subject: Re: [Nagios-users] Problem with notify-by-email Hi, have a look at this part of the error: Nagios process!" | -s "** PROBLEM alert The mail command is missing, I think. Mit freundlichem Gru? Christian Mies it-novum GmbH, Edelzeller Str. 44, 36043 Fulda, Germany FON: +49 (661) 103-874(333) FAX: +49 (661) 103-334 MAIL: c.mies at itnovum.de WEB: http://www.itnovum.de Handelsregister: Amtsgericht Fulda, HRB 1934 Gesch?ftsf?hrer: Michael Kienle (Vorsitz), Stefan Heil Sitz der Gesellschaft: Fulda UstID-Nr: DE813211784 Steuernr.: 018/225/03095 ________________________________ Von: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von chiel Gesendet: Mittwoch, 14. M?rz 2007 12:17 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Problem with notify-by-email Hi, When Nagios is trying to send me an e-mail I get the following error in the event log: [03-14-2007 12:02:36] Warning: Attempting to execute the command "/usr/bin/printf "%b" "***** Nagios 2.7 *****\n\nNotification Type: PROBLEM\n\nService: Nagios\nHost: ****\nAddress: ***.***.***.***\nState: CRITICAL\n\nDate/Time: Wed Mar 14 12:02:36 CET 2007\n\nAdditional Info:\n\nNAGIOS CRITICAL: Could not locate a running Nagios process!" | -s "** PROBLEM alert - ****/Nagios is CRITICAL **" ****@****.com" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... I use Nagios 2.7 with Debian and Exim4. Exim is working normal and sents a e-mail when I do the following test: "printf text | mail -s "subject" e-mail address" The "notify-by-email" command is present in the commands.cfg I didn't find any help on google etc.. any idea? chiel ________________________________ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ________________________________ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This email message is intended only for the use of the named recipient. Information contained in this email message and its attachments may be privileged, confidential and protected from disclosure. If you are not the intended recipient, please do not read, copy, use or disclose this communication to others. Also please notify the sender by replying to this message and then delete it from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chiel at gmx.net Wed Mar 14 13:06:04 2007 From: chiel at gmx.net (chiel) Date: Wed, 14 Mar 2007 13:06:04 +0100 Subject: Problem with notify-by-email References: <1160D06701B0154985D72DA43FE3D33ABBFB30@srvcom02.master.dns> <008c01c7662f$438febb0$700010ac@michiel> Message-ID: <00a601c76631$23ed3f90$700010ac@michiel> That is true. I configured exim after I have installed nagios... chiel ----- Original Message ----- From: D.Parise at iaea.org To: chiel at gmx.net ; c.mies at itnovum.de ; nagios-users at lists.sourceforge.net Sent: Wednesday, March 14, 2007 1:02 PM Subject: RE: [Nagios-users] Problem with notify-by-email It happened to me as well as I installed the mail agent after nagios, I guess. Regards, Davide ------------------------------------------------------------------------------ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of chiel Sent: 14 March 2007 12:53 To: Mies, Christian; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem with notify-by-email Thanks, After adding "mail" into the command it works. What may have caused it to not be there? I didn't specify --with-mail=dir when I compiled nagios. Can that be the problem??? ----- Original Message ----- From: Mies, Christian To: nagios-users at lists.sourceforge.net Sent: Wednesday, March 14, 2007 12:40 PM Subject: Re: [Nagios-users] Problem with notify-by-email Hi, have a look at this part of the error: Nagios process!" | -s "** PROBLEM alert The mail command is missing, I think. Mit freundlichem Gru? Christian Mies it-novum GmbH, Edelzeller Str. 44, 36043 Fulda, Germany FON: +49 (661) 103-874(333) FAX: +49 (661) 103-334 MAIL: c.mies at itnovum.de WEB: http://www.itnovum.de Handelsregister: Amtsgericht Fulda, HRB 1934 Gesch?ftsf?hrer: Michael Kienle (Vorsitz), Stefan Heil Sitz der Gesellschaft: Fulda UstID-Nr: DE813211784 Steuernr.: 018/225/03095 -------------------------------------------------------------------------- Von: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von chiel Gesendet: Mittwoch, 14. M?rz 2007 12:17 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Problem with notify-by-email Hi, When Nagios is trying to send me an e-mail I get the following error in the event log: [03-14-2007 12:02:36] Warning: Attempting to execute the command "/usr/bin/printf "%b" "***** Nagios 2.7 *****\n\nNotification Type: PROBLEM\n\nService: Nagios\nHost: ****\nAddress: ***.***.***.***\nState: CRITICAL\n\nDate/Time: Wed Mar 14 12:02:36 CET 2007\n\nAdditional Info:\n\nNAGIOS CRITICAL: Could not locate a running Nagios process!" | -s "** PROBLEM alert - ****/Nagios is CRITICAL **" ****@****.com" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... I use Nagios 2.7 with Debian and Exim4. Exim is working normal and sents a e-mail when I do the following test: "printf text | mail -s "subject" e-mail address" The "notify-by-email" command is present in the commands.cfg I didn't find any help on google etc.. any idea? chiel ---------------------------------------------------------------------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ---------------------------------------------------------------------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This email message is intended only for the use of the named recipient. Information contained in this email message and its attachments may be privileged, confidential and protected from disclosure. If you are not the intended recipient, please do not read, copy, use or disclose this communication to others. Also please notify the sender by replying to this message and then delete it from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 14 13:32:39 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 14 Mar 2007 13:32:39 +0100 (CET) Subject: Problem with notify-by-email In-Reply-To: <008c01c7662f$438febb0$700010ac@michiel> References: <1160D06701B0154985D72DA43FE3D33ABBFB30@srvcom02.master.dns> <008c01c7662f$438febb0$700010ac@michiel> Message-ID: On Wed, 14 Mar 2007, chiel wrote: > After adding "mail" into the command it works. What may have caused it to not be there? The common cause is a network layer 8 problem. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios 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 14 14:28:26 2007 From: marc at ena.com (Marc Powell) Date: Wed, 14 Mar 2007 08:28:26 -0500 Subject: Problem with notify-by-email In-Reply-To: <008c01c7662f$438febb0$700010ac@michiel> References: <008c01c7662f$438febb0$700010ac@michiel> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of chiel > Sent: Wednesday, March 14, 2007 6:53 AM > To: Mies, Christian; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Problem with notify-by-email > > Thanks, > > After adding "mail" into the command it works. What may have caused it to > not be there? > I didn't specify --with-mail=dir when I compiled nagios. Can that be the > problem?? Possibly. ./configure almost certainly wasn't able to locate the mail binary by itself and probably complained about it. Normally there isn't a problem locating it but if it's installed in an unusual place or not installed at all the result would be what you experienced. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios 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 14 14:40:35 2007 From: marc at ena.com (Marc Powell) Date: Wed, 14 Mar 2007 08:40:35 -0500 Subject: Process Information Plugin In-Reply-To: <00a301c76609$083d91a0$2000a8c0@shastra> References: <00a301c76609$083d91a0$2000a8c0@shastra> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Nilesh Shastrakar > Sent: Wednesday, March 14, 2007 2:19 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Process Information Plugin > > Dear All, > > I have written a scripts which we will give the output like top command > but on nagios screen it shows me only one line status information also in > mail notification. > > I want to print all output of this file on mail as well as on Nagios > status Information screen This is not directly possibly yet. Nagios < 2.x only supports one line of plugin output. Nagios-3 will support multi-line plugin output. You could work around the notification limitation by having your plugin include the contents of the file in the e-mail you send. You _might_ be able to force multi-line display in the web interface by substituting all carriage returns in the output with
and only sending one long line of text but the formatting still wouldn't be right as standard rendering will reduce your tabbed columns to single space separated unless you do more processing (i.e. inserting multiple  ) -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlt at pshtc.ks.gov Wed Mar 14 14:54:01 2007 From: mlt at pshtc.ks.gov (Mark Thompson) Date: Wed, 14 Mar 2007 08:54:01 -0500 Subject: running a perl script. Message-ID: <45F7B829020000C800001D45@PSHGRPWISE.PSHTC.KS.GOV> Nagios 2.7 running on OpenSUSE 10.2 Perl ver 5.8.8 I have the system up and running using the standard check plugins. I downloaded some perl scripts from nagioexchange but don't seem to know how to use them. I copied them into the libexec directory, changed the user group, made them exe. When I try to run them from the command line I get the error, Nagios1:/usr/local/nagios/libexec # ./check_gwia.pl -h -bash: ./check_gwia.pl: /usr/bin/perl^M: bad interpreter: No such file or directory Is it telling me it can't find perl? Nagios1:/usr/local/nagios/libexec # ls -l /usr/bin/perl -rwxr-xr-x 3 root root 1163988 Nov 25 05:43 /usr/bin/perl Do I need to do something else to these scripts? Can someone point me to some docs if its a complex problem, I will RTFM if I can find one. Thanks for any help. Mark Thompson, CNE6 Parsons State Hospital 2601 Gabriel Parsons, KS 67357 620 421 6550 x.3051 mlt at srskansas.org 316 421 3623 fax ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios 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 14 14:57:41 2007 From: marc at ena.com (Marc Powell) Date: Wed, 14 Mar 2007 08:57:41 -0500 Subject: Nagios, syslog, splunk In-Reply-To: <2A67EA781EC7F949A2AB0A0D07A86C6A01F5C786@mail01.ccia.local> References: <2A67EA781EC7F949A2AB0A0D07A86C6A01F5C786@mail01.ccia.local> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Matthew Joyce > Sent: Wednesday, March 14, 2007 2:00 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios, syslog, splunk > > > I've been playing with Splunk of late, can anyone tell me how I might > forward Nagios event logs to a remote splunk server ? Nagios and Splunk have a partnership. I'm surprised that this isn't documented somewhere. > Is there a way to configure Nagios to send to two syslog servers, one > remote ? I don't use Splunk and I don't log nagios events to syslog but... Why isn't it as simple as configuring syslog to send the appropriate facility to multiple locations? *.info /var/log/messages *.info @splunk.server.one *.info @some.other.server You could probably narrow down the information you're sending to the remote syslog server by using -- user.info @splunk.server.one man syslog.conf for more detail. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios 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 14 15:04:01 2007 From: marc at ena.com (Marc Powell) Date: Wed, 14 Mar 2007 09:04:01 -0500 Subject: running a perl script. In-Reply-To: <45F7B829020000C800001D45@PSHGRPWISE.PSHTC.KS.GOV> References: <45F7B829020000C800001D45@PSHGRPWISE.PSHTC.KS.GOV> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Mark Thompson > Sent: Wednesday, March 14, 2007 8:54 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] running a perl script. > > Nagios 2.7 running on OpenSUSE 10.2 > Perl ver 5.8.8 > > I have the system up and running using the standard check plugins. I > downloaded some perl scripts from nagioexchange but don't seem to know how > to use them. I copied them into the libexec directory, changed the user > group, made them exe. When I try to run them from the command line I get > the error, > > Nagios1:/usr/local/nagios/libexec # ./check_gwia.pl -h > -bash: ./check_gwia.pl: /usr/bin/perl^M: bad interpreter: No such file or > directory > > Is it telling me it can't find perl? It's telling you it can't find the program /usr/bin/perl^M. That's different than /usr/bin/perl. Did you open this file on a Windows box and save it again? In wordpad perhaps? It has Windows specific formatting in it that's breaking the script. I'm going to bet that every line of the script ends in ^M. You'll need to remove them, either manually or using a vi search/replace like ':%s/[CTRL-V][CTRL-M]//'. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlt at pshtc.ks.gov Wed Mar 14 15:15:41 2007 From: mlt at pshtc.ks.gov (Mark Thompson) Date: Wed, 14 Mar 2007 09:15:41 -0500 Subject: running a perl script. Message-ID: <45F7BD3D020000C800001D4A@PSHGRPWISE.PSHTC.KS.GOV> The file was never on a win machine here. I opened the file with kwrite and vi and don't see the ^M in the text. >>> "Marc Powell" 03/14/07 8:04 AM >>> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Mark Thompson > Sent: Wednesday, March 14, 2007 8:54 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] running a perl script. > > Nagios 2.7 running on OpenSUSE 10.2 > Perl ver 5.8.8 > > I have the system up and running using the standard check plugins. I > downloaded some perl scripts from nagioexchange but don't seem to know how > to use them. I copied them into the libexec directory, changed the user > group, made them exe. When I try to run them from the command line I get > the error, > > Nagios1:/usr/local/nagios/libexec # ./check_gwia.pl -h > -bash: ./check_gwia.pl: /usr/bin/perl^M: bad interpreter: No such file or > directory > > Is it telling me it can't find perl? It's telling you it can't find the program /usr/bin/perl^M. That's different than /usr/bin/perl. Did you open this file on a Windows box and save it again? In wordpad perhaps? It has Windows specific formatting in it that's breaking the script. I'm going to bet that every line of the script ends in ^M. You'll need to remove them, either manually or using a vi search/replace like ':%s/[CTRL-V][CTRL-M]//'. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios 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 14 15:20:27 2007 From: marc at ena.com (Marc Powell) Date: Wed, 14 Mar 2007 09:20:27 -0500 Subject: Service Notifications Stopped In-Reply-To: <45F758C2.80104@directshop.com.au> References: <45F758C2.80104@directshop.com.au> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Ben James > Sent: Tuesday, March 13, 2007 9:07 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Service Notifications Stopped > > Hi all, > > I'm hoping you may be able to give me some insight into a problem I'm > having with my Nagios configuration. > > I have approximately 20 hosts with 35 services set up, with > notifications only set to send for service alerts. This was all working > fine up until a couple of weeks ago, when notifications for services > seem to have stopped. Something may have changed in the configuration at > this point, but I have gone back over it all and have not been able to > find the problem. > > Is there anyway I can get some information on what nagios is doing when > I get a HARD service alert, and where it is deciding it doesn't need to > send a notification? Recompiling nagios with DEBUG will output more in-depth information which may be helpful -- [nagios-2.7]$ ./configure --help [chop] --enable-DEBUG0 shows function entry and exit --enable-DEBUG1 shows general info messages --enable-DEBUG2 shows warning messages --enable-DEBUG3 shows scheduled events (service and host checks... etc) --enable-DEBUG4 shows service and host notifications --enable-DEBUG5 shows SQL queries -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Mar 14 15:21:46 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 14 Mar 2007 10:21:46 -0400 Subject: Nagios and LDAP group membership In-Reply-To: References: Message-ID: > I just subscribed to the list and wanted to give my feedback > on the message of Francois Pernet from 2007-01-22 > (https://sourceforge.net/mailarchive/message.php?msg_id=38030310). > > I would really love to be able to do Nagios AAA through LDAP. > > I also set up LDAP authentication for Nagios and, I thing, > it's only limited by the contact_name in Nagios not matching > the LDAP-authenticated HTTP user; Our LDAP users are in the > form "uid=cbu,dc=mycompany,dc=be" where contact_name are in > the form "cbu" (that's the uid in the LDAP dn... so close to > the goal...). > > I just read in the Apache log documentation that the userid > of the person requesting the document as determined by HTTP > authentication is typically provided to CGI scripts in the > REMOTE_USER environment variable. So, if Nagios cgi do use > this environment variable, it would be in my case as simple > as adding a small filter at the start of all Nagios cgi. Alternatively, you could just have the users log in using their uid, which has got to be a lot easier to type. :) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Cyrille.Bollu at fedasil.be Wed Mar 14 15:30:23 2007 From: Cyrille.Bollu at fedasil.be (Cyrille Bollu) Date: Wed, 14 Mar 2007 15:30:23 +0100 Subject: Nagios and LDAP group membership In-Reply-To: References: Message-ID: nagios-users-bounces at lists.sourceforge.net a ?crit sur 14/03/2007 15:21:46 : > > I just subscribed to the list and wanted to give my feedback > > on the message of Francois Pernet from 2007-01-22 > > (https://sourceforge.net/mailarchive/message.php?msg_id=38030310). > > > > I would really love to be able to do Nagios AAA through LDAP. > > > > I also set up LDAP authentication for Nagios and, I thing, > > it's only limited by the contact_name in Nagios not matching > > the LDAP-authenticated HTTP user; Our LDAP users are in the > > form "uid=cbu,dc=mycompany,dc=be" where contact_name are in > > the form "cbu" (that's the uid in the LDAP dn... so close to > > the goal...). > > > > I just read in the Apache log documentation that the userid > > of the person requesting the document as determined by HTTP > > authentication is typically provided to CGI scripts in the > > REMOTE_USER environment variable. So, if Nagios cgi do use > > this environment variable, it would be in my case as simple > > as adding a small filter at the start of all Nagios cgi. > > Alternatively, you could just have the users log in using their uid, > which has got to be a lot easier to type. :) > :-D That's what they do but openldap automagically adds the rest of their distinguished name to their uid... Are you aware of the existence of some setting that would prevent this behaviour? Cyrille -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios 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 14 15:37:48 2007 From: marc at ena.com (Marc Powell) Date: Wed, 14 Mar 2007 09:37:48 -0500 Subject: running a perl script. In-Reply-To: <45F7BD3D020000C800001D4A@PSHGRPWISE.PSHTC.KS.GOV> References: <45F7BD3D020000C800001D4A@PSHGRPWISE.PSHTC.KS.GOV> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Mark Thompson > Sent: Wednesday, March 14, 2007 9:16 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] running a perl script. > > The file was never on a win machine here. I opened the file with kwrite > and vi and don't see the ^M in the text. > They _are_ there or you wouldn't see the error. The problem is that it's not a printable character (carriage return) so kwrite and vi just aren't showing it. Try 'vi -b filename'. That will put vi in binary mode which will display everything in the file as a printable character (^M for [CTRL-M] in this case). vim, often used as a replacement for vi these days, seems to be better at automatically setting binary mode when necessary from my experience. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Mar 14 15:39:11 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 14 Mar 2007 10:39:11 -0400 Subject: Nagios and LDAP group membership In-Reply-To: References: Message-ID: > > Alternatively, you could just have the users log in using > their uid, > > which has got to be a lot easier to type. :) > > > > :-D > > That's what they do but openldap automagically adds the rest > of their distinguished name to their uid... > > Are you aware of the existence of some setting that would > prevent this behaviour? Here's what I use as an Apache auth config -- works fine here: AuthLDAPURL "ldap://ldap.example.com/dc=example,dc=com?uid?sub?(objectClass=inetOrgP erson)" ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Cyrille.Bollu at fedasil.be Wed Mar 14 16:00:00 2007 From: Cyrille.Bollu at fedasil.be (Cyrille Bollu) Date: Wed, 14 Mar 2007 16:00:00 +0100 Subject: Nagios and LDAP group membership In-Reply-To: References: Message-ID: nagios-users-bounces at lists.sourceforge.net a ?crit sur 14/03/2007 15:39:11 : > > > Alternatively, you could just have the users log in using > > their uid, > > > which has got to be a lot easier to type. :) > > > > > > > :-D > > > > That's what they do but openldap automagically adds the rest > > of their distinguished name to their uid... > > > > Are you aware of the existence of some setting that would > > prevent this behaviour? > > Here's what I use as an Apache auth config -- works fine here: > > AuthLDAPURL > "ldap://ldap.example.com/dc=example,dc=com?uid?sub?(objectClass=inetOrgP > erson)" > ... Which is defined by mod_auth_ldap (or mod_authnz_ldap), which is not part of httpd in RHEL-3.3... I'm damned... Thank you for your answers, I'll stop spamming this list with my stupid problems for now :-) Have a nice day, Cyrille -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From seppy at chartermi.net Wed Mar 14 16:04:03 2007 From: seppy at chartermi.net (Brian E. Seppanen) Date: Wed, 14 Mar 2007 11:04:03 -0400 (EDT) Subject: running a perl script. In-Reply-To: <45F7BD3D020000C800001D4A@PSHGRPWISE.PSHTC.KS.GOV> References: <45F7BD3D020000C800001D4A@PSHGRPWISE.PSHTC.KS.GOV> Message-ID: On Wed, 14 Mar 2007, Mark Thompson wrote: > The file was never on a win machine here. I opened the file with kwrite and vi and don't see the ^M in the text. > >>>> "Marc Powell" 03/14/07 8:04 AM >>> > The ^M is a non-printable character that the editor is hiding from you. It is a windows carriage return. Open up a shell and try to see if you can find dos2unix which dos2unix If it finds dos2unix then run it as follows to convert the ^M to the unix equivalent dos2unix filename After you've rid the file of the ^M you should be ok to run it. Now you should open your kwrite preferences and find out why it's using ^M for Carriage Returns. From the sounds of it, if you are going to use kwrite for writing unix scripts you will always encounter this problem unless you either correct kwrite preferences (assuming it's configurable), or start using a different editor. HTH. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From umuta at sabanciuniv.edu Wed Mar 14 16:00:36 2007 From: umuta at sabanciuniv.edu (Umut Arus) Date: Wed, 14 Mar 2007 17:00:36 +0200 Subject: running a perl script. In-Reply-To: References: Message-ID: <45F80E14.5040800@sabanciuniv.edu> Hello, Another way, you could use "dos2unix /filename/" command. It will clean non-printable characters. Regards. Marc Powell wrote: > > >>-----Original Message----- >>From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >>bounces at lists.sourceforge.net] On Behalf Of Mark Thompson >>Sent: Wednesday, March 14, 2007 9:16 AM >>To: nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] running a perl script. >> >>The file was never on a win machine here. I opened the file with >> >> >kwrite > > >>and vi and don't see the ^M in the text. >> >> >> > >They _are_ there or you wouldn't see the error. The problem is that it's >not a printable character (carriage return) so kwrite and vi just aren't >showing it. Try 'vi -b filename'. That will put vi in binary mode which >will display everything in the file as a printable character (^M for >[CTRL-M] in this case). vim, often used as a replacement for vi these >days, seems to be better at automatically setting binary mode when >necessary from my experience. > >-- >Marc > > > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys-and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kartthikr at gmail.com Wed Mar 14 16:08:59 2007 From: kartthikr at gmail.com (Karthik R) Date: Wed, 14 Mar 2007 10:08:59 -0500 Subject: Help with add-on Message-ID: <1ecd0e750703140808t77c232c2y4da4bd9a10d4c56e@mail.gmail.com> Hi All, I reinstalled nagios on a different machine ie. rhel 3 machine and able to get all the services back to work other than check_flexlm plugin. The check_flexlm plugin need lmstat tool which is in the place ie. /usr/local/nagios/libexec but for some reason i keep getting this error message. [root at localhost libexec]# ll -h lmstat -rwxrwxrwx 1 nagios nagios 338K Mar 9 11:19 lmstat [root at localhost libexec]#./check_flexlm -vF /tools/license/license.dat Cannot find "lmstat" [root at localhost libexec]# ls -lh check_flexlm lmstat -rwxr-xr-x 1 nagios nagios 6.3K Mar 9 11:24 check_flexlm -rwxr-xr-x 1 nagios nagios 338K Mar 9 11:19 lmstat i tried other way round too, but no luck. [root at localhost libexec]#/usr/bin/perl check_flexlm -F /tools/license/license.dat Cannot find "lmstat" Can someone pour light here...thanks in advance. Thanks, Kartthik -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivera01 at sbcglobal.net Wed Mar 14 16:35:46 2007 From: rivera01 at sbcglobal.net (David Rivera) Date: Wed, 14 Mar 2007 08:35:46 -0700 (PDT) Subject: net-snmp on solaris Message-ID: <344580.91243.qm@web82101.mail.mud.yahoo.com> anyone have doc for installing this on Solaris, I know there is a README in the source code, but the thing is 10 miles long, and frankly it is a little intimitating. thanks David Money can't buy happiness, but neither can poverty. -Leo Rosten -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios 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 14 16:42:52 2007 From: marc at ena.com (Marc Powell) Date: Wed, 14 Mar 2007 10:42:52 -0500 Subject: Help with add-on In-Reply-To: <1ecd0e750703140808t77c232c2y4da4bd9a10d4c56e@mail.gmail.com> References: <1ecd0e750703140808t77c232c2y4da4bd9a10d4c56e@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Karthik R > Sent: Wednesday, March 14, 2007 10:09 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Help with add-on > > Hi All, > > I reinstalled nagios on a different machine ie. rhel 3 machine and able to > get all the services back to work other than check_flexlm plugin. The > check_flexlm plugin need lmstat tool which is in the place ie. > /usr/local/nagios/libexec but for some reason i keep getting this error > message. > > [root at localhost libexec]# ll -h lmstat > -rwxrwxrwx 1 nagios nagios 338K Mar 9 11:19 lmstat > > [root at localhost libexec]#./check_flexlm -vF /tools/license/license.dat > Cannot find "lmstat" Do you have $PATH_TO_LMSTAT set correctly in utils.pm? -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark0s at excite.com Wed Mar 14 16:56:30 2007 From: mark0s at excite.com (mark0s at excite.com) Date: Wed, 14 Mar 2007 11:56:30 -0400 (EDT) Subject: check_cluster2 config problem Message-ID: <20070314155630.D15EF91FE9@xprdmxin.myway.com> Hello, I'm trying to config a host cluster using check_cluster2 and Nagios 2.6. I have set 4 hosts called dns0,dns1,dns2,dns3. The config files are these: (checkcommands file): # 'check_cluster2' command definition define command{ command_name check_host_cluster command_line /usr/lib/nagios/plugins/check_cluster2 --host -l $ARG1$ -w $ARG2$ -c $ARG3$ -d $ARG4$ } (hosts.cfg file): The cluster machine to be associated with the service which is the nagios machine itself as recommended in the documentation.Of course I have another 4 defines for the dns0 to dns3 pcs. define host{ use generic-host host_name cluster-DNS alias DNS cluster test address 172.0.0.1 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r contact_groups administrators } (services.cfg file): define service{ use generic-service host_name cluster-DNS service_description cluster DNS is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups administrators notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_host_cluster!"DNS Host Cluster"!1!2!dns0,dns1,dns2,dns3 } The problem: When running the command from command line I have the 4 pcs UP: # ./check_cluster2 --host -l "DNS" -w 1 -c 2 -d dns0,dns1,dns2,dns3 DNS ok: 4 up, 0 down, 0 unreachable But when running from Nagios I get only one UP on the status field of the services page: DNS Host Cluster ok: 1 up, 0 down, 0 unreachable Does anybody knows why? I saw the same problem in an old message in the nagios-users archive list but it seems nobody answered then. thanks in advance, Marcos _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Wed Mar 14 17:25:04 2007 From: kyle.odonnell at gmail.com (Kyle O'Donnell) Date: Wed, 14 Mar 2007 12:25:04 -0400 Subject: net-snmp on solaris In-Reply-To: <344580.91243.qm@web82101.mail.mud.yahoo.com> References: <344580.91243.qm@web82101.mail.mud.yahoo.com> Message-ID: <2274b9c30703140925v309f9b80q195b610393eee5bd@mail.gmail.com> You can go the easy route and grab the pkgs from sunfreeware or blastwave but if you're set on compiling I use the following: ./configure --prefix=/opt/snmp --enable-developer --disable-embedded-perl -- enable-ucd-snmp-compatibility --with-default-snmp-version=1 --with-mib-modules=s mux mibII/mta_sendmail ucd-snmp/diskio --with-perl-modules --with-zlib=/usr/loca l/lib --with-persistent-directory=/opt/snmp/var --with-cc=/usr/local/bin/gcc make && make install --kyleo On 3/14/07, David Rivera wrote: > anyone have doc for installing this on Solaris, > > I know there is a README in the source code, but the thing is 10 miles long, > and frankly it is a little intimitating. > > > thanks > David > > > > Money can't buy happiness, but neither can poverty. > -Leo Rosten > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MLT at pshtc.ks.gov Wed Mar 14 17:34:12 2007 From: MLT at pshtc.ks.gov (Mark Thompson) Date: Wed, 14 Mar 2007 11:34:12 -0500 Subject: check_gw* plugins Message-ID: <45F7DDB3.0C26.00C8.0@pshtc.ks.gov> Nagios 2.7 OpenSUSE 10.2 I'm test from the command line the groupwise check plugins from nagiosexchange. There are 4 plugins from Oostlander.com that I downloaded. I have a groupwise server with the mta, poa, and gwia all running on the same server. The gwweb is running on a seprate server. The check_mta, check_gwia, and check_gwweb all return an ok status. The check_poa return an error, the poa isn't running. Anyone using these checks, or give me an idea of where to look for the problem? Thanks for any input. mark ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dkavraal+nagios at gmail.com Wed Mar 14 18:31:56 2007 From: dkavraal+nagios at gmail.com (=?ISO-8859-1?Q?Din=E7er_Kavraal?=) Date: Wed, 14 Mar 2007 19:31:56 +0200 Subject: host check delay problem Message-ID: Hi guys, I need a patch for Nagios not to stop all checks during a host check. Does anybody have such a patch to share? Thanks. Let me tell you further, who are interested and have time: I have set up Nagios to check only up/down state for about 300 hosts. However, it could not finish checks in desired time period. Even, my host check latency was about 400 secs!. I have noticed host checks were unable to be done in parallel. So for each host I have added a "HOST STATUS" service to check liveliness of host with ping (using host_check_alive plugin). During this process, host check latency and service check latency were fallen under 5 secs. Very nice. But, It is impossible for me to say Nagios to check a host five times with "1 minute delays" more to decide if a host is down. It checks host 5 times eventually with 10 seconds delay. Nothing to do with it. Have any other advice for this situation? Thanks again. Dincer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dkavraal at gmail.com Wed Mar 14 18:47:39 2007 From: dkavraal at gmail.com (=?ISO-8859-1?Q?Din=E7er_Kavraal?=) Date: Wed, 14 Mar 2007 19:47:39 +0200 Subject: host check delay problem In-Reply-To: References: Message-ID: Hi guys, I need a patch for Nagios not to stop all checks during a host check. Does anybody have such a patch to share? Thanks. Let me tell you further, who are interested and have time: I have set up Nagios to check only up/down state for about 300 hosts. However, it could not finish checks in desired time period. Even, my host check latency was about 400 secs!. I have noticed host checks were unable to be done in parallel. So for each host I have added a "HOST STATUS" service to check liveliness of host with ping (using host_check_alive plugin). During this process, host check latency and service check latency were fallen under 5 secs. Very nice. But, It is impossible for me to say Nagios to check a host five times with "1 minute delays" more to decide if a host is down. It checks host 5 times eventually with 10 seconds delay. Nothing to do with it. Have any other advice for this situation? Thanks again. Dincer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From c.mies at itnovum.de Wed Mar 14 19:17:58 2007 From: c.mies at itnovum.de (Mies, Christian) Date: Wed, 14 Mar 2007 19:17:58 +0100 Subject: check_gw* plugins Message-ID: <1160D06701B0154985D72DA43FE3D33ABBFBEA@srvcom02.master.dns> How is the answer if you do a SNMPWALK at the Script OIDs? my $oid_gwpoaload = ".1.3.6.1.2.1.27.1.1.6.2"; # gwpoa.nlm loaded my $oid_gwname = ".1.3.6.1.4.1.23.2.38.1.1.1.2.$instance"; # Post Office name my $oid_gwdb = ".1.3.6.1.4.1.23.2.38.1.1.1.29.$instance"; # Post Office database status: Normal, DB Error, Unknown (String) my $oid_gwmsg = ".1.3.6.1.4.1.23.2.38.1.1.1.3.$instance"; # Number of total messages my $oid_gwundl = ".1.3.6.1.4.1.23.2.38.1.1.1.8.$instance"; # Number of undeliverable messages my $oid_gwprob = ".1.3.6.1.4.1.23.2.38.1.1.1.4.$instance"; # Number of problem messages my $oid_gwcsconn = ".1.3.6.1.4.1.23.2.38.1.1.1.21.$instance"; # Number of current C/S connections my $oid_generic = ".1.3.6.1.2.1.1.5.0"; Mit freundlichem Gru? / regards Christian Mies it-novum GmbH, Edelzeller Str. 44, 36043 Fulda, Germany FON: +49 (661) 103-874(333) FAX: +49 (661) 103-334 MAIL: c.mies at itnovum.de WEB: http://www.itnovum.de Handelsregister: Amtsgericht Fulda, HRB 1934 Gesch?ftsf?hrer: Michael Kienle (Vorsitz), Stefan Heil Sitz der Gesellschaft: Fulda UstID-Nr: DE813211784 Steuernr.: 018/225/03095 >-----Urspr?ngliche Nachricht----- >Von: nagios-users-bounces at lists.sourceforge.net >[mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag >von Mark Thompson >Gesendet: Mittwoch, 14. M?rz 2007 17:34 >An: nagios-users at lists.sourceforge.net >Betreff: [Nagios-users] check_gw* plugins > >Nagios 2.7 >OpenSUSE 10.2 > >I'm test from the command line the groupwise check plugins >from nagiosexchange. There are 4 plugins from Oostlander.com >that I downloaded. > >I have a groupwise server with the mta, poa, and gwia all >running on the same server. The gwweb is running on a seprate >server. The check_mta, check_gwia, and check_gwweb all return >an ok status. The check_poa return an error, the poa isn't >running. Anyone using these checks, or give me an idea of >where to look for the problem? > >Thanks for any input. > >mark > > >--------------------------------------------------------------- >---------- >Take Surveys. Earn Cash. Influence the Future of IT Join >SourceForge.net's Techsay panel and you'll get the chance to >share your opinions on IT & business topics through brief >surveys-and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge& >CID=DEVDEV >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS >when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios 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 14 19:22:11 2007 From: marc at ena.com (Marc Powell) Date: Wed, 14 Mar 2007 13:22:11 -0500 Subject: host check delay problem In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Din?er Kavraal > Sent: Wednesday, March 14, 2007 12:32 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] host check delay problem > > Hi guys, > > I need a patch for Nagios not to stop all checks during a host check. Does > anybody have such a patch to share? Yes, it's called nagios-3 (alpha/CVS only at the moment) ;). > Let me tell you further, who are interested and have time: > I have set up Nagios to check only up/down state for about 300 hosts. > However, it could not finish checks in desired time period. Even, my host > check latency was about 400 secs!. You shouldn't be using scheduled host checks in any version prior to nagios-3 except for exceptional circumstances. It sounds like you are using them for normal checks. > I have noticed host checks were unable to be done in parallel. So for each > host I have added a "HOST STATUS" service to check liveliness of host with > ping (using host_check_alive plugin). During this process, host check > latency and service check latency were fallen under 5 secs. Very nice. Yes, this is what you should be doing if you have no other monitorable services on the host. Nagios is very service-centric. Nagios monitors services first and foremost. Hosts will only be checked when a service on the host fails. If a service is up, then the host _must_ be up. Nagios-3 introduces parallelized host checks and benefits of doing regular host checks in addition to service checks but services are still the primary focus IMHO. > But, It is impossible for me to say Nagios to check a host five times with > "1 minute delays" more to decide if a host is down. It checks host 5 times > eventually with 10 seconds delay. Nothing to do with it. That's correct, at least for nagios-2 and prior. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Namazhwar.Baskar-PXMFLONaydrQT0dZR+AlfA at public.gmane.org Wed Mar 14 20:10:09 2007 From: Namazhwar.Baskar-PXMFLONaydrQT0dZR+AlfA at public.gmane.org (Namazhwar, Baskar) Date: Wed, 14 Mar 2007 15:10:09 -0400 Subject: (no subject) Message-ID: HI, I downloaded the nagios plugin 1.3.1 from http://non-gnu.uvt.nl/pub/nagios-plugins/solaris/src I ran ./configure script it doesn't show any error When I run make all it shows Making all in lib make[1]: Entering directory `/export/local/nagios/nagios-plugins-1.3.1/lib' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/export/local/nagios/nagios-plugins-1.3.1/lib' Making all in plugins make[1]: Entering directory `/export/local/nagios/nagios-plugins-1.3.1/plugins' make all-am make[2]: Entering directory `/export/local/nagios/nagios-plugins-1.3.1/plugins' gcc -g -O2 -L. -L/usr/sfw/bin/openssl/lib -o check_disk check_disk.o utils.o ../lib/libnagiosplug.a popen.o -lsnprintf -lsnprintf Undefined first referenced symbol in file VA_COPY ./libsnprintf.a(snprintf.o) ld: fatal: Symbol referencing errors. No output written to check_disk collect2: ld returned 1 exit status make[2]: *** [check_disk] Error 1 make[2]: Leaving directory `/export/local/nagios/nagios-plugins-1.3.1/plugins' make[1]: *** [all] Error 2 make[1]: Leaving directory `/export/local/nagios/nagios-plugins-1.3.1/plugins' make: *** [all-recursive] Error 1 I tried for 3 days.but still I didn't get any solution. Please can anyone help me Thanks in advance Reply to this mail id Regards Baskar.N -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Wed Mar 14 22:09:32 2007 From: stava at telcotec.se (Lars Stavholm) Date: Wed, 14 Mar 2007 22:09:32 +0100 Subject: [Nagiosplug-help] (no subject) In-Reply-To: References: Message-ID: <45F8648C.50409@telcotec.se> I've downloaded nagios-plugins-1.4.6 from sourceforge and it builds quite nicely on my solaris box with gcc-3.3.2 with the Solaris Software Companion (/opt/sfw) installed. Why would you want to use an old version from an unofficial download site? /L Namazhwar, Baskar wrote: > HI, > I downloaded the nagios plugin 1.3.1 from > http://non-gnu.uvt.nl/pub/nagios-plugins/solaris/src > I ran ./configure script it doesn't show any error > When I run make all it shows > Making all in lib > make[1]: Entering directory > `/export/local/nagios/nagios-plugins-1.3.1/lib' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory > `/export/local/nagios/nagios-plugins-1.3.1/lib' > Making all in plugins > make[1]: Entering directory > `/export/local/nagios/nagios-plugins-1.3.1/plugins' > make all-am > make[2]: Entering directory > `/export/local/nagios/nagios-plugins-1.3.1/plugins' > gcc -g -O2 -L. -L/usr/sfw/bin/openssl/lib -o check_disk check_disk.o > utils.o ../lib/libnagiosplug.a popen.o -lsnprintf -lsnprintf > Undefined first referenced > symbol in file > VA_COPY ./libsnprintf.a(snprintf.o) > ld: fatal: Symbol referencing errors. No output written to check_disk > collect2: ld returned 1 exit status > make[2]: *** [check_disk] Error 1 > make[2]: Leaving directory > `/export/local/nagios/nagios-plugins-1.3.1/plugins' > make[1]: *** [all] Error 2 > make[1]: Leaving directory > `/export/local/nagios/nagios-plugins-1.3.1/plugins' > make: *** [all-recursive] Error 1 > > I tried for 3 days.but still I didn't get any solution. > Please can anyone help me > Thanks in advance > Reply to this mail id > Regards > Baskar.N > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagiosplug-help mailing list > Nagiosplug-help at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagiosplug-help > ::: Please include plugins version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 14 22:13:56 2007 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Wed, 14 Mar 2007 16:13:56 -0500 (CDT) Subject: Nagios, syslog, splunk In-Reply-To: <2A67EA781EC7F949A2AB0A0D07A86C6A01F5C786@mail01.ccia.local> References: <2A67EA781EC7F949A2AB0A0D07A86C6A01F5C786@mail01.ccia.local> Message-ID: On Wed, 14 Mar 2007, Matthew Joyce wrote: > > I've been playing with Splunk of late, can anyone tell me how I might > forward Nagios event logs to a remote splunk server ? > Is there a way to configure Nagios to send to two syslog servers, one > remote ? Hi Matthew, Me too. Try Splunk-2-Splunk. It will work one-to-many if you like as well. In this setup, you'd run one Splunk server co-located on your Nagios box and then another Splunk server on a central log host. Works here. -D ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mihai at duras.ro Thu Mar 15 00:22:19 2007 From: mihai at duras.ro (Mihai Tanasescu) Date: Thu, 15 Mar 2007 01:22:19 +0200 Subject: Notification scripting question Message-ID: <45F883AB.80801@duras.ro> Hello, I've just installed Nagios on a machine for the first time and have read a little throught the docs and I'm now starting to get the hang of it. From what I've read, for check_commands I can define a way to pass arguments at runtime by using "command parameter_1!parameter2....!parameter_n" if I state $ARG1$...$ARGn$ in the definition part. Is there anything like that for the notification commands ? What I'd like to do is send personalized notifications based on the contact specified in my configuration. I'm trying to call gammu/gnokii to send an SMS with different texts depending on who's being notified and I'd like to avoid if possible the definition of each and every particular notification command. Is there any way to do this (something like specify in the notification command just script-name "Custom Text" "mobile number" ) ? Or do I have to create specific entries for each one of them ? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From routed2000 at yahoo.com Thu Mar 15 00:29:16 2007 From: routed2000 at yahoo.com (G Bit) Date: Wed, 14 Mar 2007 16:29:16 -0700 (PDT) Subject: Acknowledgement and notifications Message-ID: <20070314232916.57763.qmail@web51612.mail.re2.yahoo.com> Hi, When we get an alert notification, to prevent escalations, we acknowledge it first and then go about fixing the problem. We ran into some other issues while doing this. We have grouped checks together in one service. For eg. we have a bunch of log file checks and all are grouped as one service "log_check". When we acknowledge on error, since it stops the notification on that service, future alerts (due to different checks failing) are also missed. Is there any way to solve this problem. Other than having 1:1 mapping for service to checks is there any other solution. Thanks. ____________________________________________________________________________________ Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. http://games.yahoo.com/games/front ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ben at directshop.com.au Thu Mar 15 01:42:27 2007 From: ben at directshop.com.au (Ben James) Date: Thu, 15 Mar 2007 11:42:27 +1100 Subject: Service Notifications Stopped Message-ID: <45F89673.9050605@directshop.com.au> I have recompiled nagios with these options (also tried with --enable-DEBUGALL), and it seems to have worked because when I try to start the process I get: $0: Cannot enter daemon mode with DEBUG option(s) enabled. We'll run as a foreground process instead... But where does the extra debug info go? nagios.log has nothing more in it than before, I can't seem to find any additional debug log files, and nothing else shows up in the terminal? Thanks, Ben James. Date: Wed, 14 Mar 2007 09:20:27 -0500 From: "Marc Powell" Subject: Re: [Nagios-users] Service Notifications Stopped To: Message-ID: Content-Type: text/plain; charset="US-ASCII" > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Ben James > > Sent: Tuesday, March 13, 2007 9:07 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Service Notifications Stopped > > > > Hi all, > > > > I'm hoping you may be able to give me some insight into a problem I'm > > having with my Nagios configuration. > > > > I have approximately 20 hosts with 35 services set up, with > > notifications only set to send for service alerts. This was all > working > > fine up until a couple of weeks ago, when notifications for services > > seem to have stopped. Something may have changed in the configuration > at > > this point, but I have gone back over it all and have not been able to > > find the problem. > > > > > Is there anyway I can get some information on what nagios is doing > when > > I get a HARD service alert, and where it is deciding it doesn't need > to > > send a notification? > Recompiling nagios with DEBUG will output more in-depth information which may be helpful -- [nagios-2.7]$ ./configure --help [chop] --enable-DEBUG0 shows function entry and exit --enable-DEBUG1 shows general info messages --enable-DEBUG2 shows warning messages --enable-DEBUG3 shows scheduled events (service and host checks... etc) --enable-DEBUG4 shows service and host notifications --enable-DEBUG5 shows SQL queries -- Marc ------------------------------ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ------------------------------ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Thu Mar 15 01:59:12 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 14 Mar 2007 20:59:12 -0400 Subject: Nagios and Windows Event log question. In-Reply-To: References: <45F183F9.4080802@ng23.net> Message-ID: NC_Net does this, I am expecting the new version to be finished sometime next week. you can download the current version via sourceforge:\ http://sourceforge.net/projects/nc-net Good luck, Tony On 3/9/07, Lacayo, Luis F wrote: > > > Hi All, > > I was wondering if anyone is monitoring the Microsoft event logs, with > Nagios. Basically I would need to trap a certain type of event log and > based on a value send a Nagios Alert. > > Thanks for any feed back. > > > Luis > > Luis Lacayo > Sr. UNIX Admin > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nilesh at extenprise.com Thu Mar 15 07:59:25 2007 From: nilesh at extenprise.com (Nilesh Shastrakar) Date: Thu, 15 Mar 2007 12:29:25 +0530 Subject: FPing command plugin says - Status UNKOWN Message-ID: <004001c766cf$7bacbcd0$2000a8c0@shastra> Hello All, I have checked the check_fping plugin from shell it works fine but when I add in command.cfg and localhost.cfg file the status shows me on webinterface is UNKNOWN [root at centos4 libexec]# ./check_fping -H 192.168.0.32 -v /usr/sbin/fping -b 56 -c 1 192.168.0.32 192.168.0.32 : [0], 84 bytes, 0.42 ms (0.42 avg, 0% loss) 192.168.0.32 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.42/0.42/0.42 FPING OK - 192.168.0.32 (loss=0%, rta=0.420000 ms)|loss=0%;;;0;100 rta=0.000420s;;;0.000000 but in Nagios Weinterface it shows Current Status: UNKNOWN (for 0d 0h 40m 42s) Status Information: /usr/sbin/fping -b 56 -c 1 192.168.0.32 FPING UNKNOWN - 192.168.0.32 The Configurations in Command.cfg define command{ command_name check_fping command_line $USER1$/check_fping -H 192.168.0.32 -v } The Configuration localhost.cfg define service{ use local-service ; Name of service template to use host_name localhost service_description PING to 192.168.0.32 check_command check_fping } Could someone help to solve the problem Thanks in advance Nilesh. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu Mar 15 10:14:17 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 15 Mar 2007 09:14:17 +0000 Subject: host check delay problem In-Reply-To: References: Message-ID: <765d77c80703150214n58e19e3dm9d4e49e6b81a171c@mail.gmail.com> On 14/03/07, Din?er Kavraal wrote: > Hi guys, > > I need a patch for Nagios not to stop all checks during a host check. > Does anybody have such a patch to share? > Thanks. It looks like we can look forward to some big improvements in Nagios 3. See http://nagios.cvs.sourceforge.net/*checkout*/nagios/nagios/html/docs/whatsnew.html . Until then, make sure you use check_icmp or check_fping rather then check_ping for your host checks; these will complete much faster. Cheers, Jim ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Thu Mar 15 10:15:16 2007 From: stava at telcotec.se (Lars Stavholm) Date: Thu, 15 Mar 2007 10:15:16 +0100 Subject: FPing command plugin says - Status UNKOWN In-Reply-To: <004001c766cf$7bacbcd0$2000a8c0@shastra> References: <004001c766cf$7bacbcd0$2000a8c0@shastra> Message-ID: <45F90EA4.4020001@telcotec.se> Nilesh Shastrakar wrote: > Hello All, > > I have checked the check_fping plugin from shell it works fine > but when I add in command.cfg and localhost.cfg file the status shows me on webinterface is UNKNOWN > > [root at centos4 libexec]# ./check_fping -H 192.168.0.32 -v > /usr/sbin/fping -b 56 -c 1 192.168.0.32 > 192.168.0.32 : [0], 84 bytes, 0.42 ms (0.42 avg, 0% loss) > > 192.168.0.32 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.42/0.42/0.42 > FPING OK - 192.168.0.32 (loss=0%, rta=0.420000 ms)|loss=0%;;;0;100 rta=0.000420s;;;0.000000 > > but in Nagios Weinterface it shows > > Current Status: UNKNOWN > (for 0d 0h 40m 42s) > Status Information: /usr/sbin/fping -b 56 -c 1 192.168.0.32 > FPING UNKNOWN - 192.168.0.32 It seems check_fping needs to be owned and executed by root, i.e. try: chown root check_fping chmod u+s check_fping /L > The Configurations in Command.cfg > > define command{ > command_name check_fping > command_line $USER1$/check_fping -H 192.168.0.32 -v > } > > The Configuration localhost.cfg > > define service{ > use local-service ; Name of service template to use > host_name localhost > service_description PING to 192.168.0.32 > check_command check_fping > } > > Could someone help to solve the problem > > Thanks in advance > Nilesh. > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu Mar 15 10:22:23 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 15 Mar 2007 09:22:23 +0000 Subject: Notification scripting question In-Reply-To: <45F883AB.80801@duras.ro> References: <45F883AB.80801@duras.ro> Message-ID: <765d77c80703150222k6a56b2f0hd45cb318bbcd589f@mail.gmail.com> On 14/03/07, Mihai Tanasescu wrote: > From what I've read, for check_commands I can define a way to pass > arguments at runtime by using "command > parameter_1!parameter2....!parameter_n" if I state $ARG1$...$ARGn$ in > the definition part. > > Is there anything like that for the notification commands ? Not an area I'm particularly familiar with, but I guess you might find your answer in http://nagios.sourceforge.net/docs/2_0/macros.html hth, Jim ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From J.F.Wheeler at rl.ac.uk Thu Mar 15 10:46:02 2007 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Thu, 15 Mar 2007 09:46:02 -0000 Subject: Option append_to_file in nsca.cfg In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net On Behalf Of Marc Powell > Sent: 13 March 2007 16:17 > > > -----Original Message----- > > From: nagios-users On Behalf Of Wheeler, JF (Jonathan) > > Sent: Tuesday, March 13, 2007 9:59 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Option append_to_file in nsca.cfg > > > > As I have said before my configuration consists of 1 master server and 2 > > slaves with about 700 hosts and 16000 checks. In the file nsca.cfg > > which configures the nsca daemon, there is an append_to_file option > > which is (by default) set to 0 for writing to the command file rather > > than 1 for appending to it. Please would someone explain why appending > > to the command file is deprecated. I ask because I can have several > > Semi-educated commentary follows -- The 'command file' is more properly > named a 'command pipe'. It's not a real file and therefore appending to > it makes no sense. A pipe is essentially a FIFO buffer. Data is written > to it by one process and read by another in a sequential fashion. If the > reading process can't keep up with the writing process, your kernel will > buffer the writes up to a point depending on the OS. For linux kernel > < 2.6.11 the buffer was 4096 bytes. For > 2.6.11, the buffer is 65535 > bytes. Nagios also has its own internal buffers to help process the pipe > faster. With nagios-2.7, these are controlled by the > external_command_buffer_slots option in nagios.cfg. You can also control > how often nagios checks for data in the pipe with the command_check_interval > setting. You certainly want that to be -1 and not > every 4 seconds. -1 tells nagios to check as often as possible. > > Depending on your check frequency, it sounds like nagios isn't able to > keep up with your check submissions, almost certainly related to your > checking the pipe every 4 seconds only. At ~100 bytes per check, you > could only accept 40 results in 4 seconds before dropping. If you're > doing 16,000 checks every 5 minutes that's ~213 check results every 4 > seconds. You can do the math based on your actual sizes/intervals... > > Verify that you have a good amount of buffer slots (use nagiostats to > see current utilization) and that you're checking external commands as > fast as possible. > > I'm only doing 1/4 of the passive checks you are so you may be hitting > limits that I haven't experienced yet but it doesn't appear so at this > point. Sorry, I think that I have confused the discussion by not appreciating the difference between service_reaper_frequency (which is 4 secs) and command_check_interval (which is -1). After restarting nagios this morning (Thur 15/03 - the master server had panic'ed due to lack of memory), I issued the command "wc -l /var/log/nagios/rw/nagios.cmd" and got the answer 1003 (this is command pipe). If I understand you correctly, there were 1003 commands in the pipe waiting to be processed by the server (understandable as the master server had just restarted and the slaves had plenty of commands waiting to be processed), but the operation of command wc actually discarded these commands by reading through the pipe. At present I am running nagios 2.6. I want to upgrade to nagios 2.8, but as I also use ndoutils I need to compile the latest version of that and update the SQL tables that it writes. If the problem does not go away with the latest version of the server, I will raise the issues again, but nay other comments would be much appreciated. Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nilesh at extenprise.com Thu Mar 15 11:05:28 2007 From: nilesh at extenprise.com (Nilesh Shastrakar) Date: Thu, 15 Mar 2007 15:35:28 +0530 Subject: FPing command plugin says - Status UNKOWN References: <004001c766cf$7bacbcd0$2000a8c0@shastra> <45F90EA4.4020001@telcotec.se> Message-ID: <014b01c766e9$7bf2eec0$2000a8c0@shastra> Thanks its working now ----- Original Message ----- From: "Lars Stavholm" To: "Nilesh Shastrakar" Cc: Sent: Thursday, March 15, 2007 2:45 PM Subject: Re: [Nagios-users] FPing command plugin says - Status UNKOWN > Nilesh Shastrakar wrote: >> Hello All, >> >> I have checked the check_fping plugin from shell it works fine >> but when I add in command.cfg and localhost.cfg file the status shows me >> on webinterface is UNKNOWN >> >> [root at centos4 libexec]# ./check_fping -H 192.168.0.32 -v >> /usr/sbin/fping -b 56 -c 1 192.168.0.32 >> 192.168.0.32 : [0], 84 bytes, 0.42 ms (0.42 avg, 0% loss) >> >> 192.168.0.32 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.42/0.42/0.42 >> FPING OK - 192.168.0.32 (loss=0%, rta=0.420000 ms)|loss=0%;;;0;100 >> rta=0.000420s;;;0.000000 >> >> but in Nagios Weinterface it shows >> >> Current Status: UNKNOWN >> (for 0d 0h 40m 42s) >> Status Information: /usr/sbin/fping -b 56 -c 1 192.168.0.32 >> FPING UNKNOWN - 192.168.0.32 > > It seems check_fping needs to be owned and executed by root, > i.e. try: > > chown root check_fping > chmod u+s check_fping > > /L > >> The Configurations in Command.cfg >> >> define command{ >> command_name check_fping >> command_line $USER1$/check_fping -H 192.168.0.32 -v >> } >> >> The Configuration localhost.cfg >> >> define service{ >> use local-service ; Name of >> service template to use >> host_name localhost >> service_description PING to 192.168.0.32 >> check_command check_fping >> } >> >> Could someone help to solve the problem >> >> Thanks in advance >> Nilesh. >> >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share >> your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From c.mies at itnovum.de Thu Mar 15 11:55:12 2007 From: c.mies at itnovum.de (Mies, Christian) Date: Thu, 15 Mar 2007 11:55:12 +0100 Subject: check_gw* plugins Message-ID: <1160D06701B0154985D72DA43FE3D33ABBFCEC@srvcom02.master.dns> Hi Mark, Have you take a look at Console One, to enable SNMP on the POA? Should it be possible that the monitoring protocol on the PO is disabled? Mit freundlichem Gru? / kind regards Christian Mies it-novum GmbH, Edelzeller Str. 44, 36043 Fulda, Germany FON: +49 (661) 103-874(333) FAX: +49 (661) 103-334 MAIL: c.mies at itnovum.de WEB: http://www.itnovum.de Handelsregister: Amtsgericht Fulda, HRB 1934 Gesch?ftsf?hrer: Michael Kienle (Vorsitz), Stefan Heil Sitz der Gesellschaft: Fulda UstID-Nr: DE813211784 Steuernr.: 018/225/03095 >-----Urspr?ngliche Nachricht----- >Von: Mark Thompson [mailto:mlt at pshtc.ks.gov] >Gesendet: Mittwoch, 14. M?rz 2007 20:26 >An: Mies, Christian >Betreff: Re: [Nagios-users] check_gw* plugins > >If I walk the mta mib 1.3.6.1.4.1.23.2.37.1.1.1 I get a long >list of stuff. When I walk the poa mib >1.3.6.1.4.1.23.2.38.1.1.1 it returns nothing, back to the >console cursor. > >Using snmpget, >Reason: (noSuchName) There is no such variable name in this MIB. >Failed object: SNMPv2-SMI::enterprises.23.2.38.1.1.1.2 > > >>>> "Mies, Christian" 03/14/07 12:17 PM >>> >How is the answer if you do a SNMPWALK at the Script OIDs? >my $oid_gwpoaload = ".1.3.6.1.2.1.27.1.1.6.2"; > # gwpoa.nlm loaded >my $oid_gwname = ".1.3.6.1.4.1.23.2.38.1.1.1.2.$instance"; ># Post Office name >my $oid_gwdb = ".1.3.6.1.4.1.23.2.38.1.1.1.29.$instance"; > # Post Office database status: Normal, DB Error, >Unknown (String) >my $oid_gwmsg = ".1.3.6.1.4.1.23.2.38.1.1.1.3.$instance"; ># Number of total messages >my $oid_gwundl = ".1.3.6.1.4.1.23.2.38.1.1.1.8.$instance"; > # Number of undeliverable messages >my $oid_gwprob = ".1.3.6.1.4.1.23.2.38.1.1.1.4.$instance"; > # Number of problem messages >my $oid_gwcsconn = ".1.3.6.1.4.1.23.2.38.1.1.1.21.$instance"; ># Number of current C/S connections >my $oid_generic = ".1.3.6.1.2.1.1.5.0"; > > > >Mit freundlichem Gru? / regards > >Christian Mies > >it-novum GmbH, Edelzeller Str. 44, 36043 Fulda, Germany >FON: +49 (661) 103-874(333) FAX: +49 (661) 103-334 >MAIL: c.mies at itnovum.de WEB: http://www.itnovum.de >Handelsregister: Amtsgericht Fulda, HRB 1934 >Gesch?ftsf?hrer: Michael Kienle >(Vorsitz), Stefan Heil >Sitz der Gesellschaft: Fulda >UstID-Nr: DE813211784 >Steuernr.: 018/225/03095 > > > >>-----Urspr?ngliche Nachricht----- >>Von: nagios-users-bounces at lists.sourceforge.net >>[mailto:nagios-users-bounces at lists.sourceforge.net] Im >Auftrag von Mark >>Thompson >>Gesendet: Mittwoch, 14. M?rz 2007 17:34 >>An: nagios-users at lists.sourceforge.net >>Betreff: [Nagios-users] check_gw* plugins >> >>Nagios 2.7 >>OpenSUSE 10.2 >> >>I'm test from the command line the groupwise check plugins from >>nagiosexchange. There are 4 plugins from Oostlander.com that I >>downloaded. >> >>I have a groupwise server with the mta, poa, and gwia all running on >>the same server. The gwweb is running on a seprate server. The >>check_mta, check_gwia, and check_gwweb all return an ok status. The >>check_poa return an error, the poa isn't running. Anyone using these >>checks, or give me an idea of where to look for the problem? >> >>Thanks for any input. >> >>mark >> >> >>--------------------------------------------------------------- >>---------- >>Take Surveys. Earn Cash. Influence the Future of IT Join >>SourceForge.net's Techsay panel and you'll get the chance to >share your >>opinions on IT & business topics through brief surveys-and earn cash >>http://www.techsay.com/default.php?page=join.php&p=sourceforge& >>CID=DEVDEV >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when >>reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> > >--------------------------------------------------------------- >---------- >Take Surveys. Earn Cash. Influence the Future of IT Join >SourceForge.net's Techsay panel and you'll get the chance to >share your opinions on IT & business topics through brief >surveys-and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge& >CID=DEVDEV >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS >when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Namazhwar.Baskar-PXMFLONaydrQT0dZR+AlfA at public.gmane.org Thu Mar 15 15:46:50 2007 From: Namazhwar.Baskar-PXMFLONaydrQT0dZR+AlfA at public.gmane.org (Namazhwar, Baskar) Date: Thu, 15 Mar 2007 10:46:50 -0400 Subject: Reg.check_disk,check_users plugin for solaris10 Message-ID: Hi, Anybody has check_disk,check_users plugin for solaris 10. Please send me the files . Thanks in advance Regards Baskar.N -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins 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 15 15:53:13 2007 From: marc at ena.com (Marc Powell) Date: Thu, 15 Mar 2007 09:53:13 -0500 Subject: host check delay problem In-Reply-To: References: Message-ID: > -----Original Message----- > From: dkavraal at gmail.com [mailto:dkavraal at gmail.com] On Behalf Of Din?er > Kavraal > Sent: Thursday, March 15, 2007 7:15 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] host check delay problem > > Hi Marc, > Have you got any ideas how to achieve a solution for host check delays > stability? Yes, follow standard setup guidelines and minimize your usage of host checks. Define all your hosts. Configure a host check that runs once and exits quickly; check-host-alive with a single ping is usually sufficient. Have it run a couple of times if you're paranoid (max_check_attempts). *Do not set a check interval, don't even have it in the host definition.* Configure the parents directive for your hosts if you want to take advantage of the network outages logic to minimize notifications. Define one or more services on the host. If the host is pingable only, define a PING service for the host that pings it. Set a normal_check_interval, retry_check_interval and check_period that is sane for your environment. Nagios will check the service in parallel and will only perform a sequential host check when a service fails. Since services should rarely fail, host checks will be run rarely. Since the host check will run and exit quickly, there is minimal interruption of normal scheduling. If all your hosts are pingable only and you don't care about configuring parents then you don't need host checks at all and can set the check_period to none in the host definitions to completely eliminate them. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios 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 15 15:56:28 2007 From: marc at ena.com (Marc Powell) Date: Thu, 15 Mar 2007 09:56:28 -0500 Subject: Service Notifications Stopped In-Reply-To: <45F89673.9050605@directshop.com.au> References: <45F89673.9050605@directshop.com.au> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Ben James > Sent: Wednesday, March 14, 2007 7:42 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Service Notifications Stopped > > I have recompiled nagios with these options (also tried with --enable- > DEBUGALL), and it seems to have worked because when I try to start the > process I get: > > $0: Cannot enter daemon mode with DEBUG option(s) enabled. We'll run as a > foreground process instead... > > But where does the extra debug info go? nagios.log has nothing more in it > than before, I can't seem to find any additional debug log files, and > nothing else shows up in the terminal? I haven't used DEBUG but the code indicates it's printed to screen by the foreground nagios process -- #ifdef DEBUG4 printf("\nSERVICE NOTIFICATION ATTEMPT: Service '%s' on host '%s'\n",svc->description,svc->host_name); printf("\tType: %d\n",type); printf("\tCurrent time: %s",ctime(¤t_time)); #endif -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 15 16:38:01 2007 From: m.borsani at it.net (Marco Borsani) Date: Thu, 15 Mar 2007 16:38:01 +0100 Subject: No output on check_snmp Message-ID: <010501c76717$ea8bd5d0$0900d40a@intranet.it.net> Hi all. I have migrated nagios from an hp-ux to a linux system. All run correctly, but 4 checks via snmp give me following error: (No output!) Consider than if I run check_snmp manually I receive a correct answer, like: test OK - 16257 | iso.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6=16257;;;; Any idea? Marco Borsani Technical Operation tel.: +390104310115 e-fax: +390683175950 * m.borsani at it.net ITnet S.r.l. Direzione e Coordinamento di Wind Telecomunicazioni S.p.A. Via Pacinotti, 39 16151 - Genova In ottemperanza al D. lgs 196/03 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate e sono esclusivamente indirizzate al destinatario indicato (oppure alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio erroneamente ricevuto. According to Italy?s new data protection code (Legislative Decree no. 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning privacy, the information contained in this e-mail is confidential and is intended for the addressee only. If you are not the correct recipient, please note that any use, dissemination or copy of this document/information is strictly prohibited.If you have received this message in error, you should destroy it and please notify us immediately by e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Thu Mar 15 17:01:39 2007 From: stava at telcotec.se (Lars Stavholm) Date: Thu, 15 Mar 2007 17:01:39 +0100 Subject: [Nagiosplug-help] (no subject) In-Reply-To: References: Message-ID: <45F96DE3.6080300@telcotec.se> Please keep on list! Others might benefit from your problem(s) and the subsequent solution(s). Namazhwar, Baskar wrote: > Hi, > i need one more help. > if any changes made in cfg file it doesnt show immediatly. > it takes long time to show the state. > in which file i have to change to reflect the changes immediately. Try "kill -HUP ", where is the nagios process id. This makes the nagios process reread the configuration files. Or, you can simply restart the nagios process. > then one more thing. > currently number of users is 5.then new user login that system.it must > shows 6.but it shows only 5 for long time. > after long time it shows 6. > > in which configuration file to edit and what is that parameter. That's probably because the normal_check_interval = 5 (minutes). If you want quicker checks, change normal_check_interval to a lower value. /L ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dkavraal at yahoo.com Thu Mar 15 13:15:14 2007 From: dkavraal at yahoo.com (=?ISO-8859-1?Q?Din=E7er_Kavraal?=) Date: Thu, 15 Mar 2007 14:15:14 +0200 Subject: host check delay problem In-Reply-To: References: Message-ID: Hi Marc, Have you got any ideas how to achieve a solution for host check delays stability? Thanks, Dincer 2007/3/14, Marc Powell : > > > > > -----Original Message----- > > From: dkavraal at gmail.com [mailto:dkavraal at gmail.com] On Behalf Of Din?er > > Kavraal > > Sent: Wednesday, March 14, 2007 1:43 PM > > To: Marc Powell > > Subject: Re: [Nagios-users] host check delay problem > > > > Thanks for your intension. > > > > Could you simply tell me how trustable an alpha version of Nagios is? > > It's alpha. Alpha is never production quality for any software. You will > encounter bugs. > > http://www.nagios.org/ > > "03/06/2007 > Nagios 3.0a1 Released > The first official alpha release of Nagios 3 is now available! This is > development code, so I wouldn't recommend replacing your stable Nagios 2.xinstallation with it yet. Lots of improvements have been made since Nagios > 2.x. Read What's New for more information. You can download the alpha > release here." > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dkavraal at gmail.com Thu Mar 15 13:28:08 2007 From: dkavraal at gmail.com (=?ISO-8859-1?Q?Din=E7er_Kavraal?=) Date: Thu, 15 Mar 2007 14:28:08 +0200 Subject: Notification scripting question In-Reply-To: <45F883AB.80801@duras.ro> References: <45F883AB.80801@duras.ro> Message-ID: Hi, I have two distinct suggestions out this problem. First, you could define a bash/perl/c or any other language basis (embedded perl or c is suggested for speed issues - if you have a less notification frequency of 10 notifs in a minute) script. Then, certainly, you are passing the mobile number as a parametre. So you could select a text inside that script. At last that script will be the trigger for SMS. So notification scipt will be your new bash (or other) script. Second, you could define "n" (which is the number of different texts) different SMS notification commands in (etc/misccommands in old versions, and etc/command.etc in nagios 2.x). But you have to say that, this person will be notified with this command for each. I hope it is a bit picturable. If you have questions, I can be more clear on this. Dincer 2007/3/15, Mihai Tanasescu : > > Hello, > > > I've just installed Nagios on a machine for the first time and have read > a little throught the docs and I'm now starting to get the hang of it. > > From what I've read, for check_commands I can define a way to pass > arguments at runtime by using "command > parameter_1!parameter2....!parameter_n" if I state $ARG1$...$ARGn$ in > the definition part. > > Is there anything like that for the notification commands ? > > What I'd like to do is send personalized notifications based on the > contact specified in my configuration. > I'm trying to call gammu/gnokii to send an SMS with different texts > depending on who's being notified and I'd like to avoid if possible the > definition of each and every particular notification command. > > Is there any way to do this (something like specify in the notification > command just script-name "Custom Text" "mobile number" ) ? > Or do I have to create specific entries for each one of them ? > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dkavraal at gmail.com Thu Mar 15 13:33:31 2007 From: dkavraal at gmail.com (=?ISO-8859-1?Q?Din=E7er_Kavraal?=) Date: Thu, 15 Mar 2007 14:33:31 +0200 Subject: host check delay problem In-Reply-To: References: Message-ID: :) By the way, sth just popped in mind. Let me explain this way: I will have just one host which is the Nagios server, other hosts will be deleted. Then, that host will be checked with active checks and of course any moment it will be UP. This host will have 300 services, actually which are "host_check_alive" for our other hosts. So if some services are DOWN, host check will return UP and only service notification escalation will be running. Nothing more. Therefore, no hosts will be checked with 10 secs delay, eventhough I have entered the check delay as 1 min. Does it sound good? Have any ideas? Thanks, Dincer 2007/3/15, Din?er Kavraal : > > Hi Marc, > Have you got any ideas how to achieve a solution for host check delays > stability? > > Thanks, > Dincer > > > 2007/3/14, Marc Powell : > > > > > > > > > -----Original Message----- > > > From: dkavraal at gmail.com [mailto:dkavraal at gmail.com] On Behalf Of > > Din?er > > > Kavraal > > > Sent: Wednesday, March 14, 2007 1:43 PM > > > To: Marc Powell > > > Subject: Re: [Nagios-users] host check delay problem > > > > > > Thanks for your intension. > > > > > > Could you simply tell me how trustable an alpha version of Nagios is? > > > > It's alpha. Alpha is never production quality for any software. You will > > encounter bugs. > > > > http://www.nagios.org/ > > > > "03/06/2007 > > Nagios 3.0a1 Released > > The first official alpha release of Nagios 3 is now available! This is > > development code, so I wouldn't recommend replacing your stable Nagios > > 2.x installation with it yet. Lots of improvements have been made since > > Nagios 2.x. Read What's New for more information. You can download the > > alpha release here." > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From snyper9311 at yahoo.com Thu Mar 15 15:08:10 2007 From: snyper9311 at yahoo.com (abid dar) Date: Thu, 15 Mar 2007 07:08:10 -0700 (PDT) Subject: export configs from Nagios 1.1 to 2.7. Message-ID: <801936.38171.qm@web36815.mail.mud.yahoo.com> Can I export configs from a Nagios 1.1 server to a server running 2.7? ____________________________________________________________________________________ Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. http://answers.yahoo.com/dir/?link=list&sid=396545367 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios 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 15 15:36:28 2007 From: marc at ena.com (Marc Powell) Date: Thu, 15 Mar 2007 09:36:28 -0500 Subject: FPing command plugin says - Status UNKOWN In-Reply-To: <014b01c766e9$7bf2eec0$2000a8c0@shastra> References: <014b01c766e9$7bf2eec0$2000a8c0@shastra> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Nilesh Shastrakar > Sent: Thursday, March 15, 2007 5:05 AM > To: Lars Stavholm > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] FPing command plugin says - Status UNKOWN > > Thanks its working now Great example of why you should never test anything related to nagios as root. You should perform plugin tests as the nagios user so you see behavior as nagios would. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Thu Mar 15 15:42:43 2007 From: stava at telcotec.se (Lars Stavholm) Date: Thu, 15 Mar 2007 15:42:43 +0100 Subject: [Nagiosplug-help] (no subject) In-Reply-To: References: Message-ID: <45F95B63.8050100@telcotec.se> Namazhwar, Baskar wrote: > Hi, > I have tried lot of times. > I am getting every time new problems > So could you please send the check_disk and check_users file for solaris > 10. As I said before, let's try to keep this on the list, shall we? I don't have any check_disk or check_users or any other check_* files for Solaris 10. I use what's in the plugin package. It might be easier for the list to help you out if you clearly specify your problem rather than asking for files that might or might not exists. Show us a build log for example. /L > -----Original Message----- > From: Lars Stavholm [mailto:stava at telcotec.se] > Sent: Wednesday, March 14, 2007 6:11 PM > To: Namazhwar, Baskar > Subject: Re: [Nagiosplug-help] (no subject) > > Namazhwar, Baskar wrote: >> Hi, > > Hi, let's keep this on the list shall we. > >> Can you send the link to download in source forge. > > .tar.gz> > >> In my server side I used plugin 1.4.5 >> Can I use plugin 1.4.6 in client side. > > Don't matter, the plugins don't talk to each other. > >> What are all the steps do I need >> I am having gcc 3.4.3 version > > Should be just fine. > >> Inside /opt directory I don't have sfw directory > > That's a pitty then, I thought you had since your original > build log had "-L/usr/sfw/bin/openssl/lib" in it. > > Anyways, I'm using Solaris 9 and the Solaris CD bundle > contains a CD titled Solaris Software Companion. Use > that to install /opt/sfw. > >> Can you send the step by step installation and what are > > Unpack the sources and... > > 1) I had to replace LDAP_OPT_SUCCESS with LDAP_SUCCESS > in plugins/check_ldap.c. > > 2) The usual stuff: > ./configure > make > make install > >> Allt the prerequiste need. > > Well, the only prerequisites I've used is the aforementioned > Solaris Software Companion and gcc. As far as I know I have > an otherwise clean box. > > Good Luck > /Lars > >> -----Original Message----- >> From: Lars Stavholm [mailto:stava at telcotec.se] >> Sent: Wednesday, March 14, 2007 5:10 PM >> To: Namazhwar, Baskar >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagiosplug-help] (no subject) >> >> I've downloaded nagios-plugins-1.4.6 from sourceforge and >> it builds quite nicely on my solaris box with gcc-3.3.2 >> with the Solaris Software Companion (/opt/sfw) installed. >> Why would you want to use an old version from an unofficial >> download site? >> /L >> >> Namazhwar, Baskar wrote: >>> HI, >>> I downloaded the nagios plugin 1.3.1 from >>> http://non-gnu.uvt.nl/pub/nagios-plugins/solaris/src >>> I ran ./configure script it doesn't show any error >>> When I run make all it shows >>> Making all in lib >>> make[1]: Entering directory >>> `/export/local/nagios/nagios-plugins-1.3.1/lib' >>> make[1]: Nothing to be done for `all'. >>> make[1]: Leaving directory >>> `/export/local/nagios/nagios-plugins-1.3.1/lib' >>> Making all in plugins >>> make[1]: Entering directory >>> `/export/local/nagios/nagios-plugins-1.3.1/plugins' >>> make all-am >>> make[2]: Entering directory >>> `/export/local/nagios/nagios-plugins-1.3.1/plugins' >>> gcc -g -O2 -L. -L/usr/sfw/bin/openssl/lib -o check_disk >> check_disk.o >>> utils.o ../lib/libnagiosplug.a popen.o -lsnprintf -lsnprintf >>> Undefined first referenced >>> symbol in file >>> VA_COPY ./libsnprintf.a(snprintf.o) >>> ld: fatal: Symbol referencing errors. No output written to check_disk >>> collect2: ld returned 1 exit status >>> make[2]: *** [check_disk] Error 1 >>> make[2]: Leaving directory >>> `/export/local/nagios/nagios-plugins-1.3.1/plugins' >>> make[1]: *** [all] Error 2 >>> make[1]: Leaving directory >>> `/export/local/nagios/nagios-plugins-1.3.1/plugins' >>> make: *** [all-recursive] Error 1 >>> >>> I tried for 3 days.but still I didn't get any solution. >>> Please can anyone help me >>> Thanks in advance >>> Reply to this mail id >>> Regards >>> Baskar.N >>> >>> >>> >>> >>> > ------------------------------------------------------------------------ > ------------------------------------------------------------------------ >> - >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to >> share your >>> opinions on IT & business topics through brief surveys-and earn cash >>> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE >> V >>> > ------------------------------------------------------------------------ >>> _______________________________________________ >>> Nagiosplug-help mailing list >>> Nagiosplug-help at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help >>> ::: Please include plugins version (-v) and OS when reporting any >> issue. >>> ::: Messages without supporting info will risk being sent to > /dev/null >> > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Cyrille.Bollu at fedasil.be Thu Mar 15 17:57:17 2007 From: Cyrille.Bollu at fedasil.be (Cyrille Bollu) Date: Thu, 15 Mar 2007 17:57:17 +0100 Subject: RE export configs from Nagios 1.1 to 2.7. In-Reply-To: <801936.38171.qm@web36815.mail.mud.yahoo.com> References: <801936.38171.qm@web36815.mail.mud.yahoo.com> Message-ID: I'm a newbie but I think Nagios 1.x's config is not compatible with Nagios 2.x's one. Cyrille abid dar Envoy? par : nagios-users-bounces at lists.sourceforge.net 15/03/2007 15:08 A Nagios-users at lists.sourceforge.net cc Objet [Nagios-users] export configs from Nagios 1.1 to 2.7. Can I export configs from a Nagios 1.1 server to a server running 2.7? ____________________________________________________________________________________ Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. http://answers.yahoo.com/dir/?link=list&sid=396545367 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios 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 15 18:11:04 2007 From: marc at ena.com (Marc Powell) Date: Thu, 15 Mar 2007 12:11:04 -0500 Subject: RE export configs from Nagios 1.1 to 2.7. In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Cyrille Bollu > Sent: Thursday, March 15, 2007 11:57 AM > To: abid dar > Cc: nagios-users-bounces at lists.sourceforge.net; Nagios- > users at lists.sourceforge.net > Subject: [Nagios-users] RE export configs from Nagios 1.1 to 2.7. > > > I'm a newbie but I think Nagios 1.x's config is not compatible with Nagios > 2.x's one. They mostly are. The OP can read the What's New docco and make the changes manually. I found the object_config_fix program that Andreas wrote at http://oss.op5.se/nagios/ to be useful in my conversion. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ramyareddypogula at yahoo.co.in Thu Mar 15 18:22:50 2007 From: ramyareddypogula at yahoo.co.in (ramyareddy pogula) Date: Thu, 15 Mar 2007 17:22:50 +0000 (GMT) Subject: problem with check_jmx plugin working Message-ID: <331870.1734.qm@web8506.mail.in.yahoo.com> Hi, I have a problem in installing the nagios add on plug-in, check_jmx I get the following error. [root at sys79 libexec]# ./check_jmx Exception in thread "main" java.lang.NoClassDefFoundError: org.nagios.JMXQuery at java.lang.Class.initializeClass (libgcj.so.7) at java.lang.Class.forName (libgcj.so.7) at gnu.java.lang.MainThread.run (libgcj.so.7) Caused by: java.lang.ClassNotFoundException: javax.management.remote.JMXServiceURL not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./jmxquery.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} at java.net.URLClassLoader.findClass (libgcj.so.7) at java.lang.ClassLoader.loadClass (libgcj.so.7) at java.lang.ClassLoader.loadClass (libgcj.so.7) at java.lang.Class.initializeClass (libgcj.so.7) ...2 more can any one please help me out? Thanks --------------------------------- Here?s a new way to find what you're looking for - Yahoo! Answers -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.blake at gmail.com Thu Mar 15 18:50:03 2007 From: rob.blake at gmail.com (Rob Blake) Date: Thu, 15 Mar 2007 17:50:03 +0000 Subject: problem with check_jmx plugin working In-Reply-To: <331870.1734.qm@web8506.mail.in.yahoo.com> References: <331870.1734.qm@web8506.mail.in.yahoo.com> Message-ID: On 3/15/07, ramyareddy pogula wrote: > > Hi, > I have a problem in installing the nagios add on plug-in, check_jmx > I get the following error. > > [root at sys79 libexec]# ./check_jmx Exception in thread "main" > java.lang.NoClassDefFoundError: org.nagios.JMXQuery > at java.lang.Class.initializeClass (libgcj.so.7) > at java.lang.Class.forName (libgcj.so.7) > at gnu.java.lang.MainThread.run (libgcj.so.7) > Caused by: java.lang.ClassNotFoundException: > javax.management.remote.JMXServiceURL not found in > gnu.gcj.runtime.SystemClassLoader{urls=[file:./jmxquery.jar], parent= > gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} > at java.net.URLClassLoader.findClass (libgcj.so.7) > at java.lang.ClassLoader.loadClass (libgcj.so.7) > at java.lang.ClassLoader.loadClass (libgcj.so.7) > at java.lang.Class.initializeClass (libgcj.so.7) > ...2 more > > can any one please help me out? > > Thanks > Yep, it can't find the class org.nagios.JMXQuery. Make sure that it is on your classpath. Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.holmes at xo.com Thu Mar 15 18:51:06 2007 From: robert.holmes at xo.com (Holmes Robert) Date: Thu, 15 Mar 2007 11:51:06 -0600 Subject: directing Nagios alerts to Netcool Message-ID: Greetings, I have been searching for a solution which will allow me to forward Nagios alerts to Netcool. Google directed me to a project called looperng . It looks like this project hasn't seen any activity in a while and I thought that I would ask the list these two questions before I expended the cycles to try it out. Q1: Are any of you using looperng to forward Nagios events? Q2: Are you aware of any other open source project/solution which acomplishes the task of sending Nagios events to Netcool? Thanks Rob ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.blake at gmail.com Thu Mar 15 18:52:14 2007 From: rob.blake at gmail.com (Rob Blake) Date: Thu, 15 Mar 2007 17:52:14 +0000 Subject: problem with check_jmx plugin working In-Reply-To: References: <331870.1734.qm@web8506.mail.in.yahoo.com> Message-ID: On 3/15/07, Rob Blake wrote: > > > On 3/15/07, ramyareddy pogula wrote: > > > > Hi, > > I have a problem in installing the nagios add on plug-in, check_jmx > > I get the following error. > > > > [root at sys79 libexec]# ./check_jmx Exception in thread "main" > > java.lang.NoClassDefFoundError: org.nagios.JMXQuery > > at java.lang.Class.initializeClass (libgcj.so.7) > > at java.lang.Class.forName (libgcj.so.7) > > at gnu.java.lang.MainThread.run (libgcj.so.7) > > Caused by: java.lang.ClassNotFoundException : > > javax.management.remote.JMXServiceURL not found in > > gnu.gcj.runtime.SystemClassLoader{urls=[file:./jmxquery.jar], parent= > > gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} > > at java.net.URLClassLoader.findClass (libgcj.so.7) > > at java.lang.ClassLoader.loadClass (libgcj.so.7) > > at java.lang.ClassLoader.loadClass (libgcj.so.7) > > at java.lang.Class.initializeClass (libgcj.so.7) > > ...2 more > > > > can any one please help me out? > > > > Thanks > > > > Yep, it can't find the class org.nagios.JMXQuery. Make sure that it is on > your classpath. > > Rob > Apologies, that should be that it can't find the class javax.management.remote.JMXServiceUrl in your classpath. Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From seppy at chartermi.net Thu Mar 15 19:14:04 2007 From: seppy at chartermi.net (Brian E. Seppanen) Date: Thu, 15 Mar 2007 14:14:04 -0400 (EDT) Subject: directing Nagios alerts to Netcool In-Reply-To: References: Message-ID: On Thu, 15 Mar 2007, Holmes Robert wrote: > Greetings, > > I have been searching for a solution which will allow me to forward > Nagios alerts to Netcool. Google directed me to a project called > looperng . It looks like this project > hasn't seen any activity in a while and I thought that I would ask the > list these two questions before I expended the cycles to try it out. > > Q1: Are any of you using looperng to forward Nagios events? > > Q2: Are you aware of any other open source project/solution which > acomplishes the task of sending Nagios events to Netcool? > I forward traps to netcool using an eventhandler which calls a simple perl script that constructs the trap message. You can Use your favorite programming language bindings to construct the traps and have nagios call an eventhandler to trigger them. HTH ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Thu Mar 15 20:02:42 2007 From: stava at telcotec.se (Lars Stavholm) Date: Thu, 15 Mar 2007 20:02:42 +0100 Subject: [Nagiosplug-help] (no subject) In-Reply-To: References: Message-ID: <45F99852.6040806@telcotec.se> Namazhwar, Baskar wrote: > Hi, > sorry for disturbing once again > where can i get nrpe deamon and plugin for opensuse10.2 > thankyou You don't listen too well, do you. KEEP IT ON THE LIST! Try . Or, you could try the official distribution (i.e. the CDs for SuSE Linux 10.2). /L ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From snyper9311 at yahoo.com Thu Mar 15 20:09:06 2007 From: snyper9311 at yahoo.com (abid dar) Date: Thu, 15 Mar 2007 12:09:06 -0700 (PDT) Subject: hosts show up and then disappear.. Message-ID: <20070315190906.49289.qmail@web36803.mail.mud.yahoo.com> hosts show up in host detail then when a I refresh or a few moments later they disappear. nagios.log is not showing anything.. anyone ever run across this? ____________________________________________________________________________________ No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. http://mobile.yahoo.com/mail ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dkavraal at yahoo.com Thu Mar 15 20:31:18 2007 From: dkavraal at yahoo.com (=?ISO-8859-1?Q?Din=E7er_Kavraal?=) Date: Thu, 15 Mar 2007 21:31:18 +0200 Subject: host check delay problem In-Reply-To: References: Message-ID: Hi, The problem is that, there are some hosts down for two days, for instance, all unplanned. That makes service checks stop. Some servers are out for 4-5 minutes because of some sophisticated :) construction issues which we are unable to be aware of. I just want them to be checked as usual even they are down. That's all my problem. Host checks are not done as I have configured to be (1 min delay). Do you know a way out of this? Thanks, Dincer 2007/3/15, Marc Powell : > > > > > -----Original Message----- > > From: dkavraal at gmail.com [mailto:dkavraal at gmail.com] On Behalf Of Din?er > > Kavraal > > Sent: Thursday, March 15, 2007 7:15 AM > > To: Marc Powell > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] host check delay problem > > > > Hi Marc, > > Have you got any ideas how to achieve a solution for host check delays > > stability? > > Yes, follow standard setup guidelines and minimize your usage of host > checks. Define all your hosts. Configure a host check that runs once and > exits quickly; check-host-alive with a single ping is usually sufficient. > Have it run a couple of times if you're paranoid (max_check_attempts). *Do > not set a check interval, don't even have it in the host definition.* > Configure the parents directive for your hosts if you want to take advantage > of the network outages logic to minimize notifications. > > Define one or more services on the host. If the host is pingable only, > define a PING service for the host that pings it. Set a > normal_check_interval, retry_check_interval and check_period that is sane > for your environment. > > Nagios will check the service in parallel and will only perform a > sequential host check when a service fails. Since services should rarely > fail, host checks will be run rarely. Since the host check will run and exit > quickly, there is minimal interruption of normal scheduling. If all your > hosts are pingable only and you don't care about configuring parents then > you don't need host checks at all and can set the check_period to none in > the host definitions to completely eliminate them. > > -- > Marc > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios 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 15 21:07:32 2007 From: marc at ena.com (Marc Powell) Date: Thu, 15 Mar 2007 15:07:32 -0500 Subject: hosts show up and then disappear.. In-Reply-To: <20070315190906.49289.qmail@web36803.mail.mud.yahoo.com> References: <20070315190906.49289.qmail@web36803.mail.mud.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of abid dar > Sent: Thursday, March 15, 2007 2:09 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] hosts show up and then disappear.. > > hosts show up in host detail then when a I refresh or a few moments later > they disappear. > > nagios.log is not showing anything.. > > anyone ever run across this? If you're using Nagios 1.x, it's a FAQ. It shouldn't happen in 2.x. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From routed2000 at yahoo.com Thu Mar 15 21:27:23 2007 From: routed2000 at yahoo.com (G Bit) Date: Thu, 15 Mar 2007 13:27:23 -0700 (PDT) Subject: Acknowledgement and notifications In-Reply-To: <20070314232916.57763.qmail@web51612.mail.re2.yahoo.com> References: <20070314232916.57763.qmail@web51612.mail.re2.yahoo.com> Message-ID: <20070315202723.67272.qmail@web51605.mail.re2.yahoo.com> In Nagios 3.0a1 "Whats New" notes, I noticed that there is a couple of new macros $HOSTEVENTID$ and $SERVICEEVENTID$ Is it worth to implement a feature where someone can acknowledge to that particular eventid. --G. --- G Bit wrote: > Hi, > > When we get an alert notification, to prevent escalations, we acknowledge it first and then go > about fixing the problem. We ran into some other issues while doing this. We have grouped checks > together in one service. For eg. we have a bunch of log file checks and all are grouped as one > service "log_check". When we acknowledge on error, since it stops the notification on that > service, future alerts (due to different checks failing) are also missed. > > Is there any way to solve this problem. Other than having 1:1 mapping for service to checks is > there any other solution. > > Thanks. > > > > ____________________________________________________________________________________ > Bored stiff? Loosen up... > Download and play hundreds of games for free on Yahoo! Games. > http://games.yahoo.com/games/front > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ____________________________________________________________________________________ The fish are biting. Get more visitors on your site using Yahoo! Search Marketing. http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios 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 15 21:44:01 2007 From: marc at ena.com (Marc Powell) Date: Thu, 15 Mar 2007 15:44:01 -0500 Subject: host check delay problem In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Din?er Kavraal > Sent: Thursday, March 15, 2007 2:31 PM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] host check delay problem > > Hi, > > The problem is that, there are some hosts down for two days, for instance, > all unplanned. That makes service checks stop. What do you expect? You're doing something that the documentation specifically says not to do because it leads to that behavior. I've been telling you that your methodology is busted and wrong. You need to change it if you want nagios to work right. > Some servers are out for 4-5 minutes because of some sophisticated :) > construction issues which we are unable to be aware of. I just want them > to be checked as usual even they are down. They will be if you follow my guidance or read the documentation. > That's all my problem. Host checks are not done as I have configured to be > (1 min delay). > > Do you know a way out of this? Yes, re-read this entire thread. Read the documentation. Re-read Service Check Scheduling. Re-read Determining Status and Reachability of Network Hosts. Everything I've said so far is well documented. Reading the documentation was the single best thing I did to understand how Nagios works and you will be well served by doing the same. If you do this you'll see that hosts are checked only when necessary and services are checked all the time, on your schedule. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steele at agora-net.com Thu Mar 15 21:40:53 2007 From: steele at agora-net.com (Ryan Steele) Date: Thu, 15 Mar 2007 16:40:53 -0400 Subject: Archived Log Files Message-ID: <45F9AF55.1060900@agora-net.com> List, I'd like to make use of the archived logs, but it seems that Nagios is looking for logs with different names than the filenames the logrotate script (shipped with the Debian nagios2-common package) is giving them. For example, my nagios.cfg is configured to have the archives rotated daily in /var/log/nagios2: log_rotation_method=d log_archive_path=/var/log/nagios2 The logrotate script is pretty straightforward: /var/log/nagios2/nagios.log { daily missingok rotate 10 compress delaycompress notifempty postrotate /etc/init.d/nagios2 reload endscript } However, the history.cgi is looking for log files in a different format. Here's the error I see from the web interface: Error: Cannot open log file '/var/log/nagios2/nagios-03-15-2007-00.log' for reading! I've scoured the configs looking for some filename convention settings, but haven't come up with anything fruitful. Can anyone point me to my (probably obvious) oversight? Thanks in advance... Ryan ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios 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 15 23:00:11 2007 From: marc at ena.com (Marc Powell) Date: Thu, 15 Mar 2007 17:00:11 -0500 Subject: Archived Log Files In-Reply-To: <45F9AF55.1060900@agora-net.com> References: <45F9AF55.1060900@agora-net.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Ryan Steele > Sent: Thursday, March 15, 2007 3:41 PM > To: Nagios Users mailinglist > Subject: [Nagios-users] Archived Log Files > > List, > > I'd like to make use of the archived logs, but it seems that Nagios is > looking for logs with different names than the filenames the logrotate > script (shipped with the Debian nagios2-common package) is giving them. If Debian is including a logrotate script for nagios then that should be treated as a bug and reported back to the maintainer. logrotate shouldn't be used on the nagios log files. Nagios handles the rotation of its own logs internally based on the log_rotation_method. Worst case you'd want to remove log files older than your longest desired reporting period or 2 years old, whichever is less. Hth, marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mihai at duras.ro Thu Mar 15 23:18:32 2007 From: mihai at duras.ro (Mihai Tanasescu) Date: Fri, 16 Mar 2007 00:18:32 +0200 Subject: Notification scripting question In-Reply-To: References: <45F883AB.80801@duras.ro> Message-ID: <45F9C638.9080201@duras.ro> Hello, Thanks for the advice...I can't believe it was so simple (the script and selecting text based on the number passed as a parameter). Din?er Kavraal wrote: > Hi, > I have two distinct suggestions out this problem. > > First, you could define a bash/perl/c or any other language basis > (embedded perl or c is suggested for speed issues - if you have a less > notification frequency of 10 notifs in a minute) script. Then, > certainly, you are passing the mobile number as a parametre. So you > could select a text inside that script. At last that script will be > the trigger for SMS. So notification scipt will be your new bash (or > other) script. > > Second, you could define "n" (which is the number of different texts) > different SMS notification commands in (etc/misccommands in old > versions, and etc/command.etc in nagios 2.x). But you have to say > that, this person will be notified with this command for each. > > I hope it is a bit picturable. If you have questions, I can be more > clear on this. > > Dincer > > 2007/3/15, Mihai Tanasescu >: > > Hello, > > > I've just installed Nagios on a machine for the first time and > have read > a little throught the docs and I'm now starting to get the hang of it. > > From what I've read, for check_commands I can define a way to pass > arguments at runtime by using "command > parameter_1!parameter2....!parameter_n" if I state $ARG1$...$ARGn$ in > the definition part. > > Is there anything like that for the notification commands ? > > What I'd like to do is send personalized notifications based on the > contact specified in my configuration. > I'm trying to call gammu/gnokii to send an SMS with different texts > depending on who's being notified and I'd like to avoid if > possible the > definition of each and every particular notification command. > > Is there any way to do this (something like specify in the > notification > command just script-name "Custom Text" "mobile number" ) ? > Or do I have to create specific entries for each one of them ? > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > >------------------------------------------------------------------------ > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys-and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >------------------------------------------------------------------------ > >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hunter at userfriendly.net Fri Mar 16 00:03:51 2007 From: hunter at userfriendly.net (Michael Weiner) Date: Thu, 15 Mar 2007 19:03:51 -0400 Subject: Nagios pager alerts Message-ID: I have been googling for a bit trying to figure out the best way to accomplish paging in an escalation situation. What i have is a webpage written in asp that accepts a pager number and message, and what i would like is for nagios to send the page through that web gateway. I was originally thinking something simple, maybe curl (i.e. curl -d "PNumber=27175&PLine1=I am down, please fix me" ) but i have been having some difficulty getting this to work properly. Has anyone done anything like this? And would anyone have any suggestions? Thank you in advance Michael Weiner ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luca at jewelrydesign.com.hk Fri Mar 16 03:31:12 2007 From: luca at jewelrydesign.com.hk (Luca Fornasari) Date: Fri, 16 Mar 2007 10:31:12 +0800 Subject: SMTP/IMAP/POP3 checks Message-ID: <1174012272.7059.69.camel@etch.hkg1.jdsedp.com> Dear all, I'm planning to start to use Nagios to monitor some email servers. The idea is having Nagios sending an email using check_smtp and then retrive it using check_tcp. Can those two plugins accomplish this? Thanks in advamce Luca Fornasari ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Mar 16 04:29:44 2007 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 15 Mar 2007 23:29:44 -0400 (EDT) Subject: net-snmp on solaris In-Reply-To: <2274b9c30703140925v309f9b80q195b610393eee5bd@mail.gmail.com> References: <344580.91243.qm@web82101.mail.mud.yahoo.com> <2274b9c30703140925v309f9b80q195b610393eee5bd@mail.gmail.com> Message-ID: Isn't solaris 10 shipping net-snmp instead of sun's own version? On Wed, 14 Mar 2007, Kyle O'Donnell wrote: > You can go the easy route and grab the pkgs from sunfreeware or blastwave > > but if you're set on compiling I use the following: > > ./configure --prefix=/opt/snmp --enable-developer --disable-embedded-perl -- > enable-ucd-snmp-compatibility --with-default-snmp-version=1 --with-mib-modules=s > mux mibII/mta_sendmail ucd-snmp/diskio --with-perl-modules --with-zlib=/usr/loca > l/lib --with-persistent-directory=/opt/snmp/var --with-cc=/usr/local/bin/gcc > > make && make install > > --kyleo > > > > On 3/14/07, David Rivera wrote: >> anyone have doc for installing this on Solaris, >> >> I know there is a README in the source code, but the thing is 10 miles long, >> and frankly it is a little intimitating. >> >> >> thanks >> David >> >> >> >> Money can't buy happiness, but neither can poverty. >> -Leo Rosten >> > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Mar 16 05:20:08 2007 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 16 Mar 2007 00:20:08 -0400 (EDT) Subject: about Compiling Error In-Reply-To: References: Message-ID: On Sat, 10 Mar 2007, yokoyoko at rd.aisin.co.jp wrote: > Hi ! > > I got the following errors when compiling nagios plugins (1.4.6) > > check_snmp.c: In function `main': > check_snmp.c:187: `PATH_TO_SNMPGETNEXT' undeclared (first use in this > function) > check_snmp.c:187: (Each undeclared identifier is reported only once > check_snmp.c:187: for each function it appears in.) > make[2]: *** [check_snmp.o] Error 1 > make[2]: Leaving directory `/usr/local/src/nagios-plugins-1.4.6/plugins' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/local/src/nagios-plugins-1.4.6' > make: *** [all] Error 2 > You are missing net-snmp on your systems. Check your distro's repository and intall. You should have also seen a configure error before make. Looks like configure was run on one system and make on another. -- -sg ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From surcouf at debianfr.net Fri Mar 16 08:12:38 2007 From: surcouf at debianfr.net (=?ISO-8859-1?Q?Rapha=EBl?= 'SurcouF' Bordet) Date: Fri, 16 Mar 2007 08:12:38 +0100 Subject: net-snmp on solaris In-Reply-To: References: <344580.91243.qm@web82101.mail.mud.yahoo.com> <2274b9c30703140925v309f9b80q195b610393eee5bd@mail.gmail.com> Message-ID: <1174029158.5960.8.camel@xiombarg> Le jeudi 15 mars 2007 ? 23:29 -0400, Subhendu Ghosh a ?crit : > Isn't solaris 10 shipping net-snmp instead of sun's own version? Hi, Yes, you're right. Sun is shipping a version of net-snmp (based on net-snmp 5.0.9) and named SMA[1] (SNMP Management Agent) with Solaris 10. You've always the old agent, SEA[2] (Solstice Entreprise Agent), shipped. Under SunFire and Netra servers, you've also another net-snmp based agent (again based on net-snmp 5.0.9) that implement SUN-PLATFORM-MIB and ENTITY-MIB and named MASF[3] (Management Agent for SunFire and netra). Regards, [1]: http://docs.sun.com/app/docs/doc/817-3000/6mikgnggu?a=view [2]: http://docs.sun.com/app/docs/doc/816-1322/6m7ofn7ku?l=de&a=view [3]: http://www.sun.com/download/products.xml?id=454bc019 -- Rapha?l 'SurcouF' Bordet ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sjaak at vsm-hosting.nl Fri Mar 16 09:17:27 2007 From: sjaak at vsm-hosting.nl (Sjaak Nabuurs) Date: Fri, 16 Mar 2007 09:17:27 +0100 Subject: SMTP/IMAP/POP3 checks In-Reply-To: <1174012272.7059.69.camel@etch.hkg1.jdsedp.com> References: <1174012272.7059.69.camel@etch.hkg1.jdsedp.com> Message-ID: <45FA5297.7010609@vsm-hosting.nl> Hi Luca You can check with check_smtp if smtp ports are reacting, but this wil not tell you that your mail handling is correctly. There's a plugin for this check "check_email_loop.pl" It can be download from www.nagiosexchange.com Maybe this is a solution for you. I didn't use it for myself but....... # Example: check_email_loop.pl -poph=mypop -popu=user -pa=password # -smtph=mailer -from=returnadress at yoursite.com # -to=remaileradress at friend.com -pendc=2 -lostc=0 # This example will send eacht time this check is executed a new # mail to remaileradress at friend.com using the SMTP-Host mailer. # Then it looks for any back-forwarded mails in the POP3 host # mypop. In this Configuration CRITICAL state will be reached if # more than 2 Mails are pending (meaning that they did not came # back till now) or if a mails got lost (meaning a mail, that was # send later came back prior to another mail). (...) Good luck Sjaak Luca Fornasari wrote: >Dear all, > >I'm planning to start to use Nagios to monitor some email servers. >The idea is having Nagios sending an email using check_smtp and then >retrive it using check_tcp. > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.digiambelardini at fabaris.it Fri Mar 16 09:55:43 2007 From: g.digiambelardini at fabaris.it (Di Giambelardini Gabriele) Date: Fri, 16 Mar 2007 09:55:43 +0100 (CET) Subject: [Fwd: nagios 2.7 - 2.8 problem] Message-ID: <34885.192.168.1.1.1174035343.squirrel@webmail2.fabaris.it> hi to all, i have a problem with nagios 2.7.- 2.8 on redhat ES 4 the problem: I have a plugin that check the write access for oracle tables, if I start nagios without any files in /var/log/nagios the check is ok, and nagios understand the return code of the check, but if i stop and start nagios and i lounch the script by hand it go well, instead nagios don't uderstand the retur code and give "error database". so i must stop nagios, delete all file in /var/log/nagios, start again nagios and all go well. somebody can give me some ideas fo this problem? I'll send you the nagios.cfg end the plugin -------------- next part -------------- A non-text attachment was scrubbed... Name: write_access.sh Type: application/x-shellscript Size: 2271 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios.cfg Type: application/octet-stream Size: 30915 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.blake at gmail.com Fri Mar 16 10:19:32 2007 From: rob.blake at gmail.com (Rob Blake) Date: Fri, 16 Mar 2007 09:19:32 +0000 Subject: problem with check_jmx plugin working In-Reply-To: <252349.90042.qm@web8514.mail.in.yahoo.com> References: <252349.90042.qm@web8514.mail.in.yahoo.com> Message-ID: On 3/15/07, ramyareddy pogula wrote: > > thank you..how do i check the class path?i have tried ll possiblities but > i get the same error.. > I d be grateful if you d help me out in this > > *Rob Blake * wrote: > > > On 3/15/07, ramyareddy pogula wrote: > > > > Hi, > > I have a problem in installing the nagios add on plug-in, check_jmx > > I get the following error. > > > > [root at sys79 libexec]# ./check_jmx Exception in thread "main" > > java.lang.NoClassDefFoundError: org.nagios.JMXQuery > > at java.lang.Class.initializeClass (libgcj.so.7) > > at java.lang.Class.forName (libgcj.so.7) > > at gnu.java.lang.MainThread.run (libgcj.so.7) > > Caused by: java.lang.ClassNotFoundException : > > javax.management.remote.JMXServiceURL not found in > > gnu.gcj.runtime.SystemClassLoader{urls=[file:./jmxquery.jar], parent= > > gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} > > at java.net.URLClassLoader.findClass (libgcj.so.7) > > at java.lang.ClassLoader.loadClass (libgcj.so.7) > > at java.lang.ClassLoader.loadClass (libgcj.so.7) > > at java.lang.Class.initializeClass (libgcj.so.7) > > ...2 more > > > > can any one please help me out? > > > > Thanks > > > > Yep, it can't find the class org.nagios.JMXQuery. Make sure that it is on > your classpath. > > Rob > > Please keep this conversation on List. The class it is looking for is javax.management.remote.JMXServiceURL. Now it depends on what version of the JDK you are running as to what you need to do. JDK 5 and above include the JMX libraries so you will simply need to update your classpath variable so that it includes the JMXServiceURL class. If you're not sure how to update your classpath or how it effects your java settings, take a look at this: http://java.sun.com/j2se/1.3/docs/tooldocs/win32/classpath.html If you have JDK < 1.5, you will need to download a JMX implementation. There are lots around so you do have a choice as to what you use, but the Sun reference implementation is available here: http://java.sun.com/javase/technologies/core/mntr-mgmt/javamanagement/download.jsp Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.digiambelardini-hYieKUmLjM+onA0d6jMUrA at public.gmane.org Fri Mar 16 14:45:01 2007 From: g.digiambelardini-hYieKUmLjM+onA0d6jMUrA at public.gmane.org (Di Giambelardini Gabriele) Date: Fri, 16 Mar 2007 14:45:01 +0100 (CET) Subject: [Fwd: nagios 2.7 - 2.8 problem] In-Reply-To: <34885.192.168.1.1.1174035343.squirrel-vziUDZACzaBMoTQ3SCBJLzUZDU+1vuVT@public.gmane.org> References: <34885.192.168.1.1.1174035343.squirrel@webmail2.fabaris.it> Message-ID: <43681.192.168.1.1.1174052701.squirrel@webmail2.fabaris.it> > hi to all, i have a problem with nagios 2.7.- 2.8 on redhat ES 4 > > the problem: > I have a plugin that check the write access for oracle tables, if I start > nagios without any files in /var/log/nagios the check is ok, and nagios > understand the return code of the check, but if i stop and start nagios > and i lounch the script by hand it go well, instead nagios don't uderstand > the retur code and give "error database". so i must stop nagios, delete > all file in /var/log/nagios, start again nagios and all go well. > somebody can give me some ideas fo this problem? > I'll send you the nagios.cfg end the plugin Hi to all, i success to found the exactly error.. the error is: if i start-stop-restart nagios using "server nagios stop-start-restart" nagios not understand any more the result of check. if i reboot the server, and i have at te runlevel 3 S99nagios, nagios not understand che result of check. On if i longin such a root user end then louch /etc/init.d/nagios stop-start-restart, nagios work fine!! some body have some ideas?? i try to set root anviroment in a script that then lounch nagios, but nothing to do!!! i resend you the nagios.cfg anche the check for database write_access,sh -------------- next part -------------- A non-text attachment was scrubbed... Name: write_access Type: application/octet-stream Size: 2281 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios Type: application/octet-stream Size: 30915 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dkavraal at yahoo.com Fri Mar 16 14:01:35 2007 From: dkavraal at yahoo.com (=?ISO-8859-1?Q?Din=E7er_Kavraal?=) Date: Fri, 16 Mar 2007 15:01:35 +0200 Subject: host check delay problem In-Reply-To: References: Message-ID: Thanks. I've read it... Thus means not carefully. I will re-read it. Sorry for redundancy. 2007/3/15, Marc Powell : > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Din?er Kavraal > > Sent: Thursday, March 15, 2007 2:31 PM > > To: Marc Powell > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] host check delay problem > > > > Hi, > > > > The problem is that, there are some hosts down for two days, for > instance, > > all unplanned. That makes service checks stop. > > What do you expect? You're doing something that the documentation > specifically says not to do because it leads to that behavior. I've been > telling you that your methodology is busted and wrong. You need to change it > if you want nagios to work right. > > > Some servers are out for 4-5 minutes because of some sophisticated :) > > construction issues which we are unable to be aware of. I just want them > > to be checked as usual even they are down. > > They will be if you follow my guidance or read the documentation. > > > That's all my problem. Host checks are not done as I have configured to > be > > (1 min delay). > > > > Do you know a way out of this? > > Yes, re-read this entire thread. Read the documentation. Re-read Service > Check Scheduling. Re-read Determining Status and Reachability of Network > Hosts. Everything I've said so far is well documented. Reading the > documentation was the single best thing I did to understand how Nagios works > and you will be well served by doing the same. If you do this you'll see > that hosts are checked only when necessary and services are checked all the > time, on your schedule. > > -- > Marc > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 14:51:43 2007 From: m.borsani at it.net (Marco Borsani) Date: Fri, 16 Mar 2007 14:51:43 +0100 Subject: R: No output on check_snmp In-Reply-To: <010501c76717$ea8bd5d0$0900d40a@intranet.it.net> References: <010501c76717$ea8bd5d0$0900d40a@intranet.it.net> Message-ID: <00e501c767d2$3bb61410$0900d40a@intranet.it.net> Hi all The problem still persists only on the linux server . Running a check_snmp manually the exit status in (correctly) zero. Marco _____ Da: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto di Marco Borsani Inviato: gioved? 15 marzo 2007 16.38 A: nagios-users at lists.sourceforge.net Oggetto: [Nagios-users] No output on check_snmp Priorit?: Alta Hi all. I have migrated nagios from an hp-ux to a linux system. All run correctly, but 4 checks via snmp give me following error: (No output!) Consider than if I run check_snmp manually I receive a correct answer, like: test OK - 16257 | iso.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6=16257;;;; Any idea? Marco Borsani Technical Operation tel.: +390104310115 e-fax: +390683175950 * m.borsani at it.net ITnet S.r.l. Direzione e Coordinamento di Wind Telecomunicazioni S.p.A. Via Pacinotti, 39 16151 - Genova In ottemperanza al D. lgs 196/03 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate e sono esclusivamente indirizzate al destinatario indicato (oppure alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio erroneamente ricevuto. According to Italy?s new data protection code (Legislative Decree no. 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning privacy, the information contained in this e-mail is confidential and is intended for the addressee only. If you are not the correct recipient, please note that any use, dissemination or copy of this document/information is strictly prohibited.If you have received this message in error, you should destroy it and please notify us immediately by e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dkavraal at yahoo.com Fri Mar 16 14:05:50 2007 From: dkavraal at yahoo.com (=?ISO-8859-1?Q?Din=E7er_Kavraal?=) Date: Fri, 16 Mar 2007 15:05:50 +0200 Subject: Nagios pager alerts In-Reply-To: References: Message-ID: Hi Michael, I'd be glad to help you. That was not simply and exactly I've done. But I got the idea. So, send me further information, for instance, your escalation configuration (mostly located in /etc/escalation.cfg). Your asp page; send me a sample call for asp page. I can lead you achieve that. Din?er 2007/3/16, Michael Weiner : > > I have been googling for a bit trying to figure out the best way to > accomplish paging in an escalation situation. What i have is a webpage > written in asp that accepts a pager number and message, and what i would > like is for nagios to send the page through that web gateway. I was > originally thinking something simple, maybe curl (i.e. curl -d > "PNumber=27175&PLine1=I am down, please fix me" ) but > i > have been having some difficulty getting this to work properly. Has anyone > done anything like this? And would anyone have any suggestions? > > Thank you in advance > Michael Weiner > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Evans at arvinmeritor.com Fri Mar 16 19:26:07 2007 From: Michael.Evans at arvinmeritor.com (Evans, Michael) Date: Fri, 16 Mar 2007 14:26:07 -0400 Subject: R: No output on check_snmp Message-ID: <780AF56D73C3C641B828140B9FED34EF9B000B@TRYMSG004.na.autoedir.com> Make sure the user id running Nagios has execute permission on the plugin. Seems simple, but this just caught me putting a new plugin into production. Mike -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marco Borsani Sent: Friday, March 16, 2007 9:52 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] R: No output on check_snmp Hi all The problem still persists only on the linux server . Running a check_snmp manually the exit status in (correctly) zero. Marco _____ Da: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto di Marco Borsani Inviato: gioved? 15 marzo 2007 16.38 A: nagios-users at lists.sourceforge.net Oggetto: [Nagios-users] No output on check_snmp Priorit?: Alta Hi all. I have migrated nagios from an hp-ux to a linux system. All run correctly, but 4 checks via snmp give me following error: (No output!) Consider than if I run check_snmp manually I receive a correct answer, like: test OK - 16257 | iso.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6=16257;;;; Any idea? Marco Borsani Technical Operation tel.: +390104310115 e-fax: +390683175950 * m.borsani at it.net ITnet S.r.l. Direzione e Coordinamento di Wind Telecomunicazioni S.p.A. Via Pacinotti, 39 16151 - Genova In ottemperanza al D. lgs 196/03 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate e sono esclusivamente indirizzate al destinatario indicato (oppure alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio erroneamente ricevuto. According to Italy's new data protection code (Legislative Decree no. 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning privacy, the information contained in this e-mail is confidential and is intended for the addressee only. If you are not the correct recipient, please note that any use, dissemination or copy of this document/information is strictly prohibited.If you have received this message in error, you should destroy it and please notify us immediately by e-mail. This e-mail message and any attachments may contain legally privileged, confidential or proprietary Information, or information otherwise protected by law of ArvinMeritor, Inc., its affiliates, or third parties. This notice serves as marking of its ?Confidential? status as defined in any confidentiality agreements concerning the sender and recipient. If you are not the intended recipient(s), or the employee or agent responsible for delivery of this message to the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this e-mail message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this e-mail message from your computer. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dkavraal at yahoo.com Fri Mar 16 22:52:14 2007 From: dkavraal at yahoo.com (=?ISO-8859-1?Q?Din=E7er_Kavraal?=) Date: Fri, 16 Mar 2007 23:52:14 +0200 Subject: Nagios pager alerts In-Reply-To: References: Message-ID: Hi Michael, Put + sign instead of spaces in the query string like: /usr/bin/curl -d "PNumber=$CONTACTPAGER$&PLine1=**+$NOTIFICATIONTYPE$+alert+-+Host+$HOSTALIAS$+is+$HOSTSTATE$+**" http://intranet.ccf.org/webftd/sendpage.asp Try this one. What does it look like? :) Best Wishes, Din?er 2007/3/16, Weiner, Michael : > > Dincer - > > Actually this seems to work: > > /usr/bin/curl -d "PNumber=$CONTACTPAGER$&PLine1=** $NOTIFICATIONTYPE$ > alert - Host $HOSTALIAS$ is $HOSTSTATE$ **" > http://intranet.ccf.org/webftd/sendpage.asp > > Only problem is just the way it looks: > > **RECOVERYalert-HosthazenliisUP** > > Seems to remove/truncate all the spacing. Any ideas? > > Michael > ________________________________________ > From: nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] On Behalf Of Din?er Kavraal > Sent: Friday, March 16, 2007 9:06 AM > To: Michael Weiner > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios pager alerts > > Hi Michael, > I'd be glad to help you. That was not simply and exactly I've done. But I > got the idea. So, send me further information, for instance, your escalation > configuration (mostly located in /etc/escalation.cfg). Your asp > page; send me a sample call for asp page. > > I can lead you achieve that. > > Din?er > 2007/3/16, Michael Weiner : > I have been googling for a bit trying to figure out the best way to > accomplish paging in an escalation situation. What i have is a webpage > written in asp that accepts a pager number and message, and what i would > like is for nagios to send the page through that web gateway. I was > originally thinking something simple, maybe curl (i.e. curl -d > "PNumber=27175&PLine1=I am down, please fix me" ) but > i > have been having some difficulty getting this to work properly. Has anyone > done anything like this? And would anyone have any suggestions? > > Thank you in advance > Michael Weiner > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > =================================== > > > > > Cleveland Clinic is ranked one of the top 3 hospitals in > America by U.S.News & World Report. Visit us online at > http://www.clevelandclinic.org for a complete listing of > our services, staff and locations. > > > Confidentiality Note: This message is intended for use > only by the individual or entity to which it is addressed > and may contain information that is privileged, > confidential, and exempt from disclosure under applicable > law. If the reader of this message is not the intended > recipient or the employee or agent responsible for > delivering the message to the intended recipient, you are > hereby notified that any dissemination, distribution or > copying of this communication is strictly prohibited. If > you have received this communication in error, please > contact the sender immediately and destroy the material in > its entirety, whether electronic or hard copy. Thank you. > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Mar 16 23:03:37 2007 From: drussell at mpifix.com (Danny Russell) Date: Fri, 16 Mar 2007 16:03:37 -0600 Subject: Naigos-Plugins 1.4.6 check_by_ssh Message-ID: Everyone, I need to have check_by_ssh on my system. The current version of plugins I have installed does not have it (nagios-plugins-1.4.5-1.el4.rf). What version has that plugin in it? Thanks, Danny -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Fri Mar 16 23:31:51 2007 From: stava at telcotec.se (Lars Stavholm) Date: Fri, 16 Mar 2007 23:31:51 +0100 Subject: Naigos-Plugins 1.4.6 check_by_ssh In-Reply-To: References: Message-ID: <45FB1AD7.80803@telcotec.se> Danny Russell wrote: > Everyone, > > I need to have check_by_ssh on my system. The current > version of plugins I have installed does not have it > (nagios-plugins-1.4.5-1.el4.rf). What version has that plugin in it? It's definitely in nagios-plugins-1.4.6 (that's what I'm using:) /L ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johndoe123 at gmail.com Sat Mar 17 04:38:12 2007 From: johndoe123 at gmail.com (ffwqe efwa) Date: Fri, 16 Mar 2007 21:38:12 -0600 Subject: Checking and going critical on passive service check-in tardiness? Message-ID: <544f85b40703162038p10b810d9qab2de3c4d3cf9c2f@mail.gmail.com> All, I have various services which provide pasive results to Nagios. I want to know or assume that any service which has not checked in in over 30 minutes is tardy and crticical. I tried making it use "check_dummy 3 warning ncnet dead" with the check_freshness_ option and I can't seem to get dummy to generate any critical alerts. Can someone please provide an example of a working setup that will achieve what I'm looking for? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Mar 17 06:18:49 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Sat, 17 Mar 2007 01:18:49 -0400 Subject: Checking and going critical on passive servicecheck-in tardiness? In-Reply-To: <544f85b40703162038p10b810d9qab2de3c4d3cf9c2f@mail.gmail.com> References: <544f85b40703162038p10b810d9qab2de3c4d3cf9c2f@mail.gmail.com> Message-ID: > I have various services which provide pasive results to > Nagios. I want to know or assume that any service which has > not checked in in over 30 minutes is tardy and crticical. I > tried making it use "check_dummy 3 warning ncnet dead" with > the check_freshness_ option and I can't seem to get dummy to > generate any critical alerts. > > Can someone please provide an example of a working setup that > will achieve what I'm looking for? The return code for critical is 2. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 17 10:35:25 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 17 Mar 2007 10:35:25 +0100 (CET) Subject: [Nagiosplug-help] [Fwd: nagios 2.7 - 2.8 problem] In-Reply-To: <43681.192.168.1.1.1174052701.squirrel@webmail2.fabaris.it> References: <34885.192.168.1.1.1174035343.squirrel@webmail2.fabaris.it> <43681.192.168.1.1.1174052701.squirrel@webmail2.fabaris.it> Message-ID: On Fri, 16 Mar 2007, Di Giambelardini Gabriele wrote: >> hi to all, i have a problem with nagios 2.7.- 2.8 on redhat ES 4 >> >> the problem: >> I have a plugin that check the write access for oracle tables, if I start >> nagios without any files in /var/log/nagios the check is ok, and nagios >> understand the return code of the check, but if i stop and start nagios >> and i lounch the script by hand it go well, instead nagios don't uderstand >> the retur code and give "error database". so i must stop nagios, delete >> all file in /var/log/nagios, start again nagios and all go well. >> somebody can give me some ideas fo this problem? >> I'll send you the nagios.cfg end the plugin > > Hi to all, i success to found the exactly error.. the error is: > if i start-stop-restart nagios using "server nagios stop-start-restart" > nagios not understand any more the result of check. > if i reboot the server, and i have at te runlevel 3 S99nagios, nagios not > understand che result of check. On if i longin such a root user end then > louch /etc/init.d/nagios stop-start-restart, nagios work fine!! > some body have some ideas?? i try to set root anviroment in a script that > then lounch nagios, but nothing to do!!! I think the options you use are not valid. Also using the restart option may result in issues with duplicate processes and such. Stopping and starting services is a admin job so needs to be done as root or user with equivalent rights. For small config changes I use: service nagios reload For bigger issues I check Nagios configs at least twice and then do: service nagios stop sleep 10 service nagios start To get yourself into trouble use: service nagios restart. Untill someone puts a sleep command in the nagios service file. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.welch at gmail.com Sat Mar 17 17:46:54 2007 From: simon.welch at gmail.com (Simon Welch) Date: Sat, 17 Mar 2007 16:46:54 +0000 Subject: SMS notification with gammu Message-ID: <58af117c0703170946t1ba0dc24g7bb53066d61e6c96@mail.gmail.com> Please can someone help or point me in the direction of a log I can interrogate, I am using gammu to attempt to send sms notifications (command definition below, as detailed on gammu web site). The nagios.log reports that the notification has been sent sucessfully but the message is never received, if I run the command manually the sms is received. Any ideas? Details FC6 PPC, Gammu version 1.10.1 (compliled from source), Nagios 2.7yum repository install. define command{ command_name notify-by-sms-direct command_line /usr/bin/printf "%b" "Svc:$SERVICEDESC$ ++Host:$HOSTALIAS$ ++ Addr:$HOSTADDRESS$ ++ State:$SERVICESTATE$ ++Date:$SHORTDATETIME$" | /usr/local/bin/gammu --sendsms TEXT $CONTACTPAGER$ } Thanks in advance Simon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nene.manish at gmail.com Sat Mar 17 18:38:46 2007 From: nene.manish at gmail.com (Manish N) Date: Sat, 17 Mar 2007 23:08:46 +0530 Subject: Problem with smtp check Message-ID: Hi. I want to add the advanced smtp check such that i would try to send a mail to the remote server form our monitoring server. This is how i' planing to run a check /opt/nagios/libexec/check_smtp -H ip-address -C "EHLO test" -C "MAIL FROM: root" -C "RCPT TO: postmaster at any-domain.com " -C "DATA" -C "testing 1 2 3" -C "." -C "QUIT" however this gives me an error *** glibc detected *** realloc(): invalid next size: 0x095ed930 *** Aborted I have tested this on newer nagios plugins which also give me same error................ Can somebody tell me if anything is wrong in this and the likely solution or hint ....... Thanks Manish -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Mar 17 20:48:39 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Sat, 17 Mar 2007 15:48:39 -0400 Subject: Problem with smtp check In-Reply-To: References: Message-ID: > I want to add the advanced smtp check such that i would try > to send a mail to the remote server form our monitoring server. > > This is how i' planing to run a check > > /opt/nagios/libexec/check_smtp -H ip-address -C "EHLO test" > -C "MAIL FROM: root" -C "RCPT TO: postmaster at any-domain.com > " -C "DATA" -C "testing > 1 2 3" -C "." -C "QUIT" > > however this gives me an error > > *** glibc detected *** realloc(): invalid next size: > 0x095ed930 *** Aborted > > I have tested this on newer nagios plugins which also give me > same error................ > > Can somebody tell me if anything is wrong in this and the > likely solution or hint ....... You've apparently either got a bad plugin or a hardware problem on your Nagios server. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dkavraal at yahoo.com Sun Mar 18 04:15:38 2007 From: dkavraal at yahoo.com (=?ISO-8859-1?Q?Din=E7er_Kavraal?=) Date: Sun, 18 Mar 2007 05:15:38 +0200 Subject: SMS notification with gammu In-Reply-To: <58af117c0703170946t1ba0dc24g7bb53066d61e6c96@mail.gmail.com> References: <58af117c0703170946t1ba0dc24g7bb53066d61e6c96@mail.gmail.com> Message-ID: Hi Simon, Let Nagios to write the action into a file. This is because you should be sure that Nagios runs the command exactly as yours. There can be some exceptions (bugs, some missed escape chars, ...). Thus, see the difference. First of all, let it write into a file. For instance, change the command like, echo '/usr/bin/printf "%b" "Svc:$SERVICEDESC$ ++Host:$HOSTALIAS$ ++ Addr:$HOSTADDRESS$ ++ State:$SERVICESTATE$ ++Date:$SHORTDATETIME$" | /usr/local/bin/gammu --sendsms TEXT $CONTACTPAGER$' >> /tmp/someTempFile After you're sure a notification is done, open that temporary file and get a random line (first, last or any) then try to execute it. Result? Same? This makes difference. Waiting for your reply. Din?er 2007/3/17, Simon Welch : > > Please can someone help or point me in the direction of a log I can > interrogate, I am using gammu to attempt to send sms notifications (command > definition below, as detailed on gammu web site). The nagios.log reports > that the notification has been sent sucessfully but the message is never > received, if I run the command manually the sms is received. Any ideas? > > Details FC6 PPC, Gammu version 1.10.1 (compliled from source), Nagios 2.7yum repository install. > > define command{ > command_name notify-by-sms-direct > command_line /usr/bin/printf "%b" "Svc:$SERVICEDESC$ > ++Host:$HOSTALIAS$ ++ Addr:$HOSTADDRESS$ ++ State:$SERVICESTATE$ > ++Date:$SHORTDATETIME$" | /usr/local/bin/gammu --sendsms TEXT $CONTACTPAGER$ > > } > > Thanks in advance > > Simon > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Sun Mar 18 07:25:20 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Sun, 18 Mar 2007 01:25:20 -0500 Subject: Naigos-Plugins 1.4.6 check_by_ssh In-Reply-To: References: Message-ID: <1174199120.6085.9.camel@ingress> I would check the changelog for the nagiosplug project. ~BAS On Fri, 2007-03-16 at 16:03 -0600, Danny Russell wrote: > e check_by_ssh on my system. The current version of plugins I have > installed does not have it (nagios-plugins-1.4.5-1.el4.rf). Wh -- Brian A. Seklecki Collaborative Fusion, Inc. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mrichardson at transim.com Sun Mar 18 18:00:39 2007 From: mrichardson at transim.com (Matthew Richardson) Date: Sun, 18 Mar 2007 09:00:39 -0800 Subject: socket timeout issues with check_nt Message-ID: <7A40E1192877A84D9A04A83C54A2574204DB35@mail.transim.com> Hello, Nagios has been running fine for us for months. After a simple change to update the contact list, all check_nt checks are periodically failing with socket timeouts. I have upgraded to Nagios 2.8 and I have tried increasing the timeout to 59 seconds, but the problem is getting worse. It seems like every second or third check cycle all the check_nt checks timeout. Then later they will all recover. We are running Centos 2.8 on Centos 4.3. Thanks, Matthew -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Mar 18 18:18:05 2007 From: joseph.petrucci at wachovia.com (joseph.petrucci at wachovia.com) Date: Sun, 18 Mar 2007 13:18:05 -0400 Subject: socket timeout issues with check_nt In-Reply-To: <7A40E1192877A84D9A04A83C54A2574204DB35@mail.transim.com> References: <7A40E1192877A84D9A04A83C54A2574204DB35@mail.transim.com> Message-ID: I believe the contact list only comes into play after an alert is triggered so I cannot think of why this change would cause the problem you describe (If I am wrong please someone correct me, I am here to learn) were there any patrches that went on you machines around the same time? Joe Petrucci Cell : 724-462-0443 "Matthew Richardson" Sent by: nagios-users-bounces at lists.sourceforge.net 03/18/2007 01:00 PM To cc Subject [Nagios-users] socket timeout issues with check_nt Hello, Nagios has been running fine for us for months. After a simple change to update the contact list, all check_nt checks are periodically failing with socket timeouts. I have upgraded to Nagios 2.8 and I have tried increasing the timeout to 59 seconds, but the problem is getting worse. It seems like every second or third check cycle all the check_nt checks timeout. Then later they will all recover. We are running Centos 2.8 on Centos 4.3. Thanks, Matthew ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:NT00048972 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Sun Mar 18 21:17:30 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Sun, 18 Mar 2007 20:17:30 +0000 Subject: socket timeout issues with check_nt In-Reply-To: <7A40E1192877A84D9A04A83C54A2574204DB35@mail.transim.com> References: <7A40E1192877A84D9A04A83C54A2574204DB35@mail.transim.com> Message-ID: <765d77c80703181317u37a144d3y10c3c3f5c2d4c4d1@mail.gmail.com> On 18/03/07, Matthew Richardson wrote: > Nagios has been running fine for us for months. After a simple change to > update the contact list, all check_nt checks are periodically failing with > socket timeouts. I have upgraded to Nagios 2.8 and I have tried increasing > the timeout to 59 seconds, but the problem is getting worse. It seems like > every second or third check cycle all the check_nt checks timeout. Then > later they will all recover. I had some problems (not quite the same as yours though) after upgrading the plugins for Nagios until I remembered that for check_nt I had been using the version of check_nt from http://www.shatterit.com/nc_net/ . I had forgotten that by reinstalling the default plugins it would overwrite the shatterit version. I don't know if that will help you in your situation, but thought it worth mentioning anyway. Cheers, Jim ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 23:34:21 2007 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 19 Mar 2007 10:34:21 +1200 Subject: SMTP/IMAP/POP3 checks In-Reply-To: <1174012272.7059.69.camel@etch.hkg1.jdsedp.com> References: <1174012272.7059.69.camel@etch.hkg1.jdsedp.com> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A2983C44@UXCHANGE3.UoA.auckland.ac.nz> > I'm planning to start to use Nagios to monitor some email servers. > The idea is having Nagios sending an email using check_smtp and then > retrive it using check_tcp. > > Can those two plugins accomplish this? No, these two plugins only check for sanity on the ports and do not actually send/receive email. The way we do it here is to check all sorts of things. First, we use check_imap/check_smtp/etc to check that the ports are listening correctly. Then, we have checks for mail queue lengths on the mail servers (make sure they aren't too large as this indicates something is constipated...) Finally, I have a 5-min cronjob that injects an email into the mail system, addressed to a pseudouser on the Nagios host. This pseudouser is in fact a program which parses the email, identifies how long it took to arrive, and submits a passive service check into nagios with a status based on the delivery time. A service freshness check will set the service status to critical if no email is received for 30 mins (the critical threshold for mail delivery here). This is most likely the sort of thing you're after. The check_mail_loop plugin does similar to this but for people with a single POP mailbox - our system is bigger and so this was not appropriate for us. You sould make sure you are injecting your email into the system at a suitable place so that it does not bypass the majority of the normal mail flow, though. Steve ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike at mi5key.com Mon Mar 19 01:03:33 2007 From: mike at mi5key.com (Mike Davis) Date: Sun, 18 Mar 2007 20:03:33 -0400 Subject: Help with Nagios Looking Glass Message-ID: <45FDD355.1040109@mi5key.com> I think I have followed everything in the documentation, and have googled for a while before writing to the list. I'm using Nagios 2.8 and NLG 1.03 on Fedora 6, Apache 2.2.3. I have enabled ?debug=yes and here is the output... Attempting to contact the poller at http://xxx:xxx at xxxx.com/nagios/server/s3_poller.php?fid=0&gid=0 The poller returned a FAILURE code: The polling server feed returned a 'failure' code; the polling server said: The poller could not read all of Nagios' status files - Nagios might not be running *** S3 Client -> PingPoller() finished *** Nagios is in fact running and working well. Any information on how I can enable more verbose logging to see just where the problem is? I've been checking permissions all over and everything seems correct. Thanks in advance... Mike ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.digiambelardini at fabaris.it Mon Mar 19 10:12:22 2007 From: g.digiambelardini at fabaris.it (Di Giambelardini Gabriele) Date: Mon, 19 Mar 2007 10:12:22 +0100 (CET) Subject: [Nagiosplug-help] [Fwd: nagios 2.7 - 2.8 problem] In-Reply-To: References: <34885.192.168.1.1.1174035343.squirrel@webmail2.fabaris.it> <43681.192.168.1.1.1174052701.squirrel@webmail2.fabaris.it> Message-ID: <53928.192.168.1.1.1174295542.squirrel@webmail2.fabaris.it> Excuse me, but i dont understand your help, I should success to reboot my system and nagios shoudn't give me problem.. Now the situation is, that if i restart my server, and nagios start automatically at the boot, nagios don't go well, the same situation if i use the service command for start/stop/restart nagios.. Thanks to all for any help > On Fri, 16 Mar 2007, Di Giambelardini Gabriele wrote: > >>> hi to all, i have a problem with nagios 2.7.- 2.8 on redhat ES 4 >>> >>> the problem: >>> I have a plugin that check the write access for oracle tables, if I >>> start >>> nagios without any files in /var/log/nagios the check is ok, and nagios >>> understand the return code of the check, but if i stop and start nagios >>> and i lounch the script by hand it go well, instead nagios don't >>> uderstand >>> the retur code and give "error database". so i must stop nagios, delete >>> all file in /var/log/nagios, start again nagios and all go well. >>> somebody can give me some ideas fo this problem? >>> I'll send you the nagios.cfg end the plugin >> >> Hi to all, i success to found the exactly error.. the error is: >> if i start-stop-restart nagios using "server nagios stop-start-restart" >> nagios not understand any more the result of check. >> if i reboot the server, and i have at te runlevel 3 S99nagios, nagios >> not >> understand che result of check. On if i longin such a root user end then >> louch /etc/init.d/nagios stop-start-restart, nagios work fine!! >> some body have some ideas?? i try to set root anviroment in a script >> that >> then lounch nagios, but nothing to do!!! > > I think the options you use are not valid. > > Also using the restart option may result in issues with duplicate > processes and such. > > Stopping and starting services is a admin job so needs to be done as root > or user with equivalent rights. > > For small config changes I use: > service nagios reload > > For bigger issues I check Nagios configs at least twice and then do: > service nagios stop > sleep 10 > service nagios start > > To get yourself into trouble use: > service nagios restart. > > Untill someone puts a sleep command in the nagios service file. > > Hugo. > > -- > hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ > This message is using 100% recycled electrons. > > Some men see computers as they are and say "Windows" > I use computers with Linux and say "Why Windows?" > (Thanks JFK, for the insight.) > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > __________________________________________ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Mar 19 11:09:51 2007 From: m.borsani at it.net (Marco Borsani) Date: Mon, 19 Mar 2007 11:09:51 +0100 Subject: R: R: No output on check_snmp In-Reply-To: <780AF56D73C3C641B828140B9FED34EF9B000B@TRYMSG004.na.autoedir.com> References: <780AF56D73C3C641B828140B9FED34EF9B000B@TRYMSG004.na.autoedir.com> Message-ID: <00d801c76a0e$bc3513f0$0900d40a@intranet.it.net> Check_snmp has same permission in all systems (linux and hp-ux) On Linux -rwxr-xr-x 1 root sys 651708 Sep 15 2005 check_snmp On Hp-ux -rwxrwxrwx 1 nagios nagios 651708 Sep 15 2005 check_snmp Gave same answers ! Actually, only difference I can see are the plugin versions. On Linux check_snmp (nagios-plugins 1.4.3) 1.58 On Hp-ux check_snmp (nagios-plugins 1.4.1) 1.57 Marco _____ Da: Evans, Michael [mailto:Michael.Evans at arvinmeritor.com] Inviato: venerd? 16 marzo 2007 19.26 A: 'Marco Borsani'; nagios-users at lists.sourceforge.net Oggetto: RE: [Nagios-users] R: No output on check_snmp Make sure the user id running Nagios has execute permission on the plugin. Seems simple, but this just caught me putting a new plugin into production. Mike -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marco Borsani Sent: Friday, March 16, 2007 9:52 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] R: No output on check_snmp Hi all The problem still persists only on the linux server . Running a check_snmp manually the exit status in (correctly) zero. Marco _____ Da: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto di Marco Borsani Inviato: gioved? 15 marzo 2007 16.38 A: nagios-users at lists.sourceforge.net Oggetto: [Nagios-users] No output on check_snmp Priorit?: Alta Hi all. I have migrated nagios from an hp-ux to a linux system. All run correctly, but 4 checks via snmp give me following error: (No output!) Consider than if I run check_snmp manually I receive a correct answer, like: test OK - 16257 | iso.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6=16257;;;; Any idea? Marco Borsani Technical Operation tel.: +390104310115 e-fax: +390683175950 * m.borsani at it.net ITnet S.r.l. Direzione e Coordinamento di Wind Telecomunicazioni S.p.A. Via Pacinotti, 39 16151 - Genova In ottemperanza al D. lgs 196/03 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate e sono esclusivamente indirizzate al destinatario indicato (oppure alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio erroneamente ricevuto. According to Italy's new data protection code (Legislative Decree no. 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning privacy, the information contained in this e-mail is confidential and is intended for the addressee only. If you are not the correct recipient, please note that any use, dissemination or copy of this document/information is strictly prohibited.If you have received this message in error, you should destroy it and please notify us immediately by e-mail. This e-mail message and any attachments may contain legally privileged, confidential or proprietary Information, or information otherwise protected by law of ArvinMeritor, Inc., its affiliates, or third parties. This notice serves as marking of its ?Confidential? status as defined in any confidentiality agreements concerning the sender and recipient. If you are not the intended recipient(s), or the employee or agent responsible for delivery of this message to the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this e-mail message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this e-mail message from your computer. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luca at jewelrydesign.com.hk Mon Mar 19 11:19:12 2007 From: luca at jewelrydesign.com.hk (Luca Fornasari) Date: Mon, 19 Mar 2007 18:19:12 +0800 Subject: R: R: No output on check_snmp In-Reply-To: <00d801c76a0e$bc3513f0$0900d40a@intranet.it.net> References: <780AF56D73C3C641B828140B9FED34EF9B000B@TRYMSG004.na.autoedir.com> <00d801c76a0e$bc3513f0$0900d40a@intranet.it.net> Message-ID: <1174299552.7059.119.camel@etch.hkg1.jdsedp.com> Which user do you use to run it using the command line? Which user is nagios main process running with? Luca On Mon, 2007-03-19 at 11:09 +0100, Marco Borsani wrote: > Check_snmp has same permission in all systems (linux and hp-ux) > > > > On Linux > > -rwxr-xr-x 1 root sys 651708 Sep 15 2005 check_snmp > > On Hp-ux > > -rwxrwxrwx 1 nagios nagios 651708 Sep 15 2005 > check_snmp > > > > Gave same answers ! > > > > Actually, only difference I can see are the plugin versions. > > On Linux > > check_snmp (nagios-plugins 1.4.3) 1.58 > > On Hp-ux > > check_snmp (nagios-plugins 1.4.1) 1.57 > > > > Marco > > > > > > > > > ______________________________________________________________________ > Da: Evans, Michael [mailto:Michael.Evans at arvinmeritor.com] > Inviato: venerd? 16 marzo 2007 19.26 > A: 'Marco Borsani'; nagios-users at lists.sourceforge.net > Oggetto: RE: [Nagios-users] R: No output on check_snmp > > > > > Make sure the user id running Nagios has execute permission on the > plugin. Seems simple, but this just caught me putting a new plugin > into production. > > > > > > Mike > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Marco Borsani > Sent: Friday, March 16, 2007 9:52 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] R: No output on check_snmp > > Hi all > > > > The problem still persists only on the linux server . > > > > Running a check_snmp manually the exit status in (correctly) > zero. > > > > Marco > > > > > ______________________________________________________________ > Da:nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto > di Marco Borsani > Inviato: gioved? 15 marzo 2007 16.38 > A: nagios-users at lists.sourceforge.net > Oggetto: [Nagios-users] No output on check_snmp > Priorit?: Alta > > > > > Hi all. > > > > I have migrated nagios from an hp-ux to a linux system. > > > > All run correctly, but 4 checks via snmp give me following > error: (No output!) > > > > Consider than if I run check_snmp manually I receive a correct > answer, like: > > test OK - 16257 | > iso.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6=16257;;;; > > > > Any idea? > > > > Marco Borsani > Technical Operation > > tel.: +390104310115 > e-fax: +390683175950 > * m.borsani at it.net > > ITnet S.r.l. > Direzione e Coordinamento di Wind Telecomunicazioni S.p.A. > Via Pacinotti, 39 > 16151 - Genova > > > In ottemperanza al D. lgs 196/03 in materia di protezione dei > dati personali, le informazioni contenute in questo messaggio > sono strettamente riservate e sono esclusivamente indirizzate > al destinatario indicato (oppure alla persona responsabile di > rimetterlo al destinatario). Qualsiasi uso, riproduzione o > divulgazione di questo messaggio ? vietata. Nel caso in cui > aveste ricevuto questa mail per errore, Vi invitiamo ad > avvertire il mittente al pi? presto a mezzo posta elettronica > e distruggere il messaggio erroneamente ricevuto. > > According to Italy's new data protection code (Legislative > Decree no. 196/2003) in force on January 1st 2004, Italian Law > 196/03 concerning privacy, the information contained in this > e-mail is confidential and is intended for the addressee only. > If you are not the correct recipient, please note that any > use, dissemination or copy of this document/information is > strictly prohibited.If you have received this message in > error, you should destroy it and please notify us immediately > by e-mail. > > > > > > This e-mail message and any attachments may contain legally > privileged, confidential or proprietary Information, or information > otherwise protected by law of ArvinMeritor, Inc., its affiliates, or > third parties. This notice serves as marking of its ?Confidential? > status as defined in any confidentiality agreements concerning the > sender and recipient. If you are not the intended recipient(s), or the > employee or agent responsible for delivery of this message to the > intended recipient(s), you are hereby notified that any dissemination, > distribution or copying of this e-mail message is strictly prohibited. > If you have received this message in error, please immediately notify > the sender and delete this e-mail message from your computer. > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Mon Mar 19 11:38:47 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Mon, 19 Mar 2007 10:38:47 +0000 Subject: Help with Nagios Looking Glass In-Reply-To: <45FDD355.1040109@mi5key.com> References: <45FDD355.1040109@mi5key.com> Message-ID: <45FE6837.9000508@mailnetwork.co.uk> Hi Mike, Sorry to hear you're having trouble! The error you're getting means that NLG cannot find (or read) all of the files it needs to determine that Nagios is running, and for it to read it's status information from. The files it looks for are: - comments.dat - downtime.dat (not currently used but it still checks it anyway) - objects.cache - status.dat It looks for them by default in /usr/local/nagios/var. Someone on the list has noticed before that their "status.dat" file was actually "status.log", in which case symlinking status.dat to status.log did the trick. Please check these files exist and are readable by your webserver user. If you believe they're all intact, please reply back with the following: - the output of "ls -l /usr/local/nagios/var" (change the path to Nagios' var directory if different) - the result of "head /usr/local/nagios/var/status.dat" (run as your webserver user, change the path to Nagios' var directory if different) - the value of the ServerNagiosFiles and ServerNagiosFeed settings from your "nlg/server/s3_client.inc.php" config file Regards, Andy. Mike Davis wrote: > I think I have followed everything in the documentation, and have > googled for a while before writing to the list. I'm using Nagios 2.8 > and NLG 1.03 on Fedora 6, Apache 2.2.3. > > I have enabled ?debug=yes and here is the output... > > Attempting to contact the poller at http://xxx:xxx at xxxx.com/nagios/server/s3_poller.php?fid=0&gid=0 > > The poller returned a FAILURE code: The polling server feed returned a 'failure' code; the polling > server said: The poller could not read all of Nagios' status files - Nagios might not be running > > *** S3 Client -> PingPoller() finished *** > > > Nagios is in fact running and working well. Any information on how I > can enable more verbose logging to see just where the problem is? I've > been checking permissions all over and everything seems correct. > > Thanks in advance... > > Mike > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,45fdd3e5103001990925181! > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Mar 19 11:47:03 2007 From: m.borsani at it.net (Marco Borsani) Date: Mon, 19 Mar 2007 11:47:03 +0100 Subject: R: R: R: No output on check_snmp In-Reply-To: <1174299552.7059.119.camel@etch.hkg1.jdsedp.com> References: <780AF56D73C3C641B828140B9FED34EF9B000B@TRYMSG004.na.autoedir.com> <00d801c76a0e$bc3513f0$0900d40a@intranet.it.net> <1174299552.7059.119.camel@etch.hkg1.jdsedp.com> Message-ID: <00e901c76a13$ee4bdae0$0900d40a@intranet.it.net> Luca, I run as root or nagios user from command line, and receiving same (correct) answers like: ./check_snmp -H 151.1.XXX.YYY -o .1.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6 -C ABCDEF SNMP OK - 16788 | iso.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6=16788;;;; Marco -----Messaggio originale----- Da: Luca Fornasari [mailto:luca at jewelrydesign.com.hk] Inviato: luned? 19 marzo 2007 11.19 A: Marco Borsani Cc: 'Evans, Michael'; nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] R: R: No output on check_snmp Which user do you use to run it using the command line? Which user is nagios main process running with? Luca On Mon, 2007-03-19 at 11:09 +0100, Marco Borsani wrote: > Check_snmp has same permission in all systems (linux and hp-ux) > > > > On Linux > > -rwxr-xr-x 1 root sys 651708 Sep 15 2005 check_snmp > > On Hp-ux > > -rwxrwxrwx 1 nagios nagios 651708 Sep 15 2005 > check_snmp > > > > Gave same answers ! > > > > Actually, only difference I can see are the plugin versions. > > On Linux > > check_snmp (nagios-plugins 1.4.3) 1.58 > > On Hp-ux > > check_snmp (nagios-plugins 1.4.1) 1.57 > > > > Marco > > > > > > > > > ______________________________________________________________________ > Da: Evans, Michael [mailto:Michael.Evans at arvinmeritor.com] > Inviato: venerd? 16 marzo 2007 19.26 > A: 'Marco Borsani'; nagios-users at lists.sourceforge.net > Oggetto: RE: [Nagios-users] R: No output on check_snmp > > > > > Make sure the user id running Nagios has execute permission on the > plugin. Seems simple, but this just caught me putting a new plugin > into production. > > > > > > Mike > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Marco Borsani > Sent: Friday, March 16, 2007 9:52 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] R: No output on check_snmp > > Hi all > > > > The problem still persists only on the linux server . > > > > Running a check_snmp manually the exit status in (correctly) > zero. > > > > Marco > > > > > ______________________________________________________________ > Da:nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto > di Marco Borsani > Inviato: gioved? 15 marzo 2007 16.38 > A: nagios-users at lists.sourceforge.net > Oggetto: [Nagios-users] No output on check_snmp > Priorit?: Alta > > > > > Hi all. > > > > I have migrated nagios from an hp-ux to a linux system. > > > > All run correctly, but 4 checks via snmp give me following > error: (No output!) > > > > Consider than if I run check_snmp manually I receive a correct > answer, like: > > test OK - 16257 | > iso.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6=16257;;;; > > > > Any idea? > > > > Marco Borsani > Technical Operation > > tel.: +390104310115 > e-fax: +390683175950 > * m.borsani at it.net > > ITnet S.r.l. > Direzione e Coordinamento di Wind Telecomunicazioni S.p.A. > Via Pacinotti, 39 > 16151 - Genova > > > In ottemperanza al D. lgs 196/03 in materia di protezione dei > dati personali, le informazioni contenute in questo messaggio > sono strettamente riservate e sono esclusivamente indirizzate > al destinatario indicato (oppure alla persona responsabile di > rimetterlo al destinatario). Qualsiasi uso, riproduzione o > divulgazione di questo messaggio ? vietata. Nel caso in cui > aveste ricevuto questa mail per errore, Vi invitiamo ad > avvertire il mittente al pi? presto a mezzo posta elettronica > e distruggere il messaggio erroneamente ricevuto. > > According to Italy's new data protection code (Legislative > Decree no. 196/2003) in force on January 1st 2004, Italian Law > 196/03 concerning privacy, the information contained in this > e-mail is confidential and is intended for the addressee only. > If you are not the correct recipient, please note that any > use, dissemination or copy of this document/information is > strictly prohibited.If you have received this message in > error, you should destroy it and please notify us immediately > by e-mail. > > > > > > This e-mail message and any attachments may contain legally > privileged, confidential or proprietary Information, or information > otherwise protected by law of ArvinMeritor, Inc., its affiliates, or > third parties. This notice serves as marking of its ?Confidential? > status as defined in any confidentiality agreements concerning the > sender and recipient. If you are not the intended recipient(s), or the > employee or agent responsible for delivery of this message to the > intended recipient(s), you are hereby notified that any dissemination, > distribution or copying of this e-mail message is strictly prohibited. > If you have received this message in error, please immediately notify > the sender and delete this e-mail message from your computer. > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.blake at gmail.com Mon Mar 19 12:38:24 2007 From: rob.blake at gmail.com (Rob Blake) Date: Mon, 19 Mar 2007 11:38:24 +0000 Subject: R: R: R: No output on check_snmp In-Reply-To: <00e901c76a13$ee4bdae0$0900d40a@intranet.it.net> References: <780AF56D73C3C641B828140B9FED34EF9B000B@TRYMSG004.na.autoedir.com> <00d801c76a0e$bc3513f0$0900d40a@intranet.it.net> <1174299552.7059.119.camel@etch.hkg1.jdsedp.com> <00e901c76a13$ee4bdae0$0900d40a@intranet.it.net> Message-ID: On 3/19/07, Marco Borsani wrote: > > Luca, > > I run as root or nagios user from command line, and receiving same > (correct) > answers like: > ./check_snmp -H 151.1.XXX.YYY -o .1.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6 -C > ABCDEF > SNMP OK - 16788 | iso.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6=16788;;;; > > Marco > What's your command defintion? Does it have the correct path to the plugin? Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark0s at excite.com Mon Mar 19 13:32:38 2007 From: mark0s at excite.com (mark0s at excite.com) Date: Mon, 19 Mar 2007 08:32:38 -0400 (EDT) Subject: check_cluster2 config problem on Fedora core 6 Message-ID: <20070319123238.68F784AFC0@xprdmxin.myway.com> Hello, I forgot to mention that I'm using Fedora linux core 6 :-> Any help ? Marcos _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! -------------- next part -------------- An embedded message was scrubbed... From: unknown sender Subject: no subject Date: no date Size: 6486 URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Mar 19 13:42:50 2007 From: m.borsani at it.net (Marco Borsani) Date: Mon, 19 Mar 2007 13:42:50 +0100 Subject: R: R: R: R: No output on check_snmp In-Reply-To: References: <780AF56D73C3C641B828140B9FED34EF9B000B@TRYMSG004.na.autoedir.com> <00d801c76a0e$bc3513f0$0900d40a@intranet.it.net> <1174299552.7059.119.camel@etch.hkg1.jdsedp.com> <00e901c76a13$ee4bdae0$0900d40a@intranet.it.net> Message-ID: <010c01c76a24$1ba8c240$0900d40a@intranet.it.net> Here it is the lines regarding check_snmp: # 'check_snmp' command definition define command{ command_name check_snmp command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o $ARG1$ -C $ARG2$ } They have default path Marco _____ Da: Rob Blake [mailto:rob.blake at gmail.com] Inviato: luned? 19 marzo 2007 12.38 A: Marco Borsani Cc: Luca Fornasari; Evans, Michael; nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] R: R: R: No output on check_snmp On 3/19/07, Marco Borsani wrote: Luca, I run as root or nagios user from command line, and receiving same (correct) answers like: ./check_snmp -H 151.1.XXX.YYY -o .1.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6 -C ABCDEF SNMP OK - 16788 | iso.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6=16788 ;;;; Marco What's your command defintion? Does it have the correct path to the plugin? Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From weinerm at ccf.org Mon Mar 19 14:45:40 2007 From: weinerm at ccf.org (Weiner, Michael) Date: Mon, 19 Mar 2007 09:45:40 -0400 Subject: Help with Nagios Looking Glass In-Reply-To: <45FDD355.1040109@mi5key.com> References: <45FDD355.1040109@mi5key.com> Message-ID: -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mike Davis Sent: Sunday, March 18, 2007 8:04 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Help with Nagios Looking Glass I think I have followed everything in the documentation, and have googled for a while before writing to the list. I'm using Nagios 2.8 and NLG 1.03 on Fedora 6, Apache 2.2.3. I have enabled ?debug=yes and here is the output... Attempting to contact the poller at http://xxx:xxx at xxxx.com/nagios/server/s3_poller.php?fid=0&gid=0 The poller returned a FAILURE code: The polling server feed returned a 'failure' code; the polling server said: The poller could not read all of Nagios' status files - Nagios might not be running *** S3 Client -> PingPoller() finished *** Nagios is in fact running and working well. Any information on how I can enable more verbose logging to see just where the problem is? I've been checking permissions all over and everything seems correct. Thanks in advance... -- Mike I JUST installed this on an exact system setup that you described, and had similar trouble until I changed two things ... In the /usr/share/nagios/server/sync-files/s3_config.inc.php change the 'ServerNagiosFeed' path to Nagios' var directory to /var/log/nagios/ that should allow NLG to see the appropriate files. That's really the only change I would suggest, other than that and perms on the /index/ directory should be apache:apache or whatever UID/GID you have your webserver running as. If you need more help, please do not hesitate to email me on or off list. HTH Michael Weiner =================================== Cleveland Clinic is ranked one of the top 3 hospitals in America by U.S.News & World Report. Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. Thank you. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guillaume.renard at gmail.com Mon Mar 19 14:49:49 2007 From: guillaume.renard at gmail.com (Guillaume RENARD) Date: Mon, 19 Mar 2007 14:49:49 +0100 Subject: Headers and footers on Nagios In-Reply-To: <7b5ba3cd0607171002m5915aab6leaa90454a3bfc1ae@mail.gmail.com> References: <7b5ba3cd0607171002m5915aab6leaa90454a3bfc1ae@mail.gmail.com> Message-ID: <762a4f900703190649g60c264as8c93af37a35082a4@mail.gmail.com> Hello, I am using nagios 2.8 and I can't include the header, my header is just a logo (a picture) and
I have created two files : common-footer.ssi and common-header.ssi with the permission 755 in the directory /usr/local/nagios/share/ssi but nothing happen ... Do you have any solution ? On 7/17/06, Miguel Fernandes wrote: > > I don't know if I have to activate an option on cgi.cfg, but I couldn't > find one. The thing is it isn't including the header. I checked the logs > in case it was an error but there's no information about it. Anybody has > worked with headers? Thanks in advance! > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Guillaume RENARD http://glmrenard.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Mar 19 17:09:11 2007 From: m.borsani at it.net (Marco Borsani) Date: Mon, 19 Mar 2007 17:09:11 +0100 Subject: R: R: R: R: R: No output on check_snmp In-Reply-To: <010c01c76a24$1ba8c240$0900d40a@intranet.it.net> References: <780AF56D73C3C641B828140B9FED34EF9B000B@TRYMSG004.na.autoedir.com><00d801c76a0e$bc3513f0$0900d40a@intranet.it.net><1174299552.7059.119.camel@etch.hkg1.jdsedp.com><00e901c76a13$ee4bdae0$0900d40a@intranet.it.net> <010c01c76a24$1ba8c240$0900d40a@intranet.it.net> Message-ID: <018f01c76a40$eed27690$0900d40a@intranet.it.net> Hi all The problem could be the pipe ?|? in the return code of the command check_snmp .. OK ? 18582 | iso.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6=18582 What can I do not understand is WHY before, the pipe ?|? was read and processed by nagios without any problem ?!?!? Is it a new features/bug for release 1.4.3 ? Marco _____ Da: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto di Marco Borsani Inviato: luned? 19 marzo 2007 13.43 A: 'Rob Blake' Cc: 'Evans, Michael'; nagios-users at lists.sourceforge.net Oggetto: [Nagios-users] R: R: R: R: No output on check_snmp Here it is the lines regarding check_snmp: # 'check_snmp' command definition define command{ command_name check_snmp command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o $ARG1$ -C $ARG2$ } They have default path Marco _____ Da: Rob Blake [mailto:rob.blake at gmail.com] Inviato: luned? 19 marzo 2007 12.38 A: Marco Borsani Cc: Luca Fornasari; Evans, Michael; nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] R: R: R: No output on check_snmp On 3/19/07, Marco Borsani wrote: Luca, I run as root or nagios user from command line, and receiving same (correct) answers like: ./check_snmp -H 151.1.XXX.YYY -o .1.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6 -C ABCDEF SNMP OK - 16788 | iso.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6=16788 ;;;; Marco What's your command defintion? Does it have the correct path to the plugin? Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.blake at gmail.com Mon Mar 19 17:25:59 2007 From: rob.blake at gmail.com (Rob Blake) Date: Mon, 19 Mar 2007 16:25:59 +0000 Subject: R: R: R: R: R: No output on check_snmp In-Reply-To: <018f01c76a40$eed27690$0900d40a@intranet.it.net> References: <780AF56D73C3C641B828140B9FED34EF9B000B@TRYMSG004.na.autoedir.com> <00d801c76a0e$bc3513f0$0900d40a@intranet.it.net> <1174299552.7059.119.camel@etch.hkg1.jdsedp.com> <00e901c76a13$ee4bdae0$0900d40a@intranet.it.net> <010c01c76a24$1ba8c240$0900d40a@intranet.it.net> <018f01c76a40$eed27690$0900d40a@intranet.it.net> Message-ID: On 3/19/07, Marco Borsani wrote: > > Hi all > > > > The problem could be the pipe "|" in the return code of the command > check_snmp .. > > > > OK ? 18582* |* * *iso.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6=18582 > > > > What can I do not understand is WHY before, the pipe "|" was read and > processed by nagios without any problem ?!?!? > > > > Is it a new features/bug for release 1.4.3 ? > > > > Marco > The pipe is not the problem. The pipe in the output of the plugin is the delimeter for the plugin output and the plugin perfdata. This is a normal feature of most Nagios plugins. The problem is that Nagios cannot execute the plugin, so I would guess that you have a configuration error somewhere or a permissions issue. The command definition you posted earlier seems ok, but can you post an example service definition. What does ls -l in the $USER1$ macro directory show? Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Mar 19 17:33:17 2007 From: m.borsani at it.net (Marco Borsani) Date: Mon, 19 Mar 2007 17:33:17 +0100 Subject: R: R: R: R: R: R: No output on check_snmp In-Reply-To: References: <780AF56D73C3C641B828140B9FED34EF9B000B@TRYMSG004.na.autoedir.com> <00d801c76a0e$bc3513f0$0900d40a@intranet.it.net> <1174299552.7059.119.camel@etch.hkg1.jdsedp.com> <00e901c76a13$ee4bdae0$0900d40a@intranet.it.net> <010c01c76a24$1ba8c240$0900d40a@intranet.it.net> <018f01c76a40$eed27690$0900d40a@intranet.it.net> Message-ID: <019d01c76a44$4cd709b0$0900d40a@intranet.it.net> Here it is my /usr/local/nagios/libexec directory -rwxr-xr-x 1 root root 169665 5 dic 15:44 check_apt -rwxr-xr-x 1 root root 2274 5 dic 15:44 check_breeze -rwxr-xr-x 1 root root 55863 5 dic 15:44 check_by_ssh -rwxr-xr-x 1 root root 3554 6 dic 16:58 check_cisco_cpu.sh lrwxrwxrwx 1 root root 9 5 dic 15:44 check_clamd -> check_tcp -r-sr-x--- 1 root root 55630 5 dic 15:44 check_dhcp -rwxr-xr-x 1 root root 52869 5 dic 15:44 check_dig -rwxr-xr-x 1 root root 71527 5 dic 15:44 check_disk -rwxr-xr-x 1 root root 8168 5 dic 15:44 check_disk_smb -rwxr-xr-x 1 root root 57516 5 dic 15:44 check_dns -rwxr-xr-x 1 root root 30387 5 dic 15:44 check_dummy -rwxr-xr-x 1 root root 914 6 dic 16:58 check_fax -rwxr-xr-x 1 root root 634 6 dic 16:58 check_fax.orig -rwxr-xr-x 1 root root 3233 5 dic 15:44 check_file_age -rwxr-xr-x 1 root root 6400 5 dic 15:44 check_flexlm -rwxr-xr-x 1 root root 55545 5 dic 15:44 check_fping lrwxrwxrwx 1 root root 9 5 dic 15:44 check_ftp -> check_tcp -rwxr-xr-x 1 root root 53467 5 dic 15:44 check_hpjd -rwxr-xr-x 1 root root 231588 5 dic 15:44 check_http -r-sr-x--- 1 root root 62747 5 dic 15:44 check_icmp -rwxr-xr-x 1 root root 15292 5 dic 15:44 check_ifoperstatus -rwxr-xr-x 1 root root 12858 5 dic 15:44 check_ifstatus lrwxrwxrwx 1 root root 9 5 dic 15:44 check_imap -> check_tcp -rwxr-xr-x 1 root root 7437 5 dic 15:44 check_ircd lrwxrwxrwx 1 root root 9 5 dic 15:44 check_jabber -> check_tcp -rwxr-xr-x 1 root root 46745 5 dic 15:44 check_ldap lrwxrwxrwx 1 root root 10 5 dic 15:44 check_ldaps -> check_ldap -rwxr-xr-x 1 root root 42272 5 dic 15:44 check_load -rwxr-xr-x 1 root root 6043 5 dic 15:44 check_log -rwxr-xr-x 1 root root 20369 5 dic 15:44 check_mailq -rwxr-xr-x 1 root root 39672 5 dic 15:44 check_mrtg -rwxr-xr-x 1 root root 38056 5 dic 15:44 check_mrtgtraf -rwxr-xr-x 1 root root 44551 5 dic 15:44 check_nagios lrwxrwxrwx 1 root root 9 5 dic 15:44 check_nntp -> check_tcp lrwxrwxrwx 1 root root 9 5 dic 15:44 check_nntps -> check_tcp -rwxr-xr-x 1 root root 22612 7 dic 12:29 check_nrpe -rwxr-xr-x 1 root root 55959 5 dic 15:44 check_nt -rwxr-xr-x 1 root root 56673 5 dic 15:44 check_ntp -rwxr-xr-x 1 root root 75677 5 dic 15:44 check_nwstat -rwxr-xr-x 1 root root 8325 5 dic 15:44 check_oracle -rwxr-xr-x 1 root root 48899 5 dic 15:44 check_overcr -rwxr-xr-x 1 root root 60509 5 dic 15:44 check_ping lrwxrwxrwx 1 root root 9 5 dic 15:44 check_pop -> check_tcp -rwxr-xr-x 1 root root 58638 5 dic 15:44 check_procs -rwxr-xr-x 1 root root 46877 5 dic 15:44 check_real -rwxr-xr-x 1 root root 9712 5 dic 15:44 check_rpc -rwxr-xr-x 1 root root 1176 5 dic 15:44 check_sensors lrwxrwxrwx 1 root root 9 5 dic 15:44 check_simap -> check_tcp -rwxr-xr-x 1 root root 206061 5 dic 15:44 check_smtp -rwxr-xr-x 1 root root 189734 5 dic 15:44 check_snmp lrwxrwxrwx 1 root root 9 5 dic 15:44 check_spop -> check_tcp -rwxr-xr-x 1 root root 43397 5 dic 15:44 check_ssh lrwxrwxrwx 1 root root 9 5 dic 15:44 check_ssmtp -> check_tcp -rwxr-xr-x 1 root root 46511 5 dic 15:44 check_swap -rwxr-xr-x 1 root root 81479 5 dic 15:44 check_tcp -rwxr-xr-x 1 root root 47000 5 dic 15:44 check_time lrwxrwxrwx 1 root root 9 5 dic 15:44 check_udp -> check_tcp -rwxr-xr-x 1 root root 54033 5 dic 15:44 check_ups -rwxr-xr-x 1 root root 41590 5 dic 15:44 check_users -rwxr-xr-x 1 root root 3024 5 dic 15:44 check_wave -rwxr-xr-x 1 root root 41966 5 dic 15:44 negate -rwxr-xr-x 1 root root 41267 5 dic 15:44 urlize -rwxr-xr-x 1 root root 2069 5 dic 15:44 utils.pm -rwxr-xr-x 1 root root 860 5 dic 15:44 utils.sh Marco _____ Da: Rob Blake [mailto:rob.blake at gmail.com] Inviato: luned? 19 marzo 2007 17.26 A: Marco Borsani Cc: nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] R: R: R: R: R: No output on check_snmp On 3/19/07, Marco Borsani wrote: Hi all The problem could be the pipe "|" in the return code of the command check_snmp .. OK ? 18582 | iso.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6=18582 What can I do not understand is WHY before, the pipe "|" was read and processed by nagios without any problem ?!?!? Is it a new features/bug for release 1.4.3 ? Marco The pipe is not the problem. The pipe in the output of the plugin is the delimeter for the plugin output and the plugin perfdata. This is a normal feature of most Nagios plugins. The problem is that Nagios cannot execute the plugin, so I would guess that you have a configuration error somewhere or a permissions issue. The command definition you posted earlier seems ok, but can you post an example service definition. What does ls -l in the $USER1$ macro directory show? Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike at mi5key.com Mon Mar 19 18:02:40 2007 From: mike at mi5key.com (Mike Davis) Date: Mon, 19 Mar 2007 13:02:40 -0400 Subject: Help with Nagios Looking Glass In-Reply-To: <45FE6837.9000508@mailnetwork.co.uk> References: <45FDD355.1040109@mi5key.com> <45FE6837.9000508@mailnetwork.co.uk> Message-ID: <45FEC230.9020309@mi5key.com> Thanks Andy, that was it, it's all fixed. Nice piece of software! Andy Shellam wrote: > Hi Mike, > > Sorry to hear you're having trouble! > The error you're getting means that NLG cannot find (or read) all of > the files it needs to determine that Nagios is running, and for it to > read it's status information from. > > The files it looks for are: > > - comments.dat > - downtime.dat (not currently used but it still checks it anyway) > - objects.cache > - status.dat > > It looks for them by default in /usr/local/nagios/var. > Someone on the list has noticed before that their "status.dat" file > was actually "status.log", in which case symlinking status.dat to > status.log did the trick. > > Please check these files exist and are readable by your webserver user. > If you believe they're all intact, please reply back with the following: > > - the output of "ls -l /usr/local/nagios/var" (change the path to > Nagios' var directory if different) > - the result of "head /usr/local/nagios/var/status.dat" (run as your > webserver user, change the path to Nagios' var directory if different) > - the value of the ServerNagiosFiles and ServerNagiosFeed settings > from your "nlg/server/s3_client.inc.php" config file > > Regards, > > Andy. > > > Mike Davis wrote: >> I think I have followed everything in the documentation, and have >> googled for a while before writing to the list. I'm using Nagios 2.8 >> and NLG 1.03 on Fedora 6, Apache 2.2.3. >> >> I have enabled ?debug=yes and here is the output... >> >> Attempting to contact the poller at >> http://xxx:xxx at xxxx.com/nagios/server/s3_poller.php?fid=0&gid=0 >> >> The poller returned a FAILURE code: The polling server feed returned >> a 'failure' code; the polling server said: The poller could not read >> all of Nagios' status files - Nagios might not be running >> >> *** S3 Client -> PingPoller() finished *** >> >> >> Nagios is in fact running and working well. Any information on how I >> can enable more verbose logging to see just where the problem is? >> I've been checking permissions all over and everything seems correct. >> >> Thanks in advance... >> >> Mike >> >> ------------------------------------------------------------------------- >> >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null >> >> !DSPAM:37,45fdd3e5103001990925181! >> >> >> > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike at mi5key.com Mon Mar 19 21:04:44 2007 From: mike at mi5key.com (Mike Davis) Date: Mon, 19 Mar 2007 16:04:44 -0400 Subject: Help with Looking Glass PHP Parse Error Message-ID: <45FEECDC.80704@mi5key.com> I have a new issue that's a bit confusing... I am getting this when I try and load the first page... *Parse error*: parse error in */usr/share/nagios/share/client/s3_client.php* on line *327 // all OK so far, now need to decrypt and deserialize the class data and check it is a valid class $NLGPoller = unserialize(base64_decode($PollerFeed[4])); 327 >>if ($NLGPoller instanceof S3_NagiosPoller) { if (defined("DEBUG_REQUIRED")) {echo "All data received and decrypted OK\n\n";}; $PollerObject = $NLGPoller; unset($NLGPoller); unset($PollerFeed); unset($PollerFeedRaw); return true; Any info on how to debug this? * ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From red.kryptonite at gmail.com Mon Mar 19 21:24:41 2007 From: red.kryptonite at gmail.com (Ben Rosenberg) Date: Mon, 19 Mar 2007 15:24:41 -0500 Subject: RE export configs from Nagios 1.1 to 2.7. In-Reply-To: References: Message-ID: I'm not a PHP guru, so I'm not sure what this out put means. Could you hip me to how you used the object_config_fix script to convert your 1.x cfg files to 2.x cfg files? - Ben 3:22PM brosenbe at direwolf:~/Desktop/convert/ > php object_config_fix.php Warning: Invalid argument supplied for foreach() in /home/brosenbe/Desktop/convert/object_config_fix.php on line 124 ################################################################ No host objects configured (somethings very wrong with that) Exiting to prevent configuration damage ################################################################ zsh: exit 1 php object_config_fix.php On 3/15/07, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Cyrille Bollu > > Sent: Thursday, March 15, 2007 11:57 AM > > To: abid dar > > Cc: nagios-users-bounces at lists.sourceforge.net; Nagios- > > users at lists.sourceforge.net > > Subject: [Nagios-users] RE export configs from Nagios 1.1 to 2.7. > > > > > > I'm a newbie but I think Nagios 1.x's config is not compatible with > Nagios > > 2.x's one. > > They mostly are. The OP can read the What's New docco and make the > changes manually. I found the object_config_fix program that Andreas > wrote at http://oss.op5.se/nagios/ to be useful in my conversion. > > -- > Marc > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Faith is the truth of passion. Since no passion is more true than another, faith is the truth of nothing. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrickm at garlic.com Mon Mar 19 21:47:52 2007 From: patrickm at garlic.com (Patrick - South Valley Internet) Date: Mon, 19 Mar 2007 13:47:52 -0700 Subject: Adding "information" to certain services Message-ID: <45FEF6F8.5090901@garlic.com> Hello, We're migrating from our old monitoring system, Big Brother (VERY old version) to Nagios, and one of the things we would like to see port over to our Nagios install is the ability to view information, or documentation on certain hosts. For example, we're monitoring our ds3 connection, and in case of an emergency, we would like to have somewhere inside Nagios that would tell us the emergency number for our provider, any reference #'s we need to provide, etc. Is this a possibility in Nagios? Thanks in advance. Patrick ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at profitability.net Mon Mar 19 21:55:45 2007 From: andrew at profitability.net (Andrew Cruse) Date: Mon, 19 Mar 2007 16:55:45 -0400 Subject: Adding "information" to certain services In-Reply-To: <45FEF6F8.5090901@garlic.com> References: <45FEF6F8.5090901@garlic.com> Message-ID: <035e01c76a68$f7388d10$3900a8c0@andrew2> Patrick - South Valley Internet wrote: > Hello, > > We're migrating from our old monitoring system, Big Brother (VERY old > version) to Nagios, and one of the things we would like to see port > over to our Nagios install is the ability to view information, or > documentation on certain hosts. For example, we're monitoring our > ds3 connection, and in case of an emergency, we would like to have > somewhere inside Nagios that would tell us the emergency number for > our provider, any reference #'s we need to provide, etc. > > Is this a possibility in Nagios? > Two ways spring immediately to mind. First, you can attach notes to a host or service that appear when you click on the host or service. It's nice for quick notes, but doesn't offer much in the way of organization. Second, using host or service extended info feature, you can include an icon and link that appears in the status screens. Clicking the icon will take you to the URL of your choice, which can of course contain whatever you need. I maintain a "website" for each host which is populated with any relevant info for that particular host. Andrew ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Mon Mar 19 23:14:39 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Mon, 19 Mar 2007 22:14:39 +0000 Subject: Help with Looking Glass PHP Parse Error In-Reply-To: <45FEECDC.80704@mi5key.com> References: <45FEECDC.80704@mi5key.com> Message-ID: <45FF0B4F.2090006@mailnetwork.co.uk> Hi Mike, It looks like you're using a version of PHP less than 5 (e.g. PHP 4.x). The instanceof operator was introduced in PHP 5. NLG's object-oriented programming model does not work with PHP 4. Providing no other applications on your box depend on PHP 4, I'd recommend upgrading to the latest 5.2 release of PHP. Andy. Mike Davis wrote: > I have a new issue that's a bit confusing... I am getting this when I > try and load the first page... > > *Parse error*: parse error in > */usr/share/nagios/share/client/s3_client.php* on line *327 > > // all OK so far, now need to decrypt and deserialize the class > data and check it is a valid class > $NLGPoller = unserialize(base64_decode($PollerFeed[4])); > 327 >>if ($NLGPoller instanceof S3_NagiosPoller) > { > if (defined("DEBUG_REQUIRED")) {echo "All data received > and decrypted OK\n\n";}; > > $PollerObject = $NLGPoller; > unset($NLGPoller); > unset($PollerFeed); > unset($PollerFeedRaw); > return true; > > Any info on how to debug this? > * > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,45feed00103001866520864! > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From madlists at teaparty.net Tue Mar 20 09:51:13 2007 From: madlists at teaparty.net (Tom Yates) Date: Tue, 20 Mar 2007 08:51:13 +0000 (GMT) Subject: scheduling downtime from cron Message-ID: is there any way to schedule NAGIOS downtime from the shell? we'd quite like to have a regular maintenance window for a service, and if we could arrange that from cron, our lives would be improved. thanks for any light anyone can shed. -- Tom Yates - http://www.teaparty.net ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.blake at gmail.com Tue Mar 20 10:31:09 2007 From: rob.blake at gmail.com (Rob Blake) Date: Tue, 20 Mar 2007 09:31:09 +0000 Subject: scheduling downtime from cron In-Reply-To: References: Message-ID: On 3/20/07, Tom Yates wrote: > > is there any way to schedule NAGIOS downtime from the shell? we'd quite > like to have a regular maintenance window for a service, and if we could > arrange that from cron, our lives would be improved. > > thanks for any light anyone can shed. > > Yep, you want to make use of the external command file in Nagios. With the external command file there are numerous commands that you can submit into Nagios from external sources (hence the name). You could simply put together a small shell script that submits the command to enable downtime on a host at the beginning of your scheduled downtime, and then when everything is finished have cron submit another command to re-enabled the host/service. For a full list of the commands that you can submit visit this page: http://www.nagios.org/developerinfo/externalcommands/commandlist.php I think the one most pertinent to what you are trying to achieve would be SCHEDULE_SVC_DOWNTIME or maybe SCHEDULE_HOST_SVC_DOWNTIME. cheers Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.blake at gmail.com Tue Mar 20 10:36:36 2007 From: rob.blake at gmail.com (Rob Blake) Date: Tue, 20 Mar 2007 09:36:36 +0000 Subject: RE export configs from Nagios 1.1 to 2.7. In-Reply-To: References: Message-ID: On 3/19/07, Ben Rosenberg wrote: > > I'm not a PHP guru, so I'm not sure what this out put means. Could you > hip me to how you used the object_config_fix script to convert your > 1.x cfg files to 2.x cfg files? > > - Ben > > 3:22PM brosenbe at direwolf:~/Desktop/convert/ > php object_config_fix.php > > Warning: Invalid argument supplied for foreach() in > /home/brosenbe/Desktop/convert/object_config_fix.php on line 124 > > > > ################################################################ > No host objects configured (somethings very wrong with that) > Exiting to prevent configuration damage > ################################################################ > > > zsh: exit 1 php object_config_fix.php > > On 3/15/07, Marc Powell wrote: > Just looking at the source, you need to supply your main configuration file as a command line argument, so I would guess something like php object_config_fix.php /usr/local/nagios/etc/nagios.cfg Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From termx23 at gmail.com Tue Mar 20 11:30:00 2007 From: termx23 at gmail.com (Peter Edmonds) Date: Tue, 20 Mar 2007 21:30:00 +1100 Subject: Cool resource macro use Message-ID: <6b8cee7e0703200330o43750514p7203ed40f33305a4@mail.gmail.com> Thought I'd share this cool use of a resource macro as it solved a recent problem trying to use the check_http plugin. I needed to check a web page for today's date in the format YYYYMMDD - tried passing $(date -d "today" +%Y%m%d) to check_http using the -s switch, but Nagios kept eating some portion of the date output. I then set the $USER$31 resource macro to $(date -d "today" +%Y%m%d) then passed the $USER31$ macro to check_http -s $USER31$ Bingo ! The date command formats today's date correctly and then passes it to check_http. Another victory for the flexibility of Nagios. Oh, you can do stuff like $(date -d "-1 day" +%Y%m%d) too. I am curious as to what else could be achieved with resource macros (especially shell arithmetic). Anyone got examples of resource macro usage ? Peter ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue Mar 20 11:43:47 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 20 Mar 2007 10:43:47 +0000 Subject: scheduling downtime from cron In-Reply-To: References: Message-ID: <765d77c80703200343h65ff6d46le21ffe1a172763c6@mail.gmail.com> On 20/03/07, Tom Yates wrote: > is there any way to schedule NAGIOS downtime from the shell? we'd quite > like to have a regular maintenance window for a service, and if we could > arrange that from cron, our lives would be improved. There are various scripts and utilities you can try at http://www.nagiosexchange.org in Categories / Add on Projects / Downtimes. The one I use is the PHP one by aaronsegura; it has a really friendly syntax for specifying begin and end date/times. hth, Jim ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From madlists at teaparty.net Tue Mar 20 11:45:38 2007 From: madlists at teaparty.net (Tom Yates) Date: Tue, 20 Mar 2007 10:45:38 +0000 (GMT) Subject: scheduling downtime from cron In-Reply-To: References: Message-ID: On Tue, 20 Mar 2007, Rob Blake wrote: > Yep, you want to make use of the external command file in Nagios. With > the external command file there are numerous commands that you can > submit into Nagios from external sources (hence the name). You could > simply put together a small shell script that submits the command to > enable downtime on a host at the beginning of your scheduled downtime, > and then when everything is finished have cron submit another command to > re-enabled the host/service. fantastic - that's exactly what i want. thank you! -- Tom Yates - http://www.teaparty.net ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike at mi5key.com Tue Mar 20 14:26:08 2007 From: mike at mi5key.com (Mike Davis) Date: Tue, 20 Mar 2007 09:26:08 -0400 Subject: Help with Looking Glass PHP Parse Error In-Reply-To: <45FF0B4F.2090006@mailnetwork.co.uk> References: <45FEECDC.80704@mi5key.com> <45FF0B4F.2090006@mailnetwork.co.uk> Message-ID: <45FFE0F0.4020602@mi5key.com> That was it, thanks! (I love the simple fixes ;) Andy Shellam wrote: > Hi Mike, > > It looks like you're using a version of PHP less than 5 (e.g. PHP 4.x). > The instanceof operator was introduced in PHP 5. NLG's > object-oriented programming model does not work with PHP 4. > > Providing no other applications on your box depend on PHP 4, I'd > recommend upgrading to the latest 5.2 release of PHP. > > Andy. > > Mike Davis wrote: >> I have a new issue that's a bit confusing... I am getting this when I >> try and load the first page... >> >> *Parse error*: parse error in >> */usr/share/nagios/share/client/s3_client.php* on line *327 >> >> // all OK so far, now need to decrypt and deserialize the >> class data and check it is a valid class >> $NLGPoller = unserialize(base64_decode($PollerFeed[4])); >> 327 >>if ($NLGPoller instanceof S3_NagiosPoller) >> { >> if (defined("DEBUG_REQUIRED")) {echo "All data >> received and decrypted OK\n\n";}; >> >> $PollerObject = $NLGPoller; >> unset($NLGPoller); >> unset($PollerFeed); >> unset($PollerFeedRaw); >> return true; >> >> Any info on how to debug this? >> * >> >> ------------------------------------------------------------------------- >> >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null >> >> !DSPAM:37,45feed00103001866520864! >> >> >> > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ingabireg at terracom.rw Tue Mar 20 15:31:02 2007 From: ingabireg at terracom.rw (grace ingabire) Date: Tue, 20 Mar 2007 16:31:02 +0200 Subject: nagios issue Message-ID: Hello, I have configured nagios on our server but nagios is giving wrong information that is it sends a notification saying that a device is down although the host is up and running. I think this is related to plugins issue. Has any one experienced the same issue? Or any link where I can find info related t this. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noc at smartterra.de Tue Mar 20 15:39:52 2007 From: noc at smartterra.de (Falk Brockerhoff) Date: Tue, 20 Mar 2007 15:39:52 +0100 Subject: check_nagios and system log Message-ID: <45FFF238.6060509@smartterra.de> Hi, I'm running two Nagios-Boxes which should monitor themselves. Server A monitors Server B and viceversa. I'm using check_nagios, executed remote via ssh. This setup works fine, check_nagios looks for one or more running nagios processes and for an entry in the system log not older than 5 minutes. This is a perfect solution to monitor if nagios is still working correctly - almost. Nagios only logs if there is an issue with a monitored service or an user action. But in a perfect world there isn't any entry.. ok, in my world there is an entry, but not every five minutes. So check_nagios reports "NAGIOS WARNING: 1 process, status log updated 1379 seconds ago". Is there an option to enable a "I'm still alive!"-entry in the logfile each minute or so? Or is there a more gentle way to monitor if nagios is working fine? Regards, Falk ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chiel at gmx.net Tue Mar 20 15:57:24 2007 From: chiel at gmx.net (chiel) Date: Tue, 20 Mar 2007 15:57:24 +0100 Subject: check_nagios and system log References: <45FFF238.6060509@smartterra.de> Message-ID: <000c01c76b00$11d5ba20$700010ac@michiel> check_nagios -e 5 -F /usr/local/nagios/var/nagios.log -C /usr/local/nagios/bin/nagios -e, --expires=INTEGER Minutes aging after which logfile is considered stale Just raise -e ----- Original Message ----- From: "Falk Brockerhoff" To: Sent: Tuesday, March 20, 2007 3:39 PM Subject: [Nagios-users] check_nagios and system log > Hi, > > I'm running two Nagios-Boxes which should monitor themselves. Server A > monitors Server B and viceversa. I'm using check_nagios, executed remote > via ssh. This setup works fine, check_nagios looks for one or more > running nagios processes and for an entry in the system log not older > than 5 minutes. > > This is a perfect solution to monitor if nagios is still working > correctly - almost. Nagios only logs if there is an issue with a > monitored service or an user action. But in a perfect world there isn't > any entry.. ok, in my world there is an entry, but not every five > minutes. So check_nagios reports "NAGIOS WARNING: 1 process, status log > updated 1379 seconds ago". > > Is there an option to enable a "I'm still alive!"-entry in the logfile > each minute or so? Or is there a more gentle way to monitor if nagios is > working fine? > > Regards, > > Falk > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Mar 20 16:04:19 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 20 Mar 2007 11:04:19 -0400 Subject: nagios issue In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of grace ingabire > Sent: Tuesday, March 20, 2007 7:31 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios issue > > I have configured nagios on our server but nagios is giving > wrong information that is it sends a notification saying that > a device is down although the host is up and running. > > I think this is related to plugins issue. > > Has any one experienced the same issue? Or any link where I > can find info related t this. Without any information at all about your Nagios setup or what notifications you are receiving, it's really not possible to say what the problem might be. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Mar 20 16:05:58 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 20 Mar 2007 11:05:58 -0400 Subject: check_nagios and system log In-Reply-To: <45FFF238.6060509@smartterra.de> References: <45FFF238.6060509@smartterra.de> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Falk Brockerhoff > Sent: Tuesday, March 20, 2007 7:40 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_nagios and system log > > I'm running two Nagios-Boxes which should monitor themselves. > Server A monitors Server B and viceversa. I'm using > check_nagios, executed remote via ssh. This setup works fine, > check_nagios looks for one or more running nagios processes > and for an entry in the system log not older than 5 minutes. > > This is a perfect solution to monitor if nagios is still > working correctly - almost. Nagios only logs if there is an > issue with a monitored service or an user action. But in a > perfect world there isn't any entry.. ok, in my world there > is an entry, but not every five minutes. So check_nagios > reports "NAGIOS WARNING: 1 process, status log updated 1379 > seconds ago". > > Is there an option to enable a "I'm still alive!"-entry in > the logfile each minute or so? Or is there a more gentle way > to monitor if nagios is working fine? You can increase the time, as has been mentioned, or submit an external command via a cron job that will cause an event to be logged. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.digiambelardini at fabaris.it Tue Mar 20 16:47:57 2007 From: g.digiambelardini at fabaris.it (Di Giambelardini Gabriele) Date: Tue, 20 Mar 2007 16:47:57 +0100 (CET) Subject: problem start nagios In-Reply-To: <43681.192.168.1.1.1174052701.squirrel@webmail2.fabaris.it> References: <34885.192.168.1.1.1174035343.squirrel@webmail2.fabaris.it> <43681.192.168.1.1.1174052701.squirrel@webmail2.fabaris.it> Message-ID: <57206.192.168.1.1.1174405677.squirrel@webmail2.fabaris.it> hi to all, i have nagios 2.8 installed on an redhat es 4. the problem is: some check work fine, only if i start nagios after login my server and i type /etc/init.d/nagios start/stop/restart. instead if i type che command service nagios start/stop/restart these check don't go... a the same time if nagios start at the boot when i reboot my server. some body can help me??? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noc at smartterra.de Tue Mar 20 17:38:28 2007 From: noc at smartterra.de (Falk Brockerhoff) Date: Tue, 20 Mar 2007 17:38:28 +0100 Subject: check_nagios and system log In-Reply-To: References: <45FFF238.6060509@smartterra.de> Message-ID: <46000E04.7020702@smartterra.de> Hi, > You can increase the time, as has been mentioned, or submit an external > command via a cron job that will cause an event to be logged. I'll run an external command, thanks for the tip! Regards, Falk ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sun.jedi-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Tue Mar 20 19:23:32 2007 From: sun.jedi-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Marc Belanger) Date: Tue, 20 Mar 2007 14:23:32 -0400 Subject: problem start nagios In-Reply-To: <57206.192.168.1.1.1174405677.squirrel-vziUDZACzaBMoTQ3SCBJLzUZDU+1vuVT@public.gmane.org> References: <34885.192.168.1.1.1174035343.squirrel@webmail2.fabaris.it> <43681.192.168.1.1.1174052701.squirrel@webmail2.fabaris.it> <57206.192.168.1.1.1174405677.squirrel@webmail2.fabaris.it> Message-ID: Hi hi, Disclaimer: "Not a linux guy, so I don't know the paths" You should be able to run (test really), the check commands from the install dir: root @ paranoid: cd /usr/local/nagios/libexec root @ paranoid: ./check_users -w 3 -c 10 USERS WARNING - 4 users currently logged in |users=4;3;10;0 root @ paranoid: ./check_by_ssh -H ironman -C "/usr/local/nagios/libexec/check_users -w 3 -c 10" USERS OK - 0 users currently logged in |users=0;3;10;0 Nagios does not need to be running to perform those commands successfully. If Nagios is already running, you need the correct definitions in your commands.cfg file (/usr/local/nagios/etc on Sun) as well as your localhost.cfg + whatever *.cfg you are using for remote checks. Lastly, you only need to start Nagios once via /etc/init.d/nagios stop|start|restart ... its not part of the command line execution templates or syntax. I hope my reply was clear enough to get you onto the right path. -Marc On 3/20/07, Di Giambelardini Gabriele wrote: > > hi to all, i have nagios 2.8 installed on an redhat es 4. > the problem is: > some check work fine, only if i start nagios after login my server and i > type /etc/init.d/nagios start/stop/restart. > instead if i type che command service nagios start/stop/restart > these check don't go... a the same time if nagios start at the boot when i > reboot my server. > some body can help me??? > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagiosplug-help mailing list > Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org > https://lists.sourceforge.net/lists/listinfo/nagiosplug-help > ::: Please include plugins 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From enediel at hotmail.com Tue Mar 20 20:44:32 2007 From: enediel at hotmail.com (enediel gonzalez) Date: Tue, 20 Mar 2007 19:44:32 +0000 Subject: Monitor multiple instances of Microsoft SQL 2000 Message-ID: Hello: I'd like to know if somebody had implemented the monitor of a MS SQL server 2000 with multiple instances on the same server. I installed MS SQL server 2000 and activated the snmp service on the server, but checking all the information I receive via snmp, I can not figure out how I can get information of the databases per instance. Thanks in advance for any answer Enediel Linux user 300141 Debian GNU/Linux _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Tue Mar 20 21:03:20 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Tue, 20 Mar 2007 20:03:20 +0000 Subject: Help with Looking Glass PHP Parse Error In-Reply-To: <45FFE0F0.4020602@mi5key.com> References: <45FEECDC.80704@mi5key.com> <45FF0B4F.2090006@mailnetwork.co.uk> <45FFE0F0.4020602@mi5key.com> Message-ID: <46003E08.3060507@mailnetwork.co.uk> Mike Davis wrote: > That was it, thanks! (I love the simple fixes ;) So do I! :) Andy. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Tue Mar 20 21:16:54 2007 From: scubacuda at gmail.com (RR) Date: Tue, 20 Mar 2007 13:16:54 -0700 Subject: installing Nagios on shared Debian box (Dreamhost)? Message-ID: <2b7af7c40703201316m658dd950j4577cc2d5e6e05c3@mail.gmail.com> I recently got a Dreamhost account (basically, a shared Debian box with a bunch of other ppl) and am hoping that I can install Nagios on it. Is there any "gotchas" on installing Nagios on a shared box like this? I'm assuming that the process of installing it would go (something like) 1. d/l tar file http://www.nagios.org/download/ 2. customize the ./configure script before I run "make install" (to prevent it from running at the system level) Are there any "gotchas" that I need to know about before I do this? Or, better yet, any HOWTOs that give step-by-step instructions? (I didn't find any googling) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Mar 20 21:36:33 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 20 Mar 2007 13:36:33 -0700 Subject: installing Nagios on shared Debian box (Dreamhost)? In-Reply-To: <2b7af7c40703201316m658dd950j4577cc2d5e6e05c3@mail.gmail.com> References: <2b7af7c40703201316m658dd950j4577cc2d5e6e05c3@mail.gmail.com> Message-ID: <20070320203633.GB4574@pmorris.usa.hp.com> There are no major differences between running it on Dreamhost vs. running it anywhere else you don't have root access, though Dreamhost will kill processes that try to use too many system resources (CPU, etc.), and you may find your Nagios instance dying from time to time, possibly very often, if their systems perceive it as a resource hog. On Tue, 20 Mar 2007, RR wrote: > I recently got a Dreamhost account (basically, a shared Debian box with a > bunch of other ppl) and am hoping that I can install Nagios on it. > > Is there any "gotchas" on installing Nagios on a shared box like this? I'm > assuming that the process of installing it would go (something like) > > 1. d/l tar file > http://www.nagios.org/download/ > > 2. customize the ./configure script before I run "make install" (to prevent > it from running at the system level) > > Are there any "gotchas" that I need to know about before I do this? Or, > better yet, any HOWTOs that give step-by-step instructions? (I didn't find > any googling) > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Tue Mar 20 21:40:31 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 20 Mar 2007 16:40:31 -0400 Subject: Tester Wanted for NC_NEt v4.0 Message-ID: Hi Everyone, I was curious if anyone has the Bandwidth or desire to test the newest version of NC_Net v4.0 It has had a considerable amount of additions and rework, and is just about ready for realease. If anyone has time to test it this week and get back to me with issues or conserns, please email me at NC_Net at montitech.com and I will email you a copy of the install. check_nc_net has not yet been updated so it must be tested though the test consol, telnet or similar tool. I Have *not* yet posted it to http://sourceforge.net/projects/nc-net because Check_nc_Net.c is not updated yet. Tony (Author of NC_NEt) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noc at smartterra.de Tue Mar 20 17:24:43 2007 From: noc at smartterra.de (Falk Brockerhoff) Date: Tue, 20 Mar 2007 17:24:43 +0100 Subject: check_nagios and system log In-Reply-To: <000c01c76b00$11d5ba20$700010ac@michiel> References: <45FFF238.6060509@smartterra.de> <000c01c76b00$11d5ba20$700010ac@michiel> Message-ID: <46000ACB.9000001@smartterra.de> chiel schrieb: > -e, --expires=INTEGER > Minutes aging after which logfile is considered stale Hm, I raised it to 20 Minutes, but this isn't enough. This isn't the way I want to do it, I think... Regards, Falk ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Tue Mar 20 22:57:10 2007 From: scubacuda at gmail.com (RR) Date: Tue, 20 Mar 2007 14:57:10 -0700 Subject: installing Nagios on shared Debian box (Dreamhost)? In-Reply-To: <20070320203633.GB4574@pmorris.usa.hp.com> References: <2b7af7c40703201316m658dd950j4577cc2d5e6e05c3@mail.gmail.com> <20070320203633.GB4574@pmorris.usa.hp.com> Message-ID: <2b7af7c40703201457q5d783fc6kda5d134e49faab3d@mail.gmail.com> On 3/20/07, Patrick Morris wrote: > > There are no major differences between running it on Dreamhost vs. > running it anywhere else you don't have root access, though Dreamhost > will kill processes that try to use too many system resources (CPU, > etc.), and you may find your Nagios instance dying from time to time, > possibly very often, if their systems perceive it as a resource hog. So it sounds like as long as I'm not obnoxious about my processes, I am cool. I will be monitoring under 100 hosts (ping and possibly one to three services, such as SMTP, HTTP, FTP, etc). In a couple of cases, I'll be checking a URL or logging in a database. As long as I keep it to 1x for every 5 minutes, I should be ok, right? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Wed Mar 21 00:09:12 2007 From: scubacuda at gmail.com (RR) Date: Tue, 20 Mar 2007 16:09:12 -0700 Subject: installing Nagios on shared Debian box (Dreamhost)? In-Reply-To: <20070320203633.GB4574@pmorris.usa.hp.com> References: <2b7af7c40703201316m658dd950j4577cc2d5e6e05c3@mail.gmail.com> <20070320203633.GB4574@pmorris.usa.hp.com> Message-ID: <2b7af7c40703201609m3900ca66n331606a85d1bf08a@mail.gmail.com> On 3/20/07, Patrick Morris wrote: > > There are no major differences between running it on Dreamhost vs. > running it anywhere else you don't have root access, though Dreamhost > will kill processes that try to use too many system resources (CPU, > etc.), and you may find your Nagios instance dying from time to time, > possibly very often, if their systems perceive it as a resource hog. Dreamhost just wrote me back and told me that they don't allow any persistent processes. Having seen SpamAssassin and ClamAV "make install" tutorials (from your shell login), I thought that this sort of thing would be ok. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 00:38:18 2007 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Tue, 20 Mar 2007 18:38:18 -0500 (CDT) Subject: check_nagios and system log In-Reply-To: <000c01c76b00$11d5ba20$700010ac@michiel> References: <45FFF238.6060509@smartterra.de> <000c01c76b00$11d5ba20$700010ac@michiel> Message-ID: On Tue, 20 Mar 2007, chiel wrote: > check_nagios -e 5 -F /usr/local/nagios/var/nagios.log -C > /usr/local/nagios/bin/nagios > > -e, --expires=INTEGER > Minutes aging after which logfile is considered stale > > > Just raise -e I found that raising -e *and* setting: retention_update_interval=1 worked for me. Without the retention tweak, I was seeing nagios run for 15 minutes without updating its status.log and that is too long of an outage for me to live with. Hope that helps. -D ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Wed Mar 21 01:28:43 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Tue, 20 Mar 2007 20:28:43 -0400 Subject: No Acknowledgment option for Host Devices Message-ID: <7abcf48e0703201728w68c10d9dgcb37a97f85b08334@mail.gmail.com> Hi all I have nagios 2.4 small problem i can acknowledge Ping services but not host devices when something is down why is this i had it working before all of a sudden there is no acknowlegement option?? very weired -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjorn.hole at nhst.no Wed Mar 21 11:00:05 2007 From: bjorn.hole at nhst.no (=?iso-8859-1?Q?Bj=F8rn_Hole?=) Date: Wed, 21 Mar 2007 11:00:05 +0100 Subject: check_oracle --tablespace test-problem In-Reply-To: <799DB38D87AAAB4FBE1A03ABB45735D503E47B@neptunium> References: <799DB38D87AAAB4FBE1A03ABB45735D503E47B@neptunium> Message-ID: <799DB38D87AAAB4FBE1A03ABB45735D503E47E@neptunium> Hello. I have problem with the check_oracle plugin Version : check_oracle : 1.14 (nagios-plugins 1.4.5), We are running Oracle version 8 Nagios 2.5 Problem: The output/test in Nagios is not complited/100% OK, but when I run the script from the user root or nagios, it's OK. See below: ./check_oracle --tablespace sxdb.nhst.no PIC 90 80 sxdb.nhst.no : PIC WARNING - 89.30% used [ 1404 / 13060 MB available ]|PIC=89.30%;80;90;0;100 Nagios output: Current Status:OK Status Information: sxdb.nhst.no : DATA OK - % used [ / MB available ] Performance Data: DATA=%;85;90;0;100 env: SHELL=/bin/bash TERM=xterm USER=nagios MAIL=/var/mail/nagios PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/oracle PWD=/usr/lib/nagios/plugins LANG=en_US SHLVL=1 HOME=/var/log/nagios LANGUAGE=en_NO:en_US:en_GB:en LOGNAME=nagios ORACLE_HOME=/home/oracle _=/usr/bin/env OLDPWD=/var/log/nagios The config files //checkcommands and services: # 'check_oracle' command definition define command{ command_name check_oracle command_line $USER1$/check_oracle --tablespace $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ } define service{ use generic-service host_name nhst-red-02 contact_groups solaris-admins service_description dn-pic check_command check_oracle!sxdb.nhst.no!user!passwd!PIC!90!85 The output from Nagios: Current Status:OK Status Information: sxdb.nhst.no : DATA OK - % used [ / MB available ] Performance Data: DATA=%;85;90;0;100 Current Attempt:1/3 State Type:HARD Last Check Type:ACTIVE Last Check Time: 2007-03-20 11:59:25 Status Data Age: 0d 0h 1m 33s Next Scheduled Active Check: 2007-03-20 12:01:25 Latency:0.340 seconds Check Duration:0.416 seconds Last State Change:2006-08-17 11:26:23 Current State Duration:215d 1h 34m 35s Last Service Notification:N/A Current Notification Number:0 Is This Service Flapping?N/A Percent State Change:N/A In Scheduled Downtime? NO Last Update:2007-03-20 12:00:45 Regards Bj?rn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From it.mestdagh.tommy at gmail.com Wed Mar 21 11:23:34 2007 From: it.mestdagh.tommy at gmail.com (Tommy Mestdagh) Date: Wed, 21 Mar 2007 11:23:34 +0100 Subject: reuse arguments from service to invoke eventhandler Message-ID: <300879fb0703210323k14f9dc51q56d47d8320f4eef5@mail.gmail.com> Hi, I have multiple ssh_services that use 1 check command, where i use "ssh -p $arg1$" to define a custom port. That is forwarded from a gatewayhost to the one to check host. example check_ check_host1_tomcatA $arg1$, $arg2$ & check_host2_tomcatA,$arg1$, $arg2$ where $arg1$ is the forwarded port on the gateway, $ARG2$ = 8080 for tomcatA and $ARG2$ =8090 for tomcatB To write a restart command i need to know the $ARG1$ of the failing service, . For now is seems that the script is started leaving $arg1 blanco, The $arg1$ is binded to the command and i cannot give a different value for each service . please tell me i'm wrong. define command { command_name action_restart_tomcat_8070 command_line ssh $HOSTADDRESS$ -p $ARG1$ -l "$USER17$" -o stricthostkeychecking=no -C " sudo -u cronos /home/cronos/scripts/start_tomcat 8070" } where i nees something like this define command { command_name action_restart_tomcat_8070 command_line ssh $HOSTADDRESS$ -p * $failingservice.ARG1$* -l "$USER17$" -o stricthostkeychecking=no -C " sudo -u cronos /home/cronos/scripts/start_tomcat 8070" } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chokkalingam.ramasubramanian at ge.com Wed Mar 21 14:51:22 2007 From: chokkalingam.ramasubramanian at ge.com (Ramasubramanian, Chokkalingam (GE Supply, consultant)) Date: Wed, 21 Mar 2007 09:51:22 -0400 Subject: Delay in notification In-Reply-To: References: Message-ID: <0F3B2CB6574F1A488E62523706BF8A777E6C8E@LOUMLVEM03.e2k.ad.ge.com> Hi , I have a nagios server installed to monitor some of the hosts in my network with the default settings. Initially I used to get all hosts UP and DOWN alerts for every 5 min. Now I don't know what parameter has been changed, suddenly all my alerts are sent only after 20 min. Can anyone suggest me what parameter went wrong. I wanted alerts for every 5 min.I am using nagios ver 2.6 Thanks choks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Mar 21 16:12:02 2007 From: ae at op5.se (Andreas Ericsson) Date: Wed, 21 Mar 2007 16:12:02 +0100 Subject: installing Nagios on shared Debian box (Dreamhost)? In-Reply-To: <2b7af7c40703201609m3900ca66n331606a85d1bf08a@mail.gmail.com> References: <2b7af7c40703201316m658dd950j4577cc2d5e6e05c3@mail.gmail.com> <20070320203633.GB4574@pmorris.usa.hp.com> <2b7af7c40703201609m3900ca66n331606a85d1bf08a@mail.gmail.com> Message-ID: <46014B42.7040401@op5.se> RR wrote: > On 3/20/07, Patrick Morris wrote: >> >> There are no major differences between running it on Dreamhost vs. >> running it anywhere else you don't have root access, though Dreamhost >> will kill processes that try to use too many system resources (CPU, >> etc.), and you may find your Nagios instance dying from time to time, >> possibly very often, if their systems perceive it as a resource hog. > > > Dreamhost just wrote me back and told me that they don't allow any > persistent processes. Having seen SpamAssassin and ClamAV "make install" > tutorials (from your shell login), I thought that this sort of thing would > be ok. > SpamAssassin and ClamAV aren't necessarily persistent processes. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ely_j2002 at yahoo.com Wed Mar 21 16:32:37 2007 From: ely_j2002 at yahoo.com (ely burner) Date: Wed, 21 Mar 2007 08:32:37 -0700 (PDT) Subject: Passive check from nsca critical alert not displayed to tactical overview Message-ID: <824014.89689.qm@web57202.mail.re3.yahoo.com> Hello, I tested nsca passive check successfully sent to nagios but when passive check get alert , critical for exemple, i only get sms. The critical alert is NOT reported on the tactical overview !!! Even when the check_freshness is 1, the check_command performed, check_dummy 2 " Alert Passive" The alert it again NOT reported to the tactical overview. Only the local service status for that alert is displayed critical. Please help. Here is the exemple for service disk C passive. define service { name Passive register 0 active_checks_enabled 0 passive_checks_enabled 1 is_volatile 0 parallelize_check 1 obsess_over_service 0 check_freshness 1 flap_detection_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { name passive_test service_description testPassive use Passive host_name HostSRV check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups Ely notification_period 24x7 notification_options w,c,r check_command check_dummy } define service { service_description VOL C use passive_test check_command check_dummy } ____________________________________________________________________________________ Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel to find your fit. http://farechase.yahoo.com/promo-generic-14795097 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dkavraal at yahoo.com Wed Mar 21 17:14:34 2007 From: dkavraal at yahoo.com (=?ISO-8859-1?Q?Din=E7er_Kavraal?=) Date: Wed, 21 Mar 2007 18:14:34 +0200 Subject: host check delay problem In-Reply-To: References: Message-ID: Hi, I have stopped checks for hosts. And new configuration did well which made me check each server (as a ping service for each) with 1 minute delays. I have any other problem at the moment. When my new configuration was set, I was having notification for even child server's services. Then I decided to set service dependency for parent-child hosts. However, at the moment, UNREACHABLE status became DOWN. Now statistics show me availability falls even it was a dependent service. How can I manage to solve this? Do you have any idea? Din?er History summary: > Have you got any ideas how to achieve a solution for host check delays > stability? > 2007/3/16, Din?er Kavraal : > > Thanks. I've read it... Thus means not carefully. I will re-read it. > > Sorry for redundancy. > > 2007/3/15, Marc Powell : > > > > > > > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > > bounces at lists.sourceforge.net] On Behalf Of Din?er Kavraal > > > Sent: Thursday, March 15, 2007 2:31 PM > > > To: Marc Powell > > > Cc: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] host check delay problem > > > > > > Hi, > > > > > > The problem is that, there are some hosts down for two days, for > > instance, > > > all unplanned. That makes service checks stop. > > > > What do you expect? You're doing something that the documentation > > specifically says not to do because it leads to that behavior. I've been > > telling you that your methodology is busted and wrong. You need to change it > > if you want nagios to work right. > > > > > Some servers are out for 4-5 minutes because of some sophisticated :) > > > construction issues which we are unable to be aware of. I just want > > them > > > to be checked as usual even they are down. > > > > They will be if you follow my guidance or read the documentation. > > > > > That's all my problem. Host checks are not done as I have configured > > to be > > > (1 min delay). > > > > > > Do you know a way out of this? > > > > Yes, re-read this entire thread. Read the documentation. Re-read Service > > Check Scheduling. Re-read Determining Status and Reachability of Network > > Hosts. Everything I've said so far is well documented. Reading the > > documentation was the single best thing I did to understand how Nagios works > > and you will be well served by doing the same. If you do this you'll see > > that hosts are checked only when necessary and services are checked all the > > time, on your schedule. > > > > -- > > Marc > > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > your > > opinions on IT & business topics through brief surveys-and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Wed Mar 21 17:14:41 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Wed, 21 Mar 2007 12:14:41 -0400 Subject: No Acknowledgment option for Host Devices In-Reply-To: <7abcf48e0703201728w68c10d9dgcb37a97f85b08334@mail.gmail.com> References: <7abcf48e0703201728w68c10d9dgcb37a97f85b08334@mail.gmail.com> Message-ID: <7abcf48e0703210914p466e001fu5e34da483f9a92ca@mail.gmail.com> ---------- Forwarded message ---------- From: Nedim Bicic Date: Mar 20, 2007 8:28 PM Subject: No Acknowledgment option for Host Devices To: nagios-users at lists.sourceforge.net Hi all I have nagios 2.4 small problem i can acknowledge Ping services but not host devices when something is down why is this i had it working before all of a sudden there is no acknowlegement option?? very weired -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joe.stringfellow at liverpool.com Wed Mar 21 17:09:31 2007 From: joe.stringfellow at liverpool.com (joe.stringfellow at liverpool.com) Date: Wed, 21 Mar 2007 16:09:31 +0000 Subject: Nagios Looking Glass problem Message-ID: I had installed Nagios Looking Glass 1.2 and Nagios 2.5 on a computer running Fedora Core 5 with PHP v 5.2 but couldn?t get any results unfortunatley. Therefore I amended the S3_config.inc.php file to include the $NLG_LineEnding = ?/?; that I read somewhere was included in the latest update. When I try to connect to the nagios server ( http://myservername/nagios/client/?debug=yes I get the following error. Even on the same machine if I try http://127.0.0.1/nagios/client/ I still get the following result. Attempting to download files from http://xxx:xxx at nagiosserver/nagios/share/server/s3_download.php Synchronising s3_class.inc.php with server ... failed sync'ing with server Synchronising s3_config.inc.php with server ... failed sync'ing with server Etc,etc *** Download Stub -> DownloadFiles() finished *** *** S3 Client -> CheckSyncFiles() running *** Checking s3_class.inc.php ... FILE NOT FOUND or FILE IS EMPTY Checking s3_config.inc.php ... FILE NOT FOUND or FILE IS EMPTY Etc,etc I checked to ensure that permissions for all files under usr/local/nagios/share/client and usr/local/nagios/share/server are all owned by apache (the account running httpd) and have read/write access. The apache user has read/write access to /usr/local/nagios/var and all its files. I?ve made the apache account the owner of all files apart from the status.dat file as this is owned by the nagios user and I cannot seem to change it. (The apache account is in the same group as the nagios user has read/write access through this group account though.) Any assistance that anyone can provide would be greatly appreciated. Thanks, Joe ******************** IMPORTANT NOTICE This email (including any attachments) is meant only for the intended recipient. It may also contain confidential and privileged information. If you are not the intended recipient, any reliance on, use, disclosure, distribution or copying of this email or attachments is strictly prohibited. Please notify the sender immediately by email if you have received this message by mistake and delete the email and all attachments. Any views or opinions in this email are solely those of the author and do not necessarily represent those of Trinity Mirror PLC or its associated group companies (hereinafter referred to as "TM Group"). TM Group accept no liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing. Although every reasonable effort is made to keep its network free from viruses, TM Group accept no liability for any virus transmitted by this email or any attachments and the recipient should use up-to-date virus checking software. Email to or from this address may be subject to interception or monitoring for operational reasons or for lawful business practices. Trinity Mirror PLC is the parent company of the Trinity Mirror group of companies and is registered in England No 82548, with its address at One Canada Square, Canary Wharf, London E14 5AP. ******************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dkavraal at yahoo.com Wed Mar 21 17:22:00 2007 From: dkavraal at yahoo.com (=?ISO-8859-1?Q?Din=E7er_Kavraal?=) Date: Wed, 21 Mar 2007 18:22:00 +0200 Subject: Delay in notification In-Reply-To: <0F3B2CB6574F1A488E62523706BF8A777E6D66@LOUMLVEM03.e2k.ad.ge.com> References: <0F3B2CB6574F1A488E62523706BF8A777E6D66@LOUMLVEM03.e2k.ad.ge.com> Message-ID: If it is not concern of security, all please. Because, it is matter of anything, subject of timeperiod to escalation, service definition to host definition... If it is so, you can change IP's and host names (but all in context, pay attention to consistency please). Din?er 2007/3/21, Ramasubramanian, Chokkalingam (GE Supply, consultant) < chokkalingam.ramasubramanian at ge.com>: > > Dincer, > > Thanks for your response...which config file you want to see ? > > > -Choks > > Regards > Chokkalingam,R > Phone: 203-944-3209 > DC: 8*233-3209 > Email:*chokkalingam.ramasubramanian at ge.com* > > -----Original Message----- > *From:* dkavraal at gmail.com [mailto:dkavraal at gmail.com]*On Behalf Of *Din?er > Kavraal > *Sent:* Wednesday, March 21, 2007 12:10 PM > *To:* Ramasubramanian, Chokkalingam (GE Supply, consultant) > *Subject:* Re: [Nagios-users] Delay in notification > > You might have intersect with any other escalation. Or a host is in any > other escalation as well as your 5min escalation. > Let us see your config files. May be we can find out reason. > > Din?er > > > > 2007/3/21, Ramasubramanian, Chokkalingam (GE Supply, consultant) < > chokkalingam.ramasubramanian at ge.com>: > > > > Hi , > > > > I have a nagios server installed to monitor some of the hosts in my > > network with the default settings. Initially I used to get all hosts UP and > > DOWN alerts for every 5 min. Now I don't know what parameter has been > > changed, suddenly all my alerts are sent only after 20 min. Can anyone > > suggest me what parameter went wrong. I wanted alerts for every 5 min.Iam using nagios ver > > 2.6 > > > > Thanks > > choks > > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > your > > opinions on IT & business topics through brief surveys-and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Mar 21 20:46:34 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Wed, 21 Mar 2007 19:46:34 +0000 Subject: Nagios Looking Glass problem In-Reply-To: References: Message-ID: <46018B9A.2070108@mailnetwork.co.uk> Hi Joe, Have you tried NLG 1.0.3? That is the latest version and includes, amongst others, the fix in the config file as you mentioned. These errors appear at first glance to be typically permissions, particularly with the client accessing s3_download.php. A typical test would be to enable debugging in server/s3_config.inc.php, then try and access: http://yourserver/nagios/share/server/s3_download.php?filename=s3_config.inc.php&action=check If you get an MD5 hash back, then the server side is working OK, and it's a problem with the client script connecting to s3_download.php (perhaps invalid username/password for HTTP authentication, no username/password supplied when required, invalid URL etc.) If not, it's a web server configuration error (or invalid/denied URL.) One thing I have just noticed while writing this, your client script is at http://myservername/nagios/client, yet your server is trying to connect to http://myservername/nagios/share/server (should the "share" directory really be there?) If your "server" directory is at the same level as "client" in the file-system, then it looks like your server feed URL should be http://myservername/nagios/server. HTH Andy. joe.stringfellow at liverpool.com wrote: > > I had installed Nagios Looking Glass 1.2 and Nagios 2.5 on a computer > running Fedora Core 5 with PHP v 5.2 but couldn?t get any results > unfortunatley. Therefore I amended the S3_config.inc.php file to > include the $NLG_LineEnding = ?/?; that I read somewhere was included > in the latest update. > > > When I try to connect to the nagios server > (_http://myservername/nagios/client/?debug=yes_ I get the following > error. Even on the same machine if I try > http://127.0.0.1/nagios/client/ I still get the following result. > > Attempting to download files from > http://xxx:xxx at nagiosserver/nagios/share/server/s3_download.php > > Synchronising s3_class.inc.php with server ... failed sync'ing with > server > Synchronising s3_config.inc.php with server ... failed sync'ing with > server > Etc,etc > > *** Download Stub -> DownloadFiles() finished *** > > *** S3 Client -> CheckSyncFiles() running *** > Checking s3_class.inc.php ... FILE NOT FOUND or FILE IS EMPTY > Checking s3_config.inc.php ... FILE NOT FOUND or FILE IS EMPTY > Etc,etc > > I checked to ensure that permissions for all files under > usr/local/nagios/share/client and usr/local/nagios/share/server are > all owned by apache (the account running httpd) and have read/write > access. > > The apache user has read/write access to /usr/local/nagios/var and all > its files. I?ve made the apache account the owner of all files apart > from the status.dat file as this is owned by the nagios user and I > cannot seem to change it. (The apache account is in the same group as > the nagios user has read/write access through this group account though.) > > Any assistance that anyone can provide would be greatly appreciated. > > Thanks, > > Joe > > > ******************** IMPORTANT NOTICE This email (including any > attachments) is meant only for the intended recipient. It may also > contain confidential and privileged information. If you are not the > intended recipient, any reliance on, use, disclosure, distribution or > copying of this email or attachments is strictly prohibited. Please > notify the sender immediately by email if you have received this > message by mistake and delete the email and all attachments. Any views > or opinions in this email are solely those of the author and do not > necessarily represent those of Trinity Mirror PLC or its associated > group companies (hereinafter referred to as "TM Group"). TM Group > accept no liability for the content of this email, or for the > consequences of any actions taken on the basis of the information > provided, unless that information is subsequently confirmed in > writing. Although every reasonable effort is made to keep its network > free from viruses, TM Group accept no liability for any virus > transmitted by this email or any attachments and the recipient should > use up-to-date virus checking software. Email to or from this address > may be subject to interception or monitoring for operational reasons > or for lawful business practices. Trinity Mirror PLC is the parent > company of the Trinity Mirror group of companies and is registered in > England No 82548, with its address at One Canada Square, Canary Wharf, > London E14 5AP. ******************** !DSPAM:37,46015a72103002435764642! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > !DSPAM:37,46015a72103002435764642! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,46015a72103002435764642! > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Wed Mar 21 21:43:50 2007 From: scubacuda at gmail.com (RR) Date: Wed, 21 Mar 2007 13:43:50 -0700 Subject: installing Nagios on shared Debian box (Dreamhost)? In-Reply-To: <46014B42.7040401@op5.se> References: <2b7af7c40703201316m658dd950j4577cc2d5e6e05c3@mail.gmail.com> <20070320203633.GB4574@pmorris.usa.hp.com> <2b7af7c40703201609m3900ca66n331606a85d1bf08a@mail.gmail.com> <46014B42.7040401@op5.se> Message-ID: <2b7af7c40703211343r7ee4c7e5u86ba2afc07aa8691@mail.gmail.com> > > SpamAssassin and ClamAV aren't necessarily persistent processes. Hmmm...so, what if I only start up Nagios with cron and run it periodically? Would that count as a persistent process? Does Nagios support that sort of thing, and if so, would it work ok if I were to run it, say, every 20 minutes or so? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hunter at userfriendly.net Wed Mar 21 22:00:54 2007 From: hunter at userfriendly.net (Michael Weiner) Date: Wed, 21 Mar 2007 17:00:54 -0400 Subject: Sun StorEdge 3310 Message-ID: Does anyone have a plugin that can check on the status of a SE3310 ? In particular i am interested in check an SE3310 connected to a Sun Fire 280R remotely. Any ideas would be appreciated. Michael Weiner -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johndoe123 at gmail.com Wed Mar 21 22:01:17 2007 From: johndoe123 at gmail.com (ffwqe efwa) Date: Wed, 21 Mar 2007 15:01:17 -0600 Subject: Checking and going critical on passive servicecheck-in tardiness? In-Reply-To: References: <544f85b40703162038p10b810d9qab2de3c4d3cf9c2f@mail.gmail.com> Message-ID: <544f85b40703211401m1acb516cv60420bde3b5a3fdc@mail.gmail.com> Sorry, you are correct, but I am using 2 and it still doesn't work. I accidentally put 3 in my message. Executing this command does not return critical in Nagios. # Check/alert for Freshness. define command{ command_name check_outofdate command_line $USER1$/check_dummy 2 "CRITICAL: Host has not checked in with check results in the last 15 minutes. Host is down or no longer being monitor by NAGIOS." } On 3/16/07, Morris, Patrick wrote: > > > > I have various services which provide pasive results to > > Nagios. I want to know or assume that any service which has > > not checked in in over 30 minutes is tardy and crticical. I > > tried making it use "check_dummy 3 warning ncnet dead" with > > the check_freshness_ option and I can't seem to get dummy to > > generate any critical alerts. > > > > Can someone please provide an example of a working setup that > > will achieve what I'm looking for? > > The return code for critical is 2. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 22:26:58 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 21 Mar 2007 22:26:58 +0100 (CET) Subject: installing Nagios on shared Debian box (Dreamhost)? In-Reply-To: <2b7af7c40703211343r7ee4c7e5u86ba2afc07aa8691@mail.gmail.com> References: <2b7af7c40703201316m658dd950j4577cc2d5e6e05c3@mail.gmail.com> <20070320203633.GB4574@pmorris.usa.hp.com> <2b7af7c40703201609m3900ca66n331606a85d1bf08a@mail.gmail.com> <46014B42.7040401@op5.se> <2b7af7c40703211343r7ee4c7e5u86ba2afc07aa8691@mail.gmail.com> Message-ID: On Wed, 21 Mar 2007, RR wrote: >> SpamAssassin and ClamAV aren't necessarily persistent processes. > > Hmmm...so, what if I only start up Nagios with cron and run it > periodically? Would that count as a persistent process? > > Does Nagios support that sort of thing, and if so, would it work ok if I > were to run it, say, every 20 minutes or so? If you can not run a service as daemon I would walk away right now from this deal. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Mar 21 23:28:06 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 21 Mar 2007 15:28:06 -0700 Subject: installing Nagios on shared Debian box (Dreamhost)? In-Reply-To: <2b7af7c40703211343r7ee4c7e5u86ba2afc07aa8691@mail.gmail.com> References: <2b7af7c40703201316m658dd950j4577cc2d5e6e05c3@mail.gmail.com> <20070320203633.GB4574@pmorris.usa.hp.com> <2b7af7c40703201609m3900ca66n331606a85d1bf08a@mail.gmail.com> <46014B42.7040401@op5.se> <2b7af7c40703211343r7ee4c7e5u86ba2afc07aa8691@mail.gmail.com> Message-ID: <20070321222806.GI4574@pmorris.usa.hp.com> On Wed, 21 Mar 2007, RR wrote: > >SpamAssassin and ClamAV aren't necessarily persistent processes. > > > Hmmm...so, what if I only start up Nagios with cron and run it > periodically? Would that count as a persistent process? > > Does Nagios support that sort of thing, and if so, would it work ok if I > were to run it, say, every 20 minutes or so? No, Nagios does not support being run as a periodic cron job. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From surcouf at debianfr.net Thu Mar 22 01:17:11 2007 From: surcouf at debianfr.net (=?ISO-8859-1?Q?Rapha=EBl?= 'SurcouF' Bordet) Date: Thu, 22 Mar 2007 01:17:11 +0100 Subject: Sun StorEdge 3310 In-Reply-To: References: Message-ID: <1174522632.11663.22.camel@xiombarg> Le mercredi 21 mars 2007 ? 17:00 -0400, Michael Weiner a ?crit : > Does anyone have a plugin that can check on the status of a SE3310 ? > In particular i am interested in check an SE3310 connected to a Sun > Fire 280R remotely. Hi, I don't known any plugin but, according to "Sun Storedge 3310 SCSI Array Release Notes"[1], RAID controller firmware version 4.15 has enhanced SNMP protocol. According to "Sun StorEdge 3000 Family RAID Firmware 4.15 User's Guide"[2], you can configure the Notification Processing Center (NPC)[3] via the RAID firmware to use SNMPv1 or SNMPv2c protocols for GET and SET messages and SNMPv1 for TRAP messages. You have to wrote a specific plugin for SNMP GET messages or you can use configure snmptrapd and snmptt to translate SNMP TRAP messages to Nagios external commands. Regards, [1]:http://www.sun.com/products-n-solutions/hardware/docs/pdf/816-7292-28.pdf [2]:http://docs.sun.com/app/docs?l=fr&q=SNMP&p=doc%2F817-3711-16 [3]:http://docs.sun.com/source/817-3711-16/ch11_configparam.html#18512 -- Rapha?l 'SurcouF' Bordet ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Thu Mar 22 01:22:52 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Wed, 21 Mar 2007 20:22:52 -0400 Subject: Fwd: No Acknowledgment option for Host Devices In-Reply-To: <7abcf48e0703210914p466e001fu5e34da483f9a92ca@mail.gmail.com> References: <7abcf48e0703201728w68c10d9dgcb37a97f85b08334@mail.gmail.com> <7abcf48e0703210914p466e001fu5e34da483f9a92ca@mail.gmail.com> Message-ID: <7abcf48e0703211722p74820b12r5be91dcf292a7760@mail.gmail.com> Ok at one point i have had the option to acknowledge when a host is down, now i dont anymore. I have this otion only on the ping device but no acknlowledgment option on host device Can anymone help thanks ---------- Forwarded message ---------- From: Nedim Bicic Date: Mar 21, 2007 12:14 PM Subject: No Acknowledgment option for Host Devices To: nagios-users at lists.sourceforge.net ---------- Forwarded message ---------- From: Nedim Bicic Date: Mar 20, 2007 8:28 PM Subject: No Acknowledgment option for Host Devices To: nagios-users at lists.sourceforge.net Hi all I have nagios 2.4 small problem i can acknowledge Ping services but not host devices when something is down why is this i had it working before all of a sudden there is no acknowlegement option?? very weired -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Mar 22 01:24:49 2007 From: bohara at gmail.com (Ben O'Hara) Date: Thu, 22 Mar 2007 00:24:49 +0000 Subject: Sun StorEdge 3310 In-Reply-To: <1174522632.11663.22.camel@xiombarg> References: <1174522632.11663.22.camel@xiombarg> Message-ID: <2b36e660703211724u78f16f3bweb4ad957a75b8d8b@mail.gmail.com> On 3/22/07, Rapha?l 'SurcouF' Bordet wrote: > > Le mercredi 21 mars 2007 ? 17:00 -0400, Michael Weiner a ?crit : > > Does anyone have a plugin that can check on the status of a SE3310 ? > > In particular i am interested in check an SE3310 connected to a Sun > > Fire 280R remotely. > > Hi, > > I don't known any plugin but, according to "Sun Storedge 3310 SCSI Array > Release Notes"[1], RAID controller firmware version 4.15 has enhanced > SNMP protocol. According to "Sun StorEdge 3000 Family RAID Firmware 4.15 > User's Guide"[2], you can configure the Notification Processing Center > (NPC)[3] via the RAID firmware to use SNMPv1 or SNMPv2c protocols for > GET and SET messages and SNMPv1 for TRAP messages. > You have to wrote a specific plugin for SNMP GET messages or you can use > configure snmptrapd and snmptt to translate SNMP TRAP messages to Nagios > external commands. > > Regards, Yeah, if you know what to query and getting hold of the MIB files seems near on inpossible....but if anyone has got it working let me know aswell ;-) Ben [1]: > http://www.sun.com/products-n-solutions/hardware/docs/pdf/816-7292-28.pdf > [2]:http://docs.sun.com/app/docs?l=fr&q=SNMP&p=doc%2F817-3711-16 > [3]:http://docs.sun.com/source/817-3711-16/ch11_configparam.html#18512 > -- > Rapha?l 'SurcouF' Bordet > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkunjal at gmail.com Thu Mar 22 02:55:44 2007 From: mkunjal at gmail.com (Mahesh Kunjal) Date: Wed, 21 Mar 2007 18:55:44 -0700 Subject: Question on "Redundant and Failover Network Monitoring" Message-ID: Hi, I am looking at implementing redundant nagios server. The documentations found at: http://nagios.sourceforge.net/docs/2_0/redundancy.html has a very good explanation on to set it up and how it works. However, it is not clear for the scenario of: Assume master nagios server goes down and remains down for 12 hours. Now the slave will take over. If after 12 hours, master comes back online. Master takes control. Does master now have historical data when it was down for 12 hours? If not, how do we get it to master? We have a requirement of master needing to have all data. Thanks for the time. regards, Mahesh ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Thu Mar 22 04:09:17 2007 From: kyle.odonnell at gmail.com (Kyle O'Donnell) Date: Wed, 21 Mar 2007 23:09:17 -0400 Subject: Sun StorEdge 3310 In-Reply-To: <2b36e660703211724u78f16f3bweb4ad957a75b8d8b@mail.gmail.com> References: <1174522632.11663.22.camel@xiombarg> <2b36e660703211724u78f16f3bweb4ad957a75b8d8b@mail.gmail.com> Message-ID: <2274b9c30703212009r763391b8l1ea5fa9132793be4@mail.gmail.com> I wrote one not long ago. I'll see if I can dig it up tomorrow. --kyleo On 3/21/07, Ben O'Hara wrote: > > On 3/22/07, Rapha?l 'SurcouF' Bordet wrote: > > > > Le mercredi 21 mars 2007 ? 17:00 -0400, Michael Weiner a ?crit : > > > Does anyone have a plugin that can check on the status of a SE3310 ? > > > In particular i am interested in check an SE3310 connected to a Sun > > > Fire 280R remotely. > > > > Hi, > > > > I don't known any plugin but, according to "Sun Storedge 3310 SCSI Array > > Release Notes"[1], RAID controller firmware version 4.15 has enhanced > > SNMP protocol. According to "Sun StorEdge 3000 Family RAID Firmware 4.15 > > User's Guide"[2], you can configure the Notification Processing Center > > (NPC)[3] via the RAID firmware to use SNMPv1 or SNMPv2c protocols for > > GET and SET messages and SNMPv1 for TRAP messages. > > You have to wrote a specific plugin for SNMP GET messages or you can use > > > > configure snmptrapd and snmptt to translate SNMP TRAP messages to Nagios > > external commands. > > > > Regards, > > > > Yeah, if you know what to query and getting hold of the MIB files seems > near on inpossible....but if anyone has got it working let me know aswell > ;-) > > Ben > > [1]:http://www.sun.com/products-n-solutions/hardware/docs/pdf/816-7292-28.pdf > > [2]:http://docs.sun.com/app/docs?l=fr&q=SNMP&p=doc%2F817-3711-16 > > [3]:http://docs.sun.com/source/817-3711-16/ch11_configparam.html#18512 > > -- > > Rapha?l 'SurcouF' Bordet > > > > > > > > ------------------------------------------------------------------------- > > > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > your > > opinions on IT & business topics through brief surveys-and earn cash > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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" > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nilesh at extenprise.com Thu Mar 22 05:17:52 2007 From: nilesh at extenprise.com (Nilesh Shastrakar) Date: Thu, 22 Mar 2007 09:47:52 +0530 Subject: check_mem plugin showing wroong values Message-ID: <003f01c76c39$10d049d0$2000a8c0@shastra> Dear All, The top output is showing the correct values of memory utilization If I check through the check_mem plugin it is wrong values could anyone help me to correct this problem Physical RAM on the system 1024MB Top Out put Mem: 1026328k total, 1003880k used, 22448k free, 55760k buffers and check_mem output [root at test libexec]# ./check_mem -w 65 -c 90 -v OK: 37% Used Memory - Total: 1002 MB, used: 374 MB, free: 628 MB | MemUsed=37%;65;90 Also I have attached herewith the check_mem plugin Thanks Nilesh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: check_mem Type: application/octet-stream Size: 3937 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 10:52:54 2007 From: m.borsani at it.net (Marco Borsani) Date: Thu, 22 Mar 2007 10:52:54 +0100 Subject: how debug NsClient 2.0.1 Message-ID: <00db01c76c67$dd0804b0$0900d40a@intranet.it.net> Hi all NsClient agent hangs sometime on server Windows 2000/2003 server. How can I debug this kind of problem? Regards Marco Borsani Technical Operation tel.: +390104310115 e-fax: +390683175950 * m.borsani at it.net ITnet S.r.l. Direzione e Coordinamento di Wind Telecomunicazioni S.p.A. Via Pacinotti, 39 16151 - Genova In ottemperanza al D. lgs 196/03 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate e sono esclusivamente indirizzate al destinatario indicato (oppure alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio erroneamente ricevuto. According to Italy?s new data protection code (Legislative Decree no. 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning privacy, the information contained in this e-mail is confidential and is intended for the addressee only. If you are not the correct recipient, please note that any use, dissemination or copy of this document/information is strictly prohibited.If you have received this message in error, you should destroy it and please notify us immediately by e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwolfe at shatterit.com Thu Mar 22 11:22:29 2007 From: rwolfe at shatterit.com (Robert Wolfe) Date: Thu, 22 Mar 2007 06:22:29 -0400 Subject: how debug NsClient 2.0.1 In-Reply-To: <00db01c76c67$dd0804b0$0900d40a@intranet.it.net> References: <00db01c76c67$dd0804b0$0900d40a@intranet.it.net> Message-ID: <460258E5.2050303@shatterit.com> Marco Borsani wrote: > > Hi all > > > > NsClient agent hangs sometime on server Windows 2000/2003 server. > > > > How can I debug this kind of problem? > > Marco, do you see any error messages in the event logs by any chance? -- Robert Wolfe (MCP/Linux+) Shatter I.T. Global Services, Buffalo, NY http://www.shatterit.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joe.stringfellow at liverpool.com Thu Mar 22 11:27:46 2007 From: joe.stringfellow at liverpool.com (joe.stringfellow at liverpool.com) Date: Thu, 22 Mar 2007 10:27:46 +0000 Subject: Nagios Looking Glass problem In-Reply-To: <46018B9A.2070108@mailnetwork.co.uk> References: <46018B9A.2070108@mailnetwork.co.uk> Message-ID: Thanks for the speedy input Andy. If I get chance today i will double check everything and try version 1.03. Andy Shellam 21/03/2007 19:46 Please respond to andy.shellam-lists at mailnetwork.co.uk To joe.stringfellow at liverpool.com cc nagios-users at lists.sourceforge.net Subject Re: [Nagios-users] Nagios Looking Glass problem Hi Joe, Have you tried NLG 1.0.3? That is the latest version and includes, amongst others, the fix in the config file as you mentioned. These errors appear at first glance to be typically permissions, particularly with the client accessing s3_download.php. A typical test would be to enable debugging in server/s3_config.inc.php, then try and access: http://yourserver/nagios/share/server/s3_download.php?filename=s3_config.inc.php&action=check If you get an MD5 hash back, then the server side is working OK, and it's a problem with the client script connecting to s3_download.php (perhaps invalid username/password for HTTP authentication, no username/password supplied when required, invalid URL etc.) If not, it's a web server configuration error (or invalid/denied URL.) One thing I have just noticed while writing this, your client script is at http://myservername/nagios/client, yet your server is trying to connect to http://myservername/nagios/share/server (should the "share" directory really be there?) If your "server" directory is at the same level as "client" in the file-system, then it looks like your server feed URL should be http://myservername/nagios/server. HTH Andy. joe.stringfellow at liverpool.com wrote: > > I had installed Nagios Looking Glass 1.2 and Nagios 2.5 on a computer > running Fedora Core 5 with PHP v 5.2 but couldn?t get any results > unfortunatley. Therefore I amended the S3_config.inc.php file to > include the $NLG_LineEnding = ?/?; that I read somewhere was included > in the latest update. > > > When I try to connect to the nagios server > (_http://myservername/nagios/client/?debug=yes_ I get the following > error. Even on the same machine if I try > http://127.0.0.1/nagios/client/ I still get the following result. > > Attempting to download files from > http://xxx:xxx at nagiosserver/nagios/share/server/s3_download.php > > Synchronising s3_class.inc.php with server ... failed sync'ing with > server > Synchronising s3_config.inc.php with server ... failed sync'ing with > server > Etc,etc > > *** Download Stub -> DownloadFiles() finished *** > > *** S3 Client -> CheckSyncFiles() running *** > Checking s3_class.inc.php ... FILE NOT FOUND or FILE IS EMPTY > Checking s3_config.inc.php ... FILE NOT FOUND or FILE IS EMPTY > Etc,etc > > I checked to ensure that permissions for all files under > usr/local/nagios/share/client and usr/local/nagios/share/server are > all owned by apache (the account running httpd) and have read/write > access. > > The apache user has read/write access to /usr/local/nagios/var and all > its files. I?ve made the apache account the owner of all files apart > from the status.dat file as this is owned by the nagios user and I > cannot seem to change it. (The apache account is in the same group as > the nagios user has read/write access through this group account though.) > > Any assistance that anyone can provide would be greatly appreciated. > > Thanks, > > Joe > > > ******************** IMPORTANT NOTICE This email (including any > attachments) is meant only for the intended recipient. It may also > contain confidential and privileged information. If you are not the > intended recipient, any reliance on, use, disclosure, distribution or > copying of this email or attachments is strictly prohibited. Please > notify the sender immediately by email if you have received this > message by mistake and delete the email and all attachments. Any views > or opinions in this email are solely those of the author and do not > necessarily represent those of Trinity Mirror PLC or its associated > group companies (hereinafter referred to as "TM Group"). TM Group > accept no liability for the content of this email, or for the > consequences of any actions taken on the basis of the information > provided, unless that information is subsequently confirmed in > writing. Although every reasonable effort is made to keep its network > free from viruses, TM Group accept no liability for any virus > transmitted by this email or any attachments and the recipient should > use up-to-date virus checking software. Email to or from this address > may be subject to interception or monitoring for operational reasons > or for lawful business practices. Trinity Mirror PLC is the parent > company of the Trinity Mirror group of companies and is registered in > England No 82548, with its address at One Canada Square, Canary Wharf, > London E14 5AP. ******************** !DSPAM:37,46015a72103002435764642! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > !DSPAM:37,46015a72103002435764642! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,46015a72103002435764642! > ******************** IMPORTANT NOTICE This email (including any attachments) is meant only for the intended recipient. It may also contain confidential and privileged information. If you are not the intended recipient, any reliance on, use, disclosure, distribution or copying of this email or attachments is strictly prohibited. Please notify the sender immediately by email if you have received this message by mistake and delete the email and all attachments. Any views or opinions in this email are solely those of the author and do not necessarily represent those of Trinity Mirror PLC or its associated group companies (hereinafter referred to as "TM Group"). TM Group accept no liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing. Although every reasonable effort is made to keep its network free from viruses, TM Group accept no liability for any virus transmitted by this email or any attachments and the recipient should use up-to-date virus checking software. Email to or from this address may be subject to interception or monitoring for operational reasons or for lawful business practices. Trinity Mirror PLC is the parent company of the Trinity Mirror group of companies and is registered in England No 82548, with its address at One Canada Square, Canary Wharf, London E14 5AP. ******************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Mar 22 11:48:53 2007 From: ae at op5.se (Andreas Ericsson) Date: Thu, 22 Mar 2007 11:48:53 +0100 Subject: Fwd: No Acknowledgment option for Host Devices In-Reply-To: <7abcf48e0703211722p74820b12r5be91dcf292a7760@mail.gmail.com> References: <7abcf48e0703201728w68c10d9dgcb37a97f85b08334@mail.gmail.com> <7abcf48e0703210914p466e001fu5e34da483f9a92ca@mail.gmail.com> <7abcf48e0703211722p74820b12r5be91dcf292a7760@mail.gmail.com> Message-ID: <46025F15.7040603@op5.se> Nedim Bicic wrote: > Ok at one point i have had the option to acknowledge when a host is down, > now i dont anymore. I have this otion only on the ping device but no > acknlowledgment option on host device > You can only acknowledge hosts and services when they are in a non-OK state. It's common for the PING service to have stricter thresholds than the host alive check, meaning it's perfectly possible to have a WARNING or even CRITICAL service check that checks PING, while the host is still listed as up. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 12:10:13 2007 From: m.borsani at it.net (Marco Borsani) Date: Thu, 22 Mar 2007 12:10:13 +0100 Subject: R: how debug NsClient 2.0.1 In-Reply-To: <460258E5.2050303@shatterit.com> References: <00db01c76c67$dd0804b0$0900d40a@intranet.it.net> <460258E5.2050303@shatterit.com> Message-ID: <00fe01c76c72$aa19d640$0900d40a@intranet.it.net> Unfortunately, there is not any error messages in the event logs. Marco -----Messaggio originale----- Da: Robert Wolfe [mailto:rwolfe at shatterit.com] Inviato: gioved? 22 marzo 2007 11.22 A: Marco Borsani Cc: nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] how debug NsClient 2.0.1 Marco Borsani wrote: > > Hi all > > > > NsClient agent hangs sometime on server Windows 2000/2003 server. > > > > How can I debug this kind of problem? > > Marco, do you see any error messages in the event logs by any chance? -- Robert Wolfe (MCP/Linux+) Shatter I.T. Global Services, Buffalo, NY http://www.shatterit.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at aidananderson.co.uk Thu Mar 22 13:09:18 2007 From: mail at aidananderson.co.uk (Aidan Anderson) Date: Thu, 22 Mar 2007 12:09:18 +0000 Subject: Up Duration not being maintained over restarts Message-ID: <460271EE.8050400@aidananderson.co.uk> Hi, I'm a new user to Nagios and have recently installed the new 3.0a1 version on Fedora Core 5 from source. I have been setting up various hosts and have noticed that when you restart Nagios, some of the hosts being monitored do not retain their UP duration (if they were in an UP state at the point of restart). The UP duration is reset to 0d 0h 0m 0s and starts counting up from there. I investigated further and have noticed that all affected hosts have a + symbol tagged on to the end of the duration, .e.g. 0d 1h 8m 41s+. I've also noticed that if any one of these hosts enters a down state and/or recovers while Nagios is running, the + disappears from the end of the duration and the correct state duration is maintained over restarts from that point on. I have read through this list and the documentation and can't find a mention of what a + means and why the duration is being reset over restarts. Any information to explain/correct this behaviour would be appreciated. regards, Aidan ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Mar 22 13:24:35 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 22 Mar 2007 12:24:35 +0000 Subject: check_mem plugin showing wroong values In-Reply-To: <003f01c76c39$10d049d0$2000a8c0@shastra> References: <003f01c76c39$10d049d0$2000a8c0@shastra> Message-ID: <46027583.5000202@googlemail.com> dunno about that one but I wrote my own a while ago and it works well. Seeing your post I decided to upload mine so I've just stuck it on there. It works on Linux on 32-bit and 64-bit systems and can be found here: http://www.nagiosexchange.org/Linux.55.0.html?&tx_netnagext_pi1[p_view]=909&tx_netnagext_pi1[page]=40%3A10 I think you'll have more luck, and if you need anything I'm always on this list or you can email me directly. -h Hari Sekhon Nilesh Shastrakar wrote: > Dear All, > > The top output is showing the correct values of memory utilization > If I check through the check_mem plugin it is wrong values > > could anyone help me to correct this problem > > Physical RAM on the system 1024MB > > Top Out put > Mem: 1026328k total, 1003880k used, 22448k free, 55760k buffers > > and check_mem output > > [root at test libexec]# ./check_mem -w 65 -c 90 -v > OK: 37% Used Memory - Total: 1002 MB, used: 374 MB, free: 628 MB | > MemUsed=37%;65;90 > Also I have attached herewith the check_mem plugin > > Thanks > Nilesh > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From masoud.tabrizi at gmail.com Thu Mar 22 14:58:11 2007 From: masoud.tabrizi at gmail.com (Masoud Tabrizi) Date: Thu, 22 Mar 2007 09:58:11 -0400 Subject: JVM memory consumption plugin! Message-ID: <001a01c76c8a$21a3ad50$6401a8c0@Masoud> Are there any JVM memory consumption/utilization plug-in out there for nrpe? Thanks M +++++++++++++++++++++++++++ Masoud Tabrizi masoud.tabrizi at gmail.com +++++++++++++++++++++++++++ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Thu Mar 22 16:08:05 2007 From: andy.shellam-lists at mailnetwork.co.uk (andy.shellam-lists at mailnetwork.co.uk) Date: Thu, 22 Mar 2007 15:08:05 +0000 Subject: Plugins 1.4.6 make install fails Message-ID: Hi I'm compiling the 1.4.6 plugins on a Fedora Core 6 machine, and getting the following error when doing "make install" (after a successful compile with MySQL and OpenSSL.) This is the trailing output: ... make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/endeavour/software/cache/nagios-plugins-1.4.6/plugins-root' make[1]: Leaving directory `/endeavour/software/cache/nagios-plugins-1.4.6/plugins-root' Making install in po make[1]: Entering directory `/endeavour/software/cache/nagios-plugins-1.4.6/po' /bin/sh @MKINSTALLDIRS@ /usr/local/nagios/share /bin/sh: @MKINSTALLDIRS@: No such file or directory make[1]: *** [install-data-yes] Error 127 make[1]: Leaving directory `/endeavour/software/cache/nagios-plugins-1.4.6/po' make: *** [install-recursive] Error 1 ... The plugins do however get installed. Any ideas? Thanks, Andy. _________________________________________________________ DISCLAIMER This e-mail was sent through a Mail Network server. The Mail Network accepts no liability for it's content. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Thu Mar 22 16:17:41 2007 From: jpratt at norwich.edu (James E. Pratt) Date: Thu, 22 Mar 2007 11:17:41 -0400 Subject: Plugins 1.4.6 make install fails In-Reply-To: References: Message-ID: <06D8FC34F6A06B45A27B3BC804D0A89E2C1EE3@XMAIL.norwich.edu> From: http://www.nagiosexchange.org/nagiosplug-help.32.0.html?&tx_maillisttofa q_pi1%5Bmode%5D=1&tx_maillisttofaq_pi1%5BshowUid%5D=12 > You have to edit po/Makefile > > Change (at)MKINSTALLDIRS(at) to ../mkinstalldirs regards, jamie -- James Pratt Unix Systems Administrator Norwich University - http://www.norwich.edu 1(802)485-2532 -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of andy.shellam-lists at mailnetwork.co.uk Sent: Thursday, March 22, 2007 11:08 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Plugins 1.4.6 make install fails Hi I'm compiling the 1.4.6 plugins on a Fedora Core 6 machine, and getting the following error when doing "make install" (after a successful compile with MySQL and OpenSSL.) This is the trailing output: ... make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/endeavour/software/cache/nagios-plugins-1.4.6/plugins-root' make[1]: Leaving directory `/endeavour/software/cache/nagios-plugins-1.4.6/plugins-root' Making install in po make[1]: Entering directory `/endeavour/software/cache/nagios-plugins-1.4.6/po' /bin/sh @MKINSTALLDIRS@ /usr/local/nagios/share /bin/sh: @MKINSTALLDIRS@: No such file or directory make[1]: *** [install-data-yes] Error 127 make[1]: Leaving directory `/endeavour/software/cache/nagios-plugins-1.4.6/po' make: *** [install-recursive] Error 1 ... The plugins do however get installed. Any ideas? Thanks, Andy. _________________________________________________________ DISCLAIMER This e-mail was sent through a Mail Network server. The Mail Network accepts no liability for it's content. ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Mar 22 16:20:30 2007 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Thu, 22 Mar 2007 16:20:30 +0100 Subject: Plugins 1.4.6 make install fails Message-ID: Hi Andy It?s a known bug in 1.4.6 - use 1.4.5 or make MKINSTALLDIRS=../mkinstalldirs install Cheers /J?rg -----Ursprungligt meddelande----- Fr?n: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] F?r andy.shellam-lists at mailnetwork.co.uk Skickat: den 22 mars 2007 16:08 Till: nagios-users at lists.sourceforge.net ?mne: [Nagios-users] Plugins 1.4.6 make install fails Hi I'm compiling the 1.4.6 plugins on a Fedora Core 6 machine, and getting the following error when doing "make install" (after a successful compile with MySQL and OpenSSL.) This is the trailing output: ... make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/endeavour/software/cache/nagios-plugins-1.4.6/plugins-root' make[1]: Leaving directory `/endeavour/software/cache/nagios-plugins-1.4.6/plugins-root' Making install in po make[1]: Entering directory `/endeavour/software/cache/nagios-plugins-1.4.6/po' /bin/sh @MKINSTALLDIRS@ /usr/local/nagios/share /bin/sh: @MKINSTALLDIRS@: No such file or directory make[1]: *** [install-data-yes] Error 127 make[1]: Leaving directory `/endeavour/software/cache/nagios-plugins-1.4.6/po' make: *** [install-recursive] Error 1 ... The plugins do however get installed. Any ideas? Thanks, Andy. _________________________________________________________ DISCLAIMER This e-mail was sent through a Mail Network server. The Mail Network accepts no liability for it's content. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.17/730 - Release Date: 2007-03-22 07:44 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.17/730 - Release Date: 2007-03-22 07:44 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Thu Mar 22 16:35:40 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Thu, 22 Mar 2007 11:35:40 -0400 Subject: how debug NsClient 2.0.1 In-Reply-To: <00db01c76c67$dd0804b0$0900d40a@intranet.it.net> References: <00db01c76c67$dd0804b0$0900d40a@intranet.it.net> Message-ID: Hi Marco, The original NSCLient does not have much support, If your problem involves reworking NSclient it is writen in Pascal and requites purchasing jedi library (information on this can be found in its source code) I would strongly suggest upgrading to a different windows plugin. NC_NEt is an excelent substitute, since it can be installed and requires no additional configuration except for disabling NSClient and accepting it in the windows firewall (which would be standard for any substitute) (additional configuration is required if using custom port or password.) A new version of this will be availible in about a week, but the current one should meet your needs at least for testing until the new version is out. http://sourceforge.net/projects/nc-net NSclinet++ is also a good substitute, I am not sure of the configuration requirements but I believe the Nagion Configuration would remain mostly unchanged. (For more details of this, see the current Nagios Documentation under Windows monitoring) Tony (Author of NC_NEt) On 3/22/07, Marco Borsani wrote: > > Hi all > > > > NsClient agent hangs sometime on server Windows 2000/2003 server. > > > > How can I debug this kind of problem? > > > > Regards > > > > Marco Borsani > Technical Operation > > tel.: +390104310115 > e-fax: +390683175950 > * m.borsani at it.net > > ITnet S.r.l. > Direzione e Coordinamento di Wind Telecomunicazioni S.p.A. > Via Pacinotti, 39 > 16151 - Genova > > > In ottemperanza al D. lgs 196/03 in materia di protezione dei dati > personali, le informazioni contenute in questo messaggio sono strettamente > riservate e sono esclusivamente indirizzate al destinatario indicato (oppure > alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, > riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui > aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il > mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio > erroneamente ricevuto. > > According to Italy's new data protection code (Legislative Decree no. > 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning > privacy, the information contained in this e-mail is confidential and is > intended for the addressee only. If you are not the correct recipient, > please note that any use, dissemination or copy of this document/information > is strictly prohibited.If you have received this message in error, you > should destroy it and please notify us immediately by e-mail. > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.radcliffe at gmail.com Thu Mar 22 16:43:43 2007 From: jay.radcliffe at gmail.com (Jay Radcliffe) Date: Thu, 22 Mar 2007 11:43:43 -0400 Subject: Nagios 2.8-Problem with Large Number of Hosts Message-ID: <3075aa7f0703220843w246f2debvdd59c0f5ef6d782f@mail.gmail.com> Hello, I am running an instance of nagios (2.8 with ndo 1.41b2) with roughly 700 host/9000 Services. Something odd occurred today. Nagios won't start all the way. I compiled a DEBUGALL version of the binary to see where it was hanging up. The last line of debug I get is: "find_hostextinfo() start find_contactgroup() start" I am not quite sure where to go looking for problems from here, as I do not know what step comes after this. It hangs right at this point, and it has sat there for over 30 minutes, before I kill -9 the nagios process. Any ideas of where to look for problems? TIA, Jay Radcliffe ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Thu Mar 22 16:44:27 2007 From: kyle.odonnell at gmail.com (Kyle O'Donnell) Date: Thu, 22 Mar 2007 11:44:27 -0400 Subject: Sun StorEdge 3310 In-Reply-To: References: Message-ID: <2274b9c30703220844ndf7d652u30da8288479b992a@mail.gmail.com> Just added to nagios exchange.: http://www.nagiosexchange.org/Solaris.50.0.html?&tx_netnagext_pi1[p_view]=910 If you have any problems let me know. --kyleo On 3/21/07, Michael Weiner wrote: > Does anyone have a plugin that can check on the status of a SE3310 ? In > particular i am interested in check an SE3310 connected to a Sun Fire 280R > remotely. > > Any ideas would be appreciated. > Michael Weiner > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Thu Mar 22 16:44:33 2007 From: andy.shellam-lists at mailnetwork.co.uk (andy.shellam-lists at mailnetwork.co.uk) Date: Thu, 22 Mar 2007 15:44:33 +0000 Subject: Plugins 1.4.6 make install fails In-Reply-To: References: Message-ID: That worked fine thanks. Andy. Jorg.Schulz at systeam.se wrote: > > > Hi Andy > > It?s a known bug in 1.4.6 - use 1.4.5 or > > make MKINSTALLDIRS=../mkinstalldirs install > > Cheers > > /J?rg > -----Ursprungligt meddelande----- > Fr?n: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] F?r > andy.shellam-lists at mailnetwork.co.uk > Skickat: den 22 mars 2007 16:08 > Till: nagios-users at lists.sourceforge.net > ?mne: [Nagios-users] Plugins 1.4.6 make install fails > > Hi > > I'm compiling the 1.4.6 plugins on a Fedora Core 6 machine, and getting > the > following error when doing "make install" (after a successful compile with > MySQL and OpenSSL.) > > This is the trailing output: > > ... > make[2]: Nothing to be done for `install-data-am'. > make[2]: Leaving directory > `/endeavour/software/cache/nagios-plugins-1.4.6/plugins-root' > make[1]: Leaving directory > `/endeavour/software/cache/nagios-plugins-1.4.6/plugins-root' > Making install in po > make[1]: Entering directory > `/endeavour/software/cache/nagios-plugins-1.4.6/po' > /bin/sh @MKINSTALLDIRS@ /usr/local/nagios/share > /bin/sh: @MKINSTALLDIRS@: No such file or directory > make[1]: *** [install-data-yes] Error 127 > make[1]: Leaving directory > `/endeavour/software/cache/nagios-plugins-1.4.6/po' > make: *** [install-recursive] Error 1 > ... > > The plugins do however get installed. > > Any ideas? > > Thanks, > > Andy. > _________________________________________________________ > DISCLAIMER > > This e-mail was sent through a Mail Network server. > The Mail Network accepts no liability for it's content. > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > _________________________________________________________ DISCLAIMER This e-mail was sent through a Mail Network server. The Mail Network accepts no liability for it's content. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Thu Mar 22 17:06:36 2007 From: andy.shellam-lists at mailnetwork.co.uk (andy.shellam-lists at mailnetwork.co.uk) Date: Thu, 22 Mar 2007 16:06:36 +0000 Subject: NRPE 2.7.1 command_prefix problem Message-ID: I've been head-scratching most of the afternoon over this. I've installed NRPE 2.7.1 on a Fedora Core 6 machine, and no matter what I try, it doesn't like the command_prefix setting. Here is my config: ... ### Daemon Options pid_file=/var/run/nrpe.pid server_port=5666 #server_address=192.168.1.1 nrpe_user=nagios nrpe_group=localservice #allowed_hosts=127.0.0.1,82.165.38.62 dont_blame_nrpe=0 #command_prefix=/usr/bin/sudo debug=1 command_timeout=60 connection_timeout=300 #allow_weak_random_seed=1 ### Commands configuration ... with all the commands listed afterwards (check_dns, check_procs etc.) Notice how command_prefix is commented out. This works: # ./check_nrpe -H 127.0.0.1 -c check_dns DNS OK: 0.062 seconds response time. portland-1.andyshellam.eu returns 89.200.137.203|time=0.062236s;;;0.000000 If I uncomment command_prefix and kill/restart NRPE: # ./check_nrpe -H 127.0.0.1 -c check_dns NRPE: Unable to read output If I login as the Nagios user ("nagios") which is whom NRPE runs under, and try the command I believe NRPE is trying to run: $ /usr/bin/sudo /usr/local/nagios/libexec/check_dns -H portland-1.andyshellam.eu -a 89.200.137.203 DNS OK: 0.005 seconds response time. portland-1.andyshellam.eu returns 89.200.137.203|time=0.004811s;;;0.000000 Any ideas, anyone? I've tried with and without SSL - makes no difference, enabled debugging but don't get anything helpful in syslog. I have some plugins that need root privelege so need this working. Thanks, Andy. _________________________________________________________ DISCLAIMER This e-mail was sent through a Mail Network server. The Mail Network accepts no liability for it's content. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Thu Mar 22 17:06:44 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Thu, 22 Mar 2007 12:06:44 -0400 Subject: Fwd: No Acknowledgment option for Host Devices In-Reply-To: <46025F15.7040603@op5.se> References: <7abcf48e0703201728w68c10d9dgcb37a97f85b08334@mail.gmail.com> <7abcf48e0703210914p466e001fu5e34da483f9a92ca@mail.gmail.com> <7abcf48e0703211722p74820b12r5be91dcf292a7760@mail.gmail.com> <46025F15.7040603@op5.se> Message-ID: <7abcf48e0703220906g768c91c9lc73934e90df43d49@mail.gmail.com> I definitly understand that thast no problem. But When the host is shown down there is no icon when i click on the downed host to acknowledge the device which is stranger because it had the icon of working person with a shovel ..lol 3 days ago Now you can only acknowledge the host only thru the ping device??? when its down for both thanks On 3/22/07, Andreas Ericsson wrote: > > Nedim Bicic wrote: > > Ok at one point i have had the option to acknowledge when a host is > down, > > now i dont anymore. I have this otion only on the ping device but no > > acknlowledgment option on host device > > > > You can only acknowledge hosts and services when they are in a non-OK > state. > It's common for the PING service to have stricter thresholds than the host > alive check, meaning it's perfectly possible to have a WARNING or even > CRITICAL service check that checks PING, while the host is still listed > as up. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From it.mestdagh.tommy at gmail.com Thu Mar 22 17:37:43 2007 From: it.mestdagh.tommy at gmail.com (Tommy Mestdagh) Date: Thu, 22 Mar 2007 17:37:43 +0100 Subject: Fwd: reuse arguments from service to invoke eventhandler In-Reply-To: <300879fb0703210323k14f9dc51q56d47d8320f4eef5@mail.gmail.com> References: <300879fb0703210323k14f9dc51q56d47d8320f4eef5@mail.gmail.com> Message-ID: <300879fb0703220937u18d444b0se83dc67a49b66f1d@mail.gmail.com> Hi all, second attemp. I have made my question way to complex. now with a clear mind i can descibe it much easyer. My service have some input parameters arg1 arg2 arg3... I just want to reuse the same value as input parameter for my event_handler. is that possible ?? regards Tommy ---------- Forwarded message ---------- From: Tommy Mestdagh Date: 21 mrt. 2007 11:23 Subject: reuse arguments from service to invoke eventhandler To: nagios-users at lists.sourceforge.net Hi, I have multiple ssh_services that use 1 check command, where i use "ssh -p $arg1$" to define a custom port. That is forwarded from a gatewayhost to the one to check host. example check_ check_host1_tomcatA $arg1$, $arg2$ & check_host2_tomcatA,$arg1$, $arg2$ where $arg1$ is the forwarded port on the gateway, $ARG2$ = 8080 for tomcatA and $ARG2$ =8090 for tomcatB To write a restart command i need to know the $ARG1$ of the failing service, . For now is seems that the script is started leaving $arg1 blanco, The $arg1$ is binded to the command and i cannot give a different value for each service . please tell me i'm wrong. define command { command_name action_restart_tomcat_8070 command_line ssh $HOSTADDRESS$ -p $ARG1$ -l "$USER17$" -o stricthostkeychecking=no -C " sudo -u cronos /home/cronos/scripts/start_tomcat 8070" } where i nees something like this define command { command_name action_restart_tomcat_8070 command_line ssh $HOSTADDRESS$ -p * $failingservice.ARG1$* -l "$USER17$" -o stricthostkeychecking=no -C " sudo -u cronos /home/cronos/scripts/start_tomcat 8070" } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ely_j2002 at yahoo.com Thu Mar 22 17:38:12 2007 From: ely_j2002 at yahoo.com (ely burner) Date: Thu, 22 Mar 2007 09:38:12 -0700 (PDT) Subject: Passive check from nsca critical alert not displayed to tactical overview Message-ID: <641703.75288.qm@web57202.mail.re3.yahoo.com> I tested nsca passive check successfully sent to nagios but when passive check get alert , critical for exemple, i only get sms. The critical alert is NOT reported on the tactical overview !!! Even when the check_freshness is 1, and freshthreshold 7200. Only the local service status for that alert is displayed critical. The way to get alert to the tactical overview is get active check for the service. Is there any means to get only passive check and get alert though tactical overview? Please help. Here is the exemple for service disk C passive. define service { name Passive register 0 active_checks_enabled 0 passive_checks_enabled 1 is_volatile 0 parallelize_check 1 obsess_over_service 0 check_freshness 1 freshness_threshold 7200 flap_detection_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { name passive_test service_description testPassive use Passive host_name HostSRV check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups Ely notification_period 24x7 notification_options w,c,r check_command check_dummy } define service { service_description VOL C use passive_test check_command check_dummy } ____________________________________________________________________________________ Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. http://answers.yahoo.com/dir/?link=list&sid=396545367 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios 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 22 19:28:59 2007 From: marc at ena.com (Marc Powell) Date: Thu, 22 Mar 2007 13:28:59 -0500 Subject: Fwd: reuse arguments from service to invokeeventhandler In-Reply-To: <300879fb0703220937u18d444b0se83dc67a49b66f1d@mail.gmail.com> References: <300879fb0703220937u18d444b0se83dc67a49b66f1d@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Tommy Mestdagh > Sent: Thursday, March 22, 2007 11:38 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Fwd: reuse arguments from service to > invokeeventhandler > > > Hi all, > > second attemp. > > I have made my question way to complex. now with a clear mind i can > descibe it much easyer. > > My service have some input parameters arg1 arg2 arg3... > I just want to reuse the same value as input parameter for my > event_handler. > is that possible ?? Event handler commands can be passed $ARGx$ variables in the exact same way as service check commands. define service { ... check_command check_blah!somearg1!somearg2!somearg3 event_handler fix_blah!somearg1!somearg2!somearg3 } In the same way that the check_command command definition has to pass $ARGx$ to the script, you need to do the same for the event_handler command{} definition. Hth, marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smog1 at free.fr Fri Mar 23 10:02:22 2007 From: smog1 at free.fr (Sil ) Date: Fri, 23 Mar 2007 10:02:22 +0100 Subject: check_users plugin problem Message-ID: <4603979E.2050100@free.fr> Hi, Excuse for my bad English, I'm French. I'm trying to check my local users on Debian Sarge Nagios 1.3 with the plugin check_users. But it only find one user each time. Only root can make work properly the plugin : me at sarge:~$ /usr/lib/nagios/plugins/check_users -w3 -c10 UTILISATEURS OK - 1 utilisateurs actuellement connect?s sur |users=1;3;10;0 me at sarge:~$ su - Password: serveur:~# /usr/lib/nagios/plugins/check_users -w3 -c10 USERS OK - 2 users currently logged in |users=2;3;10;0 It must be a permission problem, so I try to add nagios user to others groups but it's not work. Thanks Sil ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dkavraal at yahoo.com Fri Mar 23 11:59:50 2007 From: dkavraal at yahoo.com (=?ISO-8859-1?Q?Din=E7er_Kavraal?=) Date: Fri, 23 Mar 2007 12:59:50 +0200 Subject: check_users plugin problem In-Reply-To: <4603979E.2050100@free.fr> References: <4603979E.2050100@free.fr> Message-ID: Sorry, but that number difference is because: - when root is logged in, you have used "su root", so there are two users: 1) root 2) (already open) me - when "me" is logged in, there are only 1 user which is "me". I hope it's clear enough. So is this all problem? or is it only a sample? Summary: To see which users are logged in, you can use command "w" as a sample: sbdy at debian:~# w 12:56:24 up 11 days, 19:58, 1 user, load average: 0.00, 0.00, 0.00 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT me pts/0 127.0.0.1 12:56 0.00s 0.00s 0.00s w as you see there is only one user that is "me". When I get to user root: sbdy at debian:~# su - Password: root at debian:~# w 12:56:24 up 11 days, 19:58, 1 user, load average: 0.00, 0.00, 0.00 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT me pts/0 127.0.0.1 12:56 0.00s 0.00s 0.00s root pts/0 127.0.0.1 12:58 0.00s 0.00s 0.00s w there are two users online, which are both me. one of them is online user beneath root user. 2007/3/23, Sil : > > Hi, > Excuse for my bad English, I'm French. > I'm trying to check my local users on Debian Sarge Nagios 1.3 with the > plugin check_users. > But it only find one user each time. > > Only root can make work properly the plugin : > me at sarge:~$ /usr/lib/nagios/plugins/check_users -w3 -c10 > UTILISATEURS OK - 1 utilisateurs actuellement connect?s sur > |users=1;3;10;0 > me at sarge:~$ su - > Password: > serveur:~# /usr/lib/nagios/plugins/check_users -w3 -c10 > USERS OK - 2 users currently logged in |users=2;3;10;0 > > It must be a permission problem, so I try to add nagios user to others > groups but it's not work. > > Thanks > Sil > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.welch at gmail.com Fri Mar 23 13:03:46 2007 From: simon.welch at gmail.com (Simon Welch) Date: Fri, 23 Mar 2007 12:03:46 +0000 Subject: SMS notification with gammu In-Reply-To: References: <58af117c0703170946t1ba0dc24g7bb53066d61e6c96@mail.gmail.com> Message-ID: <58af117c0703230503t3330ade4q5cbc9ab2ffc63bec@mail.gmail.com> Din?er I did as you suggested and echoed the command into a temporary file (output below), so the notification is been triggered. Again if I run the output of the text file manually then the sms is sent as expected but not as part of the notification command. Could it be due to permissions? /usr/bin/printf "%b" "Svc:HTTP ++Host:Abs Self Service Server 2 ++ Addr: 89.50.35.113 ++ State:CRITICAL ++Date:23-03-2007 11:53:08" | /usr/local/bin/gammu --sendsms TEXT 00000000 Regards Simon On 3/18/07, Din?er Kavraal wrote: > > Hi Simon, > Let Nagios to write the action into a file. This is because you should be > sure that Nagios runs the command exactly as yours. There can be some > exceptions (bugs, some missed escape chars, ...). > Thus, see the difference. > > First of all, let it write into a file. For instance, change the command > like, > echo '/usr/bin/printf "%b" "Svc:$SERVICEDESC$ ++Host:$HOSTALIAS$ ++ > Addr:$HOSTADDRESS$ ++ State:$SERVICESTATE$ ++Date:$SHORTDATETIME$" | > /usr/local/bin/gammu --sendsms TEXT $CONTACTPAGER$' >> /tmp/someTempFile > > After you're sure a notification is done, open that temporary file and get > a random line (first, last or any) then try to execute it. Result? Same? > > This makes difference. Waiting for your reply. > > Din?er > > 2007/3/17, Simon Welch : > > > > Please can someone help or point me in the direction of a log I can > > interrogate, I am using gammu to attempt to send sms notifications (command > > definition below, as detailed on gammu web site). The nagios.logreports that the notification has been sent sucessfully but the message is > > never received, if I run the command manually the sms is received. Any > > ideas? > > > > Details FC6 PPC, Gammu version 1.10.1 (compliled from source), Nagios > > 2.7 yum repository install. > > > > define command{ > > command_name notify-by-sms-direct > > command_line /usr/bin/printf "%b" "Svc:$SERVICEDESC$ > > ++Host:$HOSTALIAS$ ++ Addr:$HOSTADDRESS$ ++ State:$SERVICESTATE$ > > ++Date:$SHORTDATETIME$" | /usr/local/bin/gammu --sendsms TEXT $CONTACTPAGER$ > > > > } > > > > Thanks in advance > > > > Simon > > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > your > > opinions on IT & business topics through brief surveys-and earn cash > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dkavraal at yahoo.com Fri Mar 23 14:06:25 2007 From: dkavraal at yahoo.com (=?ISO-8859-1?Q?Din=E7er_Kavraal?=) Date: Fri, 23 Mar 2007 15:06:25 +0200 Subject: SMS notification with gammu In-Reply-To: <58af117c0703230503t3330ade4q5cbc9ab2ffc63bec@mail.gmail.com> References: <58af117c0703170946t1ba0dc24g7bb53066d61e6c96@mail.gmail.com> <58af117c0703230503t3330ade4q5cbc9ab2ffc63bec@mail.gmail.com> Message-ID: Hello Simon, Probably, it is so. Otherwise, I don't have anything sensible in my mind about this. Could you check (if possible pass to Nagios user and try to execute) /usr/bin/printf /usr/local/bin/gammu can be readable and executable by Nagios user? you can simply add # chmod +x /usr/bin/printf # chmod +x /usr/local/bin/gammu however, one more problem can occur. gammu also could be able to read its resources as nagios user. Anyway, let's try to execute the command as Nagios user. Waiting for your reply... Din?er 2007/3/23, Simon Welch : > > Din?er > > I did as you suggested and echoed the command into a temporary file > (output below), so the notification is been triggered. Again if I run the > output of the text file manually then the sms is sent as expected but not as > part of the notification command. Could it be due to permissions? > > /usr/bin/printf "%b" "Svc:HTTP ++Host:Abs Self Service Server 2 ++ Addr: > 89.50.35.113 ++ State:CRITICAL ++Date:23-03-2007 11:53:08" | > /usr/local/bin/gammu --sendsms TEXT 00000000 > > Regards > > Simon > > On 3/18/07, Din?er Kavraal wrote: > > > > Hi Simon, > > Let Nagios to write the action into a file. This is because you should > > be sure that Nagios runs the command exactly as yours. There can be some > > exceptions (bugs, some missed escape chars, ...). > > Thus, see the difference. > > > > First of all, let it write into a file. For instance, change the command > > like, > > echo '/usr/bin/printf "%b" "Svc:$SERVICEDESC$ ++Host:$HOSTALIAS$ ++ > > Addr:$HOSTADDRESS$ ++ State:$SERVICESTATE$ ++Date:$SHORTDATETIME$" | > > /usr/local/bin/gammu --sendsms TEXT $CONTACTPAGER$' >> /tmp/someTempFile > > > > After you're sure a notification is done, open that temporary file and > > get a random line (first, last or any) then try to execute it. Result? Same? > > > > > > This makes difference. Waiting for your reply. > > > > Din?er > > > > 2007/3/17, Simon Welch < simon.welch at gmail.com>: > > > > > > Please can someone help or point me in the direction of a log I can > > > interrogate, I am using gammu to attempt to send sms notifications (command > > > definition below, as detailed on gammu web site). The nagios.logreports that the notification has been sent sucessfully but the message is > > > never received, if I run the command manually the sms is received. Any > > > ideas? > > > > > > Details FC6 PPC, Gammu version 1.10.1 (compliled from source), Nagios > > > 2.7 yum repository install. > > > > > > define command{ > > > command_name notify-by-sms-direct > > > command_line /usr/bin/printf "%b" "Svc:$SERVICEDESC$ > > > ++Host:$HOSTALIAS$ ++ Addr:$HOSTADDRESS$ ++ State:$SERVICESTATE$ > > > ++Date:$SHORTDATETIME$" | /usr/local/bin/gammu --sendsms TEXT $CONTACTPAGER$ > > > > > > } > > > > > > Thanks in advance > > > > > > Simon > > > > > > > > > ------------------------------------------------------------------------- > > > Take Surveys. Earn Cash. Influence the Future of IT > > > Join SourceForge.net's Techsay panel and you'll get the chance to > > > share your > > > opinions on IT & business topics through brief surveys-and earn cash > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > -- > http://welch-family.strangled.net/~swelch/images/banner_2_full.gif/> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smog1 at free.fr Fri Mar 23 14:21:37 2007 From: smog1 at free.fr (Sil ) Date: Fri, 23 Mar 2007 14:21:37 +0100 Subject: check_users plugin problem In-Reply-To: References: <4603979E.2050100@free.fr> Message-ID: <4603D461.5030002@free.fr> Din?er Kavraal a ?crit : > Sorry, but that number difference is because: > - when root is logged in, you have used "su root", so there are two > users: 1) root 2) (already open) me > - when "me" is logged in, there are only 1 user which is "me". My example was too simple sorry, here an other : me at sarge:~$ w 14:14:37 up 2 days, 2:00, 4 users, load average: 0,25, 0,10, 0,02 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT me pts/0 192.168.1.3 14:14 0.00s 0.07s 0.03s w other pts/1 192.168.1.3 14:13 1:09 0.79s 0.76s top me pts/2 192.168.1.3 14:13 1:12 0.76s 0.73s top me pts/3 192.168.1.3 14:13 1:15 0.83s 0.79s top maugain at sarge:~$ /usr/lib/nagios/plugins/check_users -w3 -c10 UTILISATEURS OK - 1 utilisateurs actuellement connect?s sur |users=1;3;10;0 me at sarge:~$ su - Password: sarge:~# /usr/lib/nagios/plugins/check_users -w3 -c10 USERS WARNING - 4 users currently logged in |users=4;3;10;0 sarge:~# w 14:15:25 up 2 days, 2:01, 4 users, load average: 0.10, 0.08, 0.02 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT me pts/0 192.168.1.3 14:14 0.00s 0.11s 0.04s sshd: me [priv] other pts/1 192.168.1.3 14:13 1:57 1.26s 1.23s top me pts/2 192.168.1.3 14:13 2:00 1.26s 1.23s top me pts/3 192.168.1.3 14:13 2:03 1.30s 1.26s top sarge:~# who me pts/0 Mar 23 14:14 (192.168.1.3) other pts/1 Mar 23 14:13 (192.168.1.3) me pts/2 Mar 23 14:13 (192.168.1.3) me pts/3 Mar 23 14:13 (192.168.1.3) sarge:~# finger Login Name Tty Idle Login Time Office Office Phone other BackupPC pts/1 2 Mar 23 14:13 (192.168.1.3) me Maugain Silv?re *pts/0 Mar 23 14:14 (192.168.1.3) me Maugain Silv?re pts/2 2 Mar 23 14:13 (192.168.1.3) me Maugain Silv?re pts/3 2 Mar 23 14:13 (192.168.1.3) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.welch at gmail.com Fri Mar 23 15:10:49 2007 From: simon.welch at gmail.com (Simon Welch) Date: Fri, 23 Mar 2007 14:10:49 +0000 Subject: SMS notification with gammu - Solved Message-ID: <58af117c0703230710h22bf45d6tb0c22fd56f0428e6@mail.gmail.com> The problem was due to the /dev/ttyACM0 device that was created when the mobile was connected via USB not having rw access for other user. Is there a way to make these permissions persistent on a reboot or disconnection of a hot plug device? Many thanks Simon On 3/23/07, Din?er Kavraal wrote: > > Hello Simon, > Probably, it is so. Otherwise, I don't have anything sensible in my mind > about this. Could you check (if possible pass to Nagios user and try to > execute) > /usr/bin/printf > /usr/local/bin/gammu > can be readable and executable by Nagios user? > > you can simply add > # chmod +x /usr/bin/printf > # chmod +x /usr/local/bin/gammu > > however, one more problem can occur. gammu also could be able to read its > resources as nagios user. Anyway, let's try to execute the command as Nagios > user. Waiting for your reply... > > Din?er > > > 2007/3/23, Simon Welch : > > > > Din?er > > > > I did as you suggested and echoed the command into a temporary file > > (output below), so the notification is been triggered. Again if I run the > > output of the text file manually then the sms is sent as expected but not as > > part of the notification command. Could it be due to permissions? > > > > /usr/bin/printf "%b" "Svc:HTTP ++Host:Abs Self Service Server 2 ++ Addr: > > 89.50.35.113 ++ State:CRITICAL ++Date:23-03-2007 11:53:08" | > > /usr/local/bin/gammu --sendsms TEXT 00000000 > > > > Regards > > > > Simon > > > > On 3/18/07, Din?er Kavraal < dkavraal at yahoo.com> wrote: > > > > > > Hi Simon, > > > Let Nagios to write the action into a file. This is because you should > > > be sure that Nagios runs the command exactly as yours. There can be some > > > exceptions (bugs, some missed escape chars, ...). > > > Thus, see the difference. > > > > > > First of all, let it write into a file. For instance, change the > > > command like, > > > echo '/usr/bin/printf "%b" "Svc:$SERVICEDESC$ ++Host:$HOSTALIAS$ ++ > > > Addr:$HOSTADDRESS$ ++ State:$SERVICESTATE$ ++Date:$SHORTDATETIME$" | > > > /usr/local/bin/gammu --sendsms TEXT $CONTACTPAGER$' >> /tmp/someTempFile > > > > > > After you're sure a notification is done, open that temporary file and > > > get a random line (first, last or any) then try to execute it. Result? Same? > > > > > > > > > This makes difference. Waiting for your reply. > > > > > > Din?er > > > > > > 2007/3/17, Simon Welch < simon.welch at gmail.com>: > > > > > > > > Please can someone help or point me in the direction of a log I can > > > > interrogate, I am using gammu to attempt to send sms notifications (command > > > > definition below, as detailed on gammu web site). The nagios.logreports that the notification has been sent sucessfully but the message is > > > > never received, if I run the command manually the sms is received. Any > > > > ideas? > > > > > > > > Details FC6 PPC, Gammu version 1.10.1 (compliled from source), > > > > Nagios 2.7 yum repository install. > > > > > > > > define command{ > > > > command_name notify-by-sms-direct > > > > command_line /usr/bin/printf "%b" "Svc:$SERVICEDESC$ > > > > ++Host:$HOSTALIAS$ ++ Addr:$HOSTADDRESS$ ++ State:$SERVICESTATE$ > > > > ++Date:$SHORTDATETIME$" | /usr/local/bin/gammu --sendsms TEXT $CONTACTPAGER$ > > > > > > > > } > > > > > > > > Thanks in advance > > > > > > > > Simon > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > Take Surveys. Earn Cash. Influence the Future of IT > > > > Join SourceForge.net's Techsay panel and you'll get the chance to > > > > share your > > > > opinions on IT & business topics through brief surveys-and earn cash > > > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Josh.Yost at epsiia.com Fri Mar 23 15:37:22 2007 From: Josh.Yost at epsiia.com (Josh Yost) Date: Fri, 23 Mar 2007 09:37:22 -0500 Subject: SMS notification with gammu - Solved In-Reply-To: <58af117c0703230710h22bf45d6tb0c22fd56f0428e6@mail.gmail.com> References: <58af117c0703230710h22bf45d6tb0c22fd56f0428e6@mail.gmail.com> Message-ID: <4603E622.8080101@epsiia.com> Simon Welch wrote: > The problem was due to the /dev/ttyACM0 device that was created when the > mobile was connected via USB not having rw access for other user. Is there > a way to make these permissions persistent on a reboot or disconnection > of a > hot plug device? > Hi, Are you using udev? You should be able to write a rule using OWNER=, GROUP=, & MODE= for that device, I think something like: KERNEL=="ttyACM*", NAME="%k", OWNER="whoever", GROUP="whatever", MODE="660" check out $ man udev - Josh ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smog1 at free.fr Fri Mar 23 16:09:25 2007 From: smog1 at free.fr (Sil ) Date: Fri, 23 Mar 2007 16:09:25 +0100 Subject: check_users plugin problem [Solved] In-Reply-To: <4603979E.2050100@free.fr> References: <4603979E.2050100@free.fr> Message-ID: <4603EDA5.1070900@free.fr> I think I solved the problem. In my tests I've try the plugin in a user shell, a sudo shel and a root shell (su - ) But when I restart a service I use sudo. $ sudo /etc/init.d/nagios restart So I try to restart Nagios service in a root shell : $ su - pw # /etc/init.d/nagios restart And now it works, the own difference is the answer text is now in English !!! Not important. Take care at the plugin answer : maugain at sarge:~$ /usr/lib/nagios/plugins/check_users -w3 -c10 UTILISATEURS OK - 1 utilisateurs actuellement connect?s sur |users=1;3;10;0 me at sarge:~$ su - Password: sarge:~# /usr/lib/nagios/plugins/check_users -w3 -c10 USERS WARNING - 4 users currently logged in |users=4;3;10;0 Thanks for your help. Sil ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Josh.Yost at epsiia.com Fri Mar 23 16:14:05 2007 From: Josh.Yost at epsiia.com (Josh Yost) Date: Fri, 23 Mar 2007 10:14:05 -0500 Subject: check_perc.pl Message-ID: <4603EEBD.9010707@epsiia.com> Hi all, If anyone uses my check_perc.pl, I've posted a new version on nagiosexchange.org. The core functionality hasn't changed much, except for (hopefully) better error handling, expanded options, & more debugging output. changes: - switched to Getopt::Long - more nagios plugin-compliant (I actually read the guidelines) - bad usage & all non-zero snmpwalk exits now return UNKNOWN - CRITICAL is reserved for disk & controller failures - using an absolute path for the system call - better error handling (& better handling of unexpected snmp output) - improved debugging output - added SNMPv3 snmpwalk options - added an internal alarm - cleaned up & expanded help output a bit I wrote a version that used Net::SNMP, but it was noticeably slower due to the module loading - so I've just continued using a system call to net-snmp's snmpwalk. Thanks, - Josh ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dkavraal at yahoo.com Fri Mar 23 16:47:14 2007 From: dkavraal at yahoo.com (=?ISO-8859-1?Q?Din=E7er_Kavraal?=) Date: Fri, 23 Mar 2007 17:47:14 +0200 Subject: check_users plugin problem In-Reply-To: <4603D461.5030002@free.fr> References: <4603979E.2050100@free.fr> <4603D461.5030002@free.fr> Message-ID: Ok. It's an issue of security. However, I do not know how to achieve this. Sorry. But you can search for "grant user who" like strings at Google. By the way, I will be looking for that, if found, I will share it and asking you same. Okay? Din?er 2007/3/23, Sil : > > Din?er Kavraal a ?crit : > > Sorry, but that number difference is because: > > - when root is logged in, you have used "su root", so there are two > > users: 1) root 2) (already open) me > > - when "me" is logged in, there are only 1 user which is "me". > My example was too simple sorry, here an other : > me at sarge:~$ w > 14:14:37 up 2 days, 2:00, 4 users, load average: 0,25, 0,10, 0,02 > USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT > me pts/0 192.168.1.3 14:14 0.00s 0.07s 0.03s w > other pts/1 192.168.1.3 14:13 1:09 0.79s 0.76s top > me pts/2 192.168.1.3 14:13 1:12 0.76s 0.73s top > me pts/3 192.168.1.3 14:13 1:15 0.83s 0.79s top > > maugain at sarge:~$ /usr/lib/nagios/plugins/check_users -w3 -c10 > UTILISATEURS OK - 1 utilisateurs actuellement connect?s sur > |users=1;3;10;0 > > me at sarge:~$ su - > Password: > > sarge:~# /usr/lib/nagios/plugins/check_users -w3 -c10 > USERS WARNING - 4 users currently logged in |users=4;3;10;0 > > sarge:~# w > 14:15:25 up 2 days, 2:01, 4 users, load average: 0.10, 0.08, 0.02 > USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT > me pts/0 192.168.1.3 14:14 0.00s 0.11s 0.04s sshd: me [priv] > other pts/1 192.168.1.3 14:13 1:57 1.26s 1.23s top > me pts/2 192.168.1.3 14:13 2:00 1.26s 1.23s top > me pts/3 192.168.1.3 14:13 2:03 1.30s 1.26s top > > sarge:~# who > me pts/0 Mar 23 14:14 (192.168.1.3) > other pts/1 Mar 23 14:13 (192.168.1.3) > me pts/2 Mar 23 14:13 (192.168.1.3) > me pts/3 Mar 23 14:13 (192.168.1.3) > > sarge:~# finger > Login Name Tty Idle Login Time Office > Office Phone > other BackupPC pts/1 2 Mar 23 14:13 (192.168.1.3) > me Maugain Silv?re *pts/0 Mar 23 14:14 (192.168.1.3) > me Maugain Silv?re pts/2 2 Mar 23 14:13 (192.168.1.3) > me Maugain Silv?re pts/3 2 Mar 23 14:13 (192.168.1.3) > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.radcliffe at gmail.com Fri Mar 23 16:48:30 2007 From: jay.radcliffe at gmail.com (Jay Radcliffe) Date: Fri, 23 Mar 2007 11:48:30 -0400 Subject: NDOutil question Message-ID: <3075aa7f0703230848j92b3122p1c1b2c2be78bbfbf@mail.gmail.com> I am looking to eliminate the timedevents and servicechecks data from being NDO'd into my database. Currently my data_processing_options is set to -1, which includes everything. The documentation refers to a header file that doesn't exist to OR the values together to get the right dataset. Has anyone attempted this? If so could you shed some light on how? Thanks, Jay ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smog1 at free.fr Fri Mar 23 16:53:52 2007 From: smog1 at free.fr (Sil ) Date: Fri, 23 Mar 2007 16:53:52 +0100 Subject: check_users plugin problem In-Reply-To: References: <4603979E.2050100@free.fr> <4603D461.5030002@free.fr> Message-ID: <4603F810.9070102@free.fr> Din?er Kavraal a ?crit : > Ok. It's an issue of security. However, I do not know how to achieve > this. Sorry. > But you can search for "grant user who" like strings at Google. I will look about this. > By the way, I will be looking for that, if found, I will share it and > asking you same. Okay? No problems. Sil ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rmordasiewicz at samuelmanutech.com Fri Mar 23 17:07:01 2007 From: rmordasiewicz at samuelmanutech.com (Robin Mordasiewicz) Date: Fri, 23 Mar 2007 12:07:01 -0400 (EDT) Subject: setting the From: email address Message-ID: What are people doing in order to set the From: email address that notifications appear to come from. When using mail the email notifications appear to come from the username at host which nagios runs. -- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 17:08:16 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 23 Mar 2007 12:08:16 -0400 Subject: setting the From: email address In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Robin Mordasiewicz > Sent: Friday, March 23, 2007 9:07 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] setting the From: email address > > What are people doing in order to set the From: email address > that notifications appear to come from. > > When using mail the email notifications appear to come from > the username at host which nagios runs. In my case, I've configured my mailer so that the From address is masqueraded when the Nagios account sends mail. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Fri Mar 23 17:11:55 2007 From: kyle.odonnell at gmail.com (Kyle O'Donnell) Date: Fri, 23 Mar 2007 12:11:55 -0400 Subject: setting the From: email address In-Reply-To: References: Message-ID: <2274b9c30703230911v3a08d0cckc866429f82da1d3a@mail.gmail.com> i use sendmail -f printf "%" "To: for\n Subject: bar\n this is an alert" |sendmail -f nagiosadmin $contactemail$ On 3/23/07, Morris, Patrick wrote: > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > > Of Robin Mordasiewicz > > Sent: Friday, March 23, 2007 9:07 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] setting the From: email address > > > > What are people doing in order to set the From: email address > > that notifications appear to come from. > > > > When using mail the email notifications appear to come from > > the username at host which nagios runs. > > In my case, I've configured my mailer so that the From address is > masqueraded when the Nagios account sends mail. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dkavraal at yahoo.com Fri Mar 23 17:15:56 2007 From: dkavraal at yahoo.com (=?ISO-8859-1?Q?Din=E7er_Kavraal?=) Date: Fri, 23 Mar 2007 18:15:56 +0200 Subject: check_users plugin problem [Solved] In-Reply-To: <4603EDA5.1070900@free.fr> References: <4603979E.2050100@free.fr> <4603EDA5.1070900@free.fr> Message-ID: It might be using default .po file (translation - language). You can set your default language to solve that English problem. But there is a problem in here, you ought not to run nagios as root. There can occur a security flaw. Try to run only "check_users" as root or give related permission to the nagios user. Din?er 2007/3/23, Sil : > > I think I solved the problem. > In my tests I've try the plugin in a user shell, a sudo shel and a root > shell (su - ) > But when I restart a service I use sudo. > $ sudo /etc/init.d/nagios restart > > So I try to restart Nagios service in a root shell : > $ su - > pw > # /etc/init.d/nagios restart > > And now it works, the own difference is the answer text is now in > English !!! Not important. > Take care at the plugin answer : > maugain at sarge:~$ /usr/lib/nagios/plugins/check_users -w3 -c10 > > UTILISATEURS OK - 1 utilisateurs actuellement connect?s sur > |users=1;3;10;0 > > me at sarge:~$ su - > Password: > > sarge:~# /usr/lib/nagios/plugins/check_users -w3 -c10 > USERS WARNING - 4 users currently logged in |users=4;3;10;0 > > > Thanks for your help. > Sil > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dkavraal at yahoo.com Fri Mar 23 17:19:07 2007 From: dkavraal at yahoo.com (=?ISO-8859-1?Q?Din=E7er_Kavraal?=) Date: Fri, 23 Mar 2007 18:19:07 +0200 Subject: setting the From: email address In-Reply-To: References: Message-ID: Kyle is right. You can use: # sendmail -f from at address.com ..... or for mail you can give header information: # mail -a "From: from at address.com" ..... 2007/3/23, Robin Mordasiewicz : > > What are people doing in order to set the From: email address that > notifications appear to come from. > > When using mail the email notifications appear to come from the > username at host which nagios runs. > > > -- > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pjahromi at us.checkpoint.com Fri Mar 23 17:21:13 2007 From: pjahromi at us.checkpoint.com (Payam Jahromi) Date: Fri, 23 Mar 2007 09:21:13 -0700 Subject: Images not showing in GUI Message-ID: <004f01c76d67$46efd3d0$b97461d1@ad.checkpoint.com> Hi, I just installed and set up nagios (version 2.8) for the first time. I set up the cgi-bin directory per the instructions, but when I go to the web interface, I don't see any images or icons/colors. I can see the nagios colors to the left, but the images in the middle are X'd out. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dkavraal at yahoo.com Fri Mar 23 17:42:30 2007 From: dkavraal at yahoo.com (=?ISO-8859-1?Q?Din=E7er_Kavraal?=) Date: Fri, 23 Mar 2007 18:42:30 +0200 Subject: Images not showing in GUI In-Reply-To: <004f01c76d67$46efd3d0$b97461d1@ad.checkpoint.com> References: <004f01c76d67$46efd3d0$b97461d1@ad.checkpoint.com> Message-ID: You have to recheck your image permissions. Be sure they are readable by web server (read: http://nagios.sourceforge.net/docs/2_0/installweb.html) 2007/3/23, Payam Jahromi < pjahromi at us.checkpoint.com>: > > Hi, > > > > I just installed and set up nagios (version 2.8) for the first time. I set > up the cgi-bin directory per the instructions, but when I go to the web > interface, I don't see any images or icons/colors. I can see the nagios > colors to the left, but the images in the middle are X'd out. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pjahromi at us.checkpoint.com Fri Mar 23 18:56:28 2007 From: pjahromi at us.checkpoint.com (Payam Jahromi) Date: Fri, 23 Mar 2007 10:56:28 -0700 Subject: Images not showing in GUI In-Reply-To: References: <004f01c76d67$46efd3d0$b97461d1@ad.checkpoint.com> Message-ID: <009601c76d74$950f72c0$b97461d1@ad.checkpoint.com> I?ve re-read this page and I still don?t know the issue. I?ve made sure the permissions are readable. I put in the snippet in my httpd.conf file. [root at pippen conf]# ls -ld /usr/local/nagios/sbin drwxrwxr-x 2 nagios nagios 4096 Mar 12 12:21 /usr/local/nagios/sbin [root at pippen conf]# ls -l /usr/local/nagios/sbin total 1752 -rwxrwxr-x 1 nagios nagios 156928 Mar 12 12:21 avail.cgi -rwxrwxr-x 1 nagios nagios 165908 Mar 12 12:21 cmd.cgi -rwxrwxr-x 1 nagios nagios 122144 Mar 12 12:21 config.cgi -rwxrwxr-x 1 nagios nagios 182292 Mar 12 12:21 extinfo.cgi -rwxrwxr-x 1 nagios nagios 111456 Mar 12 12:21 history.cgi -rwxrwxr-x 1 nagios nagios 107712 Mar 12 12:21 notifications.cgi -rwxrwxr-x 1 nagios nagios 108956 Mar 12 12:21 outages.cgi -rwxrwxr-x 1 nagios nagios 107616 Mar 12 12:21 showlog.cgi -rwxrwxr-x 1 nagios nagios 161212 Mar 12 12:21 status.cgi -rwxrwxr-x 1 nagios nagios 121280 Mar 12 12:21 statuswml.cgi -rwxrwxr-x 1 nagios nagios 107776 Mar 12 12:21 statuswrl.cgi -rwxrwxr-x 1 nagios nagios 127840 Mar 12 12:21 summary.cgi -rwxrwxr-x 1 nagios nagios 128476 Mar 12 12:21 tac.cgi [root at pippen conf]# ls -ld /usr/local/nagios/share drwxrwxr-x 8 nagios nagios 4096 Mar 12 12:21 /usr/local/nagios/share [root at pippen conf]# ls -l /usr/local/nagios/share total 52 drwxrwxr-x 2 nagios nagios 4096 Mar 12 12:21 contexthelp drwxrwxr-x 3 nagios nagios 4096 Mar 12 12:21 docs drwxrwxr-x 3 nagios nagios 4096 Mar 12 12:21 images -rw-rw-r-- 1 nagios nagios 658 Mar 12 12:21 index.html -rw-rw-r-- 1 nagios nagios 2408 Mar 12 12:21 main.html drwxrwxr-x 2 nagios nagios 4096 Mar 12 12:21 media -rw-rw-r-- 1 nagios nagios 26 Mar 12 12:21 robots.txt -rw-rw-r-- 1 nagios nagios 12729 Mar 12 12:21 side.html drwxrwxr-x 2 nagios nagios 4096 Mar 12 12:21 ssi drwxrwxr-x 2 nagios nagios 4096 Mar 12 12:21 stylesheets What am I missing? _____ From: dkavraal at gmail.com [mailto:dkavraal at gmail.com] On Behalf Of Din?er Kavraal Sent: Friday, March 23, 2007 9:43 AM To: Payam Jahromi Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Images not showing in GUI You have to recheck your image permissions. Be sure they are readable by web server (read: http://nagios.sourceforge.net/docs/2_0/installweb.html) 2007/3/23, Payam Jahromi < pjahromi at us.checkpoint.com>: Hi, I just installed and set up nagios (version 2.8) for the first time. I set up the cgi-bin directory per the instructions, but when I go to the web interface, I don't see any images or icons/colors. I can see the nagios colors to the left, but the images in the middle are X'd out. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php &p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dkavraal at yahoo.com Fri Mar 23 19:04:14 2007 From: dkavraal at yahoo.com (=?ISO-8859-1?Q?Din=E7er_Kavraal?=) Date: Fri, 23 Mar 2007 20:04:14 +0200 Subject: Images not showing in GUI In-Reply-To: <009601c76d74$950f72c0$b97461d1@ad.checkpoint.com> References: <004f01c76d67$46efd3d0$b97461d1@ad.checkpoint.com> <009601c76d74$950f72c0$b97461d1@ad.checkpoint.com> Message-ID: It's okay for now. But could you check "ls -l /usr/local/nagios/share/images"? 2007/3/23, Payam Jahromi : > > I've re-read this page and I still don't know the issue. I've made sure > the permissions are readable. > > > > I put in the snippet in my httpd.conf file. > > > > [root at pippen conf]# ls -ld /usr/local/nagios/sbin > > drwxrwxr-x 2 nagios nagios 4096 Mar 12 12:21 /usr/local/nagios/sbin > > > > [root at pippen conf]# ls -l /usr/local/nagios/sbin > > total 1752 > > -rwxrwxr-x 1 nagios nagios 156928 Mar 12 12:21 avail.cgi > > -rwxrwxr-x 1 nagios nagios 165908 Mar 12 12:21 cmd.cgi > > -rwxrwxr-x 1 nagios nagios 122144 Mar 12 12:21 config.cgi > > -rwxrwxr-x 1 nagios nagios 182292 Mar 12 12:21 extinfo.cgi > > -rwxrwxr-x 1 nagios nagios 111456 Mar 12 12:21 history.cgi > > -rwxrwxr-x 1 nagios nagios 107712 Mar 12 12:21 notifications.cgi > > -rwxrwxr-x 1 nagios nagios 108956 Mar 12 12:21 outages.cgi > > -rwxrwxr-x 1 nagios nagios 107616 Mar 12 12:21 showlog.cgi > > -rwxrwxr-x 1 nagios nagios 161212 Mar 12 12:21 status.cgi > > -rwxrwxr-x 1 nagios nagios 121280 Mar 12 12:21 statuswml.cgi > > -rwxrwxr-x 1 nagios nagios 107776 Mar 12 12:21 statuswrl.cgi > > -rwxrwxr-x 1 nagios nagios 127840 Mar 12 12:21 summary.cgi > > -rwxrwxr-x 1 nagios nagios 128476 Mar 12 12:21 tac.cgi > > > > [root at pippen conf]# ls -ld /usr/local/nagios/share > > drwxrwxr-x 8 nagios nagios 4096 Mar 12 12:21 /usr/local/nagios/share > > > > [root at pippen conf]# ls -l /usr/local/nagios/share > > total 52 > > drwxrwxr-x 2 nagios nagios 4096 Mar 12 12:21 contexthelp > > drwxrwxr-x 3 nagios nagios 4096 Mar 12 12:21 docs > > drwxrwxr-x 3 nagios nagios 4096 Mar 12 12:21 images > > -rw-rw-r-- 1 nagios nagios 658 Mar 12 12:21 index.html > > -rw-rw-r-- 1 nagios nagios 2408 Mar 12 12:21 main.html > > drwxrwxr-x 2 nagios nagios 4096 Mar 12 12:21 media > > -rw-rw-r-- 1 nagios nagios 26 Mar 12 12:21 robots.txt > > -rw-rw-r-- 1 nagios nagios 12729 Mar 12 12:21 side.html > > drwxrwxr-x 2 nagios nagios 4096 Mar 12 12:21 ssi > > drwxrwxr-x 2 nagios nagios 4096 Mar 12 12:21 stylesheets > > > > What am I missing? > ------------------------------ > > *From:* dkavraal at gmail.com [mailto:dkavraal at gmail.com] *On Behalf Of *Din?er > Kavraal > *Sent:* Friday, March 23, 2007 9:43 AM > *To:* Payam Jahromi > *Cc:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] Images not showing in GUI > > > > You have to recheck your image permissions. Be sure they are readable by > web server (read: http://nagios.sourceforge.net/docs/2_0/installweb.html) > > 2007/3/23, Payam Jahromi < pjahromi at us.checkpoint.com>: > > Hi, > > > > I just installed and set up nagios (version 2.8) for the first time. I set > up the cgi-bin directory per the instructions, but when I go to the web > interface, I don't see any images or icons/colors. I can see the nagios > colors to the left, but the images in the middle are X'd out. > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pjahromi at us.checkpoint.com Fri Mar 23 19:08:17 2007 From: pjahromi at us.checkpoint.com (Payam Jahromi) Date: Fri, 23 Mar 2007 11:08:17 -0700 Subject: Images not showing in GUI In-Reply-To: References: <004f01c76d67$46efd3d0$b97461d1@ad.checkpoint.com> <009601c76d74$950f72c0$b97461d1@ad.checkpoint.com> Message-ID: <00b501c76d76$3c16e390$b97461d1@ad.checkpoint.com> ls -l /usr/local/nagios/share/images total 316 -rw-rw-r-- 1 nagios nagios 891 Mar 12 12:21 ack.gif -rw-rw-r-- 1 nagios nagios 1374 Mar 12 12:21 action.gif -rw-rw-r-- 1 nagios nagios 1187 Mar 12 12:21 command.png -rw-rw-r-- 1 nagios nagios 900 Mar 12 12:21 comment.gif -rw-rw-r-- 1 nagios nagios 1476 Mar 12 12:21 contexthelp1.gif -rw-rw-r-- 1 nagios nagios 1406 Mar 12 12:21 contexthelp2.gif -rw-rw-r-- 1 nagios nagios 1385 Mar 12 12:21 critical.png -rw-rw-r-- 1 nagios nagios 966 Mar 12 12:21 delay.gif -rw-rw-r-- 1 nagios nagios 1124 Mar 12 12:21 delete.gif -rw-rw-r-- 1 nagios nagios 890 Mar 12 12:21 detail.gif -rw-rw-r-- 1 nagios nagios 1088 Mar 12 12:21 disabled.gif -rw-rw-r-- 1 nagios nagios 846 Mar 12 12:21 down.gif -rw-rw-r-- 1 nagios nagios 864 Mar 12 12:21 downtime.gif -rw-rw-r-- 1 nagios nagios 807 Mar 12 12:21 empty.gif -rw-rw-r-- 1 nagios nagios 1016 Mar 12 12:21 enabled.gif -rw-rw-r-- 1 nagios nagios 1040 Mar 12 12:21 extinfo.gif -rw-rw-r-- 1 nagios nagios 578 Mar 12 12:21 flapping.gif -rw-rw-r-- 1 nagios nagios 329 Mar 12 12:21 greendot.gif -rw-rw-r-- 1 nagios nagios 17934 Mar 12 12:21 histogram.png -rw-rw-r-- 1 nagios nagios 924 Mar 12 12:21 history.gif -rw-rw-r-- 1 nagios nagios 958 Mar 12 12:21 hostevent.gif -rw-rw-r-- 1 nagios nagios 1371 Mar 12 12:21 info.png -rw-rw-r-- 1 nagios nagios 1097 Mar 12 12:21 left.gif -rw-rw-r-- 1 nagios nagios 13011 Mar 12 12:21 logofullsize.jpg drwxrwxr-x 2 nagios nagios 4096 Mar 12 12:21 logos -rw-rw-r-- 1 nagios nagios 1085 Mar 12 12:21 logrotate.png -rw-rw-r-- 1 nagios nagios 1003 Mar 12 12:21 ndisabled.gif -rw-rw-r-- 1 nagios nagios 921 Mar 12 12:21 noack.gif -rw-rw-r-- 1 nagios nagios 1594 Mar 12 12:21 notes.gif -rw-rw-r-- 1 nagios nagios 947 Mar 12 12:21 notify.gif -rw-rw-r-- 1 nagios nagios 325 Mar 12 12:21 orangedot.gif -rw-rw-r-- 1 nagios nagios 985 Mar 12 12:21 passiveonly.gif -rw-rw-r-- 1 nagios nagios 1413 Mar 12 12:21 recovery.png -rw-rw-r-- 1 nagios nagios 5519 Mar 12 12:21 redudancy.png -rw-rw-r-- 1 nagios nagios 5519 Mar 12 12:21 redundancy.png -rw-rw-r-- 1 nagios nagios 969 Mar 12 12:21 restart.gif -rw-rw-r-- 1 nagios nagios 1098 Mar 12 12:21 right.gif -rw-rw-r-- 1 nagios nagios 5093 Mar 12 12:21 sblogo.jpg -rw-rw-r-- 1 nagios nagios 958 Mar 12 12:21 serviceevent.gif -rw-rw-r-- 1 nagios nagios 917 Mar 12 12:21 start.gif -rw-rw-r-- 1 nagios nagios 957 Mar 12 12:21 status2.gif -rw-rw-r-- 1 nagios nagios 951 Mar 12 12:21 status3.gif -rw-rw-r-- 1 nagios nagios 1029 Mar 12 12:21 status4.gif -rw-rw-r-- 1 nagios nagios 939 Mar 12 12:21 status.gif -rw-rw-r-- 1 nagios nagios 971 Mar 12 12:21 stop.gif -rw-rw-r-- 1 nagios nagios 1290 Mar 12 12:21 tacdisabled.jpg -rw-rw-r-- 1 nagios nagios 1329 Mar 12 12:21 tacdisabled.png -rw-rw-r-- 1 nagios nagios 1525 Mar 12 12:21 tacenabled.jpg -rw-rw-r-- 1 nagios nagios 1113 Mar 12 12:21 tacenabled.png -rw-rw-r-- 1 nagios nagios 567 Mar 12 12:21 thermcrit.png -rw-rw-r-- 1 nagios nagios 776 Mar 12 12:21 thermok.png -rw-rw-r-- 1 nagios nagios 676 Mar 12 12:21 thermwarn.png -rw-rw-r-- 1 nagios nagios 870 Mar 12 12:21 trends.gif -rw-rw-r-- 1 nagios nagios 18902 Mar 12 12:21 trendshost.png -rw-rw-r-- 1 nagios nagios 19031 Mar 12 12:21 trendssvc.png -rw-rw-r-- 1 nagios nagios 1405 Mar 12 12:21 unknown.png -rw-rw-r-- 1 nagios nagios 848 Mar 12 12:21 up.gif -rw-rw-r-- 1 nagios nagios 1386 Mar 12 12:21 warning.png -rw-rw-r-- 1 nagios nagios 3827 Mar 12 12:21 weblogo1.png -rw-rw-r-- 1 nagios nagios 1004 Mar 12 12:21 zoom1.gif -rw-rw-r-- 1 nagios nagios 1005 Mar 12 12:21 zoom2.gif _____ From: dkavraal at gmail.com [mailto:dkavraal at gmail.com] On Behalf Of Din?er Kavraal Sent: Friday, March 23, 2007 11:04 AM To: Payam Jahromi Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Images not showing in GUI It's okay for now. But could you check "ls -l /usr/local/nagios/share/images"? 2007/3/23, Payam Jahromi : I've re-read this page and I still don't know the issue. I've made sure the permissions are readable. I put in the snippet in my httpd.conf file. [root at pippen conf]# ls -ld /usr/local/nagios/sbin drwxrwxr-x 2 nagios nagios 4096 Mar 12 12:21 /usr/local/nagios/sbin [root at pippen conf]# ls -l /usr/local/nagios/sbin total 1752 -rwxrwxr-x 1 nagios nagios 156928 Mar 12 12:21 avail.cgi -rwxrwxr-x 1 nagios nagios 165908 Mar 12 12:21 cmd.cgi -rwxrwxr-x 1 nagios nagios 122144 Mar 12 12:21 config.cgi -rwxrwxr-x 1 nagios nagios 182292 Mar 12 12:21 extinfo.cgi -rwxrwxr-x 1 nagios nagios 111456 Mar 12 12:21 history.cgi -rwxrwxr-x 1 nagios nagios 107712 Mar 12 12:21 notifications.cgi -rwxrwxr-x 1 nagios nagios 108956 Mar 12 12:21 outages.cgi -rwxrwxr-x 1 nagios nagios 107616 Mar 12 12:21 showlog.cgi -rwxrwxr-x 1 nagios nagios 161212 Mar 12 12:21 status.cgi -rwxrwxr-x 1 nagios nagios 121280 Mar 12 12:21 statuswml.cgi -rwxrwxr-x 1 nagios nagios 107776 Mar 12 12:21 statuswrl.cgi -rwxrwxr-x 1 nagios nagios 127840 Mar 12 12:21 summary.cgi -rwxrwxr-x 1 nagios nagios 128476 Mar 12 12:21 tac.cgi [root at pippen conf]# ls -ld /usr/local/nagios/share drwxrwxr-x 8 nagios nagios 4096 Mar 12 12:21 /usr/local/nagios/share [root at pippen conf]# ls -l /usr/local/nagios/share total 52 drwxrwxr-x 2 nagios nagios 4096 Mar 12 12:21 contexthelp drwxrwxr-x 3 nagios nagios 4096 Mar 12 12:21 docs drwxrwxr-x 3 nagios nagios 4096 Mar 12 12:21 images -rw-rw-r-- 1 nagios nagios 658 Mar 12 12:21 index.html -rw-rw-r-- 1 nagios nagios 2408 Mar 12 12:21 main.html drwxrwxr-x 2 nagios nagios 4096 Mar 12 12:21 media -rw-rw-r-- 1 nagios nagios 26 Mar 12 12:21 robots.txt -rw-rw-r-- 1 nagios nagios 12729 Mar 12 12:21 side.html drwxrwxr-x 2 nagios nagios 4096 Mar 12 12:21 ssi drwxrwxr-x 2 nagios nagios 4096 Mar 12 12:21 stylesheets What am I missing? _____ From: dkavraal at gmail.com [mailto: dkavraal at gmail.com ] On Behalf Of Din?er Kavraal Sent: Friday, March 23, 2007 9:43 AM To: Payam Jahromi Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Images not showing in GUI You have to recheck your image permissions. Be sure they are readable by web server (read: http://nagios.sourceforge.net/docs/2_0/installweb.html ) 2007/3/23, Payam Jahromi < pjahromi at us.checkpoint.com>: Hi, I just installed and set up nagios (version 2.8) for the first time. I set up the cgi-bin directory per the instructions, but when I go to the web interface, I don't see any images or icons/colors. I can see the nagios colors to the left, but the images in the middle are X'd out. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php &p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From azoecalvo at yahoo.com.ar Fri Mar 23 19:08:39 2007 From: azoecalvo at yahoo.com.ar (Alicia Calvo) Date: Fri, 23 Mar 2007 15:08:39 -0300 (ART) Subject: nagios check_nt eventlog Windows Message-ID: <516401.72739.qm@web33009.mail.mud.yahoo.com> Hi, I need your help... I work fine with 'Check_nt' Eventlogs Windows for any time, it nedd install a client in the Windows machine with Nc_net_setup.msi and have a requirement, the microsoft Net framework 1.1.4. But, today, the current version in my servers is net framework 2.0 and the install cancel. Did you know any notice for this problem or the Check_nt new version? Thanks for your atention!! AMC --------------------------------- Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). Probalo ya! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From c.mies at itnovum.de Fri Mar 23 19:27:56 2007 From: c.mies at itnovum.de (Mies, Christian) Date: Fri, 23 Mar 2007 19:27:56 +0100 Subject: nagios check_nt eventlog Windows Message-ID: <1160D06701B0154985D72DA43FE3D33ACCA3B8@srvcom02.master.dns> if you can change the software on windows use nsclient++- there is also a NRPE Daemon included, and you don't nee framework 1.x or 2.x regards Christian ________________________________ it-novum GmbH Ein Unternehmen der Mehler AG Christian Mies Consultant Systemmanagement Edelzeller Stra?e 44 36043 Fulda FON: +49 (661) 103-874 (-333) FAX: +49 (661) 103-17874 (-334) MAIL: c.mies at itnovum.de WEB: http://www.itnovum.de Handelsregister: Amtsgericht Fulda, HRB 1934 Gesch?ftsf?hrer: Michael Kienle Sitz der Gesellschaft: Fulda UstID-Nr: DE813211784 Steuernr.: 018/225/03095 Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie nicht der eigentliche Empf?nger sein sollten, informieren Sie bitte sofort den Absender oder vernichten umgehend diese Mail. Jegliche unerlaubte Vervielf?ltigung oder Weiterleitung dieser Mail ist strengstens verboten. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of material in this e-mail is strictly forbidden. Von: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von Alicia Calvo Gesendet: Freitag, 23. M?rz 2007 19:09 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] nagios check_nt eventlog Windows Hi, I need your help... I work fine with 'Check_nt' Eventlogs Windows for any time, it nedd install a client in the Windows machine with Nc_net_setup.msi and have a requirement, the microsoft Net framework 1.1.4. But, today, the current version in my servers is net framework 2.0 and the install cancel. Did you know any notice for this problem or the Check_nt new version? Thanks for your atention!! AMC ________________________________ Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). Probalo ya! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcall at verio.net Fri Mar 23 19:50:50 2007 From: jcall at verio.net (Jonathan Call) Date: Fri, 23 Mar 2007 14:50:50 -0400 Subject: Breakdown of status.cgi? Message-ID: <04F3233F47E2714CB7431AE913E57E7701D45348@IAD-WPRD-XCHB02.corp.verio.net> Is there some documentation somewhere that breaks down the possible variables and options available to status.cgi? For example, what are all the possible binary operands for servicestatustypes or style? I'm trying to create a Current Network Status view that will be more appropriate for NOC people than the Tactical Overview page. Jonathan ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From liccardo at acmesolutions.it Fri Mar 23 19:54:28 2007 From: liccardo at acmesolutions.it (Massimiliano Liccardo) Date: Fri, 23 Mar 2007 19:54:28 +0100 Subject: check_http without HEAD Message-ID: <200703231954.29483.liccardo@acmesolutions.it> I'm wondering why the check_http plugin doesn't use also the HEAD method to poll a web server in order to reduce traffic. -- Massimiliano Liccardo (maX) jid:coccolesto at jabber.org jid:max.liccardo at gmail.com GnuPG public key available on wwwkeys.eu.pgp.net Key ID: D01F1CAD Key fingerprint: 992D 91B7 9682 9735 12C9 402D AD3F E4BB D01F 1CAD "la velocit? induce all'oblio, la lentezza al ricordo" ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Fri Mar 23 20:29:11 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 23 Mar 2007 15:29:11 -0400 Subject: nagios check_nt eventlog Windows In-Reply-To: <516401.72739.qm@web33009.mail.mud.yahoo.com> References: <516401.72739.qm@web33009.mail.mud.yahoo.com> Message-ID: Framework 2.0 is installed by default on Windows Server 2003 and newer. NC_NEt v3 or higher installs with no issue on these hosts since they require Framework 2.0 NC_NEt before version 3 (2.X or 1.X) require Framework 1.1 but I do not recomend installing older verison of NC_NEt. I just updated NagiosExchange yesterday to reflect that the current verison is maintained on Sourceforge: http://sourceforge.net/projects/nc-net THe newest version of NC_NEt v4.x that is currently in testing should be done within a week. I can email a copy of this version to anyone that would like to try. request it by email me at nc_net at montitech.com Version 4 does a much better job at Event Log checks. and I am looking for feedback on this. Version 3.x that is currently downloadable from sourceforge should resolve your issue. Tony (author of NC_Net) On 3/23/07, Alicia Calvo wrote: > > Hi, I need your help... > > I work fine with 'Check_nt' Eventlogs Windows for any time, it nedd > install > a client in the Windows machine with Nc_net_setup.msi and have a > requirement, the microsoft Net framework 1.1.4. > But, today, the current version in my servers is net framework 2.0 and the > install cancel. > Did you know any notice for this problem or the Check_nt new version? > Thanks for your atention!! > > > AMC > > ------------------------------ > *Pregunt?. Respond?. Descubr?.* > Todo lo que quer?as saber, y lo que ni imaginabas, > est? en *Yahoo! Respuestas* (Beta). > *Probalo ya! * > > > ----------------