From jeffrey_lemay at yahoo.com Fri Apr 1 01:45:55 2005 From: jeffrey_lemay at yahoo.com (Jeff Lemay) Date: Thu, 31 Mar 2005 15:45:55 -0800 (PST) Subject: Segmentation Fault??? In-Reply-To: 6667 Message-ID: <20050331234555.21328.qmail@web52601.mail.yahoo.com> Hey Guys, I've configured Nagios on Redhat9 and I've done the whole ./nagios -v to check my config. It seems to all check out, but for some reason I get the following message: [root at otrs bin]# ./nagios -d /opt/nagios/etc/nagios.cfg Segmentation fault When I try to run it through rc.d, this is what I get: [root at otrs bin]# /etc/rc.d/init.d/nagios start Starting network monitor: nagios /etc/rc.d/init.d/nagios: line 177: 4763 Segmentation fault $NagiosBin -d $NagiosCfg ps: error: List of process IDs must follow -p. usage: ps -[Unix98 options] ps [BSD-style options] ps --[GNU-style long options] ps --help for a command summary here is the end of the contents of my nagios rc.d file: fi else $NagiosBin -v $NagiosCfg echo "failed - aborting reload." exit 1 fi ;; *) echo "Usage: nagios {start|stop|restart|reload|force-reload|status}" exit 1 ;; esac Not quite sure what is going on...any help would be greatly appreciated! thanks! __________________________________ Do you Yahoo!? Yahoo! Personals - Better first dates. More second dates. http://personals.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffrey_lemay at yahoo.com Fri Apr 1 01:49:14 2005 From: jeffrey_lemay at yahoo.com (Jeff Lemay) Date: Thu, 31 Mar 2005 15:49:14 -0800 (PST) Subject: Segmentation Fault Message-ID: <20050331234914.18914.qmail@web52610.mail.yahoo.com> Has anyone ever seen this before?? [root at otrs bin]# /etc/rc.d/init.d/nagios start Starting network monitor: nagios /etc/rc.d/init.d/nagios: line 177: 4806 Segmentation fault $NagiosBin -d $NagiosCfg ps: error: List of process IDs must follow -p. usage: ps -[Unix98 options] ps [BSD-style options] ps --[GNU-style long options] ps --help for a command summary __________________________________ Yahoo! Messenger Show us what our next emoticon should look like. Join the fun. http://www.advision.webevents.yahoo.com/emoticontest ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vickers at qut.edu.au Fri Apr 1 02:02:38 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Fri, 01 Apr 2005 10:02:38 +1000 Subject: NC_Net EVENTLOG quirk In-Reply-To: <2638AB7E1672B842901B0B49421B87DF0C264F@mpc00email3.micronpc.com> References: <2638AB7E1672B842901B0B49421B87DF0C264F@mpc00email3.micronpc.com> Message-ID: <424C8F9E.5050303@qut.edu.au> Paul, If you don't get a reply within 23-48 hours, generally not. Try Google. Try the author. Try this: http://www.catb.org/~esr/faqs/smart-questions.html Sorry, HTH, Greg Paul Bourgeau wrote: >Can anyone help??? > > > >Thank You, >Paul Bourgeau > >Ph: 262-523-3300 x60279 >Fx: 208-898-2371 >psbourgeau at mpccorp.com > > > > > >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Paul >Bourgeau >Sent: Wednesday, March 23, 2005 10:57 AM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] NC_Net EVENTLOG quirk > >I have been successful in getting this check to work with one exception. >I am trying to get notifications of whenever Norton AntiVirus makes a >specific log entry and it doesn't seem to work. > >For instance, when it logs an entry to state that the definitions are >current, Windows logs the following: > >Source:Norton AntiVirus >EventID:16 >Type:Information >Description:Virus Definitions are current. > >When I run this check, it does not work.... >./check_nc_net -H hostname -v EVENTLOG -l "application,any,1440,1,Norton >AntiVirus,0,1,16" >OK: No entries in application log recently. > >But when I generalize the check, it comes back with an entry...... >./check_nc_net -H hostname -v EVENTLOG -l "application,any,1440,1,Norton >AntiVirus,0,0" >14 Errors with ID: >16711696;16711704;16711703;16711685;16711683;16711686;16711686;16711686; >16711686;16711686;16711686;16711686;16711685;;Virus Found!Virus name: >EICAR Test String in File: >C:\RECYCLER\S-1-5-21-790525478-1547161642-1801674531-500\Dc466.txt by: >Scheduled sca;. Action: Clean failed : Quarantine succeeded : > > >I have noticed that the checks that aren't working correctly either have >spaces in the source name or under 3 digit ID's. Is this just >coincidence?? In the documentation it states that it "ignores extra >white space in the Regular expression". > >Any other Event ID check works fine, i.e... > >Source:NC_Net >EventID:3005 >Type:Information >Description:NC_Net Service Ending:-NC_Net 2.21 03/13/05 > >./check_nc_net -H hostname -v EVENTLOG -l >application,any,1440,0,0,1,3005 >1 Errors with ID: 3005 LAST - ID 3005: NC_Net Service Ending :-NC_Net >2.21 02/25/05 > > >I have tried this on v2.20 and v2.21 with the same result. > >Thanks in advance for the help!! > >Disclaimer: 23/3/2005 > >MPC Computers is providing the following information in compliance with >federal regulations: > >MPC Computers, LLC >906 E. Karcher Road >Nampa, Idaho 83687 >1-888-224-4247 >http://www.mpccorp.com > >To discontinue receiving e-mail communications from MPC in the future, >please go to: >http://www.mpccorp.com/email/manage.html and follow the instructions. > > > > > >------------------------------------------------------- >This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon >2005 >Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows >Embedded(r) & Windows Mobile(tm) platforms, applications & content. >Register >by 3/29 & save $300 http://ads.osdn.com/?ad_idh83&alloc_id149&op=ick >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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: 31/3/2005 > >MPC Computers is providing the following information in compliance with federal regulations: > >MPC Computers, LLC >906 E. Karcher Road >Nampa, Idaho 83687 >1-888-224-4247 >http://www.mpccorp.com > >To discontinue receiving e-mail communications from MPC in the future, please go to: >http://www.mpccorp.com/email/manage.html and follow the instructions. > > > > > >------------------------------------------------------- >This SF.net email is sponsored by Demarc: >A global provider of Threat Management Solutions. >Download our HomeAdmin security software for free today! >http://www.demarc.com/Info/Sentarus/hamr30 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > -- Greg Vickers Computer Systems Officer Teaching and Learning Support Services, Systems and Architecture Queensland University of Technology Phone: (07) 3864 8276 Mobile: 0416 001 674, SD #6 6147 Email: g.vickers at qut.edu.au CRICOS No. 00213J ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpagquil at philonline.com Fri Apr 1 03:03:31 2005 From: rpagquil at philonline.com (Ryan Pagquil) Date: Fri, 01 Apr 2005 09:03:31 +0800 Subject: No image in my Histogram, Trends, Statusmap pages Message-ID: <424C9DE3.50107@philonline.com> Hi again everybody, I still have my problem with my histogram, trends and statusmap pages. I still can't see any images from it when I access it. I inspect the Apache error log and it says: [Fri Apr 01 08:51:39 2005] [error] [client 10.0.1.14] /srcs/nagios2beta/sbin/statusmap.cgi: relocation error: /srcs/nagios2beta/sbin/statusmap.cgi: undefined symbol: gdImagePng, referer: http://10.0.1.144/nagios/cgi-bin/statusmap.cgi?host=all What is the cause of this error? Thanks in advance, -- Ryan Pagquil Infodyne Inc. - PhilOnline.com 3603 Antel Global Corporate Center Do?a Julia Vargas Ave. Ortigas Center Pasig City Tel: 687-0715 Web: www.philonline.com ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ratty at they.org Fri Apr 1 03:27:20 2005 From: ratty at they.org (frank) Date: Thu, 31 Mar 2005 17:27:20 -0800 (PST) Subject: where did my perfdata file go? Message-ID: Running 2.0b2 and loving it. But when I looked at my service_perfdata_file today it was less than complete. Relevent configs (mostly defaults): service_perfdata_command=process-service-perfdata service_perfdata_file=/tmp/service-perfdata service_perfdata_file_template=[SERVICEPERFDATA]\t$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$ service_perfdata_file_mode=a service_perfdata_file_processing_interval=0 service_perfdata_file_processing_command=process-service-perfdata-file Instead of actually using a perf proc command from within Nagios, I simply run a 'tail -f' on the output file and parse it myself. I assume that "file_processing_interval=0" means Nagios will just leave my file alone... With the file_mode set to "a" I expected that by now I'd find a huge file filled with our perf data beginning on the day I started Nagios, but instead the file starts this morning around 11am. I know for a fact that data has been flowing into the file all along (a few weeks) because my RRDs have been getting properly populated. I was hoping to be able to recreate my RRDs with new RRA sets in them using the perf data but since it's gone I can't. Any clue what happened? Did Nagios somehow rotate/truncate my file without my knowledge or permission? Is there a facility in Nagios to rotate this along with the main Nagios log file? TIA -Frank ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcgrath at iesabroad.org Fri Apr 1 06:47:15 2005 From: mmcgrath at iesabroad.org (Mike McGrath) Date: Thu, 31 Mar 2005 22:47:15 -0600 Subject: Segmentation Fault Message-ID: When you were compiling it did you find that something was missing? I once had this happen. When I compiled it, a library or some dependancy was missing. So I added it, and did another make. I got a binary but it would seg fault. All I had to do to fix it was a "make clean" and then reconfigure and remake everything. -Mike -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jeff Lemay Sent: Thursday, March 31, 2005 5:49 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Segmentation Fault Has anyone ever seen this before?? [root at otrs bin]# /etc/rc.d/init.d/nagios start Starting network monitor: nagios /etc/rc.d/init.d/nagios: line 177: 4806 Segmentation fault $NagiosBin -d $NagiosCfg ps: error: List of process IDs must follow -p. usage: ps -[Unix98 options] ps [BSD-style options] ps --[GNU-style long options] ps --help for a command summary __________________________________ Yahoo! Messenger Show us what our next emoticon should look like. Join the fun. http://www.advision.webevents.yahoo.com/emoticontest ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 1 08:54:17 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 1 Apr 2005 01:54:17 -0500 Subject: NC_Net EVENTLOG quirk In-Reply-To: References: <2638AB7E1672B842901B0B49421B87DF0C264F@mpc00email3.micronpc.com> Message-ID: Hi, I started looking into this when I received your email on this issue last week, I have been able to simulate the same problem however it still needs more intensive diagnostics before a patch can be put into NC_Net. You can check 16711696 instead of 16 until A proper patch for the problem has been found. this is a 16711680 offset from the number that you are looking for. Quote form Paul>>" I have noticed that the checks that aren't working correctly either have spaces in the source name or under 3 digit ID's. Is this just coincidence?? " This is coincidence, There are very few Event Sources that have space in the source name. Your above example With Norton Antivirus was able to recognize all events from Norton Antivirus but the Event ID offset was the issue. NOTE: Ignore Whitespace for Regular Expressions. This is only for the message filter of the event Log check (parameters between event ID and Source ID) Whitespace is ignored during the regular expression so to have whitespace as part of your expression it needs to be escaped thus: For all entries in the last hour that contain "SCSI INTERFACE ERROR" or "CHECK CONDITION" use something like; "any,any,60,0,2,SCSI\ INTERFACE\ ERROR,CHECK\ CONDITION,0" Technical Detail of problem with Norton Antivirus: Doing an event log check for Norton Antivirus the EventLog check is returning the wrong result. I still need more diagnostics but my observation are: NC_Net uses type int to check the Event_ID. The Event ID is also type int. on most cases the event ID works fine. When checking Norton Antivirus somehow the EventID is offset by 16711680 or in hex 00FF0000h I am not sure what is causing this mismatch to occur, since looking through the code all the types should be int32 are int32. I am suspecting that their may be a bug somewhere in the manner that Dot net handles either the Event entry Objects or maybe I am overlooking something? When I have a proper solution to this issue it will be documented in the version section of the read me. Hope this helps, Tony On Mar 31, 2005 11:55 AM, Paul Bourgeau wrote: > Can anyone help??? > > Thank You, > Paul Bourgeau > > Ph: 262-523-3300 x60279 > Fx: 208-898-2371 > psbourgeau at mpccorp.com > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Paul > Bourgeau > Sent: Wednesday, March 23, 2005 10:57 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NC_Net EVENTLOG quirk > > I have been successful in getting this check to work with one exception. > I am trying to get notifications of whenever Norton AntiVirus makes a > specific log entry and it doesn't seem to work. > > For instance, when it logs an entry to state that the definitions are > current, Windows logs the following: > > Source:Norton AntiVirus > EventID:16 > Type:Information > Description:Virus Definitions are current. > > When I run this check, it does not work.... > ./check_nc_net -H hostname -v EVENTLOG -l "application,any,1440,1,Norton > AntiVirus,0,1,16" > OK: No entries in application log recently. > > But when I generalize the check, it comes back with an entry...... > ./check_nc_net -H hostname -v EVENTLOG -l "application,any,1440,1,Norton > AntiVirus,0,0" > 14 Errors with ID: > 16711696;16711704;16711703;16711685;16711683;16711686;16711686;16711686; > 16711686;16711686;16711686;16711686;16711685;;Virus Found!Virus name: > EICAR Test String in File: > C:\RECYCLER\S-1-5-21-790525478-1547161642-1801674531-500\Dc466.txt by: > Scheduled sca;. Action: Clean failed : Quarantine succeeded : > > I have noticed that the checks that aren't working correctly either have > spaces in the source name or under 3 digit ID's. Is this just > coincidence?? In the documentation it states that it "ignores extra > white space in the Regular expression". > > Any other Event ID check works fine, i.e... > > Source:NC_Net > EventID:3005 > Type:Information > Description:NC_Net Service Ending:-NC_Net 2.21 03/13/05 > > ./check_nc_net -H hostname -v EVENTLOG -l > application,any,1440,0,0,1,3005 > 1 Errors with ID: 3005 LAST - ID 3005: NC_Net Service Ending :-NC_Net > 2.21 02/25/05 > > I have tried this on v2.20 and v2.21 with the same result. > > Thanks in advance for the help!! > > Disclaimer: 23/3/2005 > > MPC Computers is providing the following information in compliance with > federal regulations: > > MPC Computers, LLC > 906 E. Karcher Road > Nampa, Idaho 83687 > 1-888-224-4247 > http://www.mpccorp.com > > To discontinue receiving e-mail communications from MPC in the future, > please go to: > http://www.mpccorp.com/email/manage.html and follow the instructions. > > ------------------------------------------------------- > This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon > 2005 > Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows > Embedded(r) & Windows Mobile(tm) platforms, applications & content. > Register > by 3/29 & save $300 http://ads.osdn.com/?ad_idh83&alloc_id149&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: 31/3/2005 > > MPC Computers is providing the following information in compliance with federal regulations: > > MPC Computers, LLC > 906 E. Karcher Road > Nampa, Idaho 83687 > 1-888-224-4247 > http://www.mpccorp.com > > To discontinue receiving e-mail communications from MPC in the future, please go to: > http://www.mpccorp.com/email/manage.html and follow the instructions. > > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/Info/Sentarus/hamr30 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagi0sb0y at yahoo.com Fri Apr 1 09:14:03 2005 From: nagi0sb0y at yahoo.com (jay alvarez) Date: Thu, 31 Mar 2005 23:14:03 -0800 (PST) Subject: Event handler won't execute!(event_handler_enable no) when set to yes, still in effect? In-Reply-To: 6667 Message-ID: <20050401071403.34879.qmail@web31611.mail.mud.yahoo.com> Hi, I created some event handler script and restart nagios again but the script won't work. The web gui still says that the event handler for that particular service is disabled(marked red). How come? I made sure it is enabled in nagios.cfg and also in services.cfg for that particular service. Even if there's something wrong with my scripts, the web should have at least say that the event handler for that particular service is enabled. How come? Any idea? Thanks. __________________________________ Do you Yahoo!? Make Yahoo! your home page http://www.yahoo.com/r/hs ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 1 09:20:16 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 1 Apr 2005 02:20:16 -0500 Subject: NSCA and MS Windows Confusion In-Reply-To: References: Message-ID: NC_Net can be configured to send passive checks to a NSCA server using Xor encryption. the send_NSCA is implemented inside of NC_Net. NC_Net does require Dot Net Framework 1.1 and this in turn uses WMI but it is capable of running most check types, CPU,Memory, Performance counters, WMI Query, Event Log, Service and Processes, Disk,... Good Luck Tony On Mar 30, 2005 9:10 PM, Peter Cole wrote: > Hi all, > > I've been trying for a few days now to find out the best way to > implement send_nsca.exe for our customer's Windows servers that we > maintain for them. > > I've set up a Nagios server here at the office and it's monitoring our > internal services etc. fine, but I haven't needed to use send_nsca.exe > for this at all. > > However, for our customers, I really need a secure method for getting > passive results from them to our Nagios server here. > > Send_nsca.exe seems pretty straight forward, but I think I'm missing > something for how to get the actual monitoring set up on the Windows > servers and to feed the results to send_nsca. > > I've looked through the distributed monitoring section of the > documentation as well as the passive service check section, as well as > Google search and the mailing list archives. > > At this stage, the only feasible way seems to be by using Perl modules. > > The problem with this is getting Perl onto their servers and whether it > will introduce instabilities or issues for them. > > I've tried the Nagios event log agent written by Steve Shipway but I've > found it to be a little unreliable on Windows 2003. Mind you, it could > be something I'm doing wrong there too. > > Does anyone have any further suggestions as to documentation or working > examples or anything that I can refer to at all? Or even an application > or service that will run and feed the results to send_nsca? > > Any help greatly appreciated. > > Regards, > > ----------------------- > > Peter Cole > Network Administration > Datacare Pty Ltd > Helpdesk: (07) 3373 1111 > Fax: (07) 3373 1199 > Email: helpdesk at data-care.com.au > > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/Info/Sentarus/hamr30 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Bock at krisbe.de Fri Apr 1 09:48:36 2005 From: Christian.Bock at krisbe.de (Christian Bock) Date: Fri, 01 Apr 2005 09:48:36 +0200 Subject: No image in my Histogram, Trends, Statusmap pages In-Reply-To: <424C9DE3.50107@philonline.com> References: <424C9DE3.50107@philonline.com> Message-ID: <424CFCD4.2000508@krisbe.de> Ryan, > /srcs/nagios2beta/sbin/statusmap.cgi: relocation error: > /srcs/nagios2beta/sbin/statusmap.cgi: undefined symbol: gdImagePng, > referer: http://10.0.1.144/nagios/cgi-bin/statusmap.cgi?host=all Perhaps you did not install all the requirements prior to the compile/make process ? What about e.g. gd, libpng, .. Have a close look at the compile output if everything is in place. chris ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bimal.pandit at indoasian.com Fri Apr 1 09:36:03 2005 From: bimal.pandit at indoasian.com (Bimal Pandit) Date: 01 Apr 2005 13:06:03 +0530 Subject: only service info. Message-ID: <1112340963.3397.7.camel@bp5575> Dear All, yesterday i installed my nagios on fedora core 3, as of version i installed nagios-2.0b2.tar.gz and nagios-plugins-1.4.tar.gz, the nagios server is my m/c 10.10.1.1 starting with my PROBLEM ------------------------ what i want is 1) I want to check wether DHCP services is running on my dhcp server or not?? i tried to check manually as [bimal at bimal bimal]# cd /usr/local/nagios/libexec [bimal at bimal bimal]# ./check_dhcp -v -s 10.10.2.3 -i eth0 but it seems that it is trying to assign an IP address to my machine which already has static IP(10.10.1.1)!! i.e. i am concerned about the services running on the machines wether it is available or not?? ending with a TIP ----------------- as i have learnet it hard way!!(may be because i am still a duffer) but most of you will be knowing, so this is for those who know little or are new to nagios(like me!!) if your plugin is not working or you want to know about whether it is working or not, execute the commands(plugins) manually e.g. first check out all the options/parameters available as [bimal at bimal bimal]# cd /usr/local/nagios/libexec [bimal at bimal bimal]# ./check_dhcp -h now test the plugin with the parameter and values, here i am taking an example of check_ldap plugin. for this my ldap server is 10.10.2.4 and my nagios is 10.10.1.1 [bimal at bimal bimal]#./check_ldap -H 10.10.2.4 -b dc=bimalpandit,dc=com LDAP OK - 0.068 seconds response time|time=0.067793s;;;0.000000 now you can define your own command in /usr/local/nagios/etc/checkcommands.cfg as i did # 'check_ldap_bimal' command definition define command{ command_name check_ldap_bimal command_line $USER1$/check_ldap -H 10.10.2.4 -b dc=bimalpandit,dc=com } and in /usr/local/nagios/etc/services.cfg use check_command check_ldap_bimal that's all!! now, could anyone point me in the right direction about my issue, i will be thankfull for any hints. regards, Bimal Pandit ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Apr 1 09:52:43 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 01 Apr 2005 09:52:43 +0200 Subject: NSCA and MS Windows Confusion In-Reply-To: References: Message-ID: <424CFDCB.6090108@op5.se> Anthony Montibello wrote: > NC_Net can be configured to send passive checks to a NSCA server using > Xor encryption. the send_NSCA is implemented inside of NC_Net. > For those curious about what kind of protection xor encryption offers, on a scale from 0 to 100, the answer is 0.0001. It's the "Hello world" of cryptography. > NC_Net does require Dot Net Framework 1.1 and this in turn uses WMI > but it is capable of running most check types, CPU,Memory, Performance > counters, WMI Query, Event Log, Service and Processes, Disk,... > > Good Luck > Tony > > > On Mar 30, 2005 9:10 PM, Peter Cole wrote: > >>Hi all, >> >>I've been trying for a few days now to find out the best way to >>implement send_nsca.exe for our customer's Windows servers that we >>maintain for them. >> >>I've set up a Nagios server here at the office and it's monitoring our >>internal services etc. fine, but I haven't needed to use send_nsca.exe >>for this at all. >> >>However, for our customers, I really need a secure method for getting >>passive results from them to our Nagios server here. >> >>Send_nsca.exe seems pretty straight forward, but I think I'm missing >>something for how to get the actual monitoring set up on the Windows >>servers and to feed the results to send_nsca. >> >>I've looked through the distributed monitoring section of the >>documentation as well as the passive service check section, as well as >>Google search and the mailing list archives. >> >>At this stage, the only feasible way seems to be by using Perl modules. >> >>The problem with this is getting Perl onto their servers and whether it >>will introduce instabilities or issues for them. >> >>I've tried the Nagios event log agent written by Steve Shipway but I've >>found it to be a little unreliable on Windows 2003. Mind you, it could >>be something I'm doing wrong there too. >> >>Does anyone have any further suggestions as to documentation or working >>examples or anything that I can refer to at all? Or even an application >>or service that will run and feed the results to send_nsca? >> >>Any help greatly appreciated. >> >>Regards, >> >>----------------------- >> >>Peter Cole >>Network Administration >>Datacare Pty Ltd >>Helpdesk: (07) 3373 1111 >>Fax: (07) 3373 1199 >>Email: helpdesk at data-care.com.au >> >>------------------------------------------------------- >>This SF.net email is sponsored by Demarc: >>A global provider of Threat Management Solutions. >>Download our HomeAdmin security software for free today! >>http://www.demarc.com/Info/Sentarus/hamr30 >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/Info/Sentarus/hamr30 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Apr 1 09:54:58 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 01 Apr 2005 09:54:58 +0200 Subject: Check_ping problems ? In-Reply-To: <82A6470379751941BB7813ED375731EE34AFFB@bvexch.bvrmc.org> References: <82A6470379751941BB7813ED375731EE34AFFB@bvexch.bvrmc.org> Message-ID: <424CFE52.7030605@op5.se> Drew Kollasch wrote: > I am currently running a nagios 1.2 box monitoring approx 120 hosts and > 200 services. On about 20 of the services (almost always as of recently) > I get a WARNING status that says "PING WARNING - DUPLICATES FOUND! > Packet loss = 1%, RTA = 0.27 ms". (or something very similar) have > anyone else seen this odd behavior? It basically means that the ping program receives multiple ICMP_ECHO_REPLY packets to a single ICMP_ECHO_REQUEST, which goes against the standard (rfc 792, I believe). In short; You several hosts have the same IP in your network. > ------------------------------------------------------- > Drew Kollasch > Network/Desktop Technician > kollasch.drew at bvrmc.org > 712-213-8668 > > Buena Vista Regional Medical Center > 1525 W 5th St > Storm Lake, IA 50588 > > > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/Info/Sentarus/hamr30 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Apr 1 09:56:30 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 01 Apr 2005 09:56:30 +0200 Subject: Notification Limits In-Reply-To: References: Message-ID: <424CFEAE.1070607@op5.se> Daniel maher wrote: > If you choose to release a patch for "max_notifications", please let > the list know. For my part, I certainly think it'd be handy! :) > It'll be on nagios-devel for testing by those who can fix possible problems first. I haven't really gotten started yet though so don't hold your breath. > > Daniel Maher System Engineer ACE TECHNOLOGY INC. > > > > -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] > Sent: March 30, 2005 2:45 AM To: > 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] > Notification Limits > > Brett Stevens wrote: > >> Hi guys, Ive looked but cant seem to find anything on limiting the >> total number of nofifications that can go out on a particular >> service or host failure. We are switching over from ipsentry and it >> has this limit so if by chance a service fails in the middle of the >> night we wont ge wacked with a huge sms bill by limiting the amount >> of sms we send. >> > > > Set notification_interval to 0 for one notification per event. Do > some magic with escalations to get more but not zero. > > In fact, I think I'll hack up a max_notifications variable for hosts > and services. It seems overkill to use escalations for just limiting > them to a specific number. > > >> thanks >> >> Brett Stevns' >> >> > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Apr 1 09:58:28 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 01 Apr 2005 09:58:28 +0200 Subject: no details in alert emails. In-Reply-To: <1112287675.18937.106.camel@localhost> References: <573F1E2597A7974E924A5F814CAC166D10BFCC3F@da0shme010.match.corp> <1112287675.18937.106.camel@localhost> Message-ID: <424CFF24.2030602@op5.se> jeff vier wrote: > Yep. > > When upgrading any software you should verify your old configs use the > correct (new) macros. > > Just like the other 25 people that posted this exact same question > (which would be quite easy to find in the list archives). > It's also noted clearly in the CHANGES file and on-line... > On Wed, 2005-03-30 at 10:26 -0600, Rodney Caston wrote: > >>Since upgrading to the new new 2.0b2 release, nagios has began sending >>out pages in the following format: >> >>#################### >>***** Nagios ***** >> >>Notification Type: PROBLEM >> >>Service: SMTP >>Host: mailhost >>Address: 192.168.1.100 >>State: CRITICAL >> >>Date/Time: $ >> >>Additional Info: >> >>$ >>################### >> >>For some reason the Date/Time and the Additional Info fields are now >>showing up as a $ instead of the values they should be. >> >>Any thoughts? >> >> >> >>------------------------------------------------------- >>SF email is sponsored by - The IT Product Guide >>Read honest & candid reviews on hundreds of IT Products from real users. >>Discover which products truly live up to the hype. Start reading now. >>http://ads.osdn.com/?ad_ide95&alloc_id396&op=click >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/Info/Sentarus/hamr30 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Apr 1 10:00:35 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 01 Apr 2005 10:00:35 +0200 Subject: Nagios with a large number of services In-Reply-To: References: Message-ID: <424CFFA3.2060103@op5.se> Daniel maher wrote: > Are there any potential solutions to the interface scalability issue, > short of writing a new interface from scratch? > Not really, no. The good news is that such projects are already started. > > Daniel Maher System Engineer ACE TECHNOLOGY INC. > > > Jason Martin wrote: > >> On Thu, Mar 31, 2005 at 04:00:16PM +0800, Rafael 'Dido' Sevilla >> wrote: >> >> >>> Well, we've managed to set up a distributed monitoring Nagios set >>> up with 26,126 services and 2176 hosts, and the monitoring seems >>> to be working ok, at least according to our logs. Unfortunately, >>> the web interface doesn't seem to work, and terminates with an >>> internal server error: premature end of script headers in the >>> Apache log. Initially we >> >> The web interface doesn't scale well. Nagios 2.0 has made a bit of >> an improvement, but you might not be able to implement a central >> monitoring server with that many services. >> > > > Indeed. The cgi's are most likely killed by the infamous OOM slayer, > or they simply run so long that the webserver decides to kill it. The > logs should list the reason. > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a.koch at eurodata.de Fri Apr 1 10:05:43 2005 From: a.koch at eurodata.de (Andreas Koch) Date: Fri, 01 Apr 2005 10:05:43 +0200 Subject: How can i set disable the noticfication for all via web In-Reply-To: References: <1112185014.3926.39.camel@dresden.eurodata.de> Message-ID: <1112342743.3926.55.camel@dresden.eurodata.de> Yes... this is the option to disable the notification for this Service. I want disable ALL notifications fpr all Services for all host. Am Donnerstag, den 31.03.2005, 12:43 +0800 schrieb Sally Low: > Under Process Info in the web cgi interface, there is an option to > Disable notifications. > > > On Wed, 30 Mar 2005 14:16:54 +0200, Andreas Koch wrote: > > Hello Group, > > > > have anyone any idea!? > > > > I Want disable all notification via "Push a buton" on the nagios web > > site. > > > > Have anyone any idea, how i can disable all noticifations? > > > > Edit the misccommands.cfg is my idea. > > > > THX Andreas > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/Info/Sentarus/hamr30 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misch at multinet.de Fri Apr 1 10:31:03 2005 From: misch at multinet.de (Michael Schwartzkopff) Date: Fri, 1 Apr 2005 10:31:03 +0200 Subject: How can i set disable the noticfication for all via web In-Reply-To: <1112342743.3926.55.camel@dresden.eurodata.de> References: <1112185014.3926.39.camel@dresden.eurodata.de> <1112342743.3926.55.camel@dresden.eurodata.de> Message-ID: <200504011031.10016.misch@multinet.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Why don't you use "Disable notifications for this host"? Am Freitag, 1. April 2005 10:05 schrieb Andreas Koch: > Yes... this is the option to disable the notification for this Service. > > I want disable ALL notifications fpr all Services for all host. > (...) - -- Dr. Michael Schwartzkopff MultiNET Services GmbH Bretonischer Ring 7 85630 Grasbrunn Tel: (+49 89) 456 911 - 0 Fax: (+49 89) 456 911 - 21 mob: (+49 174) 343 28 75 PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCTQbNqndXpO3Yl5sRAr4WAKCX14ENo7+loZK7mWj4wl1bmf3xzACfS8jf 99GAI8RwHng2pgF03D5WXHs= =vRzQ -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a.koch at eurodata.de Fri Apr 1 10:12:38 2005 From: a.koch at eurodata.de (Andreas Koch) Date: Fri, 01 Apr 2005 10:12:38 +0200 Subject: How can i set disable the noticfication for all via web In-Reply-To: <200504011031.10016.misch@multinet.de> References: <1112185014.3926.39.camel@dresden.eurodata.de> <1112342743.3926.55.camel@dresden.eurodata.de> <200504011031.10016.misch@multinet.de> Message-ID: <1112343158.3926.59.camel@dresden.eurodata.de> OK..... I want: Disable all Notification for 108 Hosts and for 1208 Services with one "klick" What is "the best" way? understood? Am Freitag, den 01.04.2005, 10:31 +0200 schrieb Michael Schwartzkopff: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Why don't you use "Disable notifications for this host"? > > Am Freitag, 1. April 2005 10:05 schrieb Andreas Koch: > > > > Yes... this is the option to disable the notification for this Service. > > > > I want disable ALL notifications fpr all Services for all host. > > > (...) > > > - -- > Dr. Michael Schwartzkopff > MultiNET Services GmbH > Bretonischer Ring 7 > 85630 Grasbrunn > > Tel: (+49 89) 456 911 - 0 > Fax: (+49 89) 456 911 - 21 > mob: (+49 174) 343 28 75 > > PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (GNU/Linux) > > iD8DBQFCTQbNqndXpO3Yl5sRAr4WAKCX14ENo7+loZK7mWj4wl1bmf3xzACfS8jf > 99GAI8RwHng2pgF03D5WXHs= > =vRzQ > -----END PGP SIGNATURE----- > > > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/Info/Sentarus/hamr30 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gottfried.hufnagel at onb.ac.at Fri Apr 1 10:13:11 2005 From: gottfried.hufnagel at onb.ac.at (gottfried hufnagel) Date: Fri, 1 Apr 2005 10:13:11 +0200 Subject: How can i set disable the noticfication for all via web In-Reply-To: <1112342743.3926.55.camel@dresden.eurodata.de> References: <1112185014.3926.39.camel@dresden.eurodata.de> <1112342743.3926.55.camel@dresden.eurodata.de> Message-ID: <200504011013.11302.gottfried.hufnagel@onb.ac.at> > > ----> Under "Process Info" <---- ... and NOT "host-information/service-information" ... it's in the left frame ... next to "downtime" and "performance info" lg gottfried hufnagel On Friday 01 April 2005 10:05, Andreas Koch wrote: > Yes... this is the option to disable the notification for this Service. > > I want disable ALL notifications fpr all Services for all host. > > Am Donnerstag, den 31.03.2005, 12:43 +0800 schrieb Sally Low: > > Under Process Info in the web cgi interface, there is an option to > > Disable notifications. > > > > On Wed, 30 Mar 2005 14:16:54 +0200, Andreas Koch wrote: > > > Hello Group, > > > > > > have anyone any idea!? > > > > > > I Want disable all notification via "Push a buton" on the nagios web > > > site. > > > > > > Have anyone any idea, how i can disable all noticifations? > > > > > > Edit the misccommands.cfg is my idea. > > > > > > THX Andreas > > > > > > ------------------------------------------------------- > > > SF email is sponsored by - The IT Product Guide > > > Read honest & candid reviews on hundreds of IT Products from real > > > users. Discover which products truly live up to the hype. Start reading > > > now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > ::: reporting any issue. Messages without supporting info will risk > > > ::: being sent to /dev/null > > > > ------------------------------------------------------- > > This SF.net email is sponsored by Demarc: > > A global provider of Threat Management Solutions. > > Download our HomeAdmin security software for free today! > > http://www.demarc.com/Info/Sentarus/hamr30 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting any issue. Messages without supporting info will risk being > > ::: sent to /dev/null > > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/Info/Sentarus/hamr30 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From a.koch at eurodata.de Fri Apr 1 10:17:24 2005 From: a.koch at eurodata.de (Andreas Koch) Date: Fri, 01 Apr 2005 10:17:24 +0200 Subject: How can i set disable the noticfication for all via web In-Reply-To: <200504011013.11302.gottfried.hufnagel@onb.ac.at> References: <1112185014.3926.39.camel@dresden.eurodata.de> <1112342743.3926.55.camel@dresden.eurodata.de> <200504011013.11302.gottfried.hufnagel@onb.ac.at> Message-ID: <1112343444.3911.60.camel@dresden.eurodata.de> OK Thanks thats right! Andreas Am Freitag, den 01.04.2005, 10:13 +0200 schrieb gottfried hufnagel: > > > ----> Under "Process Info" <---- > ... and NOT "host-information/service-information" ... > it's in the left frame ... next to "downtime" and "performance info" > > lg > > gottfried hufnagel > > On Friday 01 April 2005 10:05, Andreas Koch wrote: > > Yes... this is the option to disable the notification for this Service. > > > > I want disable ALL notifications fpr all Services for all host. > > > > Am Donnerstag, den 31.03.2005, 12:43 +0800 schrieb Sally Low: > > > Under Process Info in the web cgi interface, there is an option to > > > Disable notifications. > > > > > > On Wed, 30 Mar 2005 14:16:54 +0200, Andreas Koch > wrote: > > > > Hello Group, > > > > > > > > have anyone any idea!? > > > > > > > > I Want disable all notification via "Push a buton" on the nagios web > > > > site. > > > > > > > > Have anyone any idea, how i can disable all noticifations? > > > > > > > > Edit the misccommands.cfg is my idea. > > > > > > > > THX Andreas > > > > > > > > ------------------------------------------------------- > > > > SF email is sponsored by - The IT Product Guide > > > > Read honest & candid reviews on hundreds of IT Products from real > > > > users. Discover which products truly live up to the hype. Start reading > > > > now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > > ::: reporting any issue. Messages without supporting info will risk > > > > ::: being sent to /dev/null > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by Demarc: > > > A global provider of Threat Management Solutions. > > > Download our HomeAdmin security software for free today! > > > http://www.demarc.com/Info/Sentarus/hamr30 > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > ::: reporting any issue. Messages without supporting info will risk being > > > ::: sent to /dev/null > > > > ------------------------------------------------------- > > This SF.net email is sponsored by Demarc: > > A global provider of Threat Management Solutions. > > Download our HomeAdmin security software for free today! > > http://www.demarc.com/Info/Sentarus/hamr30 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting any issue. Messages without supporting info will risk being > > ::: sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Apr 1 10:17:46 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 01 Apr 2005 10:17:46 +0200 Subject: Segmentation Fault??? In-Reply-To: <20050331234555.21328.qmail@web52601.mail.yahoo.com> References: <20050331234555.21328.qmail@web52601.mail.yahoo.com> Message-ID: <424D03AA.7010507@op5.se> Jeff Lemay wrote: > Hey Guys, I've configured Nagios on Redhat9 and I've > done the whole ./nagios -v to check my config. It > seems to all check out, but for some reason I get the > following message: > Nagios version? Reason for it being stopped? GDB sessions? Please provide at least some of the above. It will be impossible to help you otherwise. If you're running 2.x and have a corrupt status.sav file (it ends in the middle of an object), then please DO NOT delete it! I've been chasing a way to repro that crash for two weeks. You can send it to me off-list if that is the case. Please preserve an exact copy of your config as well, as it might have something to do with the combination of the two. > [root at otrs bin]# ./nagios -d > /opt/nagios/etc/nagios.cfg > Segmentation fault > > When I try to run it through rc.d, this is what I get: > > [root at otrs bin]# /etc/rc.d/init.d/nagios start > Starting network monitor: nagios > /etc/rc.d/init.d/nagios: line 177: 4763 Segmentation > fault $NagiosBin -d $NagiosCfg > ps: error: List of process IDs must follow -p. > usage: ps -[Unix98 options] > ps [BSD-style options] > ps --[GNU-style long options] > ps --help for a command summary > > here is the end of the contents of my nagios rc.d > file: > fi > else > $NagiosBin -v $NagiosCfg > echo "failed - aborting > reload." > exit 1 > fi > ;; > > *) > echo "Usage: nagios > {start|stop|restart|reload|force-reload|status}" > exit 1 > ;; > > esac > > Not quite sure what is going on...any help would be > greatly appreciated! thanks! > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Personals - Better first dates. More second dates. > http://personals.yahoo.com > > > > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/Info/Sentarus/hamr30 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Apr 1 10:20:58 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 01 Apr 2005 10:20:58 +0200 Subject: No image in my Histogram, Trends, Statusmap pages In-Reply-To: <424C9DE3.50107@philonline.com> References: <424C9DE3.50107@philonline.com> Message-ID: <424D046A.2060203@op5.se> Ryan Pagquil wrote: > Hi again everybody, > > I still have my problem with my histogram, trends and statusmap > pages. I still can't see any images from it when I access it. I inspect > the Apache error log and it says: > > [Fri Apr 01 08:51:39 2005] [error] [client 10.0.1.14] > /srcs/nagios2beta/sbin/statusmap.cgi: relocation error: > /srcs/nagios2beta/sbin/statusmap.cgi: undefined symbol: gdImagePng, > referer: http://10.0.1.144/nagios/cgi-bin/statusmap.cgi?host=all > > What is the cause of this error? > The dynamic link loader fails to resolve symbols in statusmap.cgi. It happens when shared libraries were available at compile-time but are removed prior to run-time. The symbol name 'gdImagePng' suggests that boutell's gd library was removed. > > Thanks in advance, > You're welcome. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Apr 1 10:23:55 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 01 Apr 2005 10:23:55 +0200 Subject: where did my perfdata file go? In-Reply-To: References: Message-ID: <424D051B.1090805@op5.se> frank wrote: > Running 2.0b2 and loving it. But when I looked at my > service_perfdata_file today it was less than complete. > > Relevent configs (mostly defaults): > > service_perfdata_command=process-service-perfdata > service_perfdata_file=/tmp/service-perfdata > service_perfdata_file_template=[SERVICEPERFDATA]\t$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$ > > service_perfdata_file_mode=a > service_perfdata_file_processing_interval=0 > service_perfdata_file_processing_command=process-service-perfdata-file > > Instead of actually using a perf proc command from within Nagios, I > simply run a 'tail -f' on the output file and parse it myself. I assume > that "file_processing_interval=0" means Nagios will just leave my file > alone... > > With the file_mode set to "a" I expected that by now I'd find a huge > file filled with our perf data beginning on the day I started Nagios, > but instead the file starts this morning around 11am. I know for a fact > that data has been flowing into the file all along (a few weeks) because > my RRDs have been getting properly populated. I was hoping to be able to > recreate my RRDs with new RRA sets in them using the perf data but since > it's gone I can't. > > Any clue what happened? Did Nagios somehow rotate/truncate my file > without my knowledge or permission? Is there a facility in Nagios to > rotate this along with the main Nagios log file? > Perfparse truncates it when it parses it. This is necessary in order for it to be able to keep up with the dataflow. If you want to be able to recreate your data you should set your processing commands to log to two different files. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Apr 1 10:25:04 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 01 Apr 2005 10:25:04 +0200 Subject: Event handler won't execute!(event_handler_enable no) when set to yes, still in effect? In-Reply-To: <20050401071403.34879.qmail@web31611.mail.mud.yahoo.com> References: <20050401071403.34879.qmail@web31611.mail.mud.yahoo.com> Message-ID: <424D0560.10602@op5.se> jay alvarez wrote: > > Hi, > I created some event handler script and restart > nagios again but the script won't work. The web gui > still says that the event handler for that > particular > service is disabled(marked red). How come? I made > sure > it is enabled in nagios.cfg and also in services.cfg > for that particular service. Even if there's > something > wrong with my scripts, the web should have at least > say that the event handler for that particular service > is > enabled. How come? Read up on state retention. It's in the docs. > Any idea? > Obviously... > Thanks. > > > > > > > > __________________________________ > Do you Yahoo!? > Make Yahoo! your home page > http://www.yahoo.com/r/hs > > > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/Info/Sentarus/hamr30 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Apr 1 10:27:38 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 01 Apr 2005 10:27:38 +0200 Subject: only service info. In-Reply-To: <1112340963.3397.7.camel@bp5575> References: <1112340963.3397.7.camel@bp5575> Message-ID: <424D05FA.1020405@op5.se> Bimal Pandit wrote: > Dear All, > > yesterday i installed my nagios on fedora core 3, as of version i > installed nagios-2.0b2.tar.gz and nagios-plugins-1.4.tar.gz, the nagios > server is my m/c 10.10.1.1 > [ linenoise cut ] While it's very nice to have this sort of tutorial available for newbies, it's obvious that this is how things are done for most of us. If you want to contribute to the community, put this up on nagiosexchange or somewhere else where it belongs. The people who need it will (usually) never read the list archives anyway. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Apr 1 10:48:15 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 01 Apr 2005 10:48:15 +0200 Subject: NC_Net EVENTLOG quirk In-Reply-To: References: <2638AB7E1672B842901B0B49421B87DF0C264F@mpc00email3.micronpc.com> Message-ID: <424D0ACF.6030903@op5.se> Anthony Montibello wrote: > Hi, > > I started looking into this when I received your email on this issue last week, > I have been able to simulate the same problem however it still needs > more intensive diagnostics before a patch can be put into NC_Net. > > You can check 16711696 instead of 16 until A proper patch for the > problem has been found. this is a 16711680 offset from the number that > you are looking for. > > Quote form Paul>>" > I have noticed that the checks that aren't working correctly either have > spaces in the source name or under 3 digit ID's. Is this just > coincidence?? " > > This is coincidence, There are very few Event Sources that have space > in the source name. False. Practically all of them do. > Your above example With Norton Antivirus was able > to recognize all events from Norton Antivirus but the Event ID offset > was the issue. > > NOTE: Ignore Whitespace for Regular Expressions. This is only for the > message filter of the event Log check (parameters between event ID and > Source ID) > Whitespace is ignored during the regular expression so to have > whitespace as part of your expression it needs to be escaped thus: > For all entries in the last hour that contain "SCSI INTERFACE ERROR" > or "CHECK CONDITION" use something like; > "any,any,60,0,2,SCSI\ INTERFACE\ ERROR,CHECK\ CONDITION,0" > > Technical Detail of problem with Norton Antivirus: > Doing an event log check for Norton Antivirus the EventLog check is > returning the wrong result. I still need more diagnostics but my > observation are: > NC_Net uses type int to check the Event_ID. The Event ID is also type > int. on most cases the event ID works fine. When checking Norton > Antivirus somehow the EventID is offset by 16711680 or in hex > 00FF0000h I am not sure what is causing this mismatch to occur, since > looking through the code all the types should be int32 are int32. I am > suspecting that their may be a bug somewhere in the manner that Dot > net handles either the Event entry Objects or maybe I am overlooking > something? > > When I have a proper solution to this issue it will be documented in > the version section of the read me. > > Hope this helps, > Tony > > > On Mar 31, 2005 11:55 AM, Paul Bourgeau wrote: > >>Can anyone help??? >> >>Thank You, >>Paul Bourgeau >> >>Ph: 262-523-3300 x60279 >>Fx: 208-898-2371 >>psbourgeau at mpccorp.com >> >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net >>[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Paul >>Bourgeau >>Sent: Wednesday, March 23, 2005 10:57 AM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] NC_Net EVENTLOG quirk >> >>I have been successful in getting this check to work with one exception. >>I am trying to get notifications of whenever Norton AntiVirus makes a >>specific log entry and it doesn't seem to work. >> >>For instance, when it logs an entry to state that the definitions are >>current, Windows logs the following: >> >>Source:Norton AntiVirus >>EventID:16 >>Type:Information >>Description:Virus Definitions are current. >> >>When I run this check, it does not work.... >>./check_nc_net -H hostname -v EVENTLOG -l "application,any,1440,1,Norton >>AntiVirus,0,1,16" >>OK: No entries in application log recently. >> >>But when I generalize the check, it comes back with an entry...... >>./check_nc_net -H hostname -v EVENTLOG -l "application,any,1440,1,Norton >>AntiVirus,0,0" >>14 Errors with ID: >>16711696;16711704;16711703;16711685;16711683;16711686;16711686;16711686; >>16711686;16711686;16711686;16711686;16711685;;Virus Found!Virus name: >>EICAR Test String in File: >>C:\RECYCLER\S-1-5-21-790525478-1547161642-1801674531-500\Dc466.txt by: >>Scheduled sca;. Action: Clean failed : Quarantine succeeded : >> >>I have noticed that the checks that aren't working correctly either have >>spaces in the source name or under 3 digit ID's. Is this just >>coincidence?? In the documentation it states that it "ignores extra >>white space in the Regular expression". >> >>Any other Event ID check works fine, i.e... >> >>Source:NC_Net >>EventID:3005 >>Type:Information >>Description:NC_Net Service Ending:-NC_Net 2.21 03/13/05 >> >>./check_nc_net -H hostname -v EVENTLOG -l >>application,any,1440,0,0,1,3005 >>1 Errors with ID: 3005 LAST - ID 3005: NC_Net Service Ending :-NC_Net >>2.21 02/25/05 >> >>I have tried this on v2.20 and v2.21 with the same result. >> >>Thanks in advance for the help!! >> >>Disclaimer: 23/3/2005 >> >>MPC Computers is providing the following information in compliance with >>federal regulations: >> >>MPC Computers, LLC >>906 E. Karcher Road >>Nampa, Idaho 83687 >>1-888-224-4247 >>http://www.mpccorp.com >> >>To discontinue receiving e-mail communications from MPC in the future, >>please go to: >>http://www.mpccorp.com/email/manage.html and follow the instructions. >> >>------------------------------------------------------- >>This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon >>2005 >>Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows >>Embedded(r) & Windows Mobile(tm) platforms, applications & content. >>Register >>by 3/29 & save $300 http://ads.osdn.com/?ad_idh83&alloc_id149&op=ick >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: 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: 31/3/2005 >> >>MPC Computers is providing the following information in compliance with federal regulations: >> >>MPC Computers, LLC >>906 E. Karcher Road >>Nampa, Idaho 83687 >>1-888-224-4247 >>http://www.mpccorp.com >> >>To discontinue receiving e-mail communications from MPC in the future, please go to: >>http://www.mpccorp.com/email/manage.html and follow the instructions. >> >>------------------------------------------------------- >>This SF.net email is sponsored by Demarc: >>A global provider of Threat Management Solutions. >>Download our HomeAdmin security software for free today! >>http://www.demarc.com/Info/Sentarus/hamr30 >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/Info/Sentarus/hamr30 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 1 11:39:24 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 1 Apr 2005 04:39:24 -0500 Subject: NC_Net EVENTLOG quirk In-Reply-To: <424D0ACF.6030903@op5.se> References: <2638AB7E1672B842901B0B49421B87DF0C264F@mpc00email3.micronpc.com> <424D0ACF.6030903@op5.se> Message-ID: Thanks for the correction I was mistaken, there are many Event Sources that have spaces in the name, (on my system this is under 1/3 of the Event entries ~approx 1/4 of the Event Sources) however it is still a coincidence because NC_Net has not had any issues with Event Source names. (this has been tested) Thanks Tony On Apr 1, 2005 3:48 AM, Andreas Ericsson wrote: > Anthony Montibello wrote: >>[SNIP] > > This is coincidence, There are very few Event Sources that have space > > in the source name. > > False. Practically all of them do. > [SNIP] > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Fri Apr 1 13:52:44 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Fri, 01 Apr 2005 13:52:44 +0200 Subject: Event handler won't execute!(event_handler_enable no) when set to yes, still in effect? In-Reply-To: <20050401071403.34879.qmail@web31611.mail.mud.yahoo.com> References: <20050401071403.34879.qmail@web31611.mail.mud.yahoo.com> Message-ID: <424D360C.2020001@its-lehmann.de> Hello, jay alvarez wrote: > > Hi, > I created some event handler script and restart > nagios again but the script won't work. The web gui > still says that the event handler for that > particular > service is disabled(marked red). How come? I made > sure Most probably, you have retention set on. Nagios stores the last state, and that is "event handler=off". So you need to turn event handlers on from the web interface to sync the internal state with the configuration setting. > it is enabled in nagios.cfg and also in services.cfg > for that particular service. Even if there's > something > wrong with my scripts, the web should have at least > say that the event handler for that particular service > is > enabled. How come? Any idea? It's in the manual... Arno > Thanks. > > > > > > > > __________________________________ > Do you Yahoo!? > Make Yahoo! your home page > http://www.yahoo.com/r/hs > > > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/Info/Sentarus/hamr30 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vivek_222 at rediffmail.com Fri Apr 1 15:10:57 2005 From: vivek_222 at rediffmail.com (vivek sharma sharma) Date: 1 Apr 2005 13:10:57 -0000 Subject: Fwd: nagios-service-refresh-rate Message-ID: <20050401131057.27205.qmail@webmail6.rediffmail.com> Hi Rajeeve, Yeh i did the same keeping the interval_length is 60 sec. and the normal_check_interval as 1 so it makes the check possible in one minutes.So the refresh rate is now about one minutes. But in this case now i have 84 services on as many clients so what is the max. time i can expect for a client to be checked is it one minute or Nagios finishes with one and then proceeds with the next one. I think it must be opening multiple threads say in one minute(in my case now)for multiple hosts and hence every host can get checked in one minute... Correct me if i am wrong. Thanks. Vivek On Thu, 31 Mar 2005 Rajeeve K Krishnan wrote : >HI Vivek, > >check the value of 'interval_length' in the nagios.cfg file. normally >it will be 60 which means one interval unit is 1 minute -thus making >the normal_check_interval into 5 *60 seconds ie 5 minutes > >If the 'interval_length' is more than 60 , you will have to either >decrease the 'interval_length' or normal_check_interval to set >nagios for executing service checks more frequently > >thanks >Rajeeve > > > >On 31 Mar 2005 08:27:45 -0000, vivek sharma sharma > wrote: > > > > > > Dear all, > > Any suggestions on this. > > I have to solve this urgently. > > > > Thanks. > > Vivek > > > > > > Note: Forwarded message attached > > > > -- Orignal Message -- > > > > From: "vivek sharma sharma" > > To: nagios-users at lists.sourceforge.net > > Subject: nagios-service-refresh-rate > > > > > > > > > > ---------- Forwarded message ---------- > > From: "vivek sharma sharma" > > To: nagios-users at lists.sourceforge.net > > Date: > > Subject: nagios-service-refresh-rate > > > > > > Dear all, > > I am using Nagios(r) Version 2.0b version.on redhat linux-9.0 > > My service configuration is: > > define service{ > > use generic-service > > host_name flowc.XXX.net > > service_description check_ping > > is_volatile 0 > > check_period 24x7 > > check_freshness 1 > > freshness_threshold 60 > > max_check_attempts 3 > > normal_check_interval 5 > > retry_check_interval 1 > > contact_groups noc-support > > notification_interval 120 > > notification_period 24x7 > > notification_options c,r > > check_command check_ping > > } > > define service{ > > name generic-service > > active_checks_enabled 1 > > passive_checks_enabled 1 > > parallelize_check 1 > > obsess_over_service 1 > > check_freshness 0 > > notifications_enabled 1 > > event_handler_enabled 1 > > process_perf_data 1 > > retain_status_information 1 > > retain_nonstatus_information 1 > > register 0 > > } > > define command{ > > command_name check_ping > > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 450.0,40% -c > > 1750.0,98% > > } > > > > But the problem that it shows the service as down only after about ten > > minutes and also to show the service as up also it shows it after sya ten > > minutes again. > > > > Is it anything related to the above command::basically i wuld like to know > > that when we say xx% loss or xxms latency then after how many tries this > > %age is calculated how the command is actually working. > > > > Can anybody suggest on what may be the issue here... > > > > Thanks. > > Vivek. > > > > > > > > > > > > > > > > >------------------------------------------------------- >This SF.net email is sponsored by Demarc: >A global provider of Threat Management Solutions. >Download our HomeAdmin security software for free today! >http://www.demarc.com/Info/Sentarus/hamr30 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmaher at acetechnology.com Fri Apr 1 16:42:09 2005 From: dmaher at acetechnology.com (Daniel maher) Date: Fri, 1 Apr 2005 09:42:09 -0500 Subject: Missing cgi-files and where is the mail-notification plugin Message-ID: That's perfectly normal - you don't have a VRML viewer on your computer. You may find the following link useful: http://www.google.ca/search?q=vrml+viewer Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: Sebastian Gr?sche [mailto:Sebastian.Groesche at neo-partners.com] Sent: April 1, 2005 9:13 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Missing cgi-files and where is the mail-notification plugin 1. Problem When I'm looking on the Web-Interface and want to check the link 3-D Status Map I got a Download-Prompt where I can download the file statuswrl.cgi. Is this normal? I don't think so :-) -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.0 - Release Date: 31/03/2005 ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpagquil at philonline.com Sat Apr 2 02:17:31 2005 From: rpagquil at philonline.com (Ryan Pagquil) Date: Sat, 02 Apr 2005 08:17:31 +0800 Subject: No image in my Histogram, Trends, Statusmap pages In-Reply-To: <424CFCD4.2000508@krisbe.de> References: <424C9DE3.50107@philonline.com> <424CFCD4.2000508@krisbe.de> Message-ID: <424DE49B.4090501@philonline.com> Hi, I already made it run. What I did is I set on httpd.conf the path of the library files where my gd, libpng, and libjpeg reside. The problem is that apache can't locate those libraries when it needs it. thanks a lot! -- Ryan Pagquil Infodyne Inc. - PhilOnline.com 3603 Antel Global Corporate Center Do?a Julia Vargas Ave. Ortigas Center Pasig City Tel: 687-0715 Web: www.philonline.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjk_saji at yahoo.com Sat Apr 2 08:20:45 2005 From: jjk_saji at yahoo.com (John Joseph) Date: Sat, 2 Apr 2005 07:20:45 +0100 (BST) Subject: More on nagiosgraph problem... In-Reply-To: 6667 Message-ID: <20050402062045.1932.qmail@web40812.mail.yahoo.com> Please check the "map" file , you need to have entry over there --- Braun Brelin wrote: > Ben, > > Thanks for that information. In fact, I am running > Nagios 2.0b2 and > didn't ha Send instant messages to your online friends http://uk.messenger.yahoo.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at profitability.net Fri Apr 1 21:51:55 2005 From: andrew at profitability.net (Andrew Cruse) Date: Fri, 1 Apr 2005 14:51:55 -0500 Subject: Nmap checks Message-ID: This might be a better question for the plugins list, but here goes. I'm trying to figure out if there is any way to use any of the existing plugins to do the following: 1. Port scan a host 2. Compare open ports to a list of "expected" ports passed via the commandline 3. Alert if any ports other than the "expected" ports are open. My goal here is to be able to monitor systems for rogue ports opening up, as an indication that the system may have been compromised. It seems like it would be fairly trivial to do a local check on each system by parsing the output of netstat, but the reliability of that method is predicated on the trustworthiness of the netstat binary which is an assumption I'm not willing to make when I'm looking to sniff out intrustions. Therefore it seems best to try to do the detection from another system. Looking at the check_nmap plugin it seems like it is only able to check that certain ports *are* open, whereas I'm looking to do the opposite. Any suggestions/pointers are greatly appreciated. Thanks, Andrew ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bimal.pandit at indoasian.com Sat Apr 2 14:36:15 2005 From: bimal.pandit at indoasian.com (Bimal Pandit) Date: 02 Apr 2005 18:06:15 +0530 Subject: some questions Message-ID: <1112445375.2957.8.camel@bp5575> Dear All, another question 1) I am not able to see small/beautiful icons to see different machines/devices etc e.g. a windows machine, a linux box, a router, a printer etc., where shall i configure these?? 2) I want to check wether DHCP services is running on my dhcp server or not?? i tried to check manually as [bimal at bimal bimal]# cd /usr/local/nagios/libexec [bimal at bimal bimal]# ./check_dhcp -v -s 10.10.2.3 -i eth0 but it seems that it is trying to assign an IP address to my machine which already has static IP(10.10.1.1)!! i.e. i am concerned about the services running on the machines wether it is available or not?? could anyone point me in the right direction about my issues, i will be thankfull for any hints. regards, Bimal Pandit ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmaher at acetechnology.com Fri Apr 1 16:39:32 2005 From: dmaher at acetechnology.com (Daniel maher) Date: Fri, 1 Apr 2005 09:39:32 -0500 Subject: Nagios with a large number of services Message-ID: It's good to know that there are already interface re-design projects underway; however, it's unfortunate that I'll have to re-code all of my in-house edits to the existing interface. :P Is there any publicly available data regarding the limits of the interface? I.e. what are good ceiling values for hosts and services, while maintaining a still usable user interface? Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: April 1, 2005 3:01 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios with a large number of services Daniel maher wrote: > Are there any potential solutions to the interface scalability issue, > short of writing a new interface from scratch? > Not really, no. The good news is that such projects are already started. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.0 - Release Date: 31/03/2005 ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjk_saji at yahoo.com Sat Apr 2 11:40:04 2005 From: jjk_saji at yahoo.com (John Joseph) Date: Sat, 2 Apr 2005 10:40:04 +0100 (BST) Subject: SNMP plugins entry in "map" file [http://www.manubulon.com/nagios/] Message-ID: <20050402094004.47556.qmail@web40827.mail.yahoo.com> Hi Friends I had added the snmp plugins ?http://www.manubulon.com/nagios/? for nagios now I am trying to configure nagiosgraph for displaying the SNMP plugins, I did some changes in the ?map? file , but I am not sure whether I had done the right way This is what I had added to the map for ./check_snmp_int.pl ( SNMP check for the interface ) #################################################3 # Service type: check_snmp_interface # output:eth0:up:1: OK /output:eth0.*?([-.0-9]+) sec/ and push @s, [ eth0, [ interface, GAUGE, $1 ] ]; /output:eth0.*?(\d+) and push @s, [ eth0, [ interface, GAUGE, $1 ] ]; ################################################# If any body had configured nagiosgraph for patrick roy snmp plugin , please send the map file , so I can compare and rectify my mistake Thanks Joseph John Send instant messages to your online friends http://uk.messenger.yahoo.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kidd1270 at gmail.com Fri Apr 1 16:16:17 2005 From: kidd1270 at gmail.com (Kidd Chaos) Date: Fri, 1 Apr 2005 09:16:17 -0500 Subject: Subject: Nagios with a large number of services Message-ID: <91a3540905040106161886bd6d@mail.gmail.com> What is your apache config page load timeout setting? ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drewk at bvrmc.org Fri Apr 1 16:03:49 2005 From: drewk at bvrmc.org (Drew Kollasch) Date: Fri, 1 Apr 2005 08:03:49 -0600 Subject: Check_ping problems ? Message-ID: <82A6470379751941BB7813ED375731EE34B00A@bvexch.bvrmc.org> But that's the thing...I don't have multiple hosts with the same IP on the network...(I know this for a fact) ------------------------------------------------------- Drew Kollasch Network/Desktop Technician kollasch.drew at bvrmc.org 712-213-8668 Buena Vista Regional Medical Center 1525 W 5th St Storm Lake, IA 50588 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson Sent: Friday, April 01, 2005 1:55 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Check_ping problems ? Drew Kollasch wrote: > I am currently running a nagios 1.2 box monitoring approx 120 hosts > and 200 services. On about 20 of the services (almost always as of > recently) I get a WARNING status that says "PING WARNING - DUPLICATES FOUND! > Packet loss = 1%, RTA = 0.27 ms". (or something very similar) have > anyone else seen this odd behavior? It basically means that the ping program receives multiple ICMP_ECHO_REPLY packets to a single ICMP_ECHO_REQUEST, which goes against the standard (rfc 792, I believe). In short; You several hosts have the same IP in your network. > ------------------------------------------------------- > Drew Kollasch > Network/Desktop Technician > kollasch.drew at bvrmc.org > 712-213-8668 > > Buena Vista Regional Medical Center > 1525 W 5th St > Storm Lake, IA 50588 > > > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/Info/Sentarus/hamr30 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chale at nwscan.net Fri Apr 1 23:40:20 2005 From: chale at nwscan.net (Chris Hale) Date: Fri, 1 Apr 2005 13:40:20 -0800 Subject: Adaptive monitoring commands Message-ID: <001b01c53703$67d21d20$3201280a@unknown> Has anyone had luck getting the new adaptive monitoring commands in 2.0 to work? In particular I'm trying to get the CHANGE_SVC_CHECK_COMMAND to work. The documentation has the command like this: CHANGE_SVC_CHECK_COMMAND:command_name But how does it know which host and service to apply this too? Thinking that this was just a documentation oversight... I've tried: CHANGE_SVC_CHECK_COMMAND;;; too make it match what the other external commands look like... the command shows up in the event log, but no change happens in the actual check. On a site note... Adding a hostname to CHANGE_HOST_CHECK_COMMAND seems to work ok, so I'm wondering if there is something wrong with this command. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaronhcarr at gmail.com Fri Apr 1 22:08:51 2005 From: aaronhcarr at gmail.com (Aaron Carr) Date: Fri, 1 Apr 2005 15:08:51 -0500 Subject: Missing cgi-files and where is the mail-notification plugin In-Reply-To: References: Message-ID: > 2. Problem > Several Links (Status Map, Trends, Alert Histogram) have no target (the CGI-Files not exists). Is it possible to compile them again or download them? Where can I get them. Your Apache configuration is probably off. Have you verified that the files are actually present on the filesystem and that the correct path has been given to Apache? > 3. Problem > I searched everything, I read in the manual for hours, checked google, the nagios-homepage but I never found a Tutorial how I could enable the email notification, am I just blind or is there really nothing about it? > The email should be send (when it's configured) over the internal mail server from our company and go to several contacts. That's the most important thing I'm working on. > Have you configured contacts, contact groups, hosts and services? Have you configured the notification methods and time periods for the contacts? Is this a mail server issue? (II know that my previous company had to explicitly allow servers to relay mail. Your mail may be getting silently rejected by the upstream MTA. > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/Info/Sentarus/hamr30 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at aidworld.org Fri Apr 1 15:48:54 2005 From: chris at aidworld.org (Chris Wilson) Date: Fri, 01 Apr 2005 14:48:54 +0100 Subject: Check_ping problems ? In-Reply-To: <424CFE52.7030605@op5.se> References: <82A6470379751941BB7813ED375731EE34AFFB@bvexch.bvrmc.org> <424CFE52.7030605@op5.se> Message-ID: <1112363334.21782.6.camel@localhost> Hi all, On Fri, 2005-04-01 at 08:54, Andreas Ericsson wrote: > Drew Kollasch wrote: > > I am currently running a nagios 1.2 box monitoring approx 120 hosts and > > 200 services. On about 20 of the services (almost always as of recently) > > I get a WARNING status that says "PING WARNING - DUPLICATES FOUND! > > Packet loss = 1%, RTA = 0.27 ms". (or something very similar) have > > anyone else seen this odd behavior? > > It basically means that the ping program receives multiple > ICMP_ECHO_REPLY packets to a single ICMP_ECHO_REQUEST, which goes > against the standard (rfc 792, I believe). This plugin runs the standard ping program, right? If you ping the same host with two ping commands at the same time, both will report duplicate packets, because they can't distinguish between each others' pings. So this problem may just be caused by someone or something pinging from the nagios server to the remote host at the same time as Nagios does its checks. Cheers, Chris. -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.gale at pason.com Fri Apr 1 18:07:35 2005 From: michael.gale at pason.com (Michael Gale) Date: Fri, 01 Apr 2005 09:07:35 -0700 Subject: nagiosgraph and disk space ? Message-ID: <1112371655.20758.7.camel@michaelgale-ws4-1.int.pason.com> Hello, I have setup nagiosgraph to graph almost the out put from every check, below are some examples of what I have added, I have also attached a copy of my map.edit file so if you want to use them you will not need to worry about the line wraps. Anyways I can not get the disk space check, using nrpe to graph the data. Since some Linux boxes will have more then others I setup a few rules: The log file shows: Fri Apr 1 08:51:06 2005 INSERT info: Input lastcheck:1112370662 Fri Apr 1 08:51:06 2005 INSERT info: Input hostname:hostname Fri Apr 1 08:51:06 2005 INSERT info: Input perfdata: /=7025MB;23251;26157;0;29064 /boot=18MB;78;88;0;98 /dev/shm=0MB;1335;1502;0;1669 /var/lib/mysql=156379MB;375428;422357;0;469286 Fri Apr 1 08:51:06 2005 INSERT info: Input servicedescr:Disk Usage Fri Apr 1 08:51:06 2005 INSERT info: Input output:DISK OK - free space: / 22039 MB (76%): /boot 80 MB (81%): /dev/shm 1670 MB (100%): /var/lib/mysql 312907 MB (67%): Fri Apr 1 08:51:06 2005 INSERT info: System /home/nagios/network- monitor/bin/rrdtool create /home/nagios/network- monitor/nagiosgraph/rrd/hostname%2D2_Disk%20Usage_unixdiskusage.rrd -- start 1112370662 DS:/:GAUGE:600:U:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 But no graph is ever created ? # Service type: nrpe unix disk only 1 partitions #output DISK CRITICAL - free space: / 15520 MB (57%): /boot 100 MB (73%): /dev/shm 252 MB (100%): /mnt/ghost2 18790 MB (5%): /mnt/ghost1 122852 MB (40%) /output:.*DISK.*-.free.space:.(\S+).*MB..(\d+)%./ and push @s, [ unixdiskusage, [ $1, GAUGE, $2 ] ]; # Service type: nrpe unix disk only 2 partitions #output DISK CRITICAL - free space: / 15520 MB (57%): /boot 100 MB (73%): /dev/shm 252 MB (100%): /mnt/ghost2 18790 MB (5%): /mnt/ghost1 122852 MB (40%) /output:.*DISK.*-.free.space:.(\S+).*MB..(\d+)%.:.(\S+).*MB..(\d+)%./ and push @s, [ unixdiskusage, [ $1, GAUGE, $2 ], [ $3, GAUGE, $4 ] ]; # Service type: nrpe unix disk only 3 partitions #output DISK CRITICAL - free space: / 15520 MB (57%): /boot 100 MB (73%): /dev/shm 252 MB (100%): /mnt/ghost2 18790 MB (5%): /mnt/ghost1 122852 MB (40%) /output:.*DISK.*-.free.space:.(\S+).*MB..(\d+)%.:.(\S+).*MB..(\d +)%.:.(\S+).*MB..(\d+)%./ and push @s, [ unixdiskusage, [ $1, GAUGE, $2 ], [ $3, GAUGE, $4 ], [ $5, GAUGE, $6 ] ]; # Service type: nrpe unix disk #output DISK CRITICAL - free space: / 15520 MB (57%): /boot 100 MB (73%): /dev/shm 252 MB (100%): /mnt/ghost2 18790 MB (5%): /mnt/ghost1 122852 MB (40%) /output:.*DISK.*-.free.space:.(\S+).*MB..(\d+)%.:.(\S+).*MB..(\d +)%.:.(\S+).*MB..(\d+)%.:.(\S+).*MB..(\d+)%./ and push @s, [ unixdiskusage, [ $1, GAUGE, $2 ], [ $3, GAUGE, $4 ], [ $5, GAUGE, $6 ], [ $7, GAUGE, $8 ] ]; --snip-- part of my map.edit file -- which contains working regular expressions for windows CPU,DISK and memory checks using nsclient # Service type: check-win-cpu # check command: check_nt -H Address -v CPULOAD -l5,70,90,30,70,90 # output: CPU Load 9% (5 min average) 11% (30 min average) # perfdata: ?5 min avg Load?=9%;70;80;0;100 ?30 min avg Load?=11%;70;90;0;100 #/perfdata:.*5 min avg Load?=(d+)%;(d+);(d+);d+;d+ ?30 min avg Load?=(d +)%;d+;d+;d+;d+ / #/output:CPU.Load.*?(d+)% / #and push @s, [ winload, # [ avg05min, GAUGE, $3 ] ]; #/perdata: 5 min avg Load=9%;80;90;0;100 #/perdata:.*5 min avg Load=(\d+) / #and push @s, [winload, # [ avg05min, GAUGE, $1 ] ]; #/perfdata:.*5 min avg Load?=(\d+)%;(\d+);(\d+);\d+;\d+ / /output:CPU.Load.(\d+)%/ and push @s, [ winload, [ avg05min, GAUGE, $1 ] ]; # Service type: check-win-memory #output: output:Memory usage: total:1230.19 Mb - used: 312.98 Mb (25%) - free: 917.21 Mb (75%) #perfdata: Memory usage=312.98Mb;984.15;1107.17;0.00;1230.19 /perfdata:.*Memory.usage=(\d+\.\d+)Mb;(\d+\.\d+);(\d+\.\d+);(\d+\.\d+); (\d+\.\d+)/ and push @s, [ winmemory, [ memused, GAUGE, $1*1024**2 ], [ memwarn, GAUGE, $2*1024**2 ], [ memcrit, GAUGE, $3*1024**2 ], [ memmmax, GAUGE, $5*1024**2 ] ]; # Service type: check-win-uptim #output System Uptime - 0 day(s) 22 hour(s) 50 minute(s) /output:System.Uptime.-.(\d+).day\(s\).(\d+).hour\(s\).(\d+).minute.*/ and push @s, [ winuptime, [ totalminutes, GAUGE, (($1*24*60)+($2*60)+$3) ] ]; # Service type: check-win-bytesttotal #output Bytes Total/sec: 249.04 /output:Bytes.Total\/sec:.(\d+)/ and push @s, [ winbytestotal, [ Bytespersec, GAUGE, $1 ] ]; # Service type: check-win-disk #perfdata: C: Used Space=6.32Gb;29.81;33.54;0.00;37.27 #output:C: - total: 37.27 Gb - used: 6.32 Gb (17%) - free 30.94 Gb (83%) /perfdata:.*Used.Space=(\d+\.\d+)Gb;(\d+\.\d+);(\d+\.\d+);(\d+\.\d+);(\d +\.\d+)/ and push @s, [ windiskusage, [ Diskusage, GAUGE, $1 ], [ DiskTotal, GAUGE, $5 ] ]; # Service type: Mysql Service #output:Uptime: 7740 Threads: 4 Questions: 9945 Slow queries: 0 Opens: 20 Flush tables: 1 Open tables: 4 Queries #per second avg: 1.285 #print $line =~ /.*Uptime:.(\d+).*Threads:.(\d+).*Questions:.(\d +).*Slow.queries:.(\d+).*Opens:.(\d+).*Flush.tables:.(\d +).*Open.tables:.(\d+).*Queries.per.second.avg:.(\d+)/; /output:.*Uptime:.(\d+).*Threads:.(\d+).*Questions:.(\d +).*Slow.queries:.(\d+).*Opens:.(\d+).*Flush.tables:.(\d +).*Open.tables:.(\d+).*Queries.per.second.avg:.(\d+)/ and push @s, [ mysql, [ Threads, GAUGE, $2 ], [ SlowQueries, GAUGE, $4 ], [ QueriesPecSec, GAUGE, $8 ] ]; -------------- next part -------------- # File: $Id: map,v 1.4 2004/11/12 03:01:55 sauber Exp $ # Author: (c) Soren Dossing, 2004 # License: OSI Artistic License # http://www.opensource.org/licenses/artistic-license.php ######################################################################## # # INSTRUCTIONS: # # This file contains several example of service types. Edit this file to # add more service types. The data string from Nagios is in $_ . Use # regular expressions to identify and extract data like the examples below # below. Match on either output: or perfdata: . The code is pure perl, # that will be run inside and eval{}. Results are expected in @s. The # general format is: # # /output|perfdata: = .../ # and push @s, [ , # [ , GAUGE|DERIVE, ], # [ , GAUGE|DERIVE, ], # [ . . . ], # [ . . . ] ]; # # But more advanced code is possible, as long as the resulting # datastructure is correct. # ######################################################################## # Service type: ping # output:PING OK - Packet loss = 0%, RTA = 0.00 ms /output:PING.*?(\d+)%.+?([.\d]+)\sms/ and push @s, [ ping, [ losspct, GAUGE, $1 ], [ rta, GAUGE, $2/1000 ] ]; # Service type: unix-disk # ouput:DISK OK - free space: / 12372 mB (77% inode=96%): /raid 882442 mB (88% inode=91%): # perfdata: /=12372mB;14417;15698;96;16019 /raid=882441mB;999780;999780;91;999780 /output:DISK/ and do { my @_pct = /: (\/.*?) .*?(\d+)% inode=(\d+)%/g; while ( my($_d,$_b,$_i) = splice @_pct,0,3 ) { my @_s; /perfdata:.*$_d=(\d+)\w*?;(\d+);(\d+);(\d+);(\d+)/; push @s, [ $_d, [ free, GAUGE, $1*1024**2 ], [ user, GAUGE, $2*1024**2 ], [ root, GAUGE, $3*1024**2 ], [ max, GAUGE, $5*1024**2 ], [ blockpct, GAUGE, $_b ], [ inodepct, GAUGE, $_i ] ]; } }; # Service type: unix-dns # output:DNS OK - 0.008 seconds response time (test.test.1M IN A192.169.0.47) # perfdata:time=8260us;;;0 /output:DNS.*?([.0-9]+) sec/ and push @s, [ dns, [ response, GAUGE, $1 ] ]; # Service type: unix-imap # output:IMAP OK - 0.009 second response time on port 143 /output:IMAP.*?([-.0-9]+) sec/ and push @s, [ imap, [ response, GAUGE, $1 ] ]; # Service type: unix-ldap # ouput:LDAP OK - 0.004 seconds response time # perfdata:time=3657us;;;0 /output:LDAP.*?([.0-9]+) sec/ and push @s, [ ldap, [ response, GAUGE, $1 ] ]; # Service type: unix-load # output: OK - load average: 0.66, 0.70, 0.73 # perfdata:load1=0;15;30;0 load5=0;10;25;0 load15=0;5;20;0 /output:.*load average: ([.0-9]+), ([.0-9]+), ([.0-9]+)/ and push @s, [ load, [ avg1min, GAUGE, $1 ], [ avg5min, GAUGE, $2 ], [ avg15min, GAUGE, $3 ] ]; # Service type: unix-mailq # output:WARNING: mailq is 5717 (threshold w = 5000) # perfdata:unsent=5717;5000;10000;0 /perfdata:unsent=(\d+);(\d+);(\d+);(\d+)/ and push @s, [ mailq, [ qsize, GAUGE, $1 ], [ qwarn, GAUGE, $2 ], [ qcrit, GAUGE, $3 ] ]; # Service type: unix-netstat # output:OK # perfdata:udpInDatagrams=46517147, udpOutDatagrams=46192507, udpInErrors=0, # tcpActiveOpens=1451583, tcpPassiveOpens=1076181, tcpAttemptFails=1909, # tcpEstabResets=5045, tcpCurrEstab=6, tcpOutDataBytes=3162434373, # tcpInDataBytes=1942718261, tcpRetransBytes=215439 /perfdata:.*udpInDatagrams=(\d+), udpOutDatagrams=(\d+), udpInErrors=(\d+), tcpActiveOpens=(\d+), tcpPassiveOpens=(\d+), tcpAttemptFails=(\d+), tcpEstabResets=(\d+), tcpCurrEstab=(\d+), tcpOutDataBytes=(\d+), tcpInDataBytes=(\d+), tcpRetransBytes=(\d+)/ and push @s, [ udp, [ InPkts, DERIVE, int $1/300 ], [ OutPkts, DERIVE, int $2/300 ], [ Errors, DERIVE, int $3/300 ] ], [ tcp, [ ActOpens, DERIVE, int $4/300 ], [ PsvOpens, DERIVE, int $5/300 ], [ AttmptFails, DERIVE, int $6/300 ], [ OutBytes, DERIVE, int $9/300*8 ], [ InBytes, DERIVE, int $10/300*8 ] ]; # Service type: unix-ntp # output:NTP OK: Offset 0.001083 secs, jitter 14.84 msec, peer is stratum 1 /output:NTP.*Offset ([-.0-9]+).*jitter ([-.0-9]+).*stratum (\d+)/ and push @s, [ ntp, [ offset, GAUGE, $1 ], [ jitter, GAUGE, $2/1000 ], [ stratum, GAUGE, $3+1 ] ]; # Service type: unix-pop # output:POP OK - 0.008 second response time on port 110 /output:POP.*?([.0-9]+) second/ and push @s, [ pop3, [ response, GAUGE, $1 ] ]; # Service type: unix-procs # output:PROCS OK: 43 processes /output:PROCS.*?(\d+) processes.*RSDT/ and push @s, [ procs, [ procs, GAUGE, $1 ] ]; # Service type: unix-smtp # output:SMTP OK - 0.187 sec. response time /output:SMTP.*?([-.0-9]+) sec/ and push @s, [ smtp, [ response, GAUGE, $1 ] ]; # Service type: unix-swap # output:SWAP OK: 96% free (2616 MB out of 2744 MB) # perfdata:swap=2616MB;274;54;0;2744 /perfdata:swap=(\d+)MB;(\d+);(\d+);\d+;(\d+)/ and push @s, [ swap, [ swapfree, GAUGE, $1*1024**2 ], [ swapwarn, GAUGE, $2*1024**2 ], [ swapcrit, GAUGE, $3*1024**2 ], [ swapmax, GAUGE, $4*1024**2 ] ]; # Service type: unix-users # output:USERS OK - 4 users currently logged in # perfdata:users=4;5;10;0 /perfdata:users=(\d+);(\d+);(\d+)/ and push @s, [ procs, [ users, GAUGE, $1 ], [ warn, GAUGE, $2 ], [ crit, GAUGE, $3 ] ]; # Service type: unix-zombies # ouput:PROCS OK: 0 processes with STATE = Z /output:PROCS.*?(\d+) processes.*Z/ and push @s, [ zombie, [ zombies, GAUGE, $1 ] ]; # Service type: unix-www # ouput:HTTP OK HTTP/1.1 200 OK - 1456 bytes in 0.003 seconds /output:HTTP.*?(\d+) byte.*?([.0-9]+) sec/ and push @s, [ http, [ bps, GAUGE, $1/$2 ] ]; # Service type: check-win-cpu # check command: check_nt -H Address -v CPULOAD -l5,70,90,30,70,90 # output: CPU Load 9% (5 min average) 11% (30 min average) # perfdata: ?5 min avg Load?=9%;70;80;0;100 ?30 min avg Load?=11%;70;90;0;100 #/perfdata:.*5 min avg Load?=(d+)%;(d+);(d+);d+;d+ ?30 min avg Load?=(d+)%;d+;d+;d+;d+ / #/output:CPU.Load.*?(d+)% / #and push @s, [ winload, # [ avg05min, GAUGE, $3 ] ]; #/perdata: 5 min avg Load=9%;80;90;0;100 #/perdata:.*5 min avg Load=(\d+) / #and push @s, [winload, # [ avg05min, GAUGE, $1 ] ]; #/perfdata:.*5 min avg Load?=(\d+)%;(\d+);(\d+);\d+;\d+ / /output:CPU.Load.(\d+)%/ and push @s, [ winload, [ avg05min, GAUGE, $1 ] ]; # Service type: check-win-memory #output: output:Memory usage: total:1230.19 Mb - used: 312.98 Mb (25%) - free: 917.21 Mb (75%) #perfdata: Memory usage=312.98Mb;984.15;1107.17;0.00;1230.19 /perfdata:.*Memory.usage=(\d+\.\d+)Mb;(\d+\.\d+);(\d+\.\d+);(\d+\.\d+);(\d+\.\d+)/ and push @s, [ winmemory, [ memused, GAUGE, $1*1024**2 ], [ memwarn, GAUGE, $2*1024**2 ], [ memcrit, GAUGE, $3*1024**2 ], [ memmmax, GAUGE, $5*1024**2 ] ]; # Service type: check-win-uptim #output System Uptime - 0 day(s) 22 hour(s) 50 minute(s) /output:System.Uptime.-.(\d+).day\(s\).(\d+).hour\(s\).(\d+).minute.*/ and push @s, [ winuptime, [ totalminutes, GAUGE, (($1*24*60)+($2*60)+$3) ] ]; # Service type: check-win-bytesttotal #output Bytes Total/sec: 249.04 /output:Bytes.Total\/sec:.(\d+)/ and push @s, [ winbytestotal, [ Bytespersec, GAUGE, $1 ] ]; # Service type: check-win-disk #perfdata: C: Used Space=6.32Gb;29.81;33.54;0.00;37.27 #output:C: - total: 37.27 Gb - used: 6.32 Gb (17%) - free 30.94 Gb (83%) /perfdata:.*Used.Space=(\d+\.\d+)Gb;(\d+\.\d+);(\d+\.\d+);(\d+\.\d+);(\d+\.\d+)/ and push @s, [ windiskusage, [ Diskusage, GAUGE, $1 ], [ DiskTotal, GAUGE, $5 ] ]; # Service type: Mysql Service #output:Uptime: 7740 Threads: 4 Questions: 9945 Slow queries: 0 Opens: 20 Flush tables: 1 Open tables: 4 Queries #per second avg: 1.285 #print $line =~ /.*Uptime:.(\d+).*Threads:.(\d+).*Questions:.(\d+).*Slow.queries:.(\d+).*Opens:.(\d+).*Flush.tables:.(\d+).*Open.tables:.(\d+).*Queries.per.second.avg:.(\d+)/; /output:.*Uptime:.(\d+).*Threads:.(\d+).*Questions:.(\d+).*Slow.queries:.(\d+).*Opens:.(\d+).*Flush.tables:.(\d+).*Open.tables:.(\d+).*Queries.per.second.avg:.(\d+)/ and push @s, [ mysql, [ Threads, GAUGE, $2 ], [ SlowQueries, GAUGE, $4 ], [ QueriesPecSec, GAUGE, $8 ] ]; # Service type: nrpe unix disk only 2 partitions #output DISK CRITICAL - free space: / 15520 MB (57%): /boot 100 MB (73%): /dev/shm 252 MB (100%): /mnt/ghost2 18790 MB (5%): /mnt/ghost1 122852 MB (40%) /output:.*DISK.*-.free.space:.(\S+).*MB..(\d+)%./ and push @s, [ unixdiskusage, [ $1, GAUGE, $2 ] ]; # Service type: nrpe unix disk only 2 partitions #output DISK CRITICAL - free space: / 15520 MB (57%): /boot 100 MB (73%): /dev/shm 252 MB (100%): /mnt/ghost2 18790 MB (5%): /mnt/ghost1 122852 MB (40%) /output:.*DISK.*-.free.space:.(\S+).*MB..(\d+)%.:.(\S+).*MB..(\d+)%./ and push @s, [ unixdiskusage, [ $1, GAUGE, $2 ], [ $3, GAUGE, $4 ] ]; # Service type: nrpe unix disk only 3 partitions #output DISK CRITICAL - free space: / 15520 MB (57%): /boot 100 MB (73%): /dev/shm 252 MB (100%): /mnt/ghost2 18790 MB (5%): /mnt/ghost1 122852 MB (40%) /output:.*DISK.*-.free.space:.(\S+).*MB..(\d+)%.:.(\S+).*MB..(\d+)%.:.(\S+).*MB..(\d+)%./ and push @s, [ unixdiskusage, [ $1, GAUGE, $2 ], [ $3, GAUGE, $4 ], [ $5, GAUGE, $6 ] ]; # Service type: nrpe unix disk #output DISK CRITICAL - free space: / 15520 MB (57%): /boot 100 MB (73%): /dev/shm 252 MB (100%): /mnt/ghost2 18790 MB (5%): /mnt/ghost1 122852 MB (40%) /output:.*DISK.*-.free.space:.(\S+).*MB..(\d+)%.:.(\S+).*MB..(\d+)%.:.(\S+).*MB..(\d+)%.:.(\S+).*MB..(\d+)%./ and push @s, [ unixdiskusage, [ $1, GAUGE, $2 ], [ $3, GAUGE, $4 ], [ $5, GAUGE, $6 ], [ $7, GAUGE, $8 ] ]; # Service type: nrpe unix disk #output DISK CRITICAL - free space: / 15520 MB (57%): /boot 100 MB (73%): /dev/shm 252 MB (100%): /mnt/ghost2 18790 MB (5%): /mnt/ghost1 122852 MB (40%) /output:.*DISK.*-.free.space:.(\S+).*MB..(\d+)%.:.(\S+).*MB..(\d+)%.:.(\S+).*MB..(\d+)%.:.(\S+).*MB..(\d+)%.:.(\S+).*MB..(\d+)%./ and push @s, [ unixdiskusage, [ $1, GAUGE, $2 ], [ $3, GAUGE, $4 ], [ $5, GAUGE, $6 ], [ $7, GAUGE, $8 ], [ $9, GAUGE, $10 ] ]; From dmaher at acetechnology.com Sat Apr 2 00:27:41 2005 From: dmaher at acetechnology.com (Daniel maher) Date: Fri, 1 Apr 2005 17:27:41 -0500 Subject: Nmap checks Message-ID: Write a script in your language of choice with the following properties: An array of "OK" ports A system call that runs Nmap A way to inhale the Nmap output and parse the second output column (ports) A comparison between the inhaled ports and the "OK" array If the two don't match up, return a warning or critical value, as you like Then have Nagios run it as a plugin.. done and done. :) Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: Andrew Cruse [mailto:andrew at profitability.net] Sent: April 1, 2005 2:52 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nmap checks This might be a better question for the plugins list, but here goes. I'm trying to figure out if there is any way to use any of the existing plugins to do the following: 1. Port scan a host 2. Compare open ports to a list of "expected" ports passed via the commandline 3. Alert if any ports other than the "expected" ports are open. My goal here is to be able to monitor systems for rogue ports opening up, as an indication that the system may have been compromised. It seems like it would be fairly trivial to do a local check on each system by parsing the output of netstat, but the reliability of that method is predicated on the trustworthiness of the netstat binary which is an assumption I'm not willing to make when I'm looking to sniff out intrustions. Therefore it seems best to try to do the detection from another system. Looking at the check_nmap plugin it seems like it is only able to check that certain ports *are* open, whereas I'm looking to do the opposite. Any suggestions/pointers are greatly appreciated. Thanks, Andrew ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.0 - Release Date: 31/03/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.0 - Release Date: 31/03/2005 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmaher at acetechnology.com Fri Apr 1 19:18:59 2005 From: dmaher at acetechnology.com (Daniel maher) Date: Fri, 1 Apr 2005 12:18:59 -0500 Subject: Nagios with a large number of services Message-ID: Clearly PHP is much more suited to the task, and I do not think that anybody is going to argue that. :) Regarding Nagios-DB; does it support 2.0b2, and can I run it /without/ a database? I've got no desire to tack a mysql backend on to Nagios as it is... Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: Ben [mailto:bench at silentmedia.com] Sent: April 1, 2005 11:44 AM To: Daniel maher Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios with a large number of services Well, not all interfaces are born equal. While I really do love C, even I admit that HTML generation isn't its comparative strong suite. Nagios-DB uses PHP for its interface, and I think most would agree with me that PHP is a lot faster to work with than C. On Apr 1, 2005, at 6:39 AM, Daniel maher wrote: > It's good to know that there are already interface re-design projects > underway; however, it's unfortunate that I'll have to re-code all of > my in-house edits to the existing interface. :P > > Is there any publicly available data regarding the limits of the > interface? I.e. what are good ceiling values for hosts and services, > while maintaining a still usable user interface? > > > Daniel Maher > System Engineer > ACE TECHNOLOGY INC. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.0 - Release Date: 31/03/2005 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bench at silentmedia.com Fri Apr 1 18:44:01 2005 From: bench at silentmedia.com (Ben) Date: Fri, 1 Apr 2005 08:44:01 -0800 Subject: Nagios with a large number of services In-Reply-To: References: Message-ID: Well, not all interfaces are born equal. While I really do love C, even I admit that HTML generation isn't its comparative strong suite. Nagios-DB uses PHP for its interface, and I think most would agree with me that PHP is a lot faster to work with than C. On Apr 1, 2005, at 6:39 AM, Daniel maher wrote: > It's good to know that there are already interface re-design projects > underway; however, it's unfortunate that I'll have to re-code all of > my in-house edits to the existing interface. :P > > Is there any publicly available data regarding the limits of the > interface? I.e. what are good ceiling values for hosts and services, > while maintaining a still usable user interface? > > > Daniel Maher > System Engineer > ACE TECHNOLOGY INC. > > > > -----Original Message----- > From: Andreas Ericsson [mailto:ae at op5.se] > Sent: April 1, 2005 3:01 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios with a large number of services > > Daniel maher wrote: >> Are there any potential solutions to the interface scalability issue, >> short of writing a new interface from scratch? >> > > Not really, no. The good news is that such projects are already > started. > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.0 - Release Date: 31/03/2005 > > > > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/Info/Sentarus/hamr30 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris.stankaitis at datawire.net Fri Apr 1 18:35:56 2005 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Fri, 01 Apr 2005 11:35:56 -0500 Subject: Sound Alerts and Nagios2.0b2 Message-ID: <424D786C.9010307@datawire.net> Sound alerts seem pretty broken in Nagios.. this just may be me but I don't think they work very logically. it seems like an alert is played every two minutes when the browser is refreshed regardless of the network status, just as annoying an alert is played pretty much anytime you navigate around Nagios. Alerts don't seem to follow standard nagios 'alerting' logic I.E. it doesn't seem to me that the alerts know when to play an when not to play unlike the rest of the 'alerting' system, we have a few servers which we only care about alerts during work hours, we have a few services which we care about but don't need to be e-mailed about.. Sound alerts don't seem to be smart enough to know when to play and when not to play of course this is difficult to tell given that the "alert every 2 mins" pollutes my ability to test properly. has anyone gotten sound alerts to work effectively? I read a thread about a month or two ago about it, but it didn't seem like there was a good solution to this matter. Any Thoughts? ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 1 16:07:11 2005 From: benny at bennyvision.com (C. Bensend) Date: Fri, 1 Apr 2005 08:07:11 -0600 (CST) Subject: Check_ping problems ? In-Reply-To: <82A6470379751941BB7813ED375731EE34B00A@bvexch.bvrmc.org> References: <82A6470379751941BB7813ED375731EE34B00A@bvexch.bvrmc.org> Message-ID: <61361.63.227.74.41.1112364431.squirrel@webmail.stinkweasel.net> > But that's the thing...I don't have multiple hosts with the same IP on > the network...(I know this for a fact) Not accidentally using a network or broadcast address, are you? What happens when you ping the exact same IP from the command line? Benny -- Nixon: "Hello, Morbo! How's the family?" Morbo: "Beligerant and numerous." -- Futurama ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Groesche at neo-partners.com Fri Apr 1 16:13:00 2005 From: Sebastian.Groesche at neo-partners.com (=?iso-8859-1?Q?Sebastian_Gr=F6sche?=) Date: Fri, 1 Apr 2005 16:13:00 +0200 Subject: Missing cgi-files and where is the mail-notification plugin Message-ID: Hi, yesterday I got the excercise to install and configure Nagios to check if everything is OK with the companies server farm. So I downloaded nagios-2.0b2.tar.gz and nagios-plugins-1.4.tar.gz and installed it on a suse linux 9.1 machine. After checking the Manual and configuring everything, my first services (HTTP, SMTP and PING check) worked correctly and checked three servers. I installed the plugin ntray_1.0 to be warned when something ain't OK and everything seemed to be right. But there are some little (and bigger) problems. 1. Problem When I'm looking on the Web-Interface and want to check the link 3-D Status Map I got a Download-Prompt where I can download the file statuswrl.cgi. Is this normal? I don't think so :-) 2. Problem Several Links (Status Map, Trends, Alert Histogram) have no target (the CGI-Files not exists). Is it possible to compile them again or download them? Where can I get them. 3. Problem I searched everything, I read in the manual for hours, checked google, the nagios-homepage but I never found a Tutorial how I could enable the email notification, am I just blind or is there really nothing about it? The email should be send (when it's configured) over the internal mail server from our company and go to several contacts. That's the most important thing I'm working on. I hope you can read everything and that my english ain't so bad. Thx for reading Sebastian Gr?sche ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sauger at pre2post.com Fri Apr 1 20:56:35 2005 From: sauger at pre2post.com (Stephane Auger) Date: Fri, 1 Apr 2005 13:56:35 -0500 Subject: Nagios 2.0b2 with Nagmin Message-ID: <47F14DDBBE26B54892091AD9AAC5BF4A0E01F1@optimus.Pre2Post.local> Hi everyone, I'm still testing out multiple interfaces to see what they can do, and I'm now to the point of testing Nagmin. I went on the web site and they mention that it's created to support Nagios 1.0. Has anyone tried it with Nagios 2.0b2? Any experiences at all, positive or negative? Thanks! Stephane Auger MCP Systems Administrator Pre2Post Inc. 3000 Ren?-L?vesque, Suite 450 ?le des Soeurs, Qc H3E 1T9 Tel : 514-848-9198 x305 www.pre2post.com sauger at pre2post.com Pre2Post is on the Profit Hot 50 once again this year! The Profit Hot 50 is THE definitive ranking of emerging Canadian growth companies. Pre2Post atteint une position sur le 'Profit Hot 50' . Le Profit Hot 50 est l'?num?ration d?finitive des compagnies canadiennes en croissance. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4410 bytes Desc: image001.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 2095 bytes Desc: image002.jpg URL: From kevin_myer at iu13.org Sat Apr 2 17:55:17 2005 From: kevin_myer at iu13.org (Kevin Myer) Date: Sat, 2 Apr 2005 10:55:17 -0500 Subject: Default service dependencies (templating) Message-ID: <20050402105517.mtn3z3wll3oko00g@webapps.iu13.org> With hosts and service definitions, you can define default templates and then reference them when creating the host or service, to fill in many default values. Can the same be done with service dependencies? For example, I have a service defined that monitors HTTPS connections. I also have a service defined that monitors when SSL certificates expire. If HTTPS goes down on a server, obviously the SSL certificate check will fail. In looking through servicedependencies.cfg, it looks like I can define a specific service that depends on another specific service. So I can go through and define for each host that I do HTTPS and SSL certificate checks for that one depends on the other. But is there a way to define that the root command (check_https) depends on another root command (check_cert), regardless what host its checked against? I guess maybe what I'm looking for amounts to checkcommand dependency, so that I don't have to define a service dependency for each and every host thats checked... Kevin -- Kevin M. Myer Senior Systems Administrator Lancaster-Lebanon Intermediate Unit 13 (717) 560-6140 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.polson at ehealth.com Sat Apr 2 20:45:42 2005 From: ben.polson at ehealth.com (Ben Polson) Date: Sat, 2 Apr 2005 10:45:42 -0800 Subject: Default service dependencies (templating) In-Reply-To: <20050402105517.mtn3z3wll3oko00g@webapps.iu13.org> References: <20050402105517.mtn3z3wll3oko00g@webapps.iu13.org> Message-ID: You can do some tricks to make this easier, though I'm not certain it is exactly what you have in mind. Take a look at: http://nagios.sourceforge.net/docs/2_0/templatetricks.html. I use hostgroup_name instead of host_name in my services, service escalations and service dependencies to manage hosts that have the same checks running, that way I only have to edit a couple of definitions that will apply to dozens of hosts. Hope this helps. -Ben. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Kevin Myer Sent: Saturday, April 02, 2005 7:55 AM To: Nagios Users Subject: [Nagios-users] Default service dependencies (templating) With hosts and service definitions, you can define default templates and then reference them when creating the host or service, to fill in many default values. Can the same be done with service dependencies? For example, I have a service defined that monitors HTTPS connections. I also have a service defined that monitors when SSL certificates expire. If HTTPS goes down on a server, obviously the SSL certificate check will fail. In looking through servicedependencies.cfg, it looks like I can define a specific service that depends on another specific service. So I can go through and define for each host that I do HTTPS and SSL certificate checks for that one depends on the other. But is there a way to define that the root command (check_https) depends on another root command (check_cert), regardless what host its checked against? I guess maybe what I'm looking for amounts to checkcommand dependency, so that I don't have to define a service dependency for each and every host thats checked... Kevin -- Kevin M. Myer Senior Systems Administrator Lancaster-Lebanon Intermediate Unit 13 (717) 560-6140 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Sun Apr 3 15:03:32 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Sun, 03 Apr 2005 15:03:32 +0200 Subject: some questions In-Reply-To: <1112445375.2957.8.camel@bp5575> References: <1112445375.2957.8.camel@bp5575> Message-ID: <424FE9A4.9070606@its-lehmann.de> Hello. Bimal Pandit wrote: > Dear All, > > another question > > 1) I am not able to see small/beautiful icons to see different > machines/devices etc e.g. a windows machine, a linux box, a router, a > printer etc., where shall i configure these?? You configure this in hostextinfo sections. See in docs/xodtemplate.html#hostextinfo in nagios' documentation. > 2) I want to check wether DHCP services is running on my dhcp server or > not?? i tried to check manually as > > [bimal at bimal bimal]# cd /usr/local/nagios/libexec > [bimal at bimal bimal]# ./check_dhcp -v -s 10.10.2.3 -i eth0 > > but it seems that it is trying to assign an IP address to my machine > which already has static IP(10.10.1.1)!! Well, that's how things are. You can't check for the dhcp server without requesting an IP. In the servers log files, you should see that the IP is not ACKed, though, so the dhcp server knows that it's not in use. > i.e. i am concerned about the services running on the machines wether it > is available or not?? Usually you only know if it's running ok if it does its task - asigning IP numbers in this case. No workaround possible. > could anyone point me in the right direction about my issues, i will > be thankfull for any hints. *point* :-) Arno > regards, > > Bimal Pandit > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sun Apr 3 16:09:21 2005 From: ae at op5.se (Andreas Ericsson) Date: Sun, 03 Apr 2005 16:09:21 +0200 Subject: Check_ping problems ? In-Reply-To: <1112363334.21782.6.camel@localhost> References: <82A6470379751941BB7813ED375731EE34AFFB@bvexch.bvrmc.org> <424CFE52.7030605@op5.se> <1112363334.21782.6.camel@localhost> Message-ID: <424FF911.9050809@op5.se> Chris Wilson wrote: > Hi all, > > On Fri, 2005-04-01 at 08:54, Andreas Ericsson wrote: > >>Drew Kollasch wrote: >> >>> I am currently running a nagios 1.2 box monitoring approx 120 hosts and >>>200 services. On about 20 of the services (almost always as of recently) >>>I get a WARNING status that says "PING WARNING - DUPLICATES FOUND! >>>Packet loss = 1%, RTA = 0.27 ms". (or something very similar) have >>>anyone else seen this odd behavior? >> >>It basically means that the ping program receives multiple >>ICMP_ECHO_REPLY packets to a single ICMP_ECHO_REQUEST, which goes >>against the standard (rfc 792, I believe). > > > This plugin runs the standard ping program, right? If you ping the same > host with two ping commands at the same time, both will report duplicate > packets, because they can't distinguish between each others' pings. > Ofcourse they can distinguish between their own and other programs requests. The ICMP header contains 16 bits for id purposes. ping programs tag this with the lower 16 bits of their pid. Only if the kernel sports a 32bit pid_t (FreeBSD 5.x + some others) AND it also randomizes pids (stupid thing to do, really) OR more than 65536 processes are running, of which two are PING processes targeting the same host. There are four scenarios that can cause this to happen for real. 1) The PING program is broken. Considering PING is a very simple program that isn't very likely. 2) The IP-stack on the "bouncing" end is broken. This is even less likely. 3) Someone is doing a random-replay attack in the network for black-hat auditing purposes. This isn't very likely either, as icmp is a very un-interesting protocol to do random-replay attacks on. 4) ICMP_ECHO_REQUEST's are being sent to a broadcast address (this is very likely to be the case). Common broadcast addresses end in 255, 191, 127, 15. They always end in something which is exactly 2^x - 1, where x is always between 2 and 30 in IPv4 networks. > So this problem may just be caused by someone or something pinging from > the nagios server to the remote host at the same time as Nagios does its > checks. > Read /usr/include/netinet/ip_icmp.h or rfc 792 for details. > Cheers, Chris. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sun Apr 3 16:12:37 2005 From: ae at op5.se (Andreas Ericsson) Date: Sun, 03 Apr 2005 16:12:37 +0200 Subject: Nmap checks In-Reply-To: References: Message-ID: <424FF9D5.2080508@op5.se> Andrew Cruse wrote: > This might be a better question for the plugins list, but here goes. > I'm trying to figure out if there is any way to use any of the existing > plugins to do the following: > > 1. Port scan a host > 2. Compare open ports to a list of "expected" ports passed via the > commandline > 3. Alert if any ports other than the "expected" ports are open. > Don't do this. You'll end up scanning 2 * 65535 * num_hosts port for every one of these checks you're adding up. If you didn't have problems in your network before this, you'll get them when implementing this check. Instead you should try using nrpe/check_by_ssh and netstat to display open ports. That way you can also link them to the program having it opened. > My goal here is to be able to monitor systems for rogue ports opening > up, as an indication that the system may have been compromised. It > seems like it would be fairly trivial to do a local check on each system > by parsing the output of netstat, but the reliability of that method is > predicated on the trustworthiness of the netstat binary which is an > assumption I'm not willing to make when I'm looking to sniff out > intrustions. Therefore it seems best to try to do the detection from > another system. Looking at the check_nmap plugin it seems like it is > only able to check that certain ports *are* open, whereas I'm looking to > do the opposite. > > Any suggestions/pointers are greatly appreciated. > > Thanks, > > Andrew > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vivek_222 at rediffmail.com Sun Apr 3 22:16:58 2005 From: vivek_222 at rediffmail.com (vivek sharma sharma) Date: 3 Apr 2005 20:16:58 -0000 Subject: Fwd: nagios-service-refresh-rate Message-ID: <20050403201658.20475.qmail@webmail30.rediffmail.com> Dear Arno, I have gone through the DOCS and parameters max_concurrent_checks service_inter_check_delay_method service_reaper_frequency service_interleave_factor max_check_attempts for optimizing CPU utilization and all and i don't have any issues with it as of now.CPU utilization is fine as of now and also the traffic is nominal. But the problem right now that i have is For My second phase of Nagios Implementation: I have configured push_check.sh to run plugins on remote machines:: For this I have enabled ssh without passwd using RSA. Now my command is: define command { command_name remote_procs_check command_line $USER1$/push_check.sh /root/.ssh/id_rsa XXX.XXX.XXX $USER1$/check_procs -w 2:2 -c 2:1024 -C flowd } This command when run from command line gives proper output:: [root at nagios libexec]# ./push_check.sh /root/.ssh/id_rsa XXX.XXX.XXX ./check_procs -w 1:2 -c 1:1024 -C flowd PROCS OK: 2 processes with command name 'flowd' But when I see in Nagios GUI it gives the following error: ERROR: SSH key: '/root/.ssh/id_rsa' does not exist I have placed the /root/.ssh/id_rsa.pub keys in the /root/.ssh/authorized_keys in the XXX.XXX.XXX host What may be causing this? Also what is the difference between running it through nagios and running it through command line as root. The permissions on the concerned directories are as follows: Remote Host: [root at flowc .ssh]# pwd /root/.ssh You have new mail in /var/spool/mail/root [root at flowc .ssh]# ls -al total 16 drwx------ 2 root root 4096 Apr 3 21:33 . drwxr-x--- 17 root root 4096 Apr 3 22:04 .. -rw-r--r-- 1 root root 232 Apr 3 21:33 authorized_keys2 -rw-r--r-- 1 root root 241 Apr 3 21:02 known_hosts2 Nagios Host: [root at nagios .ssh]# pwd /root/.ssh [root at nagios .ssh]# ls -al total 20 drw-r--r-- 2 root root 4096 Apr 3 21:32 . drwxr-x--- 13 root root 4096 Apr 3 21:47 .. -rw------- 1 root root 883 Apr 3 21:30 id_rsa -rw-r--r-- 1 root root 231 Apr 3 21:30 id_rsa.pub -rw-r--r-- 1 root root 1804 Apr 3 21:12 known_hosts Plz suggest. Thanks. Vivek.? -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter.c at data-care.com.au Sun Apr 3 23:51:24 2005 From: peter.c at data-care.com.au (Peter Cole) Date: Mon, 4 Apr 2005 07:51:24 +1000 Subject: NSCA and MS Windows Confusion Message-ID: Thanks for the tip Tony, I've downloaded NC_Net this morning and I'll try and give it a run over the next day or two. Cheers! Pete -----Original Message----- From: Anthony Montibello [mailto:amontibello at gmail.com] Sent: Friday, 1 April 2005 5:20 PM To: Nagios Users List Subject: Re: [Nagios-users] NSCA and MS Windows Confusion NC_Net can be configured to send passive checks to a NSCA server using Xor encryption. the send_NSCA is implemented inside of NC_Net. NC_Net does require Dot Net Framework 1.1 and this in turn uses WMI but it is capable of running most check types, CPU,Memory, Performance counters, WMI Query, Event Log, Service and Processes, Disk,... Good Luck Tony ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Sun Apr 3 23:58:03 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Sun, 03 Apr 2005 23:58:03 +0200 Subject: Memory leak Message-ID: <425066EB.6060504@its-lehmann.de> Hello. At the moment, I'm still playing with Nagios 2.0b2 while working on migrating my monitoring stuff from a really old server to a moderately old one :-) One thing I notice: Whenever Nagios is running, the system seems to leak memory. No nagios -> no problem. Nagios running -> Memory use rises and rises and rises... until I (or the kernel oom killer) kill Nagios. Then it stays on the (too high) level. In the mailing list, I found this reported as a known bug concerning embedded perl, and in December Andreas wrote that one ugly leak was fixed...should be in b2, shouldn't it? Now, I'm wondering if this is a new bug, or a known issue - I couldn't find anything in the documentation or release notes... on the other hand, this should be obvious to others. My configuration: Linux Kernel 2.6.8-24.13-default (SuSE 9.2), nagios 2.0b2 just as downloaded, compiled without (to my knowledge...) perl support. Everything else works as expected. Unfortunately, I can't determine how the memory gets "eaten" - ps doesn't tell me about any processes with huge RSSes. In fact, I can't be sure that Nagios itself leaks that memory, but it happens if and only when Nagios is running. I tried a configuration with 22 Hosts/22 Services, where the host checks use check_icmp and the services are mostly check_dummy and three check_icmps. Check interval is 1 Minute during testing, 20 checks run in parallel, and ~200MB "disappear" in about 2 hours (without any notifications sent). Any hints, clues, slutions, me toos? Arno -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Mon Apr 4 00:01:46 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Mon, 04 Apr 2005 00:01:46 +0200 Subject: Fwd: nagios-service-refresh-rate In-Reply-To: <20050403201658.20475.qmail@webmail30.rediffmail.com> References: <20050403201658.20475.qmail@webmail30.rediffmail.com> Message-ID: <425067CA.802@its-lehmann.de> Hi. vivek sharma sharma wrote: > This command when run from command line gives proper output:: > [root at nagios libexec]# ./push_check.sh /root/.ssh/id_rsa XXX.XXX.XXX > ./check_procs > -w 1:2 -c 1:1024 -C flowd > > PROCS OK: 2 processes with command name 'flowd' > > But when I see in Nagios GUI it gives the following error: > ERROR: SSH key: '/root/.ssh/id_rsa' does not exist > > I have placed the /root/.ssh/id_rsa.pub keys in the > /root/.ssh/authorized_keys in the > XXX..XXX.XXX host > > What may be causing this? > Also what is the difference between running it through nagios and > running it through command > line as root. > > The permissions on the concerned directories are as follows: > Remote Host: > [root at flowc .ssh]# pwd > /root/.ssh > You have new mail in /var/spool/mail/root > [root at flowc .ssh]# ls -al > total 16 > drwx------ 2 root root 4096 Apr 3 21:33 . > drwxr-x--- 17 root root 4096 Apr 3 22:04 .. > -rw-r--r-- 1 root root 232 Apr 3 21:33 authorized_keys2 > -rw-r--r-- 1 root root 241 Apr 3 21:02 known_hosts2 > > Nagios Host: > [root at nagios .ssh]# pwd > /root/.ssh > [root at nagios .ssh]# ls -al > total 20 > drw-r--r-- 2 root root 4096 Apr 3 21:32 . > drwxr-x--- 13 root root 4096 Apr 3 21:47 .. > -rw------- 1 root root 883 Apr 3 21:30 id_rsa > -rw-r--r-- 1 root root 231 Apr 3 21:30 id_rsa.pub > -rw-r--r-- 1 root root 1804 Apr 3 21:12 known_hosts > > Plz suggest. You should setup ssh correctly. Try to avoid serious security holes. Nagios should not run as root. Nobody but the owner shoul have access to ssh keys and configuration. Read the manuals. Please! Arno > Thanks. > Vivek. > > > > > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vivek_222 at rediffmail.com Sun Apr 3 22:23:03 2005 From: vivek_222 at rediffmail.com (vivek sharma sharma) Date: 3 Apr 2005 20:23:03 -0000 Subject: SSH key: '/root/.ssh/id_rsa' Error Message-ID: <20050403202303.26115.qmail@webmail9.rediffmail.com> Dear Arno, I have gone through the parameters max_concurrent_checks service_inter_check_delay_method service_reaper_frequency service_interleave_factor max_check_attempts for optimizing CPU utilization and all and i don't have any issues with it as of now. For My second phase of Nagios Implementation: I have configured push_check.sh to run plugins on remote machines:: For this I have enabled ssh without passwd using RSA. Now my command is: define command { command_name remote_procs_check command_line $USER1$/push_check.sh /root/.ssh/id_rsa XXX.XXX.XXX $USER1$/check_procs -w 2:2 -c 2:1024 -C flowd } This command when run from command line gives proper output:: [root at nagios libexec]# ./push_check.sh /root/.ssh/id_rsa XXX.XXX.XXX ./check_procs -w 1:2 -c 1:1024 -C flowd PROCS OK: 2 processes with command name 'flowd' But when I see in Nagios GUI it gives the following error: ERROR: SSH key: '/root/.ssh/id_rsa' does not exist I have placed the /root/.ssh/id_rsa.pub keys in the /root/.ssh/authorized_keys in the XXX.XXX.XXX host What may be causing this? Also what is the difference between running it through nagios and running it through command line as root. The permissions on the concerned directories are as follows: Remote Host: [root at flowc .ssh]# pwd /root/.ssh You have new mail in /var/spool/mail/root [root at flowc .ssh]# ls -al total 16 drwx------ 2 root root 4096 Apr 3 21:33 . drwxr-x--- 17 root root 4096 Apr 3 22:04 .. -rw-r--r-- 1 root root 232 Apr 3 21:33 authorized_keys2 -rw-r--r-- 1 root root 241 Apr 3 21:02 known_hosts2 Nagios Host: [root at nagios .ssh]# pwd /root/.ssh [root at nagios .ssh]# ls -al total 20 drw-r--r-- 2 root root 4096 Apr 3 21:32 . drwxr-x--- 13 root root 4096 Apr 3 21:47 .. -rw------- 1 root root 883 Apr 3 21:30 id_rsa -rw-r--r-- 1 root root 231 Apr 3 21:30 id_rsa.pub -rw-r--r-- 1 root root 1804 Apr 3 21:12 known_hosts Plz suggest. Thanks. Vivek.? -------------- next part -------------- An HTML attachment was scrubbed... URL: From vivek_222 at rediffmail.com Sun Apr 3 14:31:13 2005 From: vivek_222 at rediffmail.com (vivek sharma sharma) Date: 3 Apr 2005 12:31:13 -0000 Subject: ssl-error in nrpe plugin Message-ID: <20050403123113.7871.qmail@webmail31.rediffmail.com> Dear all, I have installed nrpe on my nagios host and one client host. On Nagios Host: 1.)I compiled nrpe and copied the check_nrpe plugin to /usr/local/nagios/libexec/ directory On client host: 1.)I compiled the nrpe and then copied the nrpe.cfg in /etc/ 2.)Also placed /etc/xinetd.d/nrpe and placed the user as root in it and the allowed hosts as the Nagios host 3.)Started the xinetd daemon Now i noticed two things: Firstly when i try to telnet client_host 5666 from nagios_host it gives following ################ [root at nagios libexec]# telnet 203.187.192.44 5666 Trying 203.187.192.44... Connected to 203.187.192.44 (203.187.192.44). Escape character is '^]'. Connection closed by foreign host. ################ Secondly when i try to run the check_nrpe daemon from within the /usr/local/nagios/libexec/ directory in Nagios_host it gives: ################ ./check_nrpe -H 203.187.192.44 -c check_load CHECK_NRPE: Error - Could not complete SSL handshake. ############### The copy of nrpe.cfg in client host is as follows: ################################# server_port=5666 command_timeout=60 # The following examples use hardcoded command arguments... command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hda1 command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hdb1 command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c 200 ################################## The rest of the parameters in nrpe.cfg file are either not applicable b'cos i am using /etc/xinetd.d/nrpe or they are commented. Pls suggest. Thanks. Vivek. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Mon Apr 4 00:34:43 2005 From: marc at ena.com (Marc Powell) Date: Sun, 3 Apr 2005 17:34:43 -0500 Subject: SSH key: '/root/.ssh/id_rsa' Error Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of vivek sharma sharma > Sent: Sunday, April 03, 2005 3:23 PM > To: Arno Lehmann > Cc: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] SSH key: '/root/.ssh/id_rsa' Error > > For My second phase of Nagios Implementation: > > I have configured push_check.sh to run plugins on remote machines:: > For this I have enabled ssh without passwd using RSA. > > Now my command is: > define command { > command_name remote_procs_check > command_line $USER1$/push_check.sh /root/.ssh/id_rsa > XXX.XXX.XXX > $USER1$/check_procs -w 2:2 -c 2:1024 -C flowd > } > > This command when run from command line gives proper output:: > [root at nagios libexec]# ./push_check.sh /root/.ssh/id_rsa XXX.XXX.XXX > ./check_procs > -w 1:2 -c 1:1024 -C flowd > > PROCS OK: 2 processes with command name 'flowd' This looks to be run as the root user. Have you tried running it as the nagios user? > > But when I see in Nagios GUI it gives the following error: > ERROR: SSH key: '/root/.ssh/id_rsa' does not exist > > I have placed the /root/.ssh/id_rsa.pub keys in the > /root/.ssh/authorized_keys in the > XXX.XXX.XXX host > > What may be causing this? You're not running nagios as root, are you? That would probably be a bad idea. If not, it's highly unlikely that the nagios user can access _anything_ under /root. If it can, that's bad as well. Generate a key as the nagios user, add it to authorized_keys for the user you want to be on the remote machine, try the command from your nagios machine as the nagios user to accept the host identification (only needed once) and to verify that the command runs as you expect. > Also what is the difference between running it through nagios and running > it through command > line as root. Nagios user != root user. Root has global permissions to everything on the file system, the nagios user doesn't (or shouldn't). -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Sun Apr 3 14:47:19 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Sun, 03 Apr 2005 14:47:19 +0200 Subject: Fwd: nagios-service-refresh-rate In-Reply-To: <20050401131057.27205.qmail@webmail6.rediffmail.com> References: <20050401131057.27205.qmail@webmail6.rediffmail.com> Message-ID: <424FE5D7.208@its-lehmann.de> vivek sharma sharma wrote: > Hi Rajeeve, > Yeh i did the same keeping the interval_length is 60 sec. and > the normal_check_interval as 1 so it makes the check possible in one > minutes.So the refresh rate is now about one minutes. > > But in this case now i have 84 services on as many clients so what is > the max. time i can expect for a client to be checked is it one minute > or Nagios finishes with one and then proceeds with the next one. > > I think it must be opening multiple threads say in one minute(in my case > now)for multiple hosts and hence every host can get checked in one minute... > > Correct me if i am wrong. Vivek, you really should take the time to read the manual. Really. Arno > Thanks. > Vivek > > > On Thu, 31 Mar 2005 Rajeeve K Krishnan wrote : > >HI Vivek, > > > >check the value of 'interval_length' in the nagios.cfg file. normally > >it will be 60 which means one interval unit is 1 minute -thus making > >the normal_check_interval into 5 *60 seconds ie 5 minutes > > > >If the 'interval_length' is more than 60 , you will have to either > >decrease the 'interval_length' or normal_check_interval to set > >nagios for executing service checks more frequently > > > >thanks > >Rajeeve > > > > > > > >On 31 Mar 2005 08:27:45 -0000, vivek sharma sharma > > wrote: > > > > > > > > > Dear all, > > > Any suggestions on this. > > > I have to solve this urgently. > > > > > > Thanks. > > > Vivek > > > > > > > > > Note: Forwarded message attached > > > > > > -- Orignal Message -- > > > > > > From: "vivek sharma sharma" > > > To: nagios-users at lists.sourceforge.net > > > Subject: nagios-service-refresh-rate > > > > > > > > > > > > > > > ---------- Forwarded message ---------- > > > From: "vivek sharma sharma" > > > To: nagios-users at lists.sourceforge.net > > > Date: > > > Subject: nagios-service-refresh-rate > > > > > > > > > Dear all, > > > I am using Nagios(r) Version 2.0b version.on redhat linux-9.0 > > > My service configuration is: > > > define service{ > > > use generic-service > > > host_name flowc.XXX.net > > > service_description check_ping > > > is_volatile 0 > > > check_period 24x7 > > > check_freshness 1 > > > freshness_threshold 60 > > > max_check_attempts 3 > > > normal_check_interval 5 > > > retry_check_interval 1 > > > contact_groups noc-support > > > notification_interval 120 > > > notification_period 24x7 > > > notification_options c,r > > > check_command check_ping > > > } > > > define service{ > > > name generic-service > > > active_checks_enabled 1 > > > passive_checks_enabled 1 > > > parallelize_check 1 > > > obsess_over_service 1 > > > check_freshness 0 > > > notifications_enabled 1 > > > event_handler_enabled 1 > > > process_perf_data 1 > > > retain_status_information 1 > > > retain_nonstatus_information 1 > > > register 0 > > > } > > > define command{ > > > command_name check_ping > > > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w > 450.0,40% -c > > > 1750.0,98% > > > } > > > > > > But the problem that it shows the service as down only after about ten > > > minutes and also to show the service as up also it shows it after > sya ten > > > minutes again. > > > > > > Is it anything related to the above command::basically i wuld like > to know > > > that when we say xx% loss or xxms latency then after how many tries > this > > > %age is calculated how the command is actually working. > > > > > > Can anybody suggest on what may be the issue here... > > > > > > Thanks. > > > Vivek. > > > > > > > > > > > > > > > > > > > > > > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by Demarc: > >A global provider of Threat Management Solutions. > >Download our HomeAdmin security software for free today! > >http://www.demarc.com/Info/Sentarus/hamr30 > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > >::: Messages without supporting info will risk being sent to /dev/null > > > > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Sun Apr 3 19:20:02 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Sun, 03 Apr 2005 19:20:02 +0200 Subject: Fwd: nagios-service-refresh-rate In-Reply-To: <20050403135617.16204.qmail@webmail9.rediffmail.com> References: <20050403135617.16204.qmail@webmail9.rediffmail.com> Message-ID: <425025C2.3010800@its-lehmann.de> Well then, vivek sharma sharma wrote: > Well you are right Arno believe me i have read as much time as I got and > i have not found any reference for the thread behaviour of Nagios.Anyway > my understanding says that Nagios would open multiple threads for the > given hosts/services at a time and give the warning/critical messages > accordingly. > Again the request is ::plz correct me if i am wrong:: Basically, checks are done serially - you can see this in the scheduling info. Then, you've got a setting which determines how many checks are done in parallel. In the example in the manual, it is even explained how nagios determines which checks to execute in parallel. As a result of how a unixlike system works, nagios forks the actual check processes. The results are collected in a sort of result buffer and "taken" from there with the service-reaper frequency. How this all works together is explained in some detail in the manual. You might notice that only one process des the actual messages. Why this is the case? I can guess it by reading the manual, especially the sections about why host checks are always serialized and nothing runs in parallel while nagios determines the host states. > Also i wanted to know whether this behaviour of Nagios shall not add to > too much of network traffic if i am going to increase the no. of > hosts/services and also keeping the time interval to one minute. The amount of network traffic is a direct result of the kind and number of checks you do. Over time, it doesn't matter how many checks are run in parallel - the sum of the checks remains the same over time. It does not if you "overload" the nagios-server or the network links, so, when you approach that limit, you will want to fine-tune the check intervals, number of parallel checks, and service-reaper frequency. > Plz suggest. What sort of suggestions do you want? How to setup your monitoring? We would need more information about the number of hosts, services, the network saturation resulting from your existing setup, etc. pp. Arno > Thanks. > Vivek. > > > On Sun, 03 Apr 2005 Arno Lehmann wrote : > >vivek sharma sharma wrote: > > > >>Hi Rajeeve, > >> Yeh i did the same keeping the interval_length is 60 sec. > and the normal_check_interval as 1 so it makes the check possible in one > minutes.So the refresh rate is now about one minutes. > >> > >>But in this case now i have 84 services on as many clients so what is > the max. time i can expect for a client to be checked is it one minute > or Nagios finishes with one and then proceeds with the next one. > >> > >>I think it must be opening multiple threads say in one minute(in my > case now)for multiple hosts and hence every host can get checked in one > minute... > >> > >>Correct me if i am wrong. > > > >Vivek, you really should take the time to read the manual. Really. > > > >Arno > > > > > >>Thanks. > >>Vivek > >> > >> > >>On Thu, 31 Mar 2005 Rajeeve K Krishnan wrote : > >> >HI Vivek, > >> > > >> >check the value of 'interval_length' in the nagios.cfg file. normally > >> >it will be 60 which means one interval unit is 1 minute -thus making > >> >the normal_check_interval into 5 *60 seconds ie 5 minutes > >> > > >> >If the 'interval_length' is more than 60 , you will have to either > >> >decrease the 'interval_length' or normal_check_interval to set > >> >nagios for executing service checks more frequently > >> > > >> >thanks > >> >Rajeeve > >> > > >> > > >> > > >> >On 31 Mar 2005 08:27:45 -0000, vivek sharma sharma > >> > wrote: > >> > > > >> > > > >> > > Dear all, > >> > > Any suggestions on this. > >> > > I have to solve this urgently. > >> > > > >> > > Thanks. > >> > > Vivek > >> > > > >> > > > >> > > Note: Forwarded message attached > >> > > > >> > > -- Orignal Message -- > >> > > > >> > > From: "vivek sharma sharma" > >> > > To: nagios-users at lists.sourceforge.net > >> > > Subject: nagios-service-refresh-rate > >> > > > >> > > > >> > > > >> > > > >> > > ---------- Forwarded message ---------- > >> > > From: "vivek sharma sharma" > >> > > To: nagios-users at lists.sourceforge.net > >> > > Date: > >> > > Subject: nagios-service-refresh-rate > >> > > > >> > > > >> > > Dear all, > >> > > I am using Nagios(r) Version 2.0b version.on redhat linux-9.0 > >> > > My service configuration is: > >> > > define service{ > >> > > use generic-service > >> > > host_name flowc.XXX.net > >> > > service_description check_ping > >> > > is_volatile 0 > >> > > check_period 24x7 > >> > > check_freshness 1 > >> > > freshness_threshold 60 > >> > > max_check_attempts 3 > >> > > normal_check_interval 5 > >> > > retry_check_interval 1 > >> > > contact_groups noc-support > >> > > notification_interval 120 > >> > > notification_period 24x7 > >> > > notification_options c,r > >> > > check_command check_ping > >> > > } > >> > > define service{ > >> > > name generic-service > >> > > active_checks_enabled 1 > >> > > passive_checks_enabled 1 > >> > > parallelize_check 1 > >> > > obsess_over_service 1 > >> > > check_freshness 0 > >> > > notifications_enabled 1 > >> > > event_handler_enabled 1 > >> > > process_perf_data 1 > >> > > retain_status_information 1 > >> > > retain_nonstatus_information 1 > >> > > register 0 > >> > > } > >> > > define command{ > >> > > command_name check_ping > >> > > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w > 450.0,40% -c > >> > > 1750.0,98% > >> > > } > >> > > > >> > > But the problem that it shows the service as down only after > about ten > >> > > minutes and also to show the service as up also it shows it > after sya ten > >> > > minutes again. > >> > > > >> > > Is it anything related to the above command::basically i wuld > like to know > >> > > that when we say xx% loss or xxms latency then after how many > tries this > >> > > %age is calculated how the command is actually working. > >> > > > >> > > Can anybody suggest on what may be the issue here... > >> > > > >> > > Thanks. > >> > > Vivek. > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > >> > > >> >------------------------------------------------------- > >> >This SF.net email is sponsored by Demarc: > >> >A global provider of Threat Management Solutions. > >> >Download our HomeAdmin security software for free today! > >> >http://www.demarc.com/Info/Sentarus/hamr30 > >> >_______________________________________________ > >> >Nagios-users mailing list > >> >Nagios-users at lists.sourceforge.net > >> >https://lists.sourceforge.net/lists/listinfo/nagios-users > >> >::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > >> >::: Messages without supporting info will risk being sent to /dev/null > >> > >> > >> > >> > > > >-- IT-Service Lehmann al at its-lehmann.de > >Arno Lehmann http://www.its-lehmann.de > > > > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From himanshus at webcentral.com.au Mon Apr 4 04:11:10 2005 From: himanshus at webcentral.com.au (Himanshu Shukla) Date: Mon, 4 Apr 2005 12:11:10 +1000 Subject: ssl-error in nrpe plugin In-Reply-To: <20050403123113.7871.qmail@webmail31.rediffmail.com> References: <20050403123113.7871.qmail@webmail31.rediffmail.com> Message-ID: <200504041211.10800.himanshus@webcentral.com.au> On Sun, 3 Apr 2005 10:31 pm, vivek sharma sharma wrote: > Dear all, > I have installed nrpe on my nagios host and one client host. > > On Nagios Host: > 1.)I compiled nrpe and copied the check_nrpe plugin to > /usr/local/nagios/libexec/ directory > > > On client host: > 1.)I compiled the nrpe and then copied the nrpe.cfg in /etc/ > 2.)Also placed /etc/xinetd.d/nrpe and placed the user as root in it > and the allowed hosts as the Nagios host 3.)Started the xinetd daemon > > Now i noticed two things: > Firstly when i try to telnet client_host 5666 from nagios_host it > gives following ################ > [root at nagios libexec]# telnet 203.187.192.44 5666 > Trying 203.187.192.44... > Connected to 203.187.192.44 (203.187.192.44). > Escape character is '^]'. > Connection closed by foreign host. > ################ If you are using tcpwrappers, double check if you have allowed nrpe access. Also check the 'only_from' parameter in the corresponding xinetd file. > > Secondly when i try to run the check_nrpe daemon from within the > /usr/local/nagios/libexec/ directory in Nagios_host it gives: > ################ > ./check_nrpe -H 203.187.192.44 -c check_load > > CHECK_NRPE: Error - Could not complete SSL handshake. > ############### From the FAQ, one of the causes might be different versions of the nrpe client and server. > > The copy of nrpe.cfg in client host is as follows: > ################################# > server_port=5666 > command_timeout=60 > # The following examples use hardcoded command arguments... > > command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 > command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 > -c 30,25,20 command[check_disk1]=/usr/local/nagios/libexec/check_disk > -w 20 -c 10 -p /dev/hda1 > command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 > -p /dev/hdb1 > command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w > 5 -c 10 -s Z > command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w > 150 -c 200 ################################## > The rest of the parameters in nrpe.cfg file are either not applicable > b'cos i am using /etc/xinetd.d/nrpe or they are commented. > > Pls suggest. > > Thanks. > Vivek. -- Himanshu Shukla Systems Engineer, Unix and Network Team Tel: 07 3230 7352 Mob: 0401 985 215 Email: himanshus at webcentral.com.au WebCentral Pty Ltd - 2004 Microsoft Global Hosting Service Provider of the Year - www.webcentral.com.au A WebCentral Group Limited company (ASX: WCG) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.gov.au Mon Apr 4 05:51:56 2005 From: Stanley.Hopcroft at IPAustralia.gov.au (Stanley Hopcroft) Date: Mon, 4 Apr 2005 13:51:56 +1000 Subject: Memory leak In-Reply-To: <20050404031312.D865C890F5@sc8-sf-spam1.sourceforge.net> References: <20050404031312.D865C890F5@sc8-sf-spam1.sourceforge.net> Message-ID: <20050404035155.GD96286@ws11114.aipo.gov.au> Dear Sir, I am writing to thank you for your letter and say, On Sun, Apr 03, 2005 at 08:11:59PM -0700, nagios-users-request at lists.sourceforge.net wrote: > > Message: 10 > Date: Sun, 03 Apr 2005 23:58:03 +0200 > From: Arno Lehmann > To: "nagios-users at lists.sourceforge.net" > Subject: [Nagios-users] Memory leak > > Hello. > > At the moment, I'm still playing with Nagios 2.0b2 while working on > migrating my monitoring stuff from a really old server to a moderately > old one :-) > > One thing I notice: > Whenever Nagios is running, the system seems to leak memory. No nagios > -> no problem. Nagios running -> Memory use rises and rises and rises... > until I (or the kernel oom killer) kill Nagios. Then it stays on the > (too high) level. > > In the mailing list, I found this reported as a known bug concerning > embedded perl, and in December Andreas wrote that one ugly leak was > fixed...should be in b2, shouldn't it? There is an unfixed known bug using embedded Perl of this nature (see perldoc p1.pl). You may have found a new leak. > > Now, I'm wondering if this is a new bug, or a known issue - I couldn't > find anything in the documentation or release notes... on the other > hand, this should be obvious to others. > > My configuration: Linux Kernel 2.6.8-24.13-default (SuSE 9.2), nagios > 2.0b2 just as downloaded, compiled without (to my knowledge...) perl > support. > I think that something like this tsitc> nm /base/nagios | grep perl 0806c29c T deinit_embedded_perl 0806c1dc T init_embedded_perl 080a4068 d my_perl U perl_alloc U perl_construct U perl_destruct U perl_free U perl_parse U perl_run 080a406c D use_embedded_perl will tell you if you have embedded Perl (if you see D use_embedded_perl, you have Perl compiled into your Nag). > Everything else works as expected. > > Unfortunately, I can't determine how the memory gets "eaten" - ps > doesn't tell me about any processes with huge RSSes. In fact, I can't be > sure that Nagios itself leaks that memory, but it happens if and only > when Nagios is running. top does on this BSD host eg tsitc> top -b last pid: 76931; load averages: 0.35, 0.54, 0.56 up 86+19:09:22 13:51:28 53 processes: 1 running, 52 sleeping Mem: 100M Active, 27M Inact, 56M Wired, 16M Cache, 35M Buf, 51M Free Swap: 256M Total, 9384K Used, 247M Free, 3% Inuse PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 76927 nagios 2 0 28300K 21776K poll 0:00 2.73% 1.07% nagios 97772 nagios 2 0 26944K 20264K poll 37:41 0.68% 0.68% nagios Likewise you could use check_procs from the standard plugin set to monitor vsz. > I tried a configuration with 22 Hosts/22 Services, where the host checks > use check_icmp and the services are mostly check_dummy and three > check_icmps. Check interval is 1 Minute during testing, 20 checks run in > parallel, and ~200MB "disappear" in about 2 hours (without any > notifications sent). > tsitc> file /usr/local/nagios/libexec/check_dummy /usr/local/nagios/libexec/check_dummy: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 4.1, dynamically linked (uses shared libs), not stripped tsitc> check_icmp is C also. If there is a problem it is in Nagios, not embedded Perl in this case. > Any hints, clues, slutions, me toos? > > Arno > > Yours sincerely. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From iamyolanda at gmail.com Mon Apr 4 10:03:59 2005 From: iamyolanda at gmail.com (Yolanda Santos) Date: Mon, 4 Apr 2005 10:03:59 +0200 Subject: Spanish language interface for Nagios? Message-ID: Hi! Anybody knows of a Spanish language translation for the Nagios interface and CGI's? Any translation projects - even unfinished - underway, perhaps? Or... how can I translate it? (I think it could be very difficult, but...I need it) Thanks ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Groesche at neo-partners.com Mon Apr 4 10:21:43 2005 From: Sebastian.Groesche at neo-partners.com (=?iso-8859-1?Q?Sebastian_Gr=F6sche?=) Date: Mon, 4 Apr 2005 10:21:43 +0200 Subject: AW: Missing cgi-files and where is the mail-notification plugin Message-ID: Hi, thx for reading. 2. Problem: The files (statusmap.cgi, trends.cgi, histogram.cgi) don't exists, that's the problem. All other CGI's can be opened via Web. Am I right when I think that all Binarys are stored in the folder /etc ? I think this because every opened cgi file is stored there. 3. Problem: Shure, everything is configured, I have configured that in case of an error the command call_admin should be used, but what must stand in the command_line ? Please help me, when I produce an error I see that the command is opened but I don't know how to say that he should send an email. Greets Sebastian Gr?sche -----Urspr?ngliche Nachricht----- Von: Aaron Carr [mailto:aaronhcarr at gmail.com] Gesendet: Freitag, 1. April 2005 22:09 An: nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] Missing cgi-files and where is the mail-notification plugin > 2. Problem > Several Links (Status Map, Trends, Alert Histogram) have no target (the CGI-Files not exists). Is it possible to compile them again or download them? Where can I get them. Your Apache configuration is probably off. Have you verified that the files are actually present on the filesystem and that the correct path has been given to Apache? > 3. Problem > I searched everything, I read in the manual for hours, checked google, the nagios-homepage but I never found a Tutorial how I could enable the email notification, am I just blind or is there really nothing about it? > The email should be send (when it's configured) over the internal mail server from our company and go to several contacts. That's the most important thing I'm working on. > Have you configured contacts, contact groups, hosts and services? Have you configured the notification methods and time periods for the contacts? Is this a mail server issue? (II know that my previous company had to explicitly allow servers to relay mail. Your mail may be getting silently rejected by the upstream MTA. > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/Info/Sentarus/hamr30 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 4 12:00:32 2005 From: m.borsani at it.net (Marco Borsani) Date: Mon, 4 Apr 2005 12:00:32 +0200 Subject: timeperiods.cfg In-Reply-To: <1112343158.3926.59.camel@dresden.eurodata.de> References: <1112343158.3926.59.camel@dresden.eurodata.de> Message-ID: Hi all. I would't d like to check and receive notifications for a service between 04:00 and 07:00 in the morning and between 14:00 and 16:30 in the afternoon. Is it correct use following timeperiod? define timeperiod{ timeperiod_name strano alias strange time sunday 00:00-04:00,07:00-14:00,16:30-24:00 monday 00:00-04:00,07:00-14:00,16:30-24:00 tuesday 00:00-04:00,07:00-14:00,16:30-24:00 wednesday 00:00-04:00,07:00-14:00,16:30-24:00 thursday 00:00-04:00,07:00-14:00,16:30-24:00 friday 00:00-04:00,07:00-14:00,16:30-24:00 saturday 00:00-04:00,07:00-14:00,16:30-24:00 } I am doing this question because last saturday night , at 03:12 a.m. , I receive a notification. In the service definition I use "strano" for check_period and notification_period variables. Thanks Marco ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lionel.verscheure at inria.fr Mon Apr 4 12:05:31 2005 From: lionel.verscheure at inria.fr (Lionel Verscheure) Date: Mon, 04 Apr 2005 12:05:31 +0200 Subject: nagios without mail Message-ID: <4251116B.6060806@inria.fr> Hello, I try to find a way to alert when the mail server is down (because the mail server is not on your geographical site). I go on http://www.nagios.org/download/extras.php, so i found different ways : - nagios popup : installing a software on client that read the state ans launch a popup, (only on windows :-( ) - (IMDaemon or NIM, ...) : send message to ICQ or Jabber, ( we had to think launch your software) Do you have others solutions ? -- Lionel Verscheure INRIA Futurs - Orsay Service des Moyens Informatiques Email : lionel.verscheure at inria.fr T?l. : 0172925966 T?l. portable : 0618387435 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Mon Apr 4 12:09:52 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Mon, 04 Apr 2005 12:09:52 +0200 Subject: Memory leak In-Reply-To: <20050404035155.GD96286@ws11114.aipo.gov.au> References: <20050404031312.D865C890F5@sc8-sf-spam1.sourceforge.net> <20050404035155.GD96286@ws11114.aipo.gov.au> Message-ID: <42511270.3020909@its-lehmann.de> Sir... tststs :-) Stanley Hopcroft wrote: > Dear Sir, > > I am writing to thank you for your letter and say, >> >>In the mailing list, I found this reported as a known bug concerning >>embedded perl, and in December Andreas wrote that one ugly leak was >>fixed...should be in b2, shouldn't it? > > > There is an unfixed known bug using embedded Perl of this nature (see > perldoc p1.pl). > > You may have found a new leak. Possible... >>Now, I'm wondering if this is a new bug, or a known issue - I couldn't >>find anything in the documentation or release notes... on the other >>hand, this should be obvious to others. >> >>My configuration: Linux Kernel 2.6.8-24.13-default (SuSE 9.2), nagios >>2.0b2 just as downloaded, compiled without (to my knowledge...) perl >>support. >> > > > I think that something like this > > tsitc> nm > /base/nagios > | grep perl > 0806c29c T deinit_embedded_perl > 0806c1dc T init_embedded_perl > 080a4068 d my_perl > U perl_alloc > U perl_construct > U perl_destruct > U perl_free > U perl_parse > U perl_run > 080a406c D use_embedded_perl Ah, great... not being a programmer nm was not an idea I had. Well, I tried it, and after seeing that the instaled binary was stripped I checked the one in the build tree and found it only has the init and deinit functions defined. So, perl is not included, but the memory leak is??? > > will tell you if you have embedded Perl (if you see D use_embedded_perl, > you have Perl compiled into your Nag). See above: No, as I thought. >>Everything else works as expected. >> >>Unfortunately, I can't determine how the memory gets "eaten" - ps >>doesn't tell me about any processes with huge RSSes. In fact, I can't be >>sure that Nagios itself leaks that memory, but it happens if and only >>when Nagios is running. > > > top does on this BSD host eg ... > Likewise you could use check_procs from the standard plugin set to > monitor vsz. Well, I tried top as well as ps and the memory isn't used by any process as far as I can determine it. Logged output from ps: > total used free shared buffers cached > Mem: 515636 512884 2752 0 1800 5976 > -/+ buffers/cache: 505108 10528 > Swap: 2120540 47852 2072688 > PID USER RSS SZ CMD > 4039 ntp 5228 1308 /usr/sbin/ntpd -p /var/lib/ntp/var/run/ntp/ntpd.pid -u ntp -i /var/lib/ntp > 20740 wwwrun 2124 7678 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL > 20294 wwwrun 2100 7657 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL > 4279 root 1724 2675 /usr/sbin/smbd -D -s /etc/samba/smb.conf > 4286 root 1724 2683 /usr/sbin/smbd -D -s /etc/samba/smb.conf > 26755 cyrus 1704 7431 imapd > 26757 cyrus 1704 7461 imapd > 26126 cyrus 1700 7421 imapd > 26754 cyrus 1700 7425 imapd > 26756 cyrus 1700 7411 imapd > 8176 cyrus 1692 7411 imapd > 8177 cyrus 1692 7421 imapd > 20707 nagios 1596 2841 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > 8635 nagios 1572 2842 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > 4425 root 1568 7253 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL > 4450 root 1544 1200 /usr/bin/fetchmail -d 912 -a -f /etc/fetchmailrc -L /var/log/fetchmail > 8614 postfix 1528 1550 smtpd -n smtp -t inet -u -s 2 > 4364 postfix 1520 1400 qmgr -l -t fifo -u > 7831 postfix 1504 1391 pickup -l -t fifo -u > 8625 cyrus 1228 6983 imapd > 8634 root 1168 1221 ps -eopid,user,rss,sz,cmd --sort=-rss > 7932 man 1124 1226 /usr/bin/mandb -q -s > 23535 root 1092 1402 -bash > 4349 root 1088 1069 /usr/lib/postfix/master > 3632 root 1084 1701 /usr/sbin/saslauthd -a pam > 4440 root 1060 1161 /usr/sbin/xinetd > 4740 root 1044 1210 login -- root > 4473 root 1012 1086 /sbin/mingetty --noclear tty1 > 4475 root 1012 1086 /sbin/mingetty tty3 > 4476 root 1012 1086 /sbin/mingetty tty4 > 4477 root 1012 1086 /sbin/mingetty tty5 > 4478 root 1012 1086 /sbin/mingetty tty6 > 4465 root 992 1046 /usr/sbin/cron > 7705 root 992 1047 /usr/sbin/cron > 3709 root 964 1357 /sbin/resmgrd > 4266 dhcpd 908 1139 /usr/sbin/dhcpd -chroot /var/lib/dhcp/ -lf /db/dhcpd.leases -user dhcpd -group nogroup eth0 > 8636 nagios 860 656 sh -c sudo -u root /usr/local/nagios/libexec/check_icmp -H THIS_IS_PRIVATE -w 300.0,30% -c 500.0,70% -p 10 > 4169 root 824 710 /usr/sbin/ypserv > 4399 root 660 430 /usr/sbin/rpc.mountd > 4722 root 528 655 /bin/bash bin/rrdloadsave.sh > 7713 root 488 591 /bin/bash /usr/lib/cron/run-crons > 7706 root 476 590 /bin/sh -c test -x /usr/lib/cron/run-crons && /usr/lib/cron/run-crons >/dev/null 2>&1 > 7931 root 472 590 /bin/sh /etc/cron.daily/do_mandb > 4481 nagios 424 419 nsca -c /usr/local/nagios/etc/nsca.cfg --inetd > 4482 nagios 424 419 nsca -c /usr/local/nagios/etc/nsca.cfg --inetd > 4570 nagios 424 419 nsca -c /usr/local/nagios/etc/nsca.cfg --inetd > 4571 nagios 424 419 nsca -c /usr/local/nagios/etc/nsca.cfg --inetd > 4658 nagios 424 419 nsca -c /usr/local/nagios/etc/nsca.cfg --inetd > 4659 nagios 424 419 nsca -c /usr/local/nagios/etc/nsca.cfg --inetd > 3840 named 412 8380 /usr/sbin/named -t /var/lib/named -u named > 3646 root 340 1627 /usr/sbin/nmbd -D -s /etc/samba/smb.conf > 3626 root 128 1596 /usr/sbin/saslauthd -a pam > 3631 root 128 1596 /usr/sbin/saslauthd -a pam > 3633 root 128 1596 /usr/sbin/saslauthd -a pam > 3634 root 128 1596 /usr/sbin/saslauthd -a pam > 3924 ldap 112 22147 /usr/lib/openldap/slapd -h ldap:/// -u ldap -g ldap -o slp=on > 3701 root 108 6887 /usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf > 3729 cyrus 100 1426 /usr/lib/cyrus/bin/master -p /var/run/cyrus.pid -d > 3912 mysql 52 6199 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking --port=3306 --socket=/var/lib/mysql/mysql.sock > 3593 root 48 361 /sbin/syslogd -a /var/lib/dhcp/dev/log -a /var/lib/named/dev/log -a /var/lib/ntp/dev/log > 3927 cyrus 40 6795 idled > 1 root 24 149 init [3] > 3613 root 24 1770 /usr/sbin/snmpd -r -A -Lf /var/log/net-snmpd.log -p /var/run/snmpd.pid > 2133 root 12 340 udevd > 2440 root 12 358 [hwscand] > 3459 root 12 358 [hwscand] > 3598 root 12 379 /sbin/klogd -c 1 -2 -x > 3719 nobody 12 357 /sbin/portmap > 3801 root 12 1424 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid > 3863 root 12 591 /bin/sh /usr/bin/mysqld_safe --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --socket=/var/lib/mysql/mysql.sock --datadir=/var/lib/mysql > 2 root 0 0 [ksoftirqd/0] > 3 root 0 0 [events/0] > 4 root 0 0 [khelper] > 5 root 0 0 [netlink/0] > 6 root 0 0 [kblockd/0] > 29 root 0 0 [kapmd] > 31 root 0 0 [pdflush] > 32 root 0 0 [pdflush] > 34 root 0 0 [aio/0] > 33 root 0 0 [kswapd0] > 618 root 0 0 [kseriod] > 1585 root 0 0 [reiserfs/0] > 2077 root 0 0 [khubd] > 2465 root 0 0 [khpsbpkt] > 2483 root 0 0 [knodemgrd_0] > 4375 root 0 0 [nfsd] > 4376 root 0 0 [nfsd] > 4377 root 0 0 [nfsd] > 4378 root 0 0 [nfsd] > 4382 root 0 0 [lockd] > 4383 root 0 0 [rpciod] As far as I can see, the sizes don't add to the amount given as used. Any other ideas? Arno -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Apr 4 12:46:40 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 04 Apr 2005 12:46:40 +0200 Subject: timeperiods.cfg In-Reply-To: References: Message-ID: <42511B10.2060004@op5.se> Marco Borsani wrote: > Hi all. > > I would't d like to check and receive notifications for a service between > 04:00 and 07:00 in the morning and between 14:00 and 16:30 in the afternoon. > Is it correct use following timeperiod? > > define timeperiod{ > timeperiod_name strano > alias strange time > sunday 00:00-04:00,07:00-14:00,16:30-24:00 > monday 00:00-04:00,07:00-14:00,16:30-24:00 > tuesday 00:00-04:00,07:00-14:00,16:30-24:00 > wednesday 00:00-04:00,07:00-14:00,16:30-24:00 > thursday 00:00-04:00,07:00-14:00,16:30-24:00 > friday 00:00-04:00,07:00-14:00,16:30-24:00 > saturday 00:00-04:00,07:00-14:00,16:30-24:00 > } > No. This will do the exact opposite of what you want. You need to re-read the docs. > I am doing this question because last saturday night , at 03:12 a.m. , I > receive a notification. > > In the service definition I use "strano" for check_period and > notification_period variables. > > Thanks > > Marco > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Apr 4 12:52:21 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 04 Apr 2005 12:52:21 +0200 Subject: Memory leak In-Reply-To: <42511270.3020909@its-lehmann.de> References: <20050404031312.D865C890F5@sc8-sf-spam1.sourceforge.net> <20050404035155.GD96286@ws11114.aipo.gov.au> <42511270.3020909@its-lehmann.de> Message-ID: <42511C65.8040609@op5.se> Arno Lehmann wrote: > Sir... tststs :-) > > Stanley Hopcroft wrote: > >> Dear Sir, >> >> I am writing to thank you for your letter and say, >> >>> >>> In the mailing list, I found this reported as a known bug concerning >>> embedded perl, and in December Andreas wrote that one ugly leak was >>> fixed...should be in b2, shouldn't it? >> >> >> >> There is an unfixed known bug using embedded Perl of this nature (see >> perldoc p1.pl). >> >> You may have found a new leak. > > > Possible... > >>> Now, I'm wondering if this is a new bug, or a known issue - I >>> couldn't find anything in the documentation or release notes... on >>> the other hand, this should be obvious to others. >>> >>> My configuration: Linux Kernel 2.6.8-24.13-default (SuSE 9.2), >>> nagios 2.0b2 just as downloaded, compiled without (to my >>> knowledge...) perl support. >>> >> >> >> I think that something like this >> >> tsitc> nm /base/nagios | grep perl >> 0806c29c T deinit_embedded_perl >> 0806c1dc T init_embedded_perl >> 080a4068 d my_perl >> U perl_alloc >> U perl_construct >> U perl_destruct >> U perl_free >> U perl_parse >> U perl_run >> 080a406c D use_embedded_perl > > > Ah, great... not being a programmer nm was not an idea I had. > > Well, I tried it, and after seeing that the instaled binary was stripped > I checked the one in the build tree and found it only has the init and > deinit functions defined. > > So, perl is not included, but the memory leak is??? > >> >> will tell you if you have embedded Perl (if you see D >> use_embedded_perl, you have Perl compiled into your Nag). > > > See above: No, as I thought. > >>> Everything else works as expected. >>> >>> Unfortunately, I can't determine how the memory gets "eaten" - ps >>> doesn't tell me about any processes with huge RSSes. In fact, I can't >>> be sure that Nagios itself leaks that memory, but it happens if and >>> only when Nagios is running. >> >> >> >> top does on this BSD host eg > > ... > >> Likewise you could use check_procs from the standard plugin set to >> monitor vsz. > > > Well, I tried top as well as ps and the memory isn't used by any process > as far as I can determine it. Logged output from ps: > According to this listing Nagios doesn't seem to consume an unusual amount of memory. >> total used free shared buffers cached >> Mem: 515636 512884 2752 0 1800 5976 >> -/+ buffers/cache: 505108 10528 >> Swap: 2120540 47852 2072688 >> PID USER RSS SZ CMD >> 4039 ntp 5228 1308 /usr/sbin/ntpd -p >> /var/lib/ntp/var/run/ntp/ntpd.pid -u ntp -i /var/lib/ntp >> 20740 wwwrun 2124 7678 /usr/sbin/httpd2-prefork -f >> /etc/apache2/httpd.conf -DSSL >> 20294 wwwrun 2100 7657 /usr/sbin/httpd2-prefork -f >> /etc/apache2/httpd.conf -DSSL >> 4279 root 1724 2675 /usr/sbin/smbd -D -s /etc/samba/smb.conf >> 4286 root 1724 2683 /usr/sbin/smbd -D -s /etc/samba/smb.conf >> 26755 cyrus 1704 7431 imapd >> 26757 cyrus 1704 7461 imapd >> 26126 cyrus 1700 7421 imapd >> 26754 cyrus 1700 7425 imapd >> 26756 cyrus 1700 7411 imapd >> 8176 cyrus 1692 7411 imapd >> 8177 cyrus 1692 7421 imapd >> 20707 nagios 1596 2841 /usr/local/nagios/bin/nagios -d >> /usr/local/nagios/etc/nagios.cfg >> 8635 nagios 1572 2842 /usr/local/nagios/bin/nagios -d >> /usr/local/nagios/etc/nagios.cfg >> 4425 root 1568 7253 /usr/sbin/httpd2-prefork -f >> /etc/apache2/httpd.conf -DSSL >> 4450 root 1544 1200 /usr/bin/fetchmail -d 912 -a -f >> /etc/fetchmailrc -L /var/log/fetchmail >> 8614 postfix 1528 1550 smtpd -n smtp -t inet -u -s 2 >> 4364 postfix 1520 1400 qmgr -l -t fifo -u >> 7831 postfix 1504 1391 pickup -l -t fifo -u >> 8625 cyrus 1228 6983 imapd >> 8634 root 1168 1221 ps -eopid,user,rss,sz,cmd --sort=-rss >> 7932 man 1124 1226 /usr/bin/mandb -q -s >> 23535 root 1092 1402 -bash >> 4349 root 1088 1069 /usr/lib/postfix/master >> 3632 root 1084 1701 /usr/sbin/saslauthd -a pam >> 4440 root 1060 1161 /usr/sbin/xinetd >> 4740 root 1044 1210 login -- root >> 4473 root 1012 1086 /sbin/mingetty --noclear tty1 >> 4475 root 1012 1086 /sbin/mingetty tty3 >> 4476 root 1012 1086 /sbin/mingetty tty4 >> 4477 root 1012 1086 /sbin/mingetty tty5 >> 4478 root 1012 1086 /sbin/mingetty tty6 >> 4465 root 992 1046 /usr/sbin/cron >> 7705 root 992 1047 /usr/sbin/cron >> 3709 root 964 1357 /sbin/resmgrd >> 4266 dhcpd 908 1139 /usr/sbin/dhcpd -chroot /var/lib/dhcp/ -lf >> /db/dhcpd.leases -user dhcpd -group nogroup eth0 >> 8636 nagios 860 656 sh -c sudo -u root >> /usr/local/nagios/libexec/check_icmp -H THIS_IS_PRIVATE -w 300.0,30% >> -c 500.0,70% -p 10 >> 4169 root 824 710 /usr/sbin/ypserv >> 4399 root 660 430 /usr/sbin/rpc.mountd >> 4722 root 528 655 /bin/bash bin/rrdloadsave.sh >> 7713 root 488 591 /bin/bash /usr/lib/cron/run-crons >> 7706 root 476 590 /bin/sh -c test -x /usr/lib/cron/run-crons >> && /usr/lib/cron/run-crons >/dev/null 2>&1 >> 7931 root 472 590 /bin/sh /etc/cron.daily/do_mandb >> 4481 nagios 424 419 nsca -c /usr/local/nagios/etc/nsca.cfg --inetd >> 4482 nagios 424 419 nsca -c /usr/local/nagios/etc/nsca.cfg --inetd >> 4570 nagios 424 419 nsca -c /usr/local/nagios/etc/nsca.cfg --inetd >> 4571 nagios 424 419 nsca -c /usr/local/nagios/etc/nsca.cfg --inetd >> 4658 nagios 424 419 nsca -c /usr/local/nagios/etc/nsca.cfg --inetd >> 4659 nagios 424 419 nsca -c /usr/local/nagios/etc/nsca.cfg --inetd >> 3840 named 412 8380 /usr/sbin/named -t /var/lib/named -u named >> 3646 root 340 1627 /usr/sbin/nmbd -D -s /etc/samba/smb.conf >> 3626 root 128 1596 /usr/sbin/saslauthd -a pam >> 3631 root 128 1596 /usr/sbin/saslauthd -a pam >> 3633 root 128 1596 /usr/sbin/saslauthd -a pam >> 3634 root 128 1596 /usr/sbin/saslauthd -a pam >> 3924 ldap 112 22147 /usr/lib/openldap/slapd -h ldap:/// -u ldap >> -g ldap -o slp=on >> 3701 root 108 6887 /usr/sbin/bacula-fd -c >> /etc/bacula/bacula-fd.conf >> 3729 cyrus 100 1426 /usr/lib/cyrus/bin/master -p >> /var/run/cyrus.pid -d >> 3912 mysql 52 6199 /usr/sbin/mysqld --basedir=/usr >> --datadir=/var/lib/mysql --user=mysql >> --pid-file=/var/lib/mysql/mysqld.pid --skip-locking --port=3306 >> --socket=/var/lib/mysql/mysql.sock >> 3593 root 48 361 /sbin/syslogd -a /var/lib/dhcp/dev/log -a >> /var/lib/named/dev/log -a /var/lib/ntp/dev/log >> 3927 cyrus 40 6795 idled >> 1 root 24 149 init [3] >> 3613 root 24 1770 /usr/sbin/snmpd -r -A -Lf >> /var/log/net-snmpd.log -p /var/run/snmpd.pid >> 2133 root 12 340 udevd >> 2440 root 12 358 [hwscand] >> 3459 root 12 358 [hwscand] >> 3598 root 12 379 /sbin/klogd -c 1 -2 -x >> 3719 nobody 12 357 /sbin/portmap >> 3801 root 12 1424 /usr/sbin/sshd -o >> PidFile=/var/run/sshd.init.pid >> 3863 root 12 591 /bin/sh /usr/bin/mysqld_safe --user=mysql >> --pid-file=/var/lib/mysql/mysqld.pid >> --socket=/var/lib/mysql/mysql.sock --datadir=/var/lib/mysql >> 2 root 0 0 [ksoftirqd/0] >> 3 root 0 0 [events/0] >> 4 root 0 0 [khelper] >> 5 root 0 0 [netlink/0] >> 6 root 0 0 [kblockd/0] >> 29 root 0 0 [kapmd] >> 31 root 0 0 [pdflush] >> 32 root 0 0 [pdflush] >> 34 root 0 0 [aio/0] >> 33 root 0 0 [kswapd0] >> 618 root 0 0 [kseriod] >> 1585 root 0 0 [reiserfs/0] >> 2077 root 0 0 [khubd] >> 2465 root 0 0 [khpsbpkt] >> 2483 root 0 0 [knodemgrd_0] >> 4375 root 0 0 [nfsd] >> 4376 root 0 0 [nfsd] >> 4377 root 0 0 [nfsd] >> 4378 root 0 0 [nfsd] >> 4382 root 0 0 [lockd] >> 4383 root 0 0 [rpciod] > > > As far as I can see, the sizes don't add to the amount given as used. > The kernel uses memory, and most os's implement copy-on-write with forked processes (Linux does this, and judging by the apps running that's what you're using). That means only changed frames are actually copied on a fork(), but the theoretical maximum consumption (as determined by allocated buffers in the master process) is displayed anyways. > Any other ideas? > Run it through valgrind and log everything. Post the logs on some public webpage so users with little or no interest doesn't have to cope with them on the list. > Arno > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Bergstroem at kunskapsskolan.se Mon Apr 4 13:25:39 2005 From: Sebastian.Bergstroem at kunskapsskolan.se (=?iso-8859-1?Q?Bergstr=F6m_Sebastian?=) Date: Mon, 4 Apr 2005 13:25:39 +0200 Subject: Disable check-host-alive for certain hosts Message-ID: We use Nagios v.1.2 and monitors some remote Firewalls (among others). The Firewalls does not reply on ICMP (which makes check-host-alive useless). Our current check implementation is to ensure that the SSH daemon runs on the Firewalls. When the SSH daemon does not respond for whatever reason, check-host-alive kicks in and that results in a Host down alert (since the Firewalls does not respond on ICMP). How can I force Nagios to only rely on the SSH service check? Any thoughts or ideas are deeply appreciated. Thanks in advance! Best regards, Sebastian Bergstroem ---------------------------------------------- Sebastian Bergstroem Technical coordinator Kunskapsskolan i Sverige AB sebastian.bergstroem at kunskapsskolan.se ----------------------------------------------- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eric.Kapoor at swisslog.com Mon Apr 4 14:41:36 2005 From: eric.Kapoor at swisslog.com (eric kapoor) Date: Mon, 4 Apr 2005 14:41:36 +0200 Subject: Dependent services showing out of date status Message-ID: <24EEAB6B0F6C6C42814AB69E201B34C368D153@schb7sw3-011.schb7.swisslog.net> Hello, I have set up various service dependencies to depend on a ping check. Host checking has been commented out since I rely in the ping check. Problem: If the ping check initially succeeds the other checks are then done. However if the ping check then fails the other checks are displayed in their last hard state. I would like the dependent checks to be displayed as "Pending" since the last check could have been a long time in the past. Is there any external command I can run to set selected service scheck to a "Pending" state. Regards, Eric ____________________________________________________________ This message may contain legally privileged or confidential information and is therefore addressed to the named persons only. The recipient should inform the sender and delete this message, if he/she is not named as addressee. The sender disclaims any and all liability for the integrity and punctuality of this message. The sender has activated an automatic virus scanning by Messagelabs, but does not guarantee the virus free transmission of this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jason-sourceforge at microlnk.net Mon Apr 4 14:45:06 2005 From: jason-sourceforge at microlnk.net (Jason Byrns) Date: Mon, 04 Apr 2005 07:45:06 -0500 Subject: Nagios 2.0b2 with Nagmin In-Reply-To: <47F14DDBBE26B54892091AD9AAC5BF4A0E01F1@optimus.Pre2Post.local> References: <47F14DDBBE26B54892091AD9AAC5BF4A0E01F1@optimus.Pre2Post.local> Message-ID: <425136D2.1060509@microlnk.net> Stephane Auger wrote: > I?m still testing out multiple interfaces to see what they can do, and > I?m now to the point of testing Nagmin. I went on the web site and they > mention that it?s created to support Nagios 1.0. Has anyone tried it > with Nagios 2.0b2? Any experiences at all, positive or negative? I doubt NagMIN works with Nagios 2.0. We use it with 1.2, and it seems unlikely to be forward-compatible. -- Jason Byrns System Administrator, MicroLnk http://www.MicroLnk.com/ 402-328-8600 ext. 653 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 4 15:07:30 2005 From: m.borsani at it.net (Marco Borsani) Date: Mon, 4 Apr 2005 15:07:30 +0200 Subject: R: timeperiods.cfg In-Reply-To: <42511B10.2060004@op5.se> References: <42511B10.2060004@op5.se> Message-ID: I have read the docs, but the only examples seen are which ones in the timeperiods.cfg-sample. Those examples give right to me. For example: # 'workhours' timeperiod definition define timeperiod{ timeperiod_name workhours alias "Normal" Working Hours monday 09:00-17:00 tuesday 09:00-17:00 wednesday 09:00-17:00 thursday 09:00-17:00 friday 09:00-17:00 } It means that notifications/checks will be done all days between 09:00 and 17:00 It seems that my configuration is right! I want to receive ntotifications between 00:00 and 04:00, between 07:00 and 14:00, between 16:3- and 24:00. I just ask because all seems to be correct, but last saturaday night arrives a notification at 03:12 a.m. Where did I wrong ? Marco -}> I would't like to check and receive notifications for a service between -}> 04:00 and 07:00 in the morning and between 14:00 and 16:30 in the afternoon. -}> Is it correct use following timeperiod? -}> -}> define timeperiod{ -}> timeperiod_name strano -}> alias strange time -}> sunday 00:00-04:00,07:00-14:00,16:30-24:00 -}> monday 00:00-04:00,07:00-14:00,16:30-24:00 -}> tuesday 00:00-04:00,07:00-14:00,16:30-24:00 -}> wednesday 00:00-04:00,07:00-14:00,16:30-24:00 -}> thursday 00:00-04:00,07:00-14:00,16:30-24:00 -}> friday 00:00-04:00,07:00-14:00,16:30-24:00 -}> saturday 00:00-04:00,07:00-14:00,16:30-24:00 -}> } -}> -} -}No. This will do the exact opposite of what you want. You need to -}re-read the docs. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drewk at bvrmc.org Mon Apr 4 15:15:21 2005 From: drewk at bvrmc.org (Drew Kollasch) Date: Mon, 4 Apr 2005 08:15:21 -0500 Subject: Check_ping problems ? Message-ID: <82A6470379751941BB7813ED375731EE34B020@bvexch.bvrmc.org> These are not being sent to broadcast addresses. The IP stacks on both ends are fine. No, my printer(s) are not 0wn3d. Fixed!! Solution(ish): I went back to a previous version of the check_ping program, and I have not seen a single one of these now. I plan on re-compiling from scratch the most recent plugins and seeing if there is something that was conflicting w/ my system. (good thing for backups!) :D Thanks for all your suggestions though! ------------------------------------------------------- Drew Kollasch Network/Desktop Technician kollasch.drew at bvrmc.org 712-213-8668 Buena Vista Regional Medical Center 1525 W 5th St Storm Lake, IA 50588 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson Sent: Sunday, April 03, 2005 9:09 AM To: Nagios Users Subject: Re: [Nagios-users] Check_ping problems ? Chris Wilson wrote: > Hi all, > > On Fri, 2005-04-01 at 08:54, Andreas Ericsson wrote: > >>Drew Kollasch wrote: >> >>> I am currently running a nagios 1.2 box monitoring approx 120 hosts >>>and 200 services. On about 20 of the services (almost always as of >>>recently) I get a WARNING status that says "PING WARNING - DUPLICATES FOUND! >>>Packet loss = 1%, RTA = 0.27 ms". (or something very similar) have >>>anyone else seen this odd behavior? >> >>It basically means that the ping program receives multiple >>ICMP_ECHO_REPLY packets to a single ICMP_ECHO_REQUEST, which goes >>against the standard (rfc 792, I believe). > > > This plugin runs the standard ping program, right? If you ping the > same host with two ping commands at the same time, both will report > duplicate packets, because they can't distinguish between each others' pings. > Ofcourse they can distinguish between their own and other programs requests. The ICMP header contains 16 bits for id purposes. ping programs tag this with the lower 16 bits of their pid. Only if the kernel sports a 32bit pid_t (FreeBSD 5.x + some others) AND it also randomizes pids (stupid thing to do, really) OR more than 65536 processes are running, of which two are PING processes targeting the same host. There are four scenarios that can cause this to happen for real. 1) The PING program is broken. Considering PING is a very simple program that isn't very likely. 2) The IP-stack on the "bouncing" end is broken. This is even less likely. 3) Someone is doing a random-replay attack in the network for black-hat auditing purposes. This isn't very likely either, as icmp is a very un-interesting protocol to do random-replay attacks on. 4) ICMP_ECHO_REQUEST's are being sent to a broadcast address (this is very likely to be the case). Common broadcast addresses end in 255, 191, 127, 15. They always end in something which is exactly 2^x - 1, where x is always between 2 and 30 in IPv4 networks. > So this problem may just be caused by someone or something pinging > from the nagios server to the remote host at the same time as Nagios > does its checks. > Read /usr/include/netinet/ip_icmp.h or rfc 792 for details. > Cheers, Chris. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kfrankovich at fortdearborn.com Mon Apr 4 15:37:11 2005 From: kfrankovich at fortdearborn.com (Kirk Frankovich) Date: Mon, 04 Apr 2005 08:37:11 -0500 Subject: Nagios not sending notifications Message-ID: Greetings, I just upgraded my nagios box from RedHat 7.3 to RedHat 9.0. I have gotten most of the config issues worked out except one...nagios will not send notifications...at all. When I cause an event to happen...there is no record that it ever even tried. I have checked /var/log/messages, maillog and nagios.log and there is no indication it is even trying. Not only that...but my nagios config didn't change at all. Notifications are still enabled. I am at a loss...if anybody has any clue...please help!!! Thank you. Kirk Frankovich Systems Administrator Fort Dearborn Company -------------- next part -------------- An HTML attachment was scrubbed... URL: From leonardomachado at gmail.com Mon Apr 4 15:41:30 2005 From: leonardomachado at gmail.com (Leonardo Henrique Machado) Date: Mon, 4 Apr 2005 10:41:30 -0300 Subject: Dependent services showing out of date status In-Reply-To: <24EEAB6B0F6C6C42814AB69E201B34C368D153@schb7sw3-011.schb7.swisslog.net> References: <24EEAB6B0F6C6C42814AB69E201B34C368D153@schb7sw3-011.schb7.swisslog.net> Message-ID: Nope. I have done many many many questions about this PENDING state. Everybory in devel area says that PENDING is impossible to control. It would be nice to be able to return 5 from a script meaning PENDING. Search the devel list for questions I have made. You will see that what we want is not implemented. If someone else agrees that it would be a nice feature, say something in this thread. We wish: Return a service to PENDING state. On Apr 4, 2005 9:41 AM, eric kapoor wrote: > > Hello, > I have set up various service dependencies to depend on a ping check. > Host checking has been commented out since I rely in the ping check. > Problem: If the ping check initially succeeds the other checks are then > done. However if the ping check then fails the other checks are displayed in > their last hard state. I would like the dependent checks to be displayed as > "Pending" since the last check could have been a long time in the past. > Is there any external command I can run to set selected service scheck to > a "Pending" state. > Regards, > Eric > > ____________________________________________________________ > This message may contain legally privileged or confidential > information and is therefore addressed to the named persons only. > The recipient should inform the sender and delete this message, > if he/she is not named as addressee. > The sender disclaims any and all liability for the integrity > and punctuality of this message. > The sender has activated an automatic virus scanning by > Messagelabs, but does not guarantee the virus free > transmission of this message. > -- Leonardo Henrique Machado -------------- next part -------------- An HTML attachment was scrubbed... URL: From vincent at kenic.or.ke Mon Apr 4 15:49:11 2005 From: vincent at kenic.or.ke (Vincent Ngundi) Date: 04 Apr 2005 16:49:11 +0300 Subject: Tutorial Message-ID: <1112622551.1108.143.camel@vince> Hi All, I'm new to Nagios. Could someone please send me a link to a good tutorial on Installing Nagios (one that has worked). I'm runnning: FreeBS4.11 on a Dell PowerEdge 2600. Thanx in advance. Vincent. -- ===== "It's not the bullet with my name on it that worries me. It's the one that says 'To whom it may concern'." ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vivek_222 at rediffmail.com Mon Apr 4 15:52:44 2005 From: vivek_222 at rediffmail.com (vivek sharma sharma) Date: 4 Apr 2005 13:52:44 -0000 Subject: SSH key: '/root/.ssh/id_rsa' Error Message-ID: <20050404135244.14102.qmail@webmail6.rediffmail.com> Dear Marc, Well yeh i sorted out the same on the hint given by you .Basically i am running nagios as root only but i to enable nagios to check remote services i have to enable "nagios" user login to remote hosts and ofcourse without passwd as i am using push_check.sh. So i created the keys as nagios user in nagios host ans then copied the public keys to the remote user's root's home and it started working. Thanks. vivek. On Mon, 04 Apr 2005 Marc Powell wrote : > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of vivek sharma sharma > > Sent: Sunday, April 03, 2005 3:23 PM > > To: Arno Lehmann > > Cc: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] SSH key: '/root/.ssh/id_rsa' Error > > > > > > For My second phase of Nagios Implementation: > > > > I have configured push_check.sh to run plugins on remote machines:: > > For this I have enabled ssh without passwd using RSA. > > > > Now my command is: > > define command { > > command_name remote_procs_check > > command_line $USER1$/push_check.sh /root/.ssh/id_rsa > > XXX.XXX.XXX > > $USER1$/check_procs -w 2:2 -c 2:1024 -C flowd > > } > > > > This command when run from command line gives proper output:: > > [root at nagios libexec]# ./push_check.sh /root/.ssh/id_rsa XXX.XXX.XXX > > ./check_procs > > -w 1:2 -c 1:1024 -C flowd > > > > PROCS OK: 2 processes with command name 'flowd' > >This looks to be run as the root user. Have you tried running it as the >nagios user? > > > > > But when I see in Nagios GUI it gives the following error: > > ERROR: SSH key: '/root/.ssh/id_rsa' does not exist > > > > I have placed the /root/.ssh/id_rsa.pub keys in the > > /root/.ssh/authorized_keys in the > > XXX.XXX.XXX host > > > > What may be causing this? > >You're not running nagios as root, are you? That would probably be a bad >idea. If not, it's highly unlikely that the nagios user can access >_anything_ under /root. If it can, that's bad as well. Generate a key as >the nagios user, add it to authorized_keys for the user you want to be >on the remote machine, try the command from your nagios machine as the >nagios user to accept the host identification (only needed once) and to >verify that the command runs as you expect. > > > Also what is the difference between running it through nagios and >running > > it through command > > line as root. > >Nagios user != root user. Root has global permissions to everything on >the file system, the nagios user doesn't (or shouldn't). > >-- >Marc > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_ide95&alloc_id396&opick >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From g.vickers at qut.edu.au Mon Apr 4 15:54:37 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Mon, 04 Apr 2005 23:54:37 +1000 Subject: R: timeperiods.cfg In-Reply-To: References: Message-ID: <4251471D.7050309@qut.edu.au> Marco, Your timeperiod states that notifications/checks should be sent out/performed DURING 00:00 - 04:00. Your statement "I want to receive ntotifications between 00:00 and 04:00..." matches your configuration! If you *don't* want to receive notifications on Saturday morning then take Saturday morning out of the timeperiod defintion. Bear in mind that this change will affect what ever other actions use this timeperiod... Greg Marco Borsani wrote: >I have read the docs, but the only examples seen are which ones in the >timeperiods.cfg-sample. >Those examples give right to me. >For example: ># 'workhours' timeperiod definition >define timeperiod{ > timeperiod_name workhours > alias "Normal" Working Hours > monday 09:00-17:00 > tuesday 09:00-17:00 > wednesday 09:00-17:00 > thursday 09:00-17:00 > friday 09:00-17:00 > } >It means that notifications/checks will be done all days between 09:00 and >17:00 >It seems that my configuration is right! >I want to receive ntotifications between 00:00 and 04:00, between 07:00 and >14:00, between 16:3- and 24:00. > >I just ask because all seems to be correct, but last saturaday night arrives >a notification at 03:12 a.m. Where did I wrong ? > >Marco > >-}> I would't like to check and receive notifications for a service between >-}> 04:00 and 07:00 in the morning and between 14:00 and 16:30 in the >afternoon. >-}> Is it correct use following timeperiod? >-}> >-}> define timeperiod{ >-}> timeperiod_name strano >-}> alias strange time >-}> sunday 00:00-04:00,07:00-14:00,16:30-24:00 >-}> monday 00:00-04:00,07:00-14:00,16:30-24:00 >-}> tuesday 00:00-04:00,07:00-14:00,16:30-24:00 >-}> wednesday 00:00-04:00,07:00-14:00,16:30-24:00 >-}> thursday 00:00-04:00,07:00-14:00,16:30-24:00 >-}> friday 00:00-04:00,07:00-14:00,16:30-24:00 >-}> saturday 00:00-04:00,07:00-14:00,16:30-24:00 >-}> } >-}> >-} >-}No. This will do the exact opposite of what you want. You need to >-}re-read the docs. > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > -- Greg Vickers Computer Systems Officer Teaching and Learning Support Services, Systems and Architecture Queensland University of Technology Phone: (07) 3864 8276 Mobile: 0416 001 674, SD #6 6147 Email: g.vickers at qut.edu.au CRICOS No. 00213J ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve at n2sw.com Mon Apr 4 15:56:47 2005 From: steve at n2sw.com (steverieger) Date: Mon, 04 Apr 2005 09:56:47 -0400 Subject: Tutorial In-Reply-To: <1112622551.1108.143.camel@vince> References: <1112622551.1108.143.camel@vince> Message-ID: On 4/4/05 9:49 AM, "Vincent Ngundi" wrote: > Hi All, > > I'm new to Nagios. > > Could someone please send me a link to a good tutorial on Installing > Nagios (one that has worked). > > I'm runnning: > > FreeBS4.11 on a Dell PowerEdge 2600. > > Thanx in advance. > > Vincent. Cd /usr/ports/net-mgmt/nagios && make all install clean There ya go ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 4 15:59:59 2005 From: m.borsani at it.net (Marco Borsani) Date: Mon, 4 Apr 2005 15:59:59 +0200 Subject: R: R: timeperiods.cfg In-Reply-To: <4251471D.7050309@qut.edu.au> References: <4251471D.7050309@qut.edu.au> Message-ID: Well, thank you ! You (and another friend in the list) confirm that my configuration is correct. I will investigate why that (only one) notification arrived out of the timeperiod. Regards Marco -}-----Messaggio originale----- -}Da: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net]Per conto di Greg -}Vickers -}Inviato: luned? 4 aprile 2005 15.55 -}A: NAGIOS -}Oggetto: Re: R: [Nagios-users] timeperiods.cfg -} -} -}Marco, -} -}Your timeperiod states that notifications/checks should be sent -}out/performed DURING 00:00 - 04:00. -} -}Your statement "I want to receive ntotifications between 00:00 and -}04:00..." matches your configuration! -} -}If you *don't* want to receive notifications on Saturday morning then -}take Saturday morning out of the timeperiod defintion. Bear in mind that -}this change will affect what ever other actions use this timeperiod... -} -}Greg -} -}Marco Borsani wrote: -} -}>I have read the docs, but the only examples seen are which ones in the -}>timeperiods.cfg-sample. -}>Those examples give right to me. -}>For example: -}># 'workhours' timeperiod definition -}>define timeperiod{ -}> timeperiod_name workhours -}> alias "Normal" Working Hours -}> monday 09:00-17:00 -}> tuesday 09:00-17:00 -}> wednesday 09:00-17:00 -}> thursday 09:00-17:00 -}> friday 09:00-17:00 -}> } -}>It means that notifications/checks will be done all days between -}09:00 and -}>17:00 -}>It seems that my configuration is right! -}>I want to receive ntotifications between 00:00 and 04:00, -}between 07:00 and -}>14:00, between 16:3- and 24:00. -}> -}>I just ask because all seems to be correct, but last saturaday -}night arrives -}>a notification at 03:12 a.m. Where did I wrong ? -}> -}>Marco -}> -}>-}> I would't like to check and receive notifications for a -}service between -}>-}> 04:00 and 07:00 in the morning and between 14:00 and 16:30 in the -}>afternoon. -}>-}> Is it correct use following timeperiod? -}>-}> -}>-}> define timeperiod{ -}>-}> timeperiod_name strano -}>-}> alias strange time -}>-}> sunday 00:00-04:00,07:00-14:00,16:30-24:00 -}>-}> monday 00:00-04:00,07:00-14:00,16:30-24:00 -}>-}> tuesday 00:00-04:00,07:00-14:00,16:30-24:00 -}>-}> wednesday 00:00-04:00,07:00-14:00,16:30-24:00 -}>-}> thursday 00:00-04:00,07:00-14:00,16:30-24:00 -}>-}> friday 00:00-04:00,07:00-14:00,16:30-24:00 -}>-}> saturday 00:00-04:00,07:00-14:00,16:30-24:00 -}>-}> } -}>-}> -}>-} -}>-}No. This will do the exact opposite of what you want. You need to -}>-}re-read the docs. -}> -}> -}> -}>------------------------------------------------------- -}>SF email is sponsored by - The IT Product Guide -}>Read honest & candid reviews on hundreds of IT Products from real users. -}>Discover which products truly live up to the hype. Start reading now. -}>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click -}>_______________________________________________ -}>Nagios-users mailing list -}>Nagios-users at lists.sourceforge.net -}>https://lists.sourceforge.net/lists/listinfo/nagios-users -}>::: Please include Nagios version, plugin version (-v) and OS -}when reporting any issue. -}>::: Messages without supporting info will risk being sent to /dev/null -}> -}> -}> -} -}-- -}Greg Vickers -}Computer Systems Officer -}Teaching and Learning Support Services, Systems and Architecture -}Queensland University of Technology -} -}Phone: (07) 3864 8276 -}Mobile: 0416 001 674, SD #6 6147 -}Email: g.vickers at qut.edu.au -} -}CRICOS No. 00213J -} -} -} -}------------------------------------------------------- -}SF email is sponsored by - The IT Product Guide -}Read honest & candid reviews on hundreds of IT Products from real users. -}Discover which products truly live up to the hype. Start reading now. -}http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click -}_______________________________________________ -}Nagios-users mailing list -}Nagios-users at lists.sourceforge.net -}https://lists.sourceforge.net/lists/listinfo/nagios-users -}::: Please include Nagios version, plugin version (-v) and OS -}when reporting any issue. -}::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vincent at kenic.or.ke Mon Apr 4 16:09:45 2005 From: vincent at kenic.or.ke (Vincent Ngundi) Date: 04 Apr 2005 17:09:45 +0300 Subject: Installing and Configuring Nagios Message-ID: <1112623785.1108.148.camel@vince> Hi All, I'm new to Nagios. Could someone please send me a link to a good tutorial on Installing and Configuring Nagios(one that has worked). I'm runnning: FreeBS4.11 on a Dell PowerEdge 2600. Thanx in advance. Vincent. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From werner.flamme at ufz.de Mon Apr 4 16:13:09 2005 From: werner.flamme at ufz.de (Werner Flamme) Date: Mon, 04 Apr 2005 16:13:09 +0200 Subject: R: R: timeperiods.cfg In-Reply-To: References: Message-ID: <42514B75.8050004@ufz.de> Marco, I do not see the "arrival out of timeperiod". a) You configure nagios to send mails between 00:00-04:00 b) You receive a mail at 03:12 So what's the problem? Regards, Werner Marco Borsani schrieb am 04.04.2005 15:59: > Well, thank you ! > You (and another friend in the list) confirm that my configuration is > correct. > I will investigate why that (only one) notification arrived out of the > timeperiod. > Regards > Marco > > -}-----Messaggio originale----- > -}Da: nagios-users-admin at lists.sourceforge.net > -}[mailto:nagios-users-admin at lists.sourceforge.net]Per conto di Greg > -}Vickers > -}Inviato: luned? 4 aprile 2005 15.55 > -}A: NAGIOS > -}Oggetto: Re: R: [Nagios-users] timeperiods.cfg > -} > -} > -}Marco, > -} > -}Your timeperiod states that notifications/checks should be sent > -}out/performed DURING 00:00 - 04:00. > -} > -}Your statement "I want to receive ntotifications between 00:00 and > -}04:00..." matches your configuration! > -} > -}If you *don't* want to receive notifications on Saturday morning then > -}take Saturday morning out of the timeperiod defintion. Bear in mind that > -}this change will affect what ever other actions use this timeperiod... > -} > -}Greg > -} > -}Marco Borsani wrote: > -} > -}>I have read the docs, but the only examples seen are which ones in the > -}>timeperiods.cfg-sample. > -}>Those examples give right to me. > -}>For example: > -}># 'workhours' timeperiod definition > -}>define timeperiod{ > -}> timeperiod_name workhours > -}> alias "Normal" Working Hours > -}> monday 09:00-17:00 > -}> tuesday 09:00-17:00 > -}> wednesday 09:00-17:00 > -}> thursday 09:00-17:00 > -}> friday 09:00-17:00 > -}> } > -}>It means that notifications/checks will be done all days between > -}09:00 and > -}>17:00 > -}>It seems that my configuration is right! > -}>I want to receive ntotifications between 00:00 and 04:00, > -}between 07:00 and > -}>14:00, between 16:3- and 24:00. > -}> > -}>I just ask because all seems to be correct, but last saturaday > -}night arrives > -}>a notification at 03:12 a.m. Where did I wrong ? > -}> > -}>Marco > -}> > -}>-}> I would't like to check and receive notifications for a > -}service between > -}>-}> 04:00 and 07:00 in the morning and between 14:00 and 16:30 in the > -}>afternoon. > -}>-}> Is it correct use following timeperiod? > -}>-}> > -}>-}> define timeperiod{ > -}>-}> timeperiod_name strano > -}>-}> alias strange time > -}>-}> sunday 00:00-04:00,07:00-14:00,16:30-24:00 > -}>-}> monday 00:00-04:00,07:00-14:00,16:30-24:00 > -}>-}> tuesday 00:00-04:00,07:00-14:00,16:30-24:00 > -}>-}> wednesday 00:00-04:00,07:00-14:00,16:30-24:00 > -}>-}> thursday 00:00-04:00,07:00-14:00,16:30-24:00 > -}>-}> friday 00:00-04:00,07:00-14:00,16:30-24:00 > -}>-}> saturday 00:00-04:00,07:00-14:00,16:30-24:00 > -}>-}> } > -}>-}> > -}>-} > -}>-}No. This will do the exact opposite of what you want. You need to > -}>-}re-read the docs. > -}> > -}> > -}> > -}>------------------------------------------------------- > -}>SF email is sponsored by - The IT Product Guide > -}>Read honest & candid reviews on hundreds of IT Products from real users. > -}>Discover which products truly live up to the hype. Start reading now. > -}>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > -}>_______________________________________________ > -}>Nagios-users mailing list > -}>Nagios-users at lists.sourceforge.net > -}>https://lists.sourceforge.net/lists/listinfo/nagios-users > -}>::: Please include Nagios version, plugin version (-v) and OS > -}when reporting any issue. > -}>::: Messages without supporting info will risk being sent to /dev/null > -}> > -}> > -}> > -} > -}-- > -}Greg Vickers > -}Computer Systems Officer > -}Teaching and Learning Support Services, Systems and Architecture > -}Queensland University of Technology > -} > -}Phone: (07) 3864 8276 > -}Mobile: 0416 001 674, SD #6 6147 > -}Email: g.vickers at qut.edu.au > -} > -}CRICOS No. 00213J > -} > -} > -} -- Werner Flamme, Abt. WKDV UFZ Umweltforschungszentrum Leipzig-Halle GmbH, Permoserstr. 15, 04318 Leipzig - http://www.ufz.de eMail: werner.flamme at ufz.de, Tel.: (0341) 235-2500 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vincent at kenic.or.ke Mon Apr 4 16:22:06 2005 From: vincent at kenic.or.ke (Vincent Ngundi) Date: 04 Apr 2005 17:22:06 +0300 Subject: Installing and Configuring Nagios In-Reply-To: References: Message-ID: <1112624526.1108.150.camel@vince> Thanks Jeff...... On Mon, 2005-04-04 at 17:17, ji27 at drexel.edu wrote: > Vincent, > Nagios.org is a great resource, but the README that is included in the source is quite adaquate in terms of building the code. Read the docs on the nagios site to get nagios up. Once it's up, it has a link to complete configuration documentation on the front page of the web interface. > > --Jeff Ilgen, Drexel University > > ----- Original Message ----- > From: Vincent Ngundi > Date: Monday, April 4, 2005 10:09 am > Subject: [Nagios-users] Installing and Configuring Nagios > > > Hi All, > > > > I'm new to Nagios. > > > > Could someone please send me a link to a good tutorial on > > Installing and > > Configuring Nagios(one that has worked). > > > > I'm runnning: > > > > FreeBS4.11 on a Dell PowerEdge 2600. > > > > Thanx in advance. > > > > Vincent. > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real > > users.Discover which products truly live up to the hype. Start > > reading now. > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 4 16:22:15 2005 From: m.borsani at it.net (Marco Borsani) Date: Mon, 4 Apr 2005 16:22:15 +0200 Subject: R: R: R: timeperiods.cfg In-Reply-To: <42514B75.8050004@ufz.de> References: <42514B75.8050004@ufz.de> Message-ID: A I told to another "friend of the list" I wrote 03:12 instead of 05:12. No problem, my main question has had an answer..the configuration is correct. I will investigate why that (only one) notification arrived out of the timeperiod. Regards Marco -}-----Messaggio originale----- -}Da: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net]Per conto di Werner -}Flamme -}Inviato: luned? 4 aprile 2005 16.13 -}A: NAGIOS -}Oggetto: Re: R: R: [Nagios-users] timeperiods.cfg -} -} -}Marco, -} -}I do not see the "arrival out of timeperiod". -} -}a) You configure nagios to send mails between 00:00-04:00 -}b) You receive a mail at 03:12 -} -}So what's the problem? -} -}Regards, -}Werner -} -}Marco Borsani schrieb am 04.04.2005 15:59: -}> Well, thank you ! -}> You (and another friend in the list) confirm that my configuration is -}> correct. -}> I will investigate why that (only one) notification arrived out of the -}> timeperiod. -}> Regards -}> Marco -}> -}> -}-----Messaggio originale----- -}> -}Da: nagios-users-admin at lists.sourceforge.net -}> -}[mailto:nagios-users-admin at lists.sourceforge.net]Per conto di Greg -}> -}Vickers -}> -}Inviato: luned? 4 aprile 2005 15.55 -}> -}A: NAGIOS -}> -}Oggetto: Re: R: [Nagios-users] timeperiods.cfg -}> -} -}> -} -}> -}Marco, -}> -} -}> -}Your timeperiod states that notifications/checks should be sent -}> -}out/performed DURING 00:00 - 04:00. -}> -} -}> -}Your statement "I want to receive ntotifications between 00:00 and -}> -}04:00..." matches your configuration! -}> -} -}> -}If you *don't* want to receive notifications on Saturday morning then -}> -}take Saturday morning out of the timeperiod defintion. Bear -}in mind that -}> -}this change will affect what ever other actions use this timeperiod... -}> -} -}> -}Greg -}> -} -}> -}Marco Borsani wrote: -}> -} -}> -}>I have read the docs, but the only examples seen are which -}ones in the -}> -}>timeperiods.cfg-sample. -}> -}>Those examples give right to me. -}> -}>For example: -}> -}># 'workhours' timeperiod definition -}> -}>define timeperiod{ -}> -}> timeperiod_name workhours -}> -}> alias "Normal" Working Hours -}> -}> monday 09:00-17:00 -}> -}> tuesday 09:00-17:00 -}> -}> wednesday 09:00-17:00 -}> -}> thursday 09:00-17:00 -}> -}> friday 09:00-17:00 -}> -}> } -}> -}>It means that notifications/checks will be done all days between -}> -}09:00 and -}> -}>17:00 -}> -}>It seems that my configuration is right! -}> -}>I want to receive ntotifications between 00:00 and 04:00, -}> -}between 07:00 and -}> -}>14:00, between 16:3- and 24:00. -}> -}> -}> -}>I just ask because all seems to be correct, but last saturaday -}> -}night arrives -}> -}>a notification at 03:12 a.m. Where did I wrong ? -}> -}> -}> -}>Marco -}> -}> -}> -}>-}> I would't like to check and receive notifications for a -}> -}service between -}> -}>-}> 04:00 and 07:00 in the morning and between 14:00 and 16:30 in the -}> -}>afternoon. -}> -}>-}> Is it correct use following timeperiod? -}> -}>-}> -}> -}>-}> define timeperiod{ -}> -}>-}> timeperiod_name strano -}> -}>-}> alias strange time -}> -}>-}> sunday 00:00-04:00,07:00-14:00,16:30-24:00 -}> -}>-}> monday 00:00-04:00,07:00-14:00,16:30-24:00 -}> -}>-}> tuesday 00:00-04:00,07:00-14:00,16:30-24:00 -}> -}>-}> wednesday 00:00-04:00,07:00-14:00,16:30-24:00 -}> -}>-}> thursday 00:00-04:00,07:00-14:00,16:30-24:00 -}> -}>-}> friday 00:00-04:00,07:00-14:00,16:30-24:00 -}> -}>-}> saturday 00:00-04:00,07:00-14:00,16:30-24:00 -}> -}>-}> } -}> -}>-}> -}> -}>-} -}> -}>-}No. This will do the exact opposite of what you want. You need to -}> -}>-}re-read the docs. -}> -}> -}> -}> -}> -}> -}> -}>------------------------------------------------------- -}> -}>SF email is sponsored by - The IT Product Guide -}> -}>Read honest & candid reviews on hundreds of IT Products from -}real users. -}> -}>Discover which products truly live up to the hype. Start reading now. -}> -}>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click -}> -}>_______________________________________________ -}> -}>Nagios-users mailing list -}> -}>Nagios-users at lists.sourceforge.net -}> -}>https://lists.sourceforge.net/lists/listinfo/nagios-users -}> -}>::: Please include Nagios version, plugin version (-v) and OS -}> -}when reporting any issue. -}> -}>::: Messages without supporting info will risk being sent to -}/dev/null -}> -}> -}> -}> -}> -}> -}> -} -}> -}-- -}> -}Greg Vickers -}> -}Computer Systems Officer -}> -}Teaching and Learning Support Services, Systems and Architecture -}> -}Queensland University of Technology -}> -} -}> -}Phone: (07) 3864 8276 -}> -}Mobile: 0416 001 674, SD #6 6147 -}> -}Email: g.vickers at qut.edu.au -}> -} -}> -}CRICOS No. 00213J -}> -} -}> -} -}> -} -} -}-- -}Werner Flamme, Abt. WKDV -}UFZ Umweltforschungszentrum Leipzig-Halle GmbH, -}Permoserstr. 15, 04318 Leipzig - http://www.ufz.de -}eMail: werner.flamme at ufz.de, Tel.: (0341) 235-2500 -} -} -} -} -} -} -}------------------------------------------------------- -}SF email is sponsored by - The IT Product Guide -}Read honest & candid reviews on hundreds of IT Products from real users. -}Discover which products truly live up to the hype. Start reading now. -}http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick -}_______________________________________________ -}Nagios-users mailing list -}Nagios-users at lists.sourceforge.net -}https://lists.sourceforge.net/lists/listinfo/nagios-users -}::: Please include Nagios version, plugin version (-v) and OS -}when reporting any issue. -}::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaronhcarr at gmail.com Mon Apr 4 16:28:43 2005 From: aaronhcarr at gmail.com (Aaron Carr) Date: Mon, 4 Apr 2005 09:28:43 -0500 Subject: Tutorial In-Reply-To: <1112622551.1108.143.camel@vince> References: <1112622551.1108.143.camel@vince> Message-ID: http://www.nagios.org/docs/ On 04 Apr 2005 16:49:11 +0300, Vincent Ngundi wrote: > Hi All, > > I'm new to Nagios. > > Could someone please send me a link to a good tutorial on Installing > Nagios (one that has worked). > > I'm runnning: > > FreeBS4.11 on a Dell PowerEdge 2600. > > Thanx in advance. > > Vincent. > -- > > ===== > "It's not the bullet with my name on it that worries me. It's the one > that says 'To whom it may concern'." > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Bock at krisbe.de Mon Apr 4 16:29:52 2005 From: Christian.Bock at krisbe.de (Christian Bock) Date: Mon, 04 Apr 2005 16:29:52 +0200 Subject: Installing and Configuring Nagios In-Reply-To: <1112623785.1108.148.camel@vince> References: <1112623785.1108.148.camel@vince> Message-ID: <42514F60.10407@krisbe.de> Hi Vincent, > Could someone please send me a link to a good tutorial on Installing and > Configuring Nagios(one that has worked). http://www.nagios.org/docs/ chris -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 256 bytes Desc: OpenPGP digital signature URL: From agrajag at dragaera.net Mon Apr 4 16:31:40 2005 From: agrajag at dragaera.net (Sean Dilda) Date: Mon, 04 Apr 2005 10:31:40 -0400 Subject: Sound Alerts and Nagios2.0b2 In-Reply-To: <424D786C.9010307@datawire.net> References: <424D786C.9010307@datawire.net> Message-ID: <42514FCC.9030107@dragaera.net> Chris Stankaitis wrote: > > Sound alerts seem pretty broken in Nagios.. this just may be me but I > don't think they work very logically. > > it seems like an alert is played every two minutes when the browser is > refreshed regardless of the network status, just as annoying an alert is > played pretty much anytime you navigate around Nagios. > > Alerts don't seem to follow standard nagios 'alerting' logic I.E. it > doesn't seem to me that the alerts know when to play an when not to play > unlike the rest of the 'alerting' system, we have a few servers which we > only care about alerts during work hours, we have a few services which > we care about but don't need to be e-mailed about.. Sound alerts don't > seem to be smart enough to know when to play and when not to play > > of course this is difficult to tell given that the "alert every 2 mins" > pollutes my ability to test properly. > > has anyone gotten sound alerts to work effectively? I read a thread > about a month or two ago about it, but it didn't seem like there was a > good solution to this matter. I'm not sure doing sound alerts from the web interface makes any sense to begin with. If you want audible alerts, setup some ssh keys so nagios can ssh into a box in your office, then setup an alert script to ssh to your box and play the specified sound when an alert is issued. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrajag at dragaera.net Mon Apr 4 16:34:34 2005 From: agrajag at dragaera.net (Sean Dilda) Date: Mon, 04 Apr 2005 10:34:34 -0400 Subject: Dependent services showing out of date status In-Reply-To: <24EEAB6B0F6C6C42814AB69E201B34C368D153@schb7sw3-011.schb7.swisslog.net> References: <24EEAB6B0F6C6C42814AB69E201B34C368D153@schb7sw3-011.schb7.swisslog.net> Message-ID: <4251507A.7090200@dragaera.net> eric kapoor wrote: > Hello, > > I have set up various service dependencies to depend on a ping check. > Host checking has been commented out since I rely in the ping check. > > Problem: If the ping check initially succeeds the other checks are then > done. However if the ping check then fails the other checks are > displayed in their last hard state. I would like the dependent checks > to be displayed as "Pending" since the last check could have been a long > time in the past. > > Is there any external command I can run to set selected service scheck > to a "Pending" state. How about 'UNKNOWN' instead of 'Pending'. Unknown can be done, and has a similar meaning. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From werner.flamme at ufz.de Mon Apr 4 16:57:19 2005 From: werner.flamme at ufz.de (Werner Flamme) Date: Mon, 04 Apr 2005 16:57:19 +0200 Subject: R: R: R: timeperiods.cfg In-Reply-To: References: Message-ID: <425155CF.3050607@ufz.de> Marco Borsani schrieb am 04.04.2005 16:22: > A I told to another "friend of the list" I wrote 03:12 instead of 05:12. > No problem, my main question has had an answer..the configuration is > correct. > I will investigate why that (only one) notification arrived out of the > timeperiod. > Regards > Marco Oh, Marco, sorry, up to now I do not see your post with the corrected timestamp. However, it may become visible during the next 12 hours ;-). I often see some time laps between answers... Sometimes I get an answer some hours before I get the question in my mailbox... But you wrote it arrived "last saturday night" - may there have been a problem according to the change of CET to CEST? Regards, Werner -- Werner Flamme, Abt. WKDV UFZ Umweltforschungszentrum Leipzig-Halle GmbH, Permoserstr. 15, 04318 Leipzig - http://www.ufz.de eMail: werner.flamme at ufz.de, Tel.: (0341) 235-2500 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris.stankaitis at datawire.net Mon Apr 4 16:59:31 2005 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Mon, 04 Apr 2005 10:59:31 -0400 Subject: Sound Alerts and Nagios2.0b2 In-Reply-To: <42514FCC.9030107@dragaera.net> References: <424D786C.9010307@datawire.net> <42514FCC.9030107@dragaera.net> Message-ID: <42515653.50101@datawire.net> Sean Dilda wrote: > > I'm not sure doing sound alerts from the web interface makes any sense > to begin with. If you want audible alerts, setup some ssh keys so > nagios can ssh into a box in your office, then setup an alert script to > ssh to your box and play the specified sound when an alert is issued. So you would set it up almost like an event handler... and upon a Hard state it would execute this SSH which would pay wav-file-X on a computer in our noc. Next question then do event handlers respect acknowledgment of problems and/or maintenance I.E. once acknowledged or if in Maintenance will the event handler know not to keep executing? so that we don't get into a situation where something is acknowledge but the "Siren" keeps going off. --Chris ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 4 17:10:15 2005 From: m.borsani at it.net (Marco Borsani) Date: Mon, 4 Apr 2005 17:10:15 +0200 Subject: R: R: R: R: timeperiods.cfg In-Reply-To: <425155CF.3050607@ufz.de> References: <425155CF.3050607@ufz.de> Message-ID: I will check. :-) Thank you Marco -}-----Messaggio originale----- -}Da: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net]Per conto di Werner -}Flamme -}Inviato: luned? 4 aprile 2005 16.57 -}A: NAGIOS -}Oggetto: Re: R: R: R: [Nagios-users] timeperiods.cfg -} -} -}Marco Borsani schrieb am 04.04.2005 16:22: -}> A I told to another "friend of the list" I wrote 03:12 instead of 05:12. -}> No problem, my main question has had an answer..the configuration is -}> correct. -}> I will investigate why that (only one) notification arrived out of the -}> timeperiod. -}> Regards -}> Marco -} -}Oh, Marco, -} -}sorry, up to now I do not see your post with the corrected timestamp. -}However, it may become visible during the next 12 hours ;-). I often see -}some time laps between answers... Sometimes I get an answer some hours -}before I get the question in my mailbox... -} -}But you wrote it arrived "last saturday night" - may there have been a -}problem according to the change of CET to CEST? -} -}Regards, -}Werner -} -}-- -}Werner Flamme, Abt. WKDV -}UFZ Umweltforschungszentrum Leipzig-Halle GmbH, -}Permoserstr. 15, 04318 Leipzig - http://www.ufz.de -}eMail: werner.flamme at ufz.de, Tel.: (0341) 235-2500 -} -} -} -} -} -} -}------------------------------------------------------- -}SF email is sponsored by - The IT Product Guide -}Read honest & candid reviews on hundreds of IT Products from real users. -}Discover which products truly live up to the hype. Start reading now. -}http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click -}_______________________________________________ -}Nagios-users mailing list -}Nagios-users at lists.sourceforge.net -}https://lists.sourceforge.net/lists/listinfo/nagios-users -}::: Please include Nagios version, plugin version (-v) and OS -}when reporting any issue. -}::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrajag at dragaera.net Mon Apr 4 17:35:26 2005 From: agrajag at dragaera.net (Sean Dilda) Date: Mon, 04 Apr 2005 11:35:26 -0400 Subject: Sound Alerts and Nagios2.0b2 In-Reply-To: <42515653.50101@datawire.net> References: <424D786C.9010307@datawire.net> <42514FCC.9030107@dragaera.net> <42515653.50101@datawire.net> Message-ID: <42515EBE.1000300@dragaera.net> Chris Stankaitis wrote: > Sean Dilda wrote: > >> >> I'm not sure doing sound alerts from the web interface makes any sense >> to begin with. If you want audible alerts, setup some ssh keys so >> nagios can ssh into a box in your office, then setup an alert script >> to ssh to your box and play the specified sound when an alert is issued. > > > So you would set it up almost like an event handler... and upon a Hard > state it would execute this SSH which would pay wav-file-X on a computer > in our noc. > > Next question then do event handlers respect acknowledgment of problems > and/or maintenance I.E. once acknowledged or if in Maintenance will the > event handler know not to keep executing? so that we don't get into a > situation where something is acknowledge but the "Siren" keeps going off. No, I wouldn't do it as an event handler. I'd do it as a contact. I'd go into misccommands.cfg, create a command called notify-by-email-and-sound, then I'd create a shell script on the system that did the normal email notification and also played the sound. Then I'd change my contact entry to use that as the notification_command. In other words, I would use the existing notification setup in nagios to play the sound. Then it can have different sounds for acknowledgments, etc. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bestevez at gmail.com Mon Apr 4 17:48:30 2005 From: bestevez at gmail.com (Bernardo Estevez) Date: Mon, 4 Apr 2005 11:48:30 -0400 Subject: passive-check-template Message-ID: Greetings: I'm tryping to setup Nagios to receive snmp traps but I'm encountering the following error: ############################################## Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Reading configuration data... Error: Template 'passive-check-template' specified in service definition could not be not found (config file '/usr/local/nagios/etc/services.cfg', line 1223) Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'snmp_trap_handling_critical' on host 'joh09acrpu802.acris.finance.acrisbe' Error: Could not register service (config file '/usr/local/nagios/etc/services.cfg', line 1250) ############################################## Can anyone tell me where I can find the passive-check-template. I can't seen to locate it anywhere on the web. Any help would be greately appreciated. -Bernie ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wrjacqmein at gmail.com Mon Apr 4 17:58:12 2005 From: wrjacqmein at gmail.com (Bill Jacqmein) Date: Mon, 4 Apr 2005 11:58:12 -0400 Subject: Tutorial In-Reply-To: <1112622551.1108.143.camel@vince> References: <1112622551.1108.143.camel@vince> Message-ID: <3c9a5bae05040408587f18aad0@mail.gmail.com> Bit old but still useful for getting going. http://www.onlamp.com/pub/a/onlamp/2002/09/05/nagios.html?page=1 And the archive of this list is another very useful resource. On 04 Apr 2005 16:49:11 +0300, Vincent Ngundi wrote: > Hi All, > > I'm new to Nagios. > > Could someone please send me a link to a good tutorial on Installing > Nagios (one that has worked). > > I'm runnning: > > FreeBS4.11 on a Dell PowerEdge 2600. > > Thanx in advance. > > Vincent. > -- > > ===== > "It's not the bullet with my name on it that worries me. It's the one > that says 'To whom it may concern'." > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trichmon at eou.edu Mon Apr 4 18:56:25 2005 From: trichmon at eou.edu (Todd Richmond) Date: Mon, 04 Apr 2005 09:56:25 -0700 Subject: question about email alerts Message-ID: <1112633785.25009.22.camel@localhost> First nagios is like slice bread cool. Thanks to the developers for the work. I have nagios running on a debian sarge system. I know that the email system is working because i will get warnings (pings higher than 100 or lost packets) but using the same config template I do not get an email when the host or service is down (unpluged from the network). The web intface showes that the system is down, satus informaion for the service shows "/bin/ping 140.211.60.39 -n -c 5 ", and I can see nowhere in the logs where it tried to email me. The service has w,u,c,r in notification_options and hosts.cfg has d,u,r in the notification_options. Any suggestions. Todd Richmond trichmon at eou.edu ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muksyed at yahoo.com Mon Apr 4 19:01:20 2005 From: muksyed at yahoo.com (Mukarram Syed) Date: Mon, 4 Apr 2005 10:01:20 -0700 (PDT) Subject: help on check_disk warning alarms Message-ID: <20050404170120.82960.qmail@web31507.mail.mud.yahoo.com> Hi Nagios Gurus. I am not receiving warning alarms when my disk goes to > 80%. I only get panic alarms when my disk goes to 100%. I have the check_disk setup in the clients nrpe.cfg as follows: command[check_disk]=/usr/local/etc/nagios/libexec/check_disk -w 20 -c 10 -p /dev/sda[1-3] # df -k |grep sda2 /dev/sda2 40313996 36410616 1855496 96% /u05 Also on the client, do you put the nrpe.cfg in the $NAGIOSHOME/etc or $NAGIOSHOME/libexec directory. I have it in both. Could that be the problem? I could successfully do the check_nrpe as follows from the nagios server. The client's name is "pegasus": # /usr/local/etc/nagios/libexec/check_nrpe -H pegasus -c check_disk DISK OK [1085236 kB (37%) free on /dev/sda6] [74748 kB (77%) free on /dev/sda1] [3640512 kB (95%) free on /dev/sda5] [1027696 kB (100%) free on /dev/shm] [50570692 kB (99%) free on /dev/sdb5] [2833872 kB (98%) free on /dev/sdb8] [7436372 kB (77%) free on /dev/sdb7] [7436404 kB (77%) free on /dev/sda3] [19104196 kB (99%) free on /dev/sdb6] [14214920 kB (29%) free on /dev/sdb3] [1855496 kB (4%) free on /dev/sda2] Anything I could be missing? Any suggestions would be appreciated. Thanks in advance. -Mukarram Syed. __________________________________ Do you Yahoo!? Yahoo! Personals - Better first dates. More second dates. http://personals.yahoo.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Mon Apr 4 19:09:22 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Mon, 04 Apr 2005 19:09:22 +0200 Subject: Memory leak In-Reply-To: <42511C65.8040609@op5.se> References: <20050404031312.D865C890F5@sc8-sf-spam1.sourceforge.net> <20050404035155.GD96286@ws11114.aipo.gov.au> <42511270.3020909@its-lehmann.de> <42511C65.8040609@op5.se> Message-ID: <425174C2.7060806@its-lehmann.de> Hi. Andreas Ericsson wrote: > The kernel uses memory, and most os's implement copy-on-write with > forked processes (Linux does this, and judging by the apps running > that's what you're using). That means only changed frames are actually > copied on a fork(), but the theoretical maximum consumption (as > determined by allocated buffers in the master process) is displayed > anyways. Errm - sure. Anyway, what I see is that the memory claimed by processes is far less than what the kernel says is used. >> Any other ideas? >> > > Run it through valgrind and log everything. Post the logs on some public > webpage so users with little or no interest doesn't have to cope with > them on the list. Doing it just now... wait some time, and I'll post the URL. One question, though: I get output like the following > ==30154== Syscall param socketcall.sendto(msg) contains uninitialised or unaddressable byte(s) > ==30154== at 0x1BA4A4E1: sendto (in /lib/tls/libc.so.6) > ==30154== by 0x1BA33FB6: getaddrinfo (in /lib/tls/libc.so.6) > ==30154== by 0x1BC00521: ldap_connect_to_host (in /usr/lib/libldap-2.2.so.7.0.8) > ==30154== by 0x1BBEACDC: ldap_int_open_connection (in /usr/lib/libldap-2.2.so.7.0.8) > ==30154== Address 0x52BFD07D is on thread 1's stack > Nagios 2.0b2 starting... (PID=30154) > ==30160== > ==30160== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 41 from 1) > ==30160== malloc/free: in use at exit: 1250742 bytes in 122 blocks. > ==30160== malloc/free: 17115 allocs, 16993 frees, 2215553 bytes allocated. > ==30160== For counts of detected errors, rerun with: -v > ==30160== searching for pointers to 122 not-freed blocks. > ==30158== > ==30158== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 41 from 1) > ==30158== malloc/free: in use at exit: 1250742 bytes in 122 blocks. > ==30158== malloc/free: 17146 allocs, 17024 frees, 2215788 bytes allocated. > ==30158== For counts of detected errors, rerun with: -v > ==30158== searching for pointers to 122 not-freed blocks. > ==30160== checked 2197636 bytes. > ==30160== > ==30160== > ==30160== 8 bytes in 2 blocks are definitely lost in loss record 1 of 18 > ==30160== at 0x1B903BAC: malloc (in /usr/lib/valgrind/vgpreload_memcheck.so) > ==30160== by 0x1B8E9F5E: _dl_map_object_from_fd (in /lib/ld-2.3.3.so) > ==30160== by 0x1B8EACC9: _dl_map_object (in /lib/ld-2.3.3.so) > ==30160== by 0x1B8F09CD: openaux (in /lib/ld-2.3.3.so) > ==30160== > ==30160== > ==30160== 37 bytes in 2 blocks are definitely lost in loss record 4 of 18 > ==30160== at 0x1B903BAC: malloc (in /usr/lib/valgrind/vgpreload_memcheck.so) > ==30160== by 0x1B9F7CAF: strdup (in /lib/tls/libc.so.6) > ==30160== by 0x807753E: add_host_notification_command_to_contact (objects.c:2465) > ==30160== by 0x8084C95: xodtemplate_register_contact (xodtemplate.c:7800) > ==30160== > ==30160== > ==30160== 41 bytes in 2 blocks are definitely lost in loss record 5 of 18 > ==30160== at 0x1B903BAC: malloc (in /usr/lib/valgrind/vgpreload_memcheck.so) > ==30160== by 0x1BC1D900: ??? > ==30160== by 0x1BC1DA58: ??? > ==30160== by 0x1BC05149: ??? The last block contains addresses, but not code lines. Is that normal? I assume that's kernel space, but I'm not sure about anything - valgrinds output is quite crypic to me. Above, I have the code lines and function names. Arno >> Arno >> > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at aidworld.org Mon Apr 4 19:20:31 2005 From: chris at aidworld.org (Chris Wilson) Date: Mon, 04 Apr 2005 18:20:31 +0100 Subject: help on check_disk warning alarms In-Reply-To: <20050404170120.82960.qmail@web31507.mail.mud.yahoo.com> References: <20050404170120.82960.qmail@web31507.mail.mud.yahoo.com> Message-ID: <1112635231.8104.49.camel@localhost> Hi Mukarram, > I am not receiving warning alarms when my disk goes to > > 80%. I only get panic alarms when my disk goes to > 100%. I have the check_disk setup in the clients > nrpe.cfg as follows: > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > -w 20 -c 10 -p /dev/sda[1-3] That means "warn at 20kb (not percent), critical at 10kb (not 10%)". Try "check_disk -w 20% -c 10% -p /dev/sda[1-3]". Cheers, Chris. -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Apr 4 19:54:16 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 04 Apr 2005 19:54:16 +0200 Subject: Memory leak In-Reply-To: <425174C2.7060806@its-lehmann.de> References: <20050404031312.D865C890F5@sc8-sf-spam1.sourceforge.net> <20050404035155.GD96286@ws11114.aipo.gov.au> <42511270.3020909@its-lehmann.de> <42511C65.8040609@op5.se> <425174C2.7060806@its-lehmann.de> Message-ID: <42517F48.5070504@op5.se> Arno Lehmann wrote: > Hi. > > Andreas Ericsson wrote: > >> The kernel uses memory, and most os's implement copy-on-write with >> forked processes (Linux does this, and judging by the apps running >> that's what you're using). That means only changed frames are actually >> copied on a fork(), but the theoretical maximum consumption (as >> determined by allocated buffers in the master process) is displayed >> anyways. > > > Errm - sure. Anyway, what I see is that the memory claimed by processes > is far less than what the kernel says is used. > This is because free and friends show what's available to a program running on the system. Removed from that pool is memory hogged by graphic drivers that shadow ram, and the kernels own memory. Large routing tables, software raid and stateful in-kernel firewalls are three of the most common causes for "disappearing" memory. If nagios had had a leak it's process size would grow abnormally and most likely fairly rapidly. In short, memory wouldn't be "missing", it would be assigned to a process that usually doesn't claim that much of it. >>> Any other ideas? >>> >> >> Run it through valgrind and log everything. Post the logs on some >> public webpage so users with little or no interest doesn't have to >> cope with them on the list. > > > Doing it just now... wait some time, and I'll post the URL. > Excellent. > One question, though: > I get output like the following > >> ==30154== Syscall param socketcall.sendto(msg) contains uninitialised >> or unaddressable byte(s) >> ==30154== at 0x1BA4A4E1: sendto (in /lib/tls/libc.so.6) >> ==30154== by 0x1BA33FB6: getaddrinfo (in /lib/tls/libc.so.6) >> ==30154== by 0x1BC00521: ldap_connect_to_host (in >> /usr/lib/libldap-2.2.so.7.0.8) >> ==30154== by 0x1BBEACDC: ldap_int_open_connection (in >> /usr/lib/libldap-2.2.so.7.0.8) >> ==30154== Address 0x52BFD07D is on thread 1's stack >> Nagios 2.0b2 starting... (PID=30154) >> ==30160== >> ==30160== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 41 from 1) >> ==30160== malloc/free: in use at exit: 1250742 bytes in 122 blocks. >> ==30160== malloc/free: 17115 allocs, 16993 frees, 2215553 bytes >> allocated. >> ==30160== For counts of detected errors, rerun with: -v >> ==30160== searching for pointers to 122 not-freed blocks. >> ==30158== >> ==30158== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 41 from 1) >> ==30158== malloc/free: in use at exit: 1250742 bytes in 122 blocks. >> ==30158== malloc/free: 17146 allocs, 17024 frees, 2215788 bytes >> allocated. >> ==30158== For counts of detected errors, rerun with: -v >> ==30158== searching for pointers to 122 not-freed blocks. >> ==30160== checked 2197636 bytes. >> ==30160== >> ==30160== >> ==30160== 8 bytes in 2 blocks are definitely lost in loss record 1 of 18 >> ==30160== at 0x1B903BAC: malloc (in >> /usr/lib/valgrind/vgpreload_memcheck.so) >> ==30160== by 0x1B8E9F5E: _dl_map_object_from_fd (in /lib/ld-2.3.3.so) >> ==30160== by 0x1B8EACC9: _dl_map_object (in /lib/ld-2.3.3.so) >> ==30160== by 0x1B8F09CD: openaux (in /lib/ld-2.3.3.so) >> ==30160== >> ==30160== >> ==30160== 37 bytes in 2 blocks are definitely lost in loss record 4 of 18 >> ==30160== at 0x1B903BAC: malloc (in >> /usr/lib/valgrind/vgpreload_memcheck.so) >> ==30160== by 0x1B9F7CAF: strdup (in /lib/tls/libc.so.6) >> ==30160== by 0x807753E: add_host_notification_command_to_contact >> (objects.c:2465) >> ==30160== by 0x8084C95: xodtemplate_register_contact >> (xodtemplate.c:7800) >> ==30160== >> ==30160== >> ==30160== 41 bytes in 2 blocks are definitely lost in loss record 5 of 18 >> ==30160== at 0x1B903BAC: malloc (in >> /usr/lib/valgrind/vgpreload_memcheck.so) >> ==30160== by 0x1BC1D900: ??? >> ==30160== by 0x1BC1DA58: ??? >> ==30160== by 0x1BC05149: ??? > > > The last block contains addresses, but not code lines. Is that normal? Yes. It happens whenever the eip enters a library that hasn't got any debug symbols, or if the binary is stripped and you don't have a symbol table to load in to valgrind (you need to get the symbol table *before* stripping for valgrind to be able to use it). > I > assume that's kernel space, but I'm not sure about anything - valgrinds > output is quite crypic to me. Above, I have the code lines and function > names. > Kernel space doesn't have debug symbols attached, ofcourse, so that could be it. > Arno > >>> Arno >>> >> > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trichmon at eou.edu Mon Apr 4 20:29:42 2005 From: trichmon at eou.edu (Todd Richmond) Date: Mon, 04 Apr 2005 11:29:42 -0700 Subject: More on:question about email alerts Message-ID: <1112639382.25009.28.camel@localhost> If i have a machine and im checking http (check_http) and ping(check_ping...), and one of the services fails or gives a warning i will get a notification (like if i shutdown apache). But if I walk into the room and unplug the network cable host and services show a status of down or unknown and I dont get a notification. Thanks ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Apr 4 20:48:51 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 04 Apr 2005 20:48:51 +0200 Subject: More on:question about email alerts In-Reply-To: <1112639382.25009.28.camel@localhost> References: <1112639382.25009.28.camel@localhost> Message-ID: <42518C13.1050900@op5.se> Todd Richmond wrote: > If i have a machine and im checking http (check_http) and > ping(check_ping...), and one of the services fails or gives a warning i > will get a notification (like if i shutdown apache). But if I walk into > the room and unplug the network cable host and services show a status of > down or unknown and I dont get a notification. > Reread the docs on host object definitions and make sure you grok it properly (hint: hosts have separate contactgroups). > Thanks > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bestevez at gmail.com Mon Apr 4 21:20:15 2005 From: bestevez at gmail.com (Bernardo Estevez) Date: Mon, 4 Apr 2005 15:20:15 -0400 Subject: help finding template In-Reply-To: <42518C13.1050900@op5.se> References: <1112639382.25009.28.camel@localhost> <42518C13.1050900@op5.se> Message-ID: Greetings: I'm tryping to setup Nagios to receive snmp traps but I'm encountering the following error: ############################################## Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Reading configuration data... Error: Template 'passive-check-template' specified in service definition could not be not found (config file '/usr/local/nagios/etc/services.cfg', line 1223) Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'snmp_trap_handling_critical' on host 'joh09acrpu802.acris.finance.acrisbe' Error: Could not register service (config file '/usr/local/nagios/etc/services.cfg', line 1250) ############################################## Can anyone tell me where I can find the passive-check-template. I can't seen to locate it anywhere on the web. Any help would be greately appreciated. -Bernie ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muksyed at yahoo.com Mon Apr 4 21:45:23 2005 From: muksyed at yahoo.com (Mukarram Syed) Date: Mon, 4 Apr 2005 12:45:23 -0700 (PDT) Subject: Different alerts level for check_disk. In-Reply-To: 6667 Message-ID: <20050404194523.6835.qmail@web31504.mail.mud.yahoo.com> Thanks for those who responded to my previous email. Also, I am trying to send alarms to my pager at the critical limit and warning alarm to my email. I tried to do the following but it does not work because restarting nagios fails: In the $NAGIOSHOME/etc/services.cfg: for the warning I have it as (note notification_options): define service{ use generic-service ; Name of service template to use hostgroup_name computer-distopias service_description Disk is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups unix-team notification_interval 240 notification_period 24x7 notification_options w,r check_command check_nrpe!check_disk For critical I have it as (note notification_options): define service{ use generic-service ; Name of service template to use hostgroup_name computer-distopias service_description Disk is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups unix-team notification_interval 240 notification_period 24x7 notification_options c,r check_command check_nrpe!check_disk But since the service description is the same, nagios complains when startup. Do I have to have two service descriptions (one for Disk Warn and other for Disk Critical) or is there another elegant option? Thanks for your help again. -Mukarram. > __________________________________ Do you Yahoo!? Yahoo! Personals - Better first dates. More second dates. http://personals.yahoo.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Erwin.Mascardo at intelsat.com Mon Apr 4 21:57:20 2005 From: Erwin.Mascardo at intelsat.com (Erwin.Mascardo at intelsat.com) Date: Mon, 4 Apr 2005 15:57:20 -0400 Subject: Different alerts level for check_disk. Message-ID: <072660E32485D5118CC100306E0043340744C8B9@naex2.adm.intelsat.int> >-----Original Message----- >From: Mukarram Syed [mailto:muksyed at yahoo.com] >Sent: Monday, 04 April, 2005 15:45 >Subject: [Nagios-users] Different alerts level for check_disk. > > >Thanks for those who responded to my previous email. > >Also, I am trying to send alarms to my pager at the >critical limit and warning alarm to my email. >I tried to do the following but it does not work >because restarting nagios fails: >But since the service description is the same, nagios >complains when startup. >Do I have to have two service descriptions (one for >Disk Warn and other for Disk Critical) or is there >another elegant option? Nice thought, but you're going about it in the wrong direction. I had a similar sort of problem when doing my configuration and got around it by defining multiple contact listings for each person receiving notifications. Here's one way to do it: 1) Combine these two services into a single one, with notification_options w,c,r. 2) Create two separate contacts for yourself in your contact.cfg file, using the following fragments as a guide: define contact { name myname-email service_notification_options w,r email my.email.address at domain # this contact has no pager address defined } define contact { name myname-pager service_notification_options c,r pager my.pager.number # this contact has no email address defined } 3) Add these contacts to the contact group which receives notifications for this service. Yes, this might mean each of your users has a number of different listings in the contact.cfg file, depending on your notification and service setup. But it's a lot better than getting inappropriate notifications, right? ############################################################ Building on 40 Years of Leadership - As a global communications leader with 40 years of experience, Intelsat helps service providers, broadcasters, corporations and governments deliver information and entertainment anywhere in the world, instantly, securely and reliably. ############################################################ This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Intelsat, Ltd. and its subsidiaries. ############################################################ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris.stankaitis at datawire.net Mon Apr 4 22:09:44 2005 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Mon, 04 Apr 2005 16:09:44 -0400 Subject: Sound Alerts and Nagios2.0b2 In-Reply-To: <42515EBE.1000300@dragaera.net> References: <424D786C.9010307@datawire.net> <42514FCC.9030107@dragaera.net> <42515653.50101@datawire.net> <42515EBE.1000300@dragaera.net> Message-ID: <42519F08.80601@datawire.net> > > > No, I wouldn't do it as an event handler. I'd do it as a contact. I'd > go into misccommands.cfg, create a command called > notify-by-email-and-sound, then I'd create a shell script on the system > that did the normal email notification and also played the sound. Then > I'd change my contact entry to use that as the notification_command. > > In other words, I would use the existing notification setup in nagios to > play the sound. Then it can have different sounds for acknowledgments, > etc. > > That won't work, the nagios server that generates the e-mail and serves the web pages is located in a colo about 20 minutes away from the office, that will not help the NOC guys here in the office. --Chris ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Mon Apr 4 22:28:20 2005 From: boinger at tradingtechnologies.com (jeff vier) Date: Mon, 04 Apr 2005 15:28:20 -0500 Subject: Sound Alerts and Nagios2.0b2 In-Reply-To: <42519F08.80601@datawire.net> References: <424D786C.9010307@datawire.net> <42514FCC.9030107@dragaera.net> <42515653.50101@datawire.net> <42515EBE.1000300@dragaera.net> <42519F08.80601@datawire.net> Message-ID: <1112646500.3228.16.camel@localhost> On Mon, 2005-04-04 at 16:09 -0400, Chris Stankaitis wrote: > > > > > > No, I wouldn't do it as an event handler. I'd do it as a contact. I'd > > go into misccommands.cfg, create a command called > > notify-by-email-and-sound, then I'd create a shell script on the system > > that did the normal email notification and also played the sound. Then > > I'd change my contact entry to use that as the notification_command. > > > > In other words, I would use the existing notification setup in nagios to > > play the sound. Then it can have different sounds for acknowledgments, > > etc. > > > > > > That won't work, the nagios server that generates the e-mail and serves > the web pages is located in a colo about 20 minutes away from the > office, that will not help the NOC guys here in the office. What? The 'contact' script would be sshing to the tech's desktop and playing a sound. How does distance from the server matter? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrajag at dragaera.net Mon Apr 4 22:29:29 2005 From: agrajag at dragaera.net (Sean Dilda) Date: Mon, 04 Apr 2005 16:29:29 -0400 Subject: Sound Alerts and Nagios2.0b2 In-Reply-To: <42519F08.80601@datawire.net> References: <424D786C.9010307@datawire.net> <42514FCC.9030107@dragaera.net> <42515653.50101@datawire.net> <42515EBE.1000300@dragaera.net> <42519F08.80601@datawire.net> Message-ID: <4251A3A9.4090000@dragaera.net> Chris Stankaitis wrote: > >> >> >> No, I wouldn't do it as an event handler. I'd do it as a contact. >> I'd go into misccommands.cfg, create a command called >> notify-by-email-and-sound, then I'd create a shell script on the >> system that did the normal email notification and also played the >> sound. Then I'd change my contact entry to use that as the >> notification_command. >> >> In other words, I would use the existing notification setup in nagios >> to play the sound. Then it can have different sounds for >> acknowledgments, etc. >> >> > > That won't work, the nagios server that generates the e-mail and serves > the web pages is located in a colo about 20 minutes away from the > office, that will not help the NOC guys here in the office. I fail to see how configuring an event handler to ssh to a local box and play a sound will work, but writing a notification script to ssh to a local box and play a sound will not work. You're writing essentially the same script in both cases. Its just a question of how you're hooking it into nagios. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.gale at pason.com Mon Apr 4 22:29:56 2005 From: michael.gale at pason.com (Michael Gale) Date: Mon, 04 Apr 2005 14:29:56 -0600 Subject: nagios graph - Can't call method "unixdiskusage" without a package or object reference Message-ID: <1112646596.2825.4.camel@michaelgale-ws4-1.int.pason.com> Hello, I have tried updating my map file but now I keep getting this error in my log file: Map error: eval error: Can't call method "unixdiskusage" without a package or object reference at (eval 4) line 254 Here is the code that is causing the problem: --snip-- m|output:.*DISK.*-.free.space:.*| and do { my @options = split(/:/,$_); my $strout; splice(@options,0,1); foreach my $opt (@options) { $opt =~ /(\S+).*(\d+).MB.\((\d+)%\)/; if (length($1) > 0) { $strout .= ", [ $1, GAUGE, $3 ]"; } } push @s, [ unixdiskusage $strout ]; }; --snip-- Why does the above not work ? I tested it in a perl script before hand and it prints out the proper out put I thought ? Michael ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Apr 4 22:50:24 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 04 Apr 2005 22:50:24 +0200 Subject: help finding template In-Reply-To: References: <1112639382.25009.28.camel@localhost> <42518C13.1050900@op5.se> Message-ID: <4251A890.2000408@op5.se> Bernardo Estevez wrote: > Greetings: > > I'm tryping to setup Nagios to receive snmp traps but I'm encountering > the following error: > > ############################################## > Nagios 1.1 1.1 is decently ancient. You might want to think about upgrading so you can read up-to-date documentation. > Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) > Last Modified: 06-02-2003 > License: GPL > > Reading configuration data... > > Error: Template 'passive-check-template' specified in service > definition could not be not found (config file > '/usr/local/nagios/etc/services.cfg', line 1223) > You haven't specified the template. Read the docs. Then do it again for good measure. If you still don't know what to do, repeat as necessary. > Error: Invalid max_attempts, check_interval, retry_interval, or > notification_interval value for service 'snmp_trap_handling_critical' > on host 'joh09acrpu802.acris.finance.acrisbe' > > Error: Could not register service (config file > '/usr/local/nagios/etc/services.cfg', line 1250) > ############################################## > > Can anyone tell me where I can find the passive-check-template. I > can't seen to locate it anywhere on the web. > http://www.nagios.org/docs -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Apr 4 22:56:15 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 04 Apr 2005 22:56:15 +0200 Subject: nagios graph - Can't call method "unixdiskusage" without a package or object reference In-Reply-To: <1112646596.2825.4.camel@michaelgale-ws4-1.int.pason.com> References: <1112646596.2825.4.camel@michaelgale-ws4-1.int.pason.com> Message-ID: <4251A9EF.10509@op5.se> Michael Gale wrote: > Hello, > > I have tried updating my map file but now I keep getting this error in > my log file: > > Map error: eval error: Can't call method "unixdiskusage" without a > package or object reference at (eval 4) line 254 > I have absolutely no idea what you're talking about, and I'm certain you're in the wrong forum. Nagios is written entirely in C. There are plugins written in perl, but none of them contain the shoddy code below, and none of them use anything that can be specified as a map file whether you're a programmer, cartographer or whatever. > Here is the code that is causing the problem: > --snip-- > m|output:.*DISK.*-.free.space:.*| and do { > > my @options = split(/:/,$_); > my $strout; > > splice(@options,0,1); > > foreach my $opt (@options) { > $opt =~ /(\S+).*(\d+).MB.\((\d+)%\)/; > if (length($1) > 0) { > $strout .= ", [ $1, GAUGE, $3 ]"; > } > } > > > push @s, [ unixdiskusage $strout ]; > > }; > --snip-- > > Why does the above not work ? I tested it in a perl script before hand > and it prints out the proper out put I thought ? > Ask in #perl on your favourite irc server. I'm sure they won't mind if you post the entire script there. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.polson at ehealth.com Tue Apr 5 00:22:32 2005 From: ben.polson at ehealth.com (Ben Polson) Date: Mon, 4 Apr 2005 15:22:32 -0700 Subject: service_message struct size warning In-Reply-To: <4251A890.2000408@op5.se> References: <4251A890.2000408@op5.se> Message-ID: When running my configuration test, I get the following output as a warning: ---- nagios at varanus> ./bin/nagios -v etc/nagios.cfg Nagios 2.0b2 Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org) Last Modified: 02-09-2005 License: GPL Reading configuration data... Running pre-flight check on configuration data... Warning: Size of service_message struct (528 bytes) is > POSIX-guaranteed atomic write size (512 bytes). Service checks results may get lost or mangled! ---- Can anyone help me in narrowing down how to reduce the size of my service_message struct to fix this? I checked the FAQ and did a google search, but couldn't find anything. I also tried changing the definitions for the notify-by-email and notify-by-epager entries in the misccommands.cfg in hopes that they were associated with this, but that didn't work. I am running 2.0b2 on SuSE Enterprise 9: nagios at varanus> uname -a Linux varanus 2.6.5-7.151-smp #1 SMP Fri Mar 18 11:31:21 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux Thanks in advance for any help. -Ben. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Apr 5 00:31:54 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 05 Apr 2005 00:31:54 +0200 Subject: service_message struct size warning In-Reply-To: References: Message-ID: <4251C05A.2010700@op5.se> Ben Polson wrote: > When running my configuration test, I get the following output as a warning: > > ---- > nagios at varanus> ./bin/nagios -v etc/nagios.cfg > > Nagios 2.0b2 > Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org) > Last Modified: 02-09-2005 > License: GPL > > Reading configuration data... > > Running pre-flight check on configuration data... > > Warning: Size of service_message struct (528 bytes) is > POSIX-guaranteed > atomic write size (512 bytes). Service checks results may get lost or > mangled! You don't have to worry. Linux goes well above the posix minimum (4096 bytes guaranteed for atomic writes). > ---- > > Can anyone help me in narrowing down how to reduce the size of my > service_message struct to fix this? It's not necessary, and this is a C-code thing. Judging by the tone of this email, you're not going to be able to fix it. > I checked the FAQ and did a google > search, but couldn't find anything. I also tried changing the definitions > for the notify-by-email and notify-by-epager entries in the misccommands.cfg > in hopes that they were associated with this, but that didn't work. I am > running 2.0b2 on SuSE Enterprise 9: > > nagios at varanus> uname -a > Linux varanus 2.6.5-7.151-smp #1 SMP Fri Mar 18 11:31:21 UTC 2005 > x86_64 x86_64 x86_64 GNU/Linux > > Thanks in advance for any help. > > -Ben. > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.polson at ehealth.com Tue Apr 5 00:41:58 2005 From: ben.polson at ehealth.com (Ben Polson) Date: Mon, 4 Apr 2005 15:41:58 -0700 Subject: service_message struct size warning In-Reply-To: <4251C05A.2010700@op5.se> References: <4251C05A.2010700@op5.se> Message-ID: Thanks Andreas! -Ben. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Andreas Ericsson Sent: Monday, April 04, 2005 3:32 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] service_message struct size warning Ben Polson wrote: > When running my configuration test, I get the following output as a warning: > > ---- > nagios at varanus> ./bin/nagios -v etc/nagios.cfg > > Nagios 2.0b2 > Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org) > Last Modified: 02-09-2005 > License: GPL > > Reading configuration data... > > Running pre-flight check on configuration data... > > Warning: Size of service_message struct (528 bytes) is > POSIX-guaranteed > atomic write size (512 bytes). Service checks results may get lost or > mangled! You don't have to worry. Linux goes well above the posix minimum (4096 bytes guaranteed for atomic writes). > ---- > > Can anyone help me in narrowing down how to reduce the size of my > service_message struct to fix this? It's not necessary, and this is a C-code thing. Judging by the tone of this email, you're not going to be able to fix it. > I checked the FAQ and did a google > search, but couldn't find anything. I also tried changing the definitions > for the notify-by-email and notify-by-epager entries in the misccommands.cfg > in hopes that they were associated with this, but that didn't work. I am > running 2.0b2 on SuSE Enterprise 9: > > nagios at varanus> uname -a > Linux varanus 2.6.5-7.151-smp #1 SMP Fri Mar 18 11:31:21 UTC 2005 > x86_64 x86_64 x86_64 GNU/Linux > > Thanks in advance for any help. > > -Ben. > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trichmon at eou.edu Tue Apr 5 01:47:10 2005 From: trichmon at eou.edu (Todd Richmond) Date: Mon, 04 Apr 2005 16:47:10 -0700 Subject: manual alerts Message-ID: <1112658430.30540.3.camel@localhost> First thanks for all the help. Lots of nice people in this group and I got my problem fixed. Now i was wondering if there is a way to trigger an alert on perpose. For example if i have to take a machines down for repairs (unexpected and unschedualed) is there anyway to send a message out to everyone in the contact group? I can setup a list in evolution, or mozilla, but I want to be able to have non-techs do it if they have to (like when our server room flooded last winter). Todd ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ratty at they.org Tue Apr 5 04:31:53 2005 From: ratty at they.org (frank) Date: Mon, 4 Apr 2005 19:31:53 -0700 (PDT) Subject: where did my perfdata file go? In-Reply-To: <424D051B.1090805@op5.se> References: <424D051B.1090805@op5.se> Message-ID: On Fri, 1 Apr 2005, Andreas Ericsson wrote: > Date: Fri, 01 Apr 2005 10:23:55 +0200 > From: Andreas Ericsson > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] where did my perfdata file go? > > frank wrote: >> Running 2.0b2 and loving it. But when I looked at my service_perfdata_file >> today it was less than complete. >> >> Relevent configs (mostly defaults): >> >> service_perfdata_command=process-service-perfdata >> service_perfdata_file=/tmp/service-perfdata >> service_perfdata_file_template=[SERVICEPERFDATA]\t$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$ >> service_perfdata_file_mode=a >> service_perfdata_file_processing_interval=0 >> service_perfdata_file_processing_command=process-service-perfdata-file >> >> Instead of actually using a perf proc command from within Nagios, I simply >> run a 'tail -f' on the output file and parse it myself. I assume that >> "file_processing_interval=0" means Nagios will just leave my file alone... >> >> With the file_mode set to "a" I expected that by now I'd find a huge file >> filled with our perf data beginning on the day I started Nagios, but >> instead the file starts this morning around 11am. I know for a fact that >> data has been flowing into the file all along (a few weeks) because my RRDs >> have been getting properly populated. I was hoping to be able to recreate >> my RRDs with new RRA sets in them using the perf data but since it's gone I >> can't. >> >> Any clue what happened? Did Nagios somehow rotate/truncate my file without >> my knowledge or permission? Is there a facility in Nagios to rotate this >> along with the main Nagios log file? >> > > Perfparse truncates it when it parses it. This is necessary in order for it > to be able to keep up with the dataflow. > > If you want to be able to recreate your data you should set your processing > commands to log to two different files. I've been searching thru the source code for a few hours now and I can't find any place that is intentionally truncating the perf logs. As a test, I added this snippet to xpddefault.c: --- src/nagios-2.0b2/xdata/xpddefault.c 2004-12-05 19:40:03.000000000 -0800 +++ xpddefault.c 2005-04-04 18:49:58.050577544 -0700 @@ -558,6 +558,11 @@ int xpddefault_open_service_perfdata_fil char buffer[MAX_INPUT_BUFFER]; if(xpddefault_service_perfdata_file!=NULL){ + /*XXX*/ + snprintf(buffer,sizeof(buffer),"Warning: Service perf file mode is: %s\n",(xpddefault_service_perfdata_file_append==TRUE)?"a":"w"); + buffer[sizeof(buffer)-1]='\x0'; + write_to_logs_and_console(buffer,NSLOG_RUNTIME_WARNING,TRUE); + /*XXX*/ xpddefault_service_perfdata_fp=fopen(xpddefault_service_perfdata_file,(xpddefault_service_perfdata_file_append==TRUE)?"a":"w"); My nagios.log reports back: Warning: Service perf file mode is: w If I delete/comment-out the config lines in nagios.conf I still get "w". BUT If I change "service_perfdata_file_mode=a" to "service_perfdata_file_mode=w" then my code reports back with an "a"!! I think the problem is in the initialization code. xdata/xpddefault.c:308-311: if(!strstr(value,"w")) xpddefault_service_perfdata_file_append=FALSE; else xpddefault_service_perfdata_file_append=TRUE; I think the logic is backwards here. "w" is supposed to mean "append=FALSE". But here if "w" is inside "value", strstr() returns positive, but the "!" negates it and causes "append=TRUE". That is the wrong outcome. Now I'll go check CVS to see if this has already been fixed. .enjoy -Frank ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From navid at guba.com Tue Apr 5 03:40:17 2005 From: navid at guba.com (Navid Khalili) Date: Mon, 4 Apr 2005 18:40:17 -0700 Subject: Which version of Nagios to install? Message-ID: <57b519b386c9c4da2370b7d0981b56d7@guba.com> Hi all, I am looking into using Nagios to monitor around 40 Linux machines running various services. I was wondering, should I start by using Nagios version 2.0b3 or 1.2...anyone have any opinions? Thanks in advance, Navid Khalili ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From markee at bandwidthco.com Tue Apr 5 04:50:10 2005 From: markee at bandwidthco.com (Mark E. Donaldson) Date: Mon, 4 Apr 2005 19:50:10 -0700 Subject: Installing and Configuring Nagios In-Reply-To: <1112623785.1108.148.camel@vince> References: <1112623785.1108.148.camel@vince> Message-ID: This one got me over the hump. It comes in two parts: http://www.onlamp.com/pub/a/onlamp/2002/09/05/nagios.html -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Vincent Ngundi Sent: Monday, April 04, 2005 7:10 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Installing and Configuring Nagios Hi All, I'm new to Nagios. Could someone please send me a link to a good tutorial on Installing and Configuring Nagios(one that has worked). I'm runnning: FreeBS4.11 on a Dell PowerEdge 2600. Thanx in advance. Vincent. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ######################################################## This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. postmaster at bandwidthco.com MailScanner at bandwidthco.com is for your absolute protection. ######################################################## ######################################################## This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. postmaster at bandwidthco.com MailScanner at bandwidthco.com is for your absolute protection. ######################################################## ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaronhcarr at gmail.com Tue Apr 5 04:58:44 2005 From: aaronhcarr at gmail.com (Aaron Carr) Date: Mon, 4 Apr 2005 21:58:44 -0500 Subject: Which version of Nagios to install? In-Reply-To: <57b519b386c9c4da2370b7d0981b56d7@guba.com> References: <57b519b386c9c4da2370b7d0981b56d7@guba.com> Message-ID: If you're not limited by "no beta software" policies, I would suggest the 2.X version, since most seem to agree that it is stable and trustworthy and has some additional functionality over the 1.X versions. If you are bound by policies, you'll have no choice but to install 1.2. On Apr 4, 2005 8:40 PM, Navid Khalili wrote: > Hi all, > > I am looking into using Nagios to monitor around 40 Linux machines > running various services. I was wondering, should I start by using > Nagios version 2.0b3 or 1.2...anyone have any opinions? > > Thanks in advance, > > Navid Khalili > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amacks at techtarget.com Tue Apr 5 05:44:34 2005 From: amacks at techtarget.com (Aaron Macks) Date: Mon, 4 Apr 2005 23:44:34 -0400 Subject: release date of 2 non-beta? Message-ID: any idea when version 2 will be out of beta and released? Aaron -- ____________________________________________ Aaron Macks amacks at techtarget.com TechTarget PGP keyid: FBE946C5 117 Kendrick St, Suite 800 Phone: (781) 657-1519 Needham, MA 02494 Fax: (781) 657-1100 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaronhcarr at gmail.com Tue Apr 5 05:48:27 2005 From: aaronhcarr at gmail.com (Aaron Carr) Date: Mon, 4 Apr 2005 22:48:27 -0500 Subject: release date of 2 non-beta? In-Reply-To: References: Message-ID: According to Ethan: I see there have been a number of messages on the list about when Nagios 2.0 will be released as stable. Here's my take. First, I would still consider 2.0 as being beta software - that's why its labeled as such. While no major changes will be made to either the configuration files or functionality before a "stable" 2.0 is released, I do expect that a few major nasty bugs will be discovered within the current code. If you're running the 2.0 code while its in beta, consider yourself a test subject. :-) As far as when 2.0 will be released as stable, I will not set a specific date. My gut feeling is that the beta testing will probably be done around June or so, but that could change depending on what people find with the code. Several bugs (some minor, some not so minor) have been (and continue to be) discovered throughout the alpha and beta releases. As testing continues and more betas are released, I expect the number of bugs to drop. At some point in this process the number of significant bugs found in a particular beta release will drop to near zero. That's when you can expect a release candidate for a stable 2.0 to come out. Obviously, bringing 2.0 out of beta doesn't mean that all bugs will have been caught and dealt with. That's why we will have versions 2.1, 2.2, etc. I just want to make sure that enough people have participated in the beta process to be reasonably sure that the major gotchas have been taken care of. Many of the users on this list feel fairly confident in the stability of the 2.0 beta code. Your feelings may vary, depending upon your past experience and current situation. If you're worried about running a non-stable version of Nagios in your environment, I would stick with the 1.x branch for the time being. You shouldn't have to wait too long for 2.0 to be released as stable. BTW, Nagios 1.3 should be released soon with some bug fixes that were made after the 1.2 release. The 1.x branch is currently marked as being the 1.3 release in CVS, but its not official yet. I expect to make one or two more minor patches to that branch before releasing 1.3. Hope that helps. Ethan Galstad, Nagios Developer On Apr 4, 2005 10:44 PM, Aaron Macks wrote: > any idea when version 2 will be out of beta and released? > Aaron > -- > ____________________________________________ > Aaron Macks amacks at techtarget.com > TechTarget PGP keyid: FBE946C5 > 117 Kendrick St, Suite 800 Phone: (781) 657-1519 > Needham, MA 02494 Fax: (781) 657-1100 > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From theal at pace2020.com Tue Apr 5 06:05:36 2005 From: theal at pace2020.com (theal) Date: Tue, 5 Apr 2005 00:05:36 -0400 Subject: nagios will not start References: Message-ID: <009c01c53994$bb3d31a0$0b00a8c0@portabrother> Nagios 2.0b1 debian (woody) Linux apache 1.3 I have been using Nagios for a couple of weeks. Tonight I added a service for a single host for testing and tried to restart Nagios. It will not start using /etc/ini.d/nagios start. I have removed the service from ../etc/services.cfg and it still will not start up. /var/log/syslog shows Nagios has a PID ..nagios/var/nagios.log shows Nagios has a PID ps ax |grep nagios show no PID assigned to Nagios apache error log shows no errors relating to Nagios /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg shows no errors Anyone have any ideas? Tony ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Apr 5 06:36:42 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 5 Apr 2005 00:36:42 -0400 (EDT) Subject: nagios without mail In-Reply-To: <4251116B.6060806@inria.fr> References: <4251116B.6060806@inria.fr> Message-ID: On Mon, 4 Apr 2005, Lionel Verscheure wrote: > Hello, > > I try to find a way to alert when the mail server is down (because the > mail server is not on your geographical site). > I go on http://www.nagios.org/download/extras.php, so i found different > ways : > - nagios popup : installing a software on client that read the state > ans launch a popup, (only on windows :-( ) > - (IMDaemon or NIM, ...) : send message to ICQ or Jabber, ( we had to > think launch your software) > > Do you have others solutions ? > > use an attached modem and send out a page or sms notifications. folks have attached modems and sent SNPP/TAP pages and attached gsm modems and sent sms messages... -- -sg ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nemir at hotmail.com Tue Apr 5 07:35:15 2005 From: nemir at hotmail.com (nemir nemiria) Date: Tue, 05 Apr 2005 05:35:15 +0000 Subject: nagios without mail In-Reply-To: References: Message-ID: >From: Subhendu Ghosh >To: Lionel Verscheure >CC: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] nagios without mail >Date: Tue, 5 Apr 2005 00:36:42 -0400 (EDT) > >On Mon, 4 Apr 2005, Lionel Verscheure wrote: > > > Hello, > > > > I try to find a way to alert when the mail server is down (because the > > mail server is not on your geographical site). > > I go on http://www.nagios.org/download/extras.php, so i found different > > ways : > > - nagios popup : installing a software on client that read the state > > ans launch a popup, (only on windows :-( ) > > - (IMDaemon or NIM, ...) : send message to ICQ or Jabber, ( we had to > > think launch your software) > > > > Do you have others solutions ? > >use an attached modem and send out a page or sms notifications. > I use an attached mobile phone and gnokii to send me sms alerts.... Nemir ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Apr 5 09:37:33 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 05 Apr 2005 09:37:33 +0200 Subject: Nagios stress-test Message-ID: <4252403D.8010206@op5.se> Ahoy all. This mail is intended for those of you interested in contributing to Nagios but aren't very comfortable with threadsafe C-programming. Others might want to skip this mail. I've created a small but significantly weird plugin called check_rand, available for download at http://oss.op5.se/nagios and https://devel.op5.se/oss check_rand will; * exit with a properly pseudo-random exit code between 0 and 3. Each code is tested to have equal value. * print a random message 50% of the times, and the message "Life, loathe it or ignore it, you can't like it" (which happened to be the first message that the fortune program spit out). * print perfdata 50% of the times. * print empty perfdata 25% of the times (half the times it prints perfdata). * *possibly* time out 12.5% of the times its run (the value passed to sleep is random, so it might not time out after all, but sleep only has a 12.5 chance of being called). * sleep up to 12 seconds prior to exiting, after having printed output. This will let it sometimes time out AFTER having printed output, which might be a source of crashing. To implement it for every check available, as well as notification commands (you won't want the barrage of notifications this script will generate), you should run something like this; cp misccommands.cfg misccommands.cfg.bak cp checkcommands.cfg checkcommands.cfg.bak sed 's,\(command_line[^/]*\)[^ ]*\(.*\),\1/check_rand\2,' checkcommands.cfg.bak >> checkcommands.cfg sed 's,\(command_line[^/]*\)[^ ]*\(.*\),\1/check_rand\2,' misccommands.cfg.bak >> misccommands.cfg (make sure you get those sed-lines right. Cut'n'past is your friend.) Or you can manually change the command actually run to check_rand (or symlink every plugin you have to check_rand, or something else that will assure that check_rand is run instead of the actual plugin). This kind of stress-testing is fairly important if we want 2.x to go stable sometime soon, so don't be afraid to ask if you're having trouble. Those easily offended should take heed, as I included fortune's offensive database. I just needed a lot of C-style strings pronto and took the ones that were readily available. If you're serious about helping out debugging nagios you should run an un-stripped version (file /usr/local/nagios/bin/nagios will tell you) so that core-dumps are made useful and have daemon_dumps_core set to 1 in your nagios.cfg. It's very important that you keep the core files and the nagios .log and .sav-files that were generated during the (possible) crash, as debugging without them is simply hell. If you don't like reporting things to the nagios-devel mailinglist you can send bug-reports privately to me and I'll collect and forward them. It's appreciated all the same, and results should be visible in the form of commits to CVS and more stable code. The check_rand plugin is written in ANSI C for portability but uses /dev/urandom as its source for randomness. If this is a showstopper, then let me know and I'll work around it. Cheers, and thanks for listening and (possibly) contributing. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frogmist at gmail.com Tue Apr 5 10:12:30 2005 From: frogmist at gmail.com (Sally) Date: Tue, 5 Apr 2005 16:12:30 +0800 Subject: Check_ping problem Message-ID: Hi, I'm using Nagios 1.2 with plugins version 1.4 on freebsd 5.3. check_ping returns a "Return code of 139 is out of bounds" sometimes. What does it mean? Thanks! ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.simkins at gmail.com Tue Apr 5 10:27:05 2005 From: mike.simkins at gmail.com (Mike Simkins) Date: Tue, 5 Apr 2005 09:27:05 +0100 Subject: Disable check-host-alive for certain hosts In-Reply-To: References: Message-ID: Change the check_command for the host to use an SSH check. You can use any check command to see if a host is alive, not just check-host-alive On Apr 4, 2005 12:25 PM, Bergstr?m Sebastian wrote: > We use Nagios v.1.2 and monitors some remote Firewalls (among others). The Firewalls does not reply on ICMP (which makes check-host-alive useless). Our current check implementation is to ensure that the SSH daemon runs on the Firewalls. When the SSH daemon does not respond for whatever reason, check-host-alive kicks in and that results in a Host down alert (since the Firewalls does not respond on ICMP). > > How can I force Nagios to only rely on the SSH service check? > > Any thoughts or ideas are deeply appreciated. > > Thanks in advance! > > Best regards, > Sebastian Bergstroem > > ---------------------------------------------- > Sebastian Bergstroem > Technical coordinator > Kunskapsskolan i Sverige AB > sebastian.bergstroem at kunskapsskolan.se > ----------------------------------------------- > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&opclick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frogmist at gmail.com Tue Apr 5 11:51:51 2005 From: frogmist at gmail.com (Sally) Date: Tue, 5 Apr 2005 17:51:51 +0800 Subject: question about email alerts In-Reply-To: <1112633785.25009.22.camel@localhost> References: <1112633785.25009.22.camel@localhost> Message-ID: Hi, This has happened to me a couple of times. The first time was because i omitted certain compulsory fields from the host and service definitions. The second time was because i made some mistakes in the host configuration. So my advice wld be to check through your config very carefully, read through the docs again and make sure that you have done everything you have been told to do. Good luck! On Apr 5, 2005 12:56 AM, Todd Richmond wrote: > First nagios is like slice bread cool. Thanks to the developers for the > work. > > I have nagios running on a debian sarge system. I know that the email > system is working because i will get warnings (pings higher than 100 or > lost packets) but using the same config template I do not get an email > when the host or service is down (unpluged from the network). The web > intface showes that the system is down, satus informaion for the service > shows "/bin/ping 140.211.60.39 -n -c 5 ", and I can see nowhere in the > logs where it tried to email me. The service has w,u,c,r in > notification_options and hosts.cfg has d,u,r in the > notification_options. Any suggestions. > > Todd Richmond > trichmon at eou.edu > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roberto.Balestra at getronics.com Tue Apr 5 12:33:05 2005 From: Roberto.Balestra at getronics.com (Balestra, Roberto) Date: Tue, 5 Apr 2005 12:33:05 +0200 Subject: nagios will not start Message-ID: <4E3FFB397E161940867E0B56F0B640D70138873F@excbebr203.europe.unity> See /etc/init.d/nagios status bye Roby > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of theal > Sent: marted? 5 aprile 2005 6.06 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios will not start > > > Nagios 2.0b1 > debian (woody) Linux > apache 1.3 > > I have been using Nagios for a couple of weeks. Tonight I > added a service > for a single host for testing and tried to restart Nagios. It > will not start > using /etc/ini.d/nagios start. > I have removed the service from ../etc/services.cfg and it > still will not > start up. > > /var/log/syslog shows Nagios has a PID > ..nagios/var/nagios.log shows Nagios has a PID > ps ax |grep nagios show no PID assigned to Nagios > apache error log shows no errors relating to Nagios > > /usr/local/nagios/bin/nagios -v > /usr/local/nagios/etc/nagios.cfg shows no > errors > > Anyone have any ideas? > > Tony > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from > real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From theal at pace2020.com Tue Apr 5 12:47:19 2005 From: theal at pace2020.com (theal) Date: Tue, 5 Apr 2005 06:47:19 -0400 Subject: nagios will not start References: <4E3FFB397E161940867E0B56F0B640D70138873F@excbebr203.europe.unity> Message-ID: <011301c539cc$d98bb310$0b00a8c0@portabrother> That is one of the ways that I have been checking. it shows that it is NOT running (no PID) oscar:~# /etc/init.d/nagios status PID TTY TIME CMD oscar:~# Tony ----- Original Message ----- From: "Balestra, Roberto" To: Sent: Tuesday, April 05, 2005 6:33 AM Subject: RE: [Nagios-users] nagios will not start See /etc/init.d/nagios status bye Roby > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of theal > Sent: marted? 5 aprile 2005 6.06 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios will not start > > > Nagios 2.0b1 > debian (woody) Linux > apache 1.3 > > I have been using Nagios for a couple of weeks. Tonight I > added a service > for a single host for testing and tried to restart Nagios. It > will not start > using /etc/ini.d/nagios start. > I have removed the service from ../etc/services.cfg and it > still will not > start up. > > /var/log/syslog shows Nagios has a PID > ..nagios/var/nagios.log shows Nagios has a PID > ps ax |grep nagios show no PID assigned to Nagios > apache error log shows no errors relating to Nagios > > /usr/local/nagios/bin/nagios -v > /usr/local/nagios/etc/nagios.cfg shows no > errors > > Anyone have any ideas? > > Tony > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from > real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roberto.Balestra at getronics.com Tue Apr 5 12:50:34 2005 From: Roberto.Balestra at getronics.com (Balestra, Roberto) Date: Tue, 5 Apr 2005 12:50:34 +0200 Subject: nagios will not start Message-ID: <4E3FFB397E161940867E0B56F0B640D701388740@excbebr203.europe.unity> Is there no messages in system logs (/var/log/)? > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of theal > Sent: marted? 5 aprile 2005 12.47 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios will not start > > > That is one of the ways that I have been checking. it shows > that it is NOT > running (no PID) > > oscar:~# /etc/init.d/nagios status > PID TTY TIME CMD > oscar:~# > > > Tony > > ----- Original Message ----- > From: "Balestra, Roberto" > To: > Sent: Tuesday, April 05, 2005 6:33 AM > Subject: RE: [Nagios-users] nagios will not start > > > See /etc/init.d/nagios status > bye > Roby > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of theal > > Sent: marted? 5 aprile 2005 6.06 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] nagios will not start > > > > > > Nagios 2.0b1 > > debian (woody) Linux > > apache 1.3 > > > > I have been using Nagios for a couple of weeks. Tonight I > > added a service > > for a single host for testing and tried to restart Nagios. It > > will not start > > using /etc/ini.d/nagios start. > > I have removed the service from ../etc/services.cfg and it > > still will not > > start up. > > > > /var/log/syslog shows Nagios has a PID > > ..nagios/var/nagios.log shows Nagios has a PID > > ps ax |grep nagios show no PID assigned to Nagios > > apache error log shows no errors relating to Nagios > > > > /usr/local/nagios/bin/nagios -v > > /usr/local/nagios/etc/nagios.cfg shows no > > errors > > > > Anyone have any ideas? > > > > Tony > > > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from > > real users. > > Discover which products truly live up to the hype. Start > reading now. > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from > real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from > real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjk_saji at yahoo.com Tue Apr 5 12:52:51 2005 From: jjk_saji at yahoo.com (John Joseph) Date: Tue, 5 Apr 2005 11:52:51 +0100 (BST) Subject: nagios will not start In-Reply-To: 6667 Message-ID: <20050405105251.60448.qmail@web40804.mail.yahoo.com> Hi Tony Please verify your .cfg files are correct do /nagios/bin/nagios -v /nagios/etc/nagios.cfg If it does not show any error then Start the nagios Thanks Joseph John (Saji K ) --- theal wrote: > That is one of the ways that I have been checking. > it shows that it is NOT > running (no PID) > > oscar:~# /etc/init.d/nagios status > PID TTY TIME CMD > oscar:~# > > > Tony > > ----- Original Message ----- > From: "Balestra, Roberto" > > To: > Sent: Tuesday, April 05, 2005 6:33 AM > Subject: RE: [Nagios-users] nagios will not start > > > See /etc/init.d/nagios status > bye > Roby > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net]On > Behalf Of theal > > Sent: marted? 5 aprile 2005 6.06 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] nagios will not start > > > > > > Nagios 2.0b1 > > debian (woody) Linux > > apache 1.3 > > > > I have been using Nagios for a couple of weeks. > Tonight I > > added a service > > for a single host for testing and tried to restart > Nagios. It > > will not start > > using /etc/ini.d/nagios start. > > I have removed the service from > ../etc/services.cfg and it > > still will not > > start up. > > > > /var/log/syslog shows Nagios has a PID > > ..nagios/var/nagios.log shows Nagios has a PID > > ps ax |grep nagios show no PID assigned to Nagios > > apache error log shows no errors relating to > Nagios > > > > /usr/local/nagios/bin/nagios -v > > /usr/local/nagios/etc/nagios.cfg shows no > > errors > > > > Anyone have any ideas? > > > > Tony > > > > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT > Products from > > real users. > > Discover which products truly live up to the hype. > Start reading now. > > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version > (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk > being sent to /dev/null > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT > Products from real users. > Discover which products truly live up to the hype. > Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT > Products from real users. > Discover which products truly live up to the hype. > Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > Send instant messages to your online friends http://uk.messenger.yahoo.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From theal at pace2020.com Tue Apr 5 12:56:37 2005 From: theal at pace2020.com (theal) Date: Tue, 5 Apr 2005 06:56:37 -0400 Subject: nagios will not start References: <4E3FFB397E161940867E0B56F0B640D701388740@excbebr203.europe.unity> Message-ID: <012d01c539ce$26374610$0b00a8c0@portabrother> since it is a new day, here is the entire syslog for today after an attempted restart. oscar:~# less /var/log/syslog Apr 5 06:25:46 oscar syslogd 1.4.1#10: restart. Apr 5 06:36:49 oscar -- MARK -- Apr 5 06:38:01 oscar /USR/SBIN/CRON[7726]: (mail) CMD ( if [ -x /usr/sbin/exim -a -f /etc/exim/exim.conf ]; then /usr/sbin/exim -q ; fi) Apr 5 06:53:01 oscar /USR/SBIN/CRON[7949]: (mail) CMD ( if [ -x /usr/sbin/exim -a -f /etc/exim/exim.conf ]; then /usr/sbin/exim -q ; fi) Apr 5 06:53:28 oscar nagios: Nagios 2.0b2 starting... (PID=7958) Apr 5 06:53:28 oscar nagios: LOG VERSION: 2.0 Apr 5 06:53:28 oscar nagios: Finished daemonizing... (New PID=7959) here are the results of the last 2 attempts in the nagios.log [1112677510] Nagios 2.0b2 starting... (PID=2135) [1112677510] LOG VERSION: 2.0 [1112677510] Finished daemonizing... (New PID=2136) [1112698408] Nagios 2.0b2 starting... (PID=7958) [1112698408] LOG VERSION: 2.0 [1112698408] Finished daemonizing... (New PID=7959) Tony ----- Original Message ----- From: "Balestra, Roberto" To: Sent: Tuesday, April 05, 2005 6:50 AM Subject: RE: [Nagios-users] nagios will not start Is there no messages in system logs (/var/log/)? > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of theal > Sent: marted? 5 aprile 2005 12.47 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios will not start > > > That is one of the ways that I have been checking. it shows > that it is NOT > running (no PID) > > oscar:~# /etc/init.d/nagios status > PID TTY TIME CMD > oscar:~# > > > Tony > > ----- Original Message ----- > From: "Balestra, Roberto" > To: > Sent: Tuesday, April 05, 2005 6:33 AM > Subject: RE: [Nagios-users] nagios will not start > > > See /etc/init.d/nagios status > bye > Roby > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of theal > > Sent: marted? 5 aprile 2005 6.06 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] nagios will not start > > > > > > Nagios 2.0b1 > > debian (woody) Linux > > apache 1.3 > > > > I have been using Nagios for a couple of weeks. Tonight I > > added a service > > for a single host for testing and tried to restart Nagios. It > > will not start > > using /etc/ini.d/nagios start. > > I have removed the service from ../etc/services.cfg and it > > still will not > > start up. > > > > /var/log/syslog shows Nagios has a PID > > ..nagios/var/nagios.log shows Nagios has a PID > > ps ax |grep nagios show no PID assigned to Nagios > > apache error log shows no errors relating to Nagios > > > > /usr/local/nagios/bin/nagios -v > > /usr/local/nagios/etc/nagios.cfg shows no > > errors > > > > Anyone have any ideas? > > > > Tony > > > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from > > real users. > > Discover which products truly live up to the hype. Start > reading now. > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from > real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from > real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From theal at pace2020.com Tue Apr 5 12:58:22 2005 From: theal at pace2020.com (theal) Date: Tue, 5 Apr 2005 06:58:22 -0400 Subject: nagios will not start References: <20050405105251.60448.qmail@web40804.mail.yahoo.com> Message-ID: <013701c539ce$6277ed00$0b00a8c0@portabrother> John As stated below I have verified that. here are the results. Nagios 2.0b2 Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org) Last Modified: 02-09-2005 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 1037 services. Checking hosts... Checked 91 hosts. Checking host groups... Checked 7 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 3 contacts. Checking contact groups... Checked 2 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 1 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 23 commands. Checking time periods... Checked 4 time periods. Checking extended host info definitions... Checked 0 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check Tony ----- Original Message ----- From: "John Joseph" To: "theal" ; Sent: Tuesday, April 05, 2005 6:52 AM Subject: Re: [Nagios-users] nagios will not start Hi Tony Please verify your .cfg files are correct do /nagios/bin/nagios -v /nagios/etc/nagios.cfg If it does not show any error then Start the nagios Thanks Joseph John (Saji K ) --- theal wrote: > That is one of the ways that I have been checking. > it shows that it is NOT > running (no PID) > > oscar:~# /etc/init.d/nagios status > PID TTY TIME CMD > oscar:~# > > > Tony > > ----- Original Message ----- > From: "Balestra, Roberto" > > To: > Sent: Tuesday, April 05, 2005 6:33 AM > Subject: RE: [Nagios-users] nagios will not start > > > See /etc/init.d/nagios status > bye > Roby > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net]On > Behalf Of theal > > Sent: marted? 5 aprile 2005 6.06 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] nagios will not start > > > > > > Nagios 2.0b1 > > debian (woody) Linux > > apache 1.3 > > > > I have been using Nagios for a couple of weeks. > Tonight I > > added a service > > for a single host for testing and tried to restart > Nagios. It > > will not start > > using /etc/ini.d/nagios start. > > I have removed the service from > ../etc/services.cfg and it > > still will not > > start up. > > > > /var/log/syslog shows Nagios has a PID > > ..nagios/var/nagios.log shows Nagios has a PID > > ps ax |grep nagios show no PID assigned to Nagios > > apache error log shows no errors relating to > Nagios > > > > /usr/local/nagios/bin/nagios -v > > /usr/local/nagios/etc/nagios.cfg shows no > > errors > > > > Anyone have any ideas? > > > > Tony > > > > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT > Products from > > real users. > > Discover which products truly live up to the hype. > Start reading now. > > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version > (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk > being sent to /dev/null > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT > Products from real users. > Discover which products truly live up to the hype. > Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT > Products from real users. > Discover which products truly live up to the hype. > Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > Send instant messages to your online friends http://uk.messenger.yahoo.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roberto.Balestra at getronics.com Tue Apr 5 13:01:52 2005 From: Roberto.Balestra at getronics.com (Balestra, Roberto) Date: Tue, 5 Apr 2005 13:01:52 +0200 Subject: nagios will not start Message-ID: <4E3FFB397E161940867E0B56F0B640D701388741@excbebr203.europe.unity> OK. Nagios start and end. I think that you don't have some object used by nagios. Do you use db server? Is it running? > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of theal > Sent: marted? 5 aprile 2005 12.57 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios will not start > > > since it is a new day, here is the entire syslog for today after an > attempted restart. > > oscar:~# less /var/log/syslog > Apr 5 06:25:46 oscar syslogd 1.4.1#10: restart. > Apr 5 06:36:49 oscar -- MARK -- > Apr 5 06:38:01 oscar /USR/SBIN/CRON[7726]: (mail) CMD ( if [ -x > /usr/sbin/exim -a -f /etc/exim/exim.conf ]; then > /usr/sbin/exim -q ; fi) > Apr 5 06:53:01 oscar /USR/SBIN/CRON[7949]: (mail) CMD ( if [ -x > /usr/sbin/exim -a -f /etc/exim/exim.conf ]; then > /usr/sbin/exim -q ; fi) > Apr 5 06:53:28 oscar nagios: Nagios 2.0b2 starting... (PID=7958) > Apr 5 06:53:28 oscar nagios: LOG VERSION: 2.0 > Apr 5 06:53:28 oscar nagios: Finished daemonizing... (New PID=7959) > > here are the results of the last 2 attempts in the nagios.log > > [1112677510] Nagios 2.0b2 starting... (PID=2135) > [1112677510] LOG VERSION: 2.0 > [1112677510] Finished daemonizing... (New PID=2136) > [1112698408] Nagios 2.0b2 starting... (PID=7958) > [1112698408] LOG VERSION: 2.0 > [1112698408] Finished daemonizing... (New PID=7959) > > > Tony > ----- Original Message ----- > From: "Balestra, Roberto" > To: > Sent: Tuesday, April 05, 2005 6:50 AM > Subject: RE: [Nagios-users] nagios will not start > > > Is there no messages in system logs (/var/log/)? > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of theal > > Sent: marted? 5 aprile 2005 12.47 > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] nagios will not start > > > > > > That is one of the ways that I have been checking. it shows > > that it is NOT > > running (no PID) > > > > oscar:~# /etc/init.d/nagios status > > PID TTY TIME CMD > > oscar:~# > > > > > > Tony > > > > ----- Original Message ----- > > From: "Balestra, Roberto" > > To: > > Sent: Tuesday, April 05, 2005 6:33 AM > > Subject: RE: [Nagios-users] nagios will not start > > > > > > See /etc/init.d/nagios status > > bye > > Roby > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net]On > Behalf Of theal > > > Sent: marted? 5 aprile 2005 6.06 > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] nagios will not start > > > > > > > > > Nagios 2.0b1 > > > debian (woody) Linux > > > apache 1.3 > > > > > > I have been using Nagios for a couple of weeks. Tonight I > > > added a service > > > for a single host for testing and tried to restart Nagios. It > > > will not start > > > using /etc/ini.d/nagios start. > > > I have removed the service from ../etc/services.cfg and it > > > still will not > > > start up. > > > > > > /var/log/syslog shows Nagios has a PID > > > ..nagios/var/nagios.log shows Nagios has a PID > > > ps ax |grep nagios show no PID assigned to Nagios > > > apache error log shows no errors relating to Nagios > > > > > > /usr/local/nagios/bin/nagios -v > > > /usr/local/nagios/etc/nagios.cfg shows no > > > errors > > > > > > Anyone have any ideas? > > > > > > Tony > > > > > > > > > > > > > > > ------------------------------------------------------- > > > SF email is sponsored by - The IT Product Guide > > > Read honest & candid reviews on hundreds of IT Products from > > > real users. > > > Discover which products truly live up to the hype. Start > > reading now. > > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS > > > when reporting any issue. > > > ::: Messages without supporting info will risk being sent > > to /dev/null > > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from > > real users. > > Discover which products truly live up to the hype. Start > reading now. > > http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting > > any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from > > real users. > > Discover which products truly live up to the hype. Start > reading now. > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from > real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from > real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 5 13:29:57 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 5 Apr 2005 07:29:57 -0400 Subject: NC_Net: requesting user feedback Message-ID: Hi, I am currently working on a few issues with the current version of NC_Net. I posted this to request if users of NC_Net can send me some feedback. For those who wish to respond please respond back directly to me -so that we do not abuse this mailing list. amontibello at gmail.com I am curious to here at a minimum how many servers are running NC_Net and what version of windows. Any other feedback is welcome good or bad. particularly any comments related to ease (or lack of) install. any incompatibilities, configuration issues, etc. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From artur.dassumpcao at di.com.pt Tue Apr 5 13:49:08 2005 From: artur.dassumpcao at di.com.pt (=?ISO-8859-1?Q?Artur_D=27Assump=E7=E3o?=) Date: Tue, 05 Apr 2005 12:49:08 +0100 Subject: Distributed Monitoring - Question about recursive topology Message-ID: <42527B34.7090101@di.com.pt> Artur D'Assump??o wrote: Hi, I'm trying to build a recursive distributed monitoring topoligy system. The recursive design is imperative because i'm dealing with different administrations across the WAN where the monitoring system will be in production. I'll try to make a sketch to make it more clear: - root A (this will receive and web publish all the incoming passive submits. NSCA) -- root B (this will receive, web publish his results and re-submit them no root A. NSCA / OSCP?) --- clientB:x (this is a standar client submiting to root B, OSCP with send_nsca) -- root C (analogous to root B) --- client C:x (analogous to client B:x) ... My question concerning this is about if this is doable. More precisely, is it possible to have have a passive service check with NSCA listening incoming submits and at the same time obssessing over this service with the OSCP command in order to re-submit these to its direct parent? This will also need to be acomplished without loosing the datastore feature so a root parent with web feature enabled is able to pulish its child(clients) submits in the nagios web interface. I'll be thankfull with a help in this subject. Thank you, Artur D'Assump??o ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From theal at pace2020.com Tue Apr 5 13:12:18 2005 From: theal at pace2020.com (theal) Date: Tue, 5 Apr 2005 07:12:18 -0400 Subject: nagios will not start References: <4E3FFB397E161940867E0B56F0B640D701388741@excbebr203.europe.unity> Message-ID: <015c01c539d0$56e360d0$0b00a8c0@portabrother> No I have not been using a db server. I had planned on setting that up later. Just needed to get real time monitoring up first, then set up a db (postgresql) later for trending. Tony ----- Original Message ----- From: "Balestra, Roberto" To: Sent: Tuesday, April 05, 2005 7:01 AM Subject: RE: [Nagios-users] nagios will not start OK. Nagios start and end. I think that you don't have some object used by nagios. Do you use db server? Is it running? > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of theal > Sent: marted? 5 aprile 2005 12.57 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios will not start > > > since it is a new day, here is the entire syslog for today after an > attempted restart. > > oscar:~# less /var/log/syslog > Apr 5 06:25:46 oscar syslogd 1.4.1#10: restart. > Apr 5 06:36:49 oscar -- MARK -- > Apr 5 06:38:01 oscar /USR/SBIN/CRON[7726]: (mail) CMD ( if [ -x > /usr/sbin/exim -a -f /etc/exim/exim.conf ]; then > /usr/sbin/exim -q ; fi) > Apr 5 06:53:01 oscar /USR/SBIN/CRON[7949]: (mail) CMD ( if [ -x > /usr/sbin/exim -a -f /etc/exim/exim.conf ]; then > /usr/sbin/exim -q ; fi) > Apr 5 06:53:28 oscar nagios: Nagios 2.0b2 starting... (PID=7958) > Apr 5 06:53:28 oscar nagios: LOG VERSION: 2.0 > Apr 5 06:53:28 oscar nagios: Finished daemonizing... (New PID=7959) > > here are the results of the last 2 attempts in the nagios.log > > [1112677510] Nagios 2.0b2 starting... (PID=2135) > [1112677510] LOG VERSION: 2.0 > [1112677510] Finished daemonizing... (New PID=2136) > [1112698408] Nagios 2.0b2 starting... (PID=7958) > [1112698408] LOG VERSION: 2.0 > [1112698408] Finished daemonizing... (New PID=7959) > > > Tony > ----- Original Message ----- > From: "Balestra, Roberto" > To: > Sent: Tuesday, April 05, 2005 6:50 AM > Subject: RE: [Nagios-users] nagios will not start > > > Is there no messages in system logs (/var/log/)? > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of theal > > Sent: marted? 5 aprile 2005 12.47 > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] nagios will not start > > > > > > That is one of the ways that I have been checking. it shows > > that it is NOT > > running (no PID) > > > > oscar:~# /etc/init.d/nagios status > > PID TTY TIME CMD > > oscar:~# > > > > > > Tony > > > > ----- Original Message ----- > > From: "Balestra, Roberto" > > To: > > Sent: Tuesday, April 05, 2005 6:33 AM > > Subject: RE: [Nagios-users] nagios will not start > > > > > > See /etc/init.d/nagios status > > bye > > Roby > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net]On > Behalf Of theal > > > Sent: marted? 5 aprile 2005 6.06 > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] nagios will not start > > > > > > > > > Nagios 2.0b1 > > > debian (woody) Linux > > > apache 1.3 > > > > > > I have been using Nagios for a couple of weeks. Tonight I > > > added a service > > > for a single host for testing and tried to restart Nagios. It > > > will not start > > > using /etc/ini.d/nagios start. > > > I have removed the service from ../etc/services.cfg and it > > > still will not > > > start up. > > > > > > /var/log/syslog shows Nagios has a PID > > > ..nagios/var/nagios.log shows Nagios has a PID > > > ps ax |grep nagios show no PID assigned to Nagios > > > apache error log shows no errors relating to Nagios > > > > > > /usr/local/nagios/bin/nagios -v > > > /usr/local/nagios/etc/nagios.cfg shows no > > > errors > > > > > > Anyone have any ideas? > > > > > > Tony > > > > > > > > > > > > > > > ------------------------------------------------------- > > > SF email is sponsored by - The IT Product Guide > > > Read honest & candid reviews on hundreds of IT Products from > > > real users. > > > Discover which products truly live up to the hype. Start > > reading now. > > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS > > > when reporting any issue. > > > ::: Messages without supporting info will risk being sent > > to /dev/null > > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from > > real users. > > Discover which products truly live up to the hype. Start > reading now. > > http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting > > any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from > > real users. > > Discover which products truly live up to the hype. Start > reading now. > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from > real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from > real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at aidworld.org Tue Apr 5 14:40:57 2005 From: chris at aidworld.org (Chris Wilson) Date: Tue, 05 Apr 2005 13:40:57 +0100 Subject: Distributed Monitoring - Question about recursive topology In-Reply-To: <42527B34.7090101@di.com.pt> References: <42527B34.7090101@di.com.pt> Message-ID: <1112704857.31213.26.camel@localhost> Hi Artur, > My question concerning this is about if this is doable. More precisely, > is it possible to have have a passive service check with NSCA listening > incoming submits and at the same time obssessing over this service with > the OSCP command in order to re-submit these to its direct parent? Indeed this is possible. In fact it's not possible for the OCSP command to distinguish between active and passive service check results, so I hope you don't need this. > This will also need to be acomplished without loosing the datastore > feature > so a root parent with web feature enabled is able to pulish its > child(clients) submits in the nagios web interface. The user interface and local logging seem to work just fine in this configuration, as far as I can tell. Cheers, Chris. -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_user at s1test1.it Tue Apr 5 14:40:28 2005 From: nagios_user at s1test1.it (nagios_user at s1test1.it) Date: Tue, 5 Apr 2005 14:40:28 +0200 Subject: [Nagios-users]check_traffic plugin Message-ID: <1112704828.4252873c67737@webmail.s1test1.it> Goodmorning, I have a little problem with check traffic plugin... ..I've tried to use the following sintax command: /usr/lib/nagios/plugins/check_traffic -H myHost -i 3 -b 12500000 -r eth1 -c 95 -w 85 and after some seconds I've reveived this response: Timeout: No Response from myHost. Timeout: No Response from myHost. Total RX Bytes: 0.00 MB, Total TX Bytes: 0.00 MB
Average Traffic: 0.00 B/s (0.0%) in, 0.00 B/s (0.0%) out So, I dont't know wath the problem is... ...please, help me. ps ...sorry for my english Thank you very much. Best regards Rodolfo Greco ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From artur.dassumpcao at di.com.pt Tue Apr 5 14:54:39 2005 From: artur.dassumpcao at di.com.pt (=?ISO-8859-1?Q?Artur_D=27Assump=E7=E3o?=) Date: Tue, 05 Apr 2005 13:54:39 +0100 Subject: Distributed Monitoring - Question about recursive topology In-Reply-To: <1112704857.31213.26.camel@localhost> References: <42527B34.7090101@di.com.pt> <1112704857.31213.26.camel@localhost> Message-ID: <42528A8F.5000308@di.com.pt> Chris Wilson wrote: >Hi Artur, > > > >>My question concerning this is about if this is doable. More precisely, >>is it possible to have have a passive service check with NSCA listening >>incoming submits and at the same time obssessing over this service with >>the OSCP command in order to re-submit these to its direct parent? >> >> > >Indeed this is possible. In fact it's not possible for the OCSP command >to distinguish between active and passive service check results, so I >hope you don't need this. > > Thanks Chris, Ok, has I could understand, if i''ve defined a service that is checked passively, then each time nagios will refresh the passive submits, the ocsp command will get executed after it, exactly has if it was a active service ? > > >>This will also need to be acomplished without loosing the datastore >>feature >>so a root parent with web feature enabled is able to pulish its >>child(clients) submits in the nagios web interface. >> >> > >The user interface and local logging seem to work just fine in this >configuration, as far as I can tell. > >Cheers, Chris. > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at aidworld.org Tue Apr 5 15:09:25 2005 From: chris at aidworld.org (Chris Wilson) Date: Tue, 05 Apr 2005 14:09:25 +0100 Subject: Distributed Monitoring - Question about recursive topology In-Reply-To: <42528A8F.5000308@di.com.pt> References: <42527B34.7090101@di.com.pt> <1112704857.31213.26.camel@localhost> <42528A8F.5000308@di.com.pt> Message-ID: <1112706565.31213.29.camel@localhost> Hi Artur, > Ok, has I could understand, if i''ve defined a service that is checked > passively, then each time nagios will refresh the passive submits, the > ocsp command will get executed after it, exactly has if it was a active > service ? Yes, that's my experience, although instead of "refresh the passive submits" I would say "read the submitted passive service check results from the command socket". Cheers, Chris. -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From artur.dassumpcao at di.com.pt Tue Apr 5 15:13:24 2005 From: artur.dassumpcao at di.com.pt (=?ISO-8859-1?Q?Artur_D=27Assump=E7=E3o?=) Date: Tue, 05 Apr 2005 14:13:24 +0100 Subject: Distributed Monitoring - Question about recursive topology In-Reply-To: <1112706565.31213.29.camel@localhost> References: <42527B34.7090101@di.com.pt> <1112704857.31213.26.camel@localhost> <42528A8F.5000308@di.com.pt> <1112706565.31213.29.camel@localhost> Message-ID: <42528EF4.7010400@di.com.pt> Chris Wilson wrote: >Hi Artur, > > > >>Ok, has I could understand, if i''ve defined a service that is checked >>passively, then each time nagios will refresh the passive submits, the >>ocsp command will get executed after it, exactly has if it was a active >>service ? >> >> >Yes, that's my experience, although instead of "refresh the passive >submits" I would say "read the submitted passive service check results >from the command socket". > >Cheers, Chris. > > Ok, i'll try that first, if I encounter problems i'll post them :) I'm thankfull for you support, thanks Chris! Artur D'Assump??o ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mandrade at bice.cl Tue Apr 5 15:47:14 2005 From: mandrade at bice.cl (Andrade Marcelo) Date: Tue, 5 Apr 2005 09:47:14 -0400 Subject: Nagios And OWA Message-ID: Hi, Anyone know how I can monitor my owa server?? my server is NT 4.0 with owa for exchange 5.5 Regards ________________________________________ Se informa que el contenido de este mensaje, como tambi?n los archivos adjuntos, pueden ser de car?cter confidencial. Si usted no es el leg?timo destinatario de este mensaje, avise inmediatamente por este mismo medio, reenviando o respondiendo este mensaje al originador. Tambi?n proceda a borrar y/o destruir este mensaje y los archivos asociados al mismo, ya que cualquier distribuci?n, divulgaci?n o copia no autorizada de este mensaje y sus archivos asociados, est? sancionado por ley. Gracias ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at ksu.edu Tue Apr 5 16:38:25 2005 From: rob at ksu.edu (Rob Wirtz) Date: Tue, 5 Apr 2005 09:38:25 -0500 Subject: Nagios and Burglar Alarm System Message-ID: <200504051438.j35EcHpd027685@mail03.cc.ksu.edu> Can anyone point me to a site or location that has information on integrating Nagios with a standard burglar alarm system. I know Nagios is capable of monitoring environmental statistics with various hardware, and I would think monitoring alarm status (siren off/on) would be pretty simple. I'm unable to locate information on this topic though. Thanks! Rob Wirtz CNE, MCSE Senior Network Systems Analyst Computing and Network Services Kansas State University 2323 Anderson #146 Manhattan, KS 66502 785-532-3346 rob at ksu.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios_user at s1test1.it Tue Apr 5 17:07:29 2005 From: nagios_user at s1test1.it (nagios_user at s1test1.it) Date: Tue, 5 Apr 2005 17:07:29 +0200 Subject: CHECK_NRPE: Error... Message-ID: <1112713649.4252a9b1dc722@webmail.s1test1.it> Hello to all list! I want to issue an other problem... When I try to use check_nrpe with check_disk, I receive the following error: CHECK_NRPE: Error - Could not complete SSL handshake. My command is: ./check_nrpe -H myHost -c check_disk If I check on localhost using check_disk seem to run: ./check_disk -w 20% -c 10% -p /dev/hda[...] ...have you any ideas? May you help me? Thanks. Best regards Rodolfo Greco ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at aidworld.org Tue Apr 5 17:18:07 2005 From: chris at aidworld.org (Chris Wilson) Date: Tue, 05 Apr 2005 16:18:07 +0100 Subject: CHECK_NRPE: Error... In-Reply-To: <1112713649.4252a9b1dc722@webmail.s1test1.it> References: <1112713649.4252a9b1dc722@webmail.s1test1.it> Message-ID: <1112714287.31213.31.camel@localhost> Hi Rodolfo, > When I try to use check_nrpe with check_disk, I receive the following error: > > CHECK_NRPE: Error - Could not complete SSL handshake. Probably you haven't added the IP address of the host calling NRPE to the allowed_hosts list in nrpe.cfg. Cheers, Chris. -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mitch.lien at medtronic.com Tue Apr 5 17:33:44 2005 From: mitch.lien at medtronic.com (Lien, Mitch) Date: Tue, 5 Apr 2005 10:33:44 -0500 Subject: CHECK_NRPE: Error... Message-ID: Hi. When you compile the source nrpe application, you may want to use: configure --disable-ssl Hope this helps. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Chris Wilson Sent: Tuesday, April 05, 2005 10:18 AM To: nagios_user at s1test1.it Cc: Nagios Users Subject: Re: [Nagios-users] CHECK_NRPE: Error... Hi Rodolfo, > When I try to use check_nrpe with check_disk, I receive the following error: > > CHECK_NRPE: Error - Could not complete SSL handshake. Probably you haven't added the IP address of the host calling NRPE to the allowed_hosts list in nrpe.cfg. Cheers, Chris. -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Bergstroem at kunskapsskolan.se Tue Apr 5 17:36:40 2005 From: Sebastian.Bergstroem at kunskapsskolan.se (=?iso-8859-1?Q?Bergstr=F6m_Sebastian?=) Date: Tue, 5 Apr 2005 17:36:40 +0200 Subject: SV: Disable check-host-alive for certain hosts Message-ID: I have the check_command defined to check_ssh. As I understand, normal behaviour for Nagios is that if a Service does not respond - it tries to Ping it instead. When the host does not reply on SSH calls, Nagios tries to ping the host instead which results in a host down alert. How do I change this behaviour? Below are the service settings for my SSH checks. Any input is deeply appreciated. Best regards, Sebastian Bergstroem ---- checkcommands.cfg define command{ command_name check_ssh command_line $USER1$/check_ssh $HOSTADDRESS$ } ---- services.cfg define service{ name generic-service ; The 'name' of this se$ active_checks_enabled 1 ; Active service checks are ena$ passive_checks_enabled 1 ; Passive service checks are en$ parallelize_check 1 ; Active service checks should $ obsess_over_service 1 ; We should obsess over this se$ check_freshness 0 ; Default is to NOT check servi$ notifications_enabled 1 ; Service notifications are ena$ event_handler_enabled 1 ; Service event handler is enab$ flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information acr$ retain_nonstatus_information 1 ; Retain non-status information$ register 0 ; DONT REGISTER THIS DEFINITION$ } # NSClient service definition template define service{ use generic-service name nsclient-service check_period 24x7 max_check_attempts 3 normal_check_interval 10 retry_check_interval 1 contact_groups Operation notification_interval 30 notification_period 24x7 notification_options w,u,c,r register 0 ; DO NOT REGISTER, TEMPLATE! } define service{ use nsclient-service host_name fw01,fw02,fw03 service_description SSH check_command check_ssh } ---- -----Ursprungligt meddelande----- Fr?n: Mike Simkins [mailto:mike.simkins at gmail.com] Skickat: den 5 april 2005 10:27 Till: Bergstr?m Sebastian Kopia: nagios-users at lists.sourceforge.net ?mne: Re: [Nagios-users] Disable check-host-alive for certain hosts Change the check_command for the host to use an SSH check. You can use any check command to see if a host is alive, not just check-host-alive On Apr 4, 2005 12:25 PM, Bergstr?m Sebastian wrote: > We use Nagios v.1.2 and monitors some remote Firewalls (among others). The Firewalls does not reply on ICMP (which makes check-host-alive useless). Our current check implementation is to ensure that the SSH daemon runs on the Firewalls. When the SSH daemon does not respond for whatever reason, check-host-alive kicks in and that results in a Host down alert (since the Firewalls does not respond on ICMP). > > How can I force Nagios to only rely on the SSH service check? > > Any thoughts or ideas are deeply appreciated. > > Thanks in advance! > > Best regards, > Sebastian Bergstroem > > ---------------------------------------------- > Sebastian Bergstroem > Technical coordinator > Kunskapsskolan i Sverige AB > sebastian.bergstroem at kunskapsskolan.se > ----------------------------------------------- > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&opclick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jam at athene.jamux.com Tue Apr 5 17:52:31 2005 From: jam at athene.jamux.com (John A. Martin) Date: Tue, 05 Apr 2005 11:52:31 -0400 Subject: Help: nrpe: Unknown option specified in config file Message-ID: <87sm25p6f4.fsf@athene.jamux.com> I'm having trouble with my self written 'check_mmqage.sh' plugin which seems to work from the command line. I'm running nrpe version 2.0 using the Debian packages nagios-nrpe-server-2.0-7 and nagios-nrpe-plugin-2.0-7. When I restart the nrpe server I see the following. ,----[ Excerpts from daemon.log with nrpe server debuging on ] Apr 2 00:14:13 lists nrpe[15930]: Added command[check_users]=/usr/lib/nagios/plugins/check_users -w 5 -c 10 [[ ... ]] Apr 2 00:14:13 lists nrpe[15930]: Added command[check_mmctl]=/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -C mailmanctl Apr 2 00:14:13 lists nrpe[15930]: Unknown option specified in config file '/etc/nagios/nrpe_local.cfg' - Line 11 Apr 2 00:14:13 lists nrpe[15930]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Apr 2 00:14:13 lists nrpe[15931]: Starting up daemon Apr 2 00:14:13 lists nrpe[15931]: Listening for connections on port 5666 Apr 2 00:14:13 lists nrpe[15931]: Allowing connections from: 127.0.0.1,65.222.215.34 [[ ... ]] Apr 2 00:15:16 lists nrpe[15962]: Connection from 65.222.215.34 port 48800 [[ ... ]] Apr 2 00:15:16 lists nrpe[15960]: Host is asking for command 'check_mmctl' to be run... Apr 2 00:15:16 lists nrpe[15960]: Running command: /usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -C mailmanctl Apr 2 00:15:16 lists nrpe[15960]: Command completed with return code 0 and output: PROCS OK: 1 process with command name 'mailmanctl' Apr 2 00:15:16 lists nrpe[15960]: Return Code: 0, Output: PROCS OK: 1 process with command name 'mailmanctl' Apr 2 00:15:16 lists nrpe[15960]: Connection from 65.222.215.34 closed. [[ ... ]] Apr 2 00:16:16 lists nrpe[15974]: Connection from 65.222.215.34 port 52896 Apr 2 00:16:16 lists nrpe[15974]: Host address checks out ok Apr 2 00:16:16 lists nrpe[15974]: Handling the connection... Apr 2 00:16:16 lists nrpe[15974]: Host is asking for command 'check_mmqage' to be run... Apr 2 00:16:16 lists nrpe[15974]: NRPE: Command 'check_mmqage' not defined Apr 2 00:16:16 lists nrpe[15974]: Return Code: 2, Output: NRPE: Command 'check_mmqage' not defined Apr 2 00:16:16 lists nrpe[15974]: Connection from 65.222.215.34 closed. `---- ,----[ head -11 /etc/nagios/nrpe_local.cfg|tail -2 ] command[check_mmctl]=/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -C mailmanctl command{check_mmqage]=/usr/lib/nagios/plugins/check_mmqage.sh -w 300 -c 600 -d /var/lib/mailman/qfiles `---- ,----[ cat /etc/nagios-plugins/config/mailman.cfg ] # 'check_mmqage' command definition define command{ command_name check_mmqage command_line /usr/lib/nagios/plugins/check_mmqage.sh -w $ARG1$ -c $ARG2$ -d $ARG3$ } `---- On the nrpe client: ,----[ grep -A 1 -B 1 mmqage /etc/nagios/checkcommands.cfg ] define command{ command_name nrpe-check_mmqage command_line /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c check_mmqage } `---- On the nrpe server: ,----[ cat /usr/lib/nagios/plugins/check_mmqage.sh ] #!/bin/sh # Finds the age of the oldest Mailman queue file # Intended for Mailman 2.1.x # This nagios plugin come with ABSOLUTELY NO WARRANTY. You may redistribute # copies of the plugins under the terms of the GNU General Public License. # "Copyright (c) 2005 John A. Martin" # check_mmqfiles [-w ] [-c ] -t -d set -e PATH="" STAT="/usr/bin/stat" DATE="/bin/date" PROGNAME=`/usr/bin/basename $0` PROGPATH=`echo $0 | /bin/sed -e 's,[\\/][^\\/][^\\/]*$,,'` REVISION=`echo '$Revision: 0.0.1 $' | /bin/sed -e 's/[^0-9.]//g'` #. $PROGPATH/utils.sh STATE_OK=0 STATE_WARNING=1 STATE_CRITICAL=2 STATE_UNKNOWN=3 STATE_DEPENDENT=4 if test -x /usr/bin/printf; then ECHO=/usr/bin/printf else ECHO=echo fi print_revision() { echo "$1 (nagios-plugins 1.4) $2" $ECHO "The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\ncopies of the plugins under the terms of the GNU General Public License.\n" | /bin/sed -e 's/\n/ /g' } support() { $ECHO "This plugin can be used with Nagios but is not part of Nagios and is not\ndistributed with Nagios. This plugin has not been distributed to the public.\nIf you received this plugin directly from me and you have questions or\nsuggestions please mail me at . Please include version\ninformation with all correspondence (when possible, use output from the\n--version option of the plugin itself).\n" | /bin/sed -e 's/\n/ /g' } # END wattered down boilerplate fron Nagios utils.sh print_usage() { echo "Usage:" echo " $PROGNAME [-w ] [-c ] [-t ] -d " echo " $PROGNAME -h | --help" echo " $PROGNAME -v | --version" echo echo " Age of the oldest queue file must not exceed this many seconds" echo " check_mmqfiles will abort after this many seconds" echo " the directory containing only sub-directories containing" echo " only queue files. For Mailman 2.1.5 on Debian this is" echo " /var/lib/mailman/qfiles containing several subdirectories where" echo " the actual queue files live." } print_help() { print_revision $PROGNAME $REVISION echo "" print_usage echo "" echo "Mailman qfile age examiner plugin for Nagios" echo "" support } #defaults warn=9999999999 crit=9999999999 timeout=10 topd="" if [ $# -lt 1 ]; then print_usage exit $STATE_UNKNOWN fi while test -n "$1"; do case "$1" in -d) topd=$2 shift ;; -w) warn=$2 shift ;; -c) crit=$2 shift ;; -t) timeout=$2 shift ;; --help) print_help exit $STATE_OK ;; -h) print_help exit $STATE_OK ;; --version) print_revision $PROGNAME $VERSION exit $STATE_OK ;; -V) print_revision $PROGNAME $VERSION exit $STATE_OK ;; --filename) logfile=$2 shift ;; *) echo "Unknown argument: $1" print_usage exit $STATE_UNKNOWN ;; esac shift done if [ ! -d $topd ]; then $ECHO "Directory check error: Directory $topd does not exist!\n" exit $STATE_UNKNOWN elif [ ! -r $topd ] ; then $ECHO "Directory check error: Directory $topd is not readable!\n" exit $STATE_UNKNOWN fi subdir="" declare -i count=0 old=9999999999 mtime for d in $topd/*; do if [ -d $d ]; then for f in $d/*; do if [ -f $f ]; then mtime=$($STAT -c %Y $f) ((count++)) if [ $old -gt $mtime ]; then old=$mtime subdir=$d fi fi done fi done if [ $count -eq 0 ]; then $ECHO "OK - 0 queue files in $topd\n" exit $STATE_OK fi now=$($DATE +%s) age=$((now-old)) queuename=${subdir##*/} explain="- $count queue files, oldest $age secs old in the '$queuename' queue" if [ $age -le $warn ]; then $ECHO "OK $explain\n"; exit $STATE_OK; fi if [ $age -le $crit ]; then $ECHO "WARNING $explain\n"; exit $STATE_WARNING; fi $ECHO "CRITICAL $explain\n"; exit $STATE_CRITICAL; exit $STATE_UNKNOWN `---- Now, can you point me to what I am missing or to what I am doing wrong? jam -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 154 bytes Desc: not available URL: From mark.ahlstrom at managedmail.com Tue Apr 5 18:19:47 2005 From: mark.ahlstrom at managedmail.com (Mark Ahlstrom) Date: Tue, 05 Apr 2005 11:19:47 -0500 Subject: My final tweak to remove Latency.... Message-ID: <1112717987.22100.18.camel@mediis> Recently I was experiencing check latency on a specific network. I thought it was network related because I could get really good check latency on one network and then really crappy latency on another network -- with the same nagios configuration! So I built a couple of test programs to gauge the check times. I couldn't duplicate a network issue. My response times were showing me that the new network (where nagios was running slower) was faster and my old network (where nagios was running faster) was slower. So I hit the lists again. And I found this... > 30-03 19:15 by Scott Behrens, behrens(at)mcs.anl.gov > > So I had a latency problem a while back, and was unable to fix the > problem. I just recently set up a test environment with 50 bogus hosts > executing ping as a service and a hostcheck. It seems that when a host > is down the checks do not run parallel and run serial waiting until the > check times out. I had similar problems with this other setup which was > in production: > > I am getting roughly 3354 seconds of latency per check and I am not > sure > why. > Total services: 1812 > Total hosts: 175 > Metric Min. Max. Average > Check Execution Time: < 1 sec 6 sec 0.345 sec > Check Latency: 2967 sec 3859 sec 3748.046 sec > Percent State Change: 0.00% 0.00% 0.00% > My new Nagios server had an issue reaching a couple of hosts. So I removed them from the configuration. What was running an average latency of 236.0 seconds is now running at ... 0.740 seconds. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Tue Apr 5 19:37:19 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Tue, 05 Apr 2005 19:37:19 +0200 Subject: My final tweak to remove Latency.... In-Reply-To: <1112717987.22100.18.camel@mediis> References: <1112717987.22100.18.camel@mediis> Message-ID: <4252CCCF.5070601@its-lehmann.de> Hello. Mark Ahlstrom wrote: > My new Nagios server had an issue reaching a couple of hosts. So I > removed them from the configuration. What was running an average latency > of 236.0 seconds is now running at ... 0.740 seconds. Congratulations. You found something there. ;-P From the manual: Host Checks Unlike service checks, host checks are not scheduled on a regular basis. Instead they are run on demand, as Nagios sees a need. This is a common question asked by users, so it needs to be clarified. One instance where Nagios checks the status of a host is when a service check results in a non-OK status. Nagios checks the host to decide whether or not the host is up, down, or unreachable. If the first host check returns a non-OK state, Nagios will keep pounding out checks of the host until either (a) the maximum number of host checks (specified by the max_attempts option in the host definition) is reached or (b) a host check results in an OK state. Also of note - when Nagios is check the status of a host, it holds off on doing anything else (executing new service checks, processing other service check results, etc). This can slow things down a bit and cause pending service checks to be delayed for a while, but it is necessary to determine the status of the host before Nagios can take any further action on the service(s) that are having problems. Or, in short: Host checks are necessary when hosts or services fail, and while they run everything else is held. Arno -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From watersd at onid.oregonstate.edu Tue Apr 5 20:34:58 2005 From: watersd at onid.oregonstate.edu (Deedra Waters) Date: Tue, 5 Apr 2005 11:34:58 -0700 (PDT) Subject: small problems with upgrading from nagios 1x to nagios 2x (fwd) Message-ID: Hi all, I'm having some trouble trying to find docs/info on this particular issue. I've upgraded from nagios 1x to 2x, and everything seems to be working fine, accept for this: ( i've replaced hostname and ip with hostname and ip. ***** Nagios ***** Notification Type: PROBLEM Service: NRPE - Root partition check Host:HOSTNAME Address:IP State: CRITICAL Date/Time: $ Additional Info: $ I'm guessing that something is wrong with my notify-by-email command here, but I'm not seeing what the problem is. define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTNAME$:$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } Any help would be great appreciated. Thanks! -- Deedra Waters - Gentoo developer relations, accessibility and infrastructure - dmwaters at gentoo.org Gentoo linux: http://www.gentoo.org ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Tue Apr 5 20:51:45 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Tue, 05 Apr 2005 20:51:45 +0200 Subject: small problems with upgrading from nagios 1x to nagios 2x (fwd) In-Reply-To: References: Message-ID: <4252DE41.6000106@its-lehmann.de> Hi. Deedra Waters wrote: > Hi all, > > I'm having some trouble trying to find docs/info on this particular > issue. > > I've upgraded from nagios 1x to 2x, and everything seems to be working > fine, accept for this: ( i've replaced hostname and ip with hostname and > ip. > > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: NRPE - Root partition check > Host:HOSTNAME > Address:IP > State: CRITICAL This was discussed on the list in the last few weeks,iirc. The macros have changed. You find the valid names in the documentation on your nagios system. Arno > Date/Time: $ > > Additional Info: > > $ > > I'm guessing that something is wrong with my notify-by-email command > here, but I'm not seeing what the problem is. > > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" > | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTNAME$:$SERVICEDESC$ > is $SERVICESTATE$ **" $CONTACTEMAIL$ > } > > > Any help would be great appreciated. > > Thanks! > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From watersd at onid.oregonstate.edu Tue Apr 5 21:03:57 2005 From: watersd at onid.oregonstate.edu (Deedra Waters) Date: Tue, 5 Apr 2005 12:03:57 -0700 (PDT) Subject: small problems with upgrading from nagios 1x to nagios 2x Message-ID: I understand the macros have changed, but unless I've been reading the docs wrong, all of the ones in my notify-by-email command are the same, which is why I'm not understanding what the problem is. Since this is the only place where it's happening though, i suspect it's something about that command that's the issue. On Tue, 5 Apr 2005, Arno Lehmann wrote: > Date: Tue, 05 Apr 2005 20:51:45 +0200 > From: Arno Lehmann > To: Deedra Waters > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] small problems with upgrading from nagios 1x > to nagios 2x (fwd) > > Hi. > > Deedra Waters wrote: > > > Hi all, > > > > I'm having some trouble trying to find docs/info on this particular > > issue. > > > > I've upgraded from nagios 1x to 2x, and everything seems to be working > > fine, accept for this: ( i've replaced hostname and ip with hostname and > > ip. > > > > ***** Nagios ***** > > > > Notification Type: PROBLEM > > > > Service: NRPE - Root partition check > > Host:HOSTNAME > > Address:IP > > State: CRITICAL > > > This was discussed on the list in the last few weeks,iirc. > > The macros have changed. You find the valid names in the documentation > on your nagios system. > > Arno > > Date/Time: $ > > > > Additional Info: > > > > $ > > > > I'm guessing that something is wrong with my notify-by-email command > > here, but I'm not seeing what the problem is. > > > > define command{ > > command_name notify-by-email > > command_line /usr/bin/printf "%b" "***** Nagios > > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > > $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: > > $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" > > | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTNAME$:$SERVICEDESC$ > > is $SERVICESTATE$ **" $CONTACTEMAIL$ > > } > > > > > > Any help would be great appreciated. > > > > Thanks! > > > > -- Deedra Waters - Gentoo developer relations, accessibility and infrastructure - dmwaters at gentoo.org Gentoo linux: http://www.gentoo.org ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris.stankaitis at datawire.net Tue Apr 5 21:06:43 2005 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Tue, 05 Apr 2005 15:06:43 -0400 Subject: Sound Alerts and Nagios2.0b2 In-Reply-To: <4251A3A9.4090000@dragaera.net> References: <424D786C.9010307@datawire.net> <42514FCC.9030107@dragaera.net> <42515653.50101@datawire.net> <42515EBE.1000300@dragaera.net> <42519F08.80601@datawire.net> <4251A3A9.4090000@dragaera.net> Message-ID: <4252E1C3.50402@datawire.net> SSH company policy issues, complicate things with both my idea of the event handler and the other idea of embedding ssh command to a local box. but I do have a solution even if it's a kludge of one.. I am going to create a new e-mail user and add it as a contact, setup an e-mail program on one of our NOC boxes to pop that email each minute and play a different sound alert based on subject filters for the various Nagios alert subjects. that way all notification logic is respected, an alert will only be played if an e-mail is sent, as that e-mail is what triggers the alerts. --Chris Sean Dilda wrote: > Chris Stankaitis wrote: > >> >>> >>> >>> No, I wouldn't do it as an event handler. I'd do it as a contact. >>> I'd go into misccommands.cfg, create a command called >>> notify-by-email-and-sound, then I'd create a shell script on the >>> system that did the normal email notification and also played the >>> sound. Then I'd change my contact entry to use that as the >>> notification_command. >>> >>> In other words, I would use the existing notification setup in nagios >>> to play the sound. Then it can have different sounds for >>> acknowledgments, etc. >>> >>> >> >> That won't work, the nagios server that generates the e-mail and >> serves the web pages is located in a colo about 20 minutes away from >> the office, that will not help the NOC guys here in the office. > > > I fail to see how configuring an event handler to ssh to a local box and > play a sound will work, but writing a notification script to ssh to a > local box and play a sound will not work. You're writing essentially > the same script in both cases. Its just a question of how you're > hooking it into nagios. > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bestevez at gmail.com Tue Apr 5 21:13:11 2005 From: bestevez at gmail.com (Bernardo Estevez) Date: Tue, 5 Apr 2005 15:13:11 -0400 Subject: no contact_groups in hosts.cfg Message-ID: Hi: I just upgraded to version 2.0b3 from 1.1 and have the following question: Does anyone know how I can get by without specifying the contact_groups directive for a particular host in the hosts.cfg configuration file. I only want e-mail notificaitons for a set of hosts, the others I do not want to be paged about. I used to be able to do this easily when contact_groups resided in hostgroups.cfg. Thanks, -Bernardo ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Tue Apr 5 21:25:50 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Tue, 05 Apr 2005 21:25:50 +0200 Subject: small problems with upgrading from nagios 1x to nagios 2x In-Reply-To: References: Message-ID: <4252E63E.5010804@its-lehmann.de> Hello Deedra Waters wrote: > I understand the macros have changed, but unless I've been reading the > docs wrong, all of the ones in my notify-by-email command are the same, > which is why I'm not understanding what the problem is. Since this is > the only place where it's happening though, i suspect it's something > about that command that's the issue. In that case it might be helpful if you posted the command definitions - how else could anyone help you? Arno > On Tue, 5 Apr 2005, Arno Lehmann wrote: > > >>Date: Tue, 05 Apr 2005 20:51:45 +0200 >>From: Arno Lehmann >>To: Deedra Waters >>Cc: nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] small problems with upgrading from nagios 1x >> to nagios 2x (fwd) >> >>Hi. >> >>Deedra Waters wrote: >> >> >>>Hi all, >>> >>>I'm having some trouble trying to find docs/info on this particular >>>issue. >>> >>>I've upgraded from nagios 1x to 2x, and everything seems to be working >>>fine, accept for this: ( i've replaced hostname and ip with hostname and >>>ip. >>> >>>***** Nagios ***** >>> >>>Notification Type: PROBLEM >>> >>>Service: NRPE - Root partition check >>>Host:HOSTNAME >>>Address:IP >>>State: CRITICAL >> >> >>This was discussed on the list in the last few weeks,iirc. >> >>The macros have changed. You find the valid names in the documentation >>on your nagios system. >> >>Arno >> >>>Date/Time: $ >>> >>>Additional Info: >>> >>>$ >>> >>>I'm guessing that something is wrong with my notify-by-email command >>>here, but I'm not seeing what the problem is. >>> >>>define command{ >>> command_name notify-by-email >>> command_line /usr/bin/printf "%b" "***** Nagios >>>*****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: >>>$SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: >>>$SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" >>>| /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTNAME$:$SERVICEDESC$ >>>is $SERVICESTATE$ **" $CONTACTEMAIL$ >>> } >>> >>> >>>Any help would be great appreciated. >>> >>>Thanks! >>> >> >> > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bill_Akins at emoryhealthcare.org Tue Apr 5 21:26:11 2005 From: Bill_Akins at emoryhealthcare.org (Bill Akins) Date: Tue, 05 Apr 2005 15:26:11 -0400 Subject: small problems with upgrading from nagios 1x to nagios 2x Message-ID: Look closely. I'm pretty sure they are in the docs, but in case you can't find it... $DATETIME$ now = $SHORTDATETIME$ (or others, consult docs) $OUTPUT$ now = $SERVICEOUTPUT$ >>> Deedra Waters 4/5/2005 3:03 PM >>> I understand the macros have changed, but unless I've been reading the docs wrong, all of the ones in my notify-by-email command are the same, which is why I'm not understanding what the problem is. Since this is the only place where it's happening though, i suspect it's something about that command that's the issue. On Tue, 5 Apr 2005, Arno Lehmann wrote: > Date: Tue, 05 Apr 2005 20:51:45 +0200 > From: Arno Lehmann > To: Deedra Waters > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] small problems with upgrading from nagios 1x > to nagios 2x (fwd) > > Hi. > > Deedra Waters wrote: > > > Hi all, > > > > I'm having some trouble trying to find docs/info on this particular > > issue. > > > > I've upgraded from nagios 1x to 2x, and everything seems to be working > > fine, accept for this: ( i've replaced hostname and ip with hostname and > > ip. > > > > ***** Nagios ***** > > > > Notification Type: PROBLEM > > > > Service: NRPE - Root partition check > > Host:HOSTNAME > > Address:IP > > State: CRITICAL > > > This was discussed on the list in the last few weeks,iirc. > > The macros have changed. You find the valid names in the documentation > on your nagios system. > > Arno > > Date/Time: $ > > > > Additional Info: > > > > $ > > > > I'm guessing that something is wrong with my notify-by-email command > > here, but I'm not seeing what the problem is. > > > > define command{ > > command_name notify-by-email > > command_line /usr/bin/printf "%b" "***** Nagios > > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > > $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: > > $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" > > | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTNAME$:$SERVICEDESC$ > > is $SERVICESTATE$ **" $CONTACTEMAIL$ > > } > > > > > > Any help would be great appreciated. > > > > Thanks! > > > > -- Deedra Waters - Gentoo developer relations, accessibility and infrastructure - dmwaters at gentoo.org Gentoo linux: http://www.gentoo.org ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From al at its-lehmann.de Tue Apr 5 21:29:59 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Tue, 05 Apr 2005 21:29:59 +0200 Subject: no contact_groups in hosts.cfg In-Reply-To: References: Message-ID: <4252E737.80005@its-lehmann.de> Hello. Bernardo Estevez wrote: > Hi: > > I just upgraded to version 2.0b3 from 1.1 and have the following question: > > Does anyone know how I can get by without specifying the > contact_groups directive for a particular host in the hosts.cfg > configuration file. Just FYI: with 2.0 it's no longer important in which files you put your definitions, as long as they are referenced by the main config file. > I only want e-mail notificaitons for a set of hosts, the others I do > not want to be paged about. Several ideas: Use commands that don't do anything Use notification_periods that have no "active" times Use notification options that don't notify Arno > I used to be able to do this easily when contact_groups resided in > hostgroups.cfg. > > Thanks, > -Bernardo > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Tue Apr 5 22:10:12 2005 From: pla at softflare.com (Paul L. Allen) Date: Tue, 05 Apr 2005 21:10:12 +0100 Subject: Help: nrpe: Unknown option specified in config file In-Reply-To: <87sm25p6f4.fsf@athene.jamux.com> References: <87sm25p6f4.fsf@athene.jamux.com> Message-ID: <20050405201012.30787.qmail@mullet.softflare.net> John A. Martin writes: Assuming that you cut and paste rather than typing it, then check this line very, very closely. > command{check_mmqage]=/usr/lib/nagios/plugins/check_mmqage.sh -w 300 -c See it yet? If not, have another look. And keep looking until you see the reason why nrpe was reporting that the command check_mmqage was not defined. -- Paul Allen Softflare Support ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jelle_smet at skynet.be Wed Apr 6 00:34:49 2005 From: jelle_smet at skynet.be (Jelle Smet) Date: Tue, 05 Apr 2005 22:34:49 +0000 Subject: See services or hosts based on authentication Message-ID: <42531289.7020200@skynet.be> An HTML attachment was scrubbed... URL: From al at its-lehmann.de Tue Apr 5 22:54:28 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Tue, 05 Apr 2005 22:54:28 +0200 Subject: See services or hosts based on authentication In-Reply-To: <42531289.7020200@skynet.be> References: <42531289.7020200@skynet.be> Message-ID: <4252FB04.6070504@its-lehmann.de> Hello. Jelle Smet wrote: > Hi all, > > I want to be able to only show services and hosts based on login and > password. That's a good idea. > In other words, I want to grant users access to nagios so they can only > see their own services and hosts based upon their own login and password. Sounds very useful. I never tried this, but... > I think this isn't possible for the moment? Wrong. > Are there any tips tricks or advice?? Yup. Read the manual. Especially th sections where it talks about authentication with the web server and probably the comments in the supplied nagios.cfg file. For me, it was very informative. If you did and couldn't understand, I'm sure that the developers will gladly accept suggestions on how to improve the manual. Arno > > Thanks in advance! > > Jelle Smet > > > > > ------------------------------------------------------- SF email is > sponsored by - The IT Product Guide Read honest & candid reviews on > hundreds of IT Products from real users. Discover which products truly > live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ Nagios-users mailing > list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > include Nagios version, plugin version (-v) and OS when reporting any > issue. ::: Messages without supporting info will risk being sent to > /dev/null -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mitch.lien at medtronic.com Tue Apr 5 23:03:37 2005 From: mitch.lien at medtronic.com (Lien, Mitch) Date: Tue, 5 Apr 2005 16:03:37 -0500 Subject: CHECK_NRPE: Error... Message-ID: Hi Lei. I found the "--disable-ssl" by grepping the source code when I ran into the problem. Also, others had seen the issue (web search). I have seen the "CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages" message. I knew my checking syntax was good, but I still received the error message. The final solution was to run nrpe (on the client) as a daemon and keep it out of inetd. So, I have setup a /etc/rc2.d script to run it (shown below). root at server_stg1># more S97nagios #!/bin/sh # This simple script is used to startup the nrpe daemon during a system reboot. NRPE_BIN_PATH=/opt/nrpe/bin NRPE_ETC_PATH=/opt/nrpe/etc $NRPE_BIN_PATH/nrpe -c $NRPE_ETC_PATH/nrpe.cfg -d I hope this assists you. Thanks. Mitch -----Original Message----- From: Lei [mailto:chris_easy at hotmail.com] Sent: Tuesday, April 05, 2005 3:45 PM To: Lien, Mitch; nagios_user at s1test1.it Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] CHECK_NRPE: Error... Lien, Thank you for this message, it solved the same problem I got. I wonder how you found this "disable-ssl" option, it seems like there is no such kind of option in the nrpe README file. Also I got an error"CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages". Any idea how to solve this problem? Regards, Lei -----Original Message----- Subject: RE: [Nagios-users] CHECK_NRPE: Error... Date: Tue, 5 Apr 2005 10:33:44 -0500 From: "Lien, Mitch" To: "Chris Wilson" , Cc: "Nagios Users" Hi. When you compile the source nrpe application, you may want to use: configure --disable-ssl Hope this helps. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Chris Wilson Sent: Tuesday, April 05, 2005 10:18 AM To: nagios_user at s1test1.it Cc: Nagios Users Subject: Re: [Nagios-users] CHECK_NRPE: Error... Hi Rodolfo, > When I try to use check_nrpe with check_disk, I receive the following = error: >=20 > CHECK_NRPE: Error - Could not complete SSL handshake. Probably you haven't added the IP address of the host calling NRPE to the allowed_hosts list in nrpe.cfg. Cheers, Chris. --=20 (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when = reporting any issue.=20 ::: Messages without supporting info will risk being sent to /dev/null --__--__-- Message: 30 Subject: SV: [Nagios-users] Disable check-host-alive for certain hosts Date: Tue, 5 Apr 2005 17:36:40 +0200 From: =?iso-8859-1?Q?Bergstr=F6m_Sebastian?= To: "Mike Simkins" Cc: I have the check_command defined to check_ssh. As I understand, normal = behaviour for Nagios is that if a Service does not respond - it tries to = Ping it instead. When the host does not reply on SSH calls, Nagios tries = to ping the host instead which results in a host down alert. How do I change this behaviour? Below are the service settings for my SSH checks. Any input is deeply appreciated. Best regards, Sebastian Bergstroem ---- checkcommands.cfg define command{ command_name check_ssh command_line $USER1$/check_ssh $HOSTADDRESS$ } ---- services.cfg define service{ name generic-service ; The 'name' of = this se$ active_checks_enabled 1 ; Active service checks = are ena$ passive_checks_enabled 1 ; Passive service checks = are en$ parallelize_check 1 ; Active service checks = should $ obsess_over_service 1 ; We should obsess over = this se$ check_freshness 0 ; Default is to NOT = check servi$ notifications_enabled 1 ; Service notifications = are ena$ event_handler_enabled 1 ; Service event handler = is enab$ flap_detection_enabled 1 ; Flap detection is = enabled process_perf_data 1 ; Process performance = data retain_status_information 1 ; Retain status = information acr$ retain_nonstatus_information 1 ; Retain non-status = information$ register 0 ; DONT REGISTER THIS = DEFINITION$ } # NSClient service definition template define service{ use generic-service name nsclient-service check_period 24x7 max_check_attempts 3 normal_check_interval 10 retry_check_interval 1 contact_groups Operation notification_interval 30 notification_period 24x7 notification_options w,u,c,r register 0 ; DO NOT REGISTER, = TEMPLATE! } define service{ use nsclient-service host_name fw01,fw02,fw03 service_description SSH check_command check_ssh } ---- -----Ursprungligt meddelande----- Fr=E5n: Mike Simkins [mailto:mike.simkins at gmail.com] Skickat: den 5 april 2005 10:27 Till: Bergstr=F6m Sebastian Kopia: nagios-users at lists.sourceforge.net =C4mne: Re: [Nagios-users] Disable check-host-alive for certain hosts Change the check_command for the host to use an SSH check. You can use any check command to see if a host is alive, not just check-host-alive On Apr 4, 2005 12:25 PM, Bergstr=F6m Sebastian wrote: > We use Nagios v.1.2 and monitors some remote Firewalls (among others). = The Firewalls does not reply on ICMP (which makes check-host-alive = useless). Our current check implementation is to ensure that the SSH = daemon runs on the Firewalls. When the SSH daemon does not respond for = whatever reason, check-host-alive kicks in and that results in a Host = down alert (since the Firewalls does not respond on ICMP). >=20 > How can I force Nagios to only rely on the SSH service check? >=20 > Any thoughts or ideas are deeply appreciated. >=20 > Thanks in advance! >=20 > Best regards, > Sebastian Bergstroem >=20 > ---------------------------------------------- > Sebastian Bergstroem > Technical coordinator > Kunskapsskolan i Sverige AB > sebastian.bergstroem at kunskapsskolan.se > ----------------------------------------------- >=20 > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real = users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id=14396&opclick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when = reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jam at athene.jamux.com Tue Apr 5 23:17:17 2005 From: jam at athene.jamux.com (John A. Martin) Date: Tue, 05 Apr 2005 17:17:17 -0400 Subject: Help: nrpe: Unknown option specified in config file References: <87sm25p6f4.fsf@athene.jamux.com> <20050405201012.30787.qmail@mullet.softflare.net> Message-ID: <8764z0q5ya.fsf@athene.jamux.com> >>>>> "Paul" == Paul L Allen >>>>> "Re: Help: nrpe: Unknown option specified in config file" >>>>> Tue, 05 Apr 2005 21:10:12 +0100 Paul> John A. Martin writes: Assuming that you cut and paste Paul> rather than typing it, then check this line very, very Paul> closely. >> command{check_mmqage]=/usr/lib/nagios/plugins/check_mmqage.sh >> -w 300 -c Paul> See it yet? If not, have another look. And keep looking Paul> until you see the reason why nrpe was reporting that the Paul> command check_mmqage was not defined. Many thanks. I saw the opening brace only after trying to grep for the whole line! I had been looking for that for several days. It works now. Time to change type fonts, or get younger eyes. FWIW below is a cleaner copy of the plugin. What is the recommended way to implement a timeout in shell? ,----[ /usr/lib/nagios/plugins/check_mmqage.sh ] #!/bin/sh # Finds the age of the oldest Mailman queue file # Intended for Mailman 2.1.x # This nagios plugin come with ABSOLUTELY NO WARRANTY. You may redistribute # copies of the plugins under the terms of the GNU General Public License. # "Copyright (c) 2005 John A. Martin" # check_mmqfiles [-w ] [-c ] -t -d set -e PATH="" STAT="/usr/bin/stat" DATE="/bin/date" PROGNAME=`/usr/bin/basename $0` PROGPATH=`echo $0 | /bin/sed -e 's,[\\/][^\\/][^\\/]*$,,'` REVISION=`echo '$Revision: 0.0.1 $' | /bin/sed -e 's/[^0-9.]//g'` #. $PROGPATH/utils.sh STATE_OK=0 STATE_WARNING=1 STATE_CRITICAL=2 STATE_UNKNOWN=3 STATE_DEPENDENT=4 if test -x /usr/bin/printf; then ECHO=/usr/bin/printf else ECHO=echo fi print_revision() { echo "$1 (nagios-plugins 1.4) $2" $ECHO "The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\ncopies of the plugins under the terms of the GNU General Public License.\n" | /bin/sed -e 's/\n/ /g' } support() { $ECHO "This plugin can be used with Nagios but is not part of Nagios and is not\ndistributed with Nagios. This plugin has not been distributed to the public.\nIf you received this plugin directly from me and you have questions or\nsuggestions please mail me at . Please include version\ninformation with all correspondence (when possible, use output from the\n--version option of the plugin itself).\n" | /bin/sed -e 's/\n/ /g' } # END wattered down boilerplate fron Nagios utils.sh print_usage() { echo "Usage:" echo " $PROGNAME [-w ] [-c ] [-t ] -d " echo " $PROGNAME -h | --help" echo " $PROGNAME -v | --version" echo echo " Age of the oldest queue file must not exceed this many seconds" echo " check_mmqfiles will abort after this many seconds" echo " the directory containing only sub-directories containing" echo " only queue files. For Mailman 2.1.5 on Debian this is" echo " /var/lib/mailman/qfiles containing several subdirectories where" echo " the actual queue files live." } print_help() { print_revision $PROGNAME $REVISION echo "" print_usage echo "" echo "Mailman qfile age examiner plugin for Nagios" echo "" support } #defaults warn=9999999999 crit=9999999999 timeout=10 topd="" if [ $# -lt 1 ]; then print_usage exit $STATE_UNKNOWN fi while test -n "$1"; do case "$1" in -d) topd=$2 shift ;; -w) warn=$2 shift ;; -c) crit=$2 shift ;; -t) timeout=$2 shift ;; --help) print_help exit $STATE_OK ;; -h) print_help exit $STATE_OK ;; --version) print_revision $PROGNAME $VERSION exit $STATE_OK ;; -V) print_revision $PROGNAME $VERSION exit $STATE_OK ;; *) echo "Unknown argument: $1" print_usage exit $STATE_UNKNOWN ;; esac shift done if [ ! -d $topd ]; then $ECHO "Directory check error: Directory $topd does not exist!\n" exit $STATE_UNKNOWN elif [ ! -r $topd ] ; then $ECHO "Directory check error: Directory $topd is not readable!\n" exit $STATE_UNKNOWN fi subdir="" declare -i count=0 old=9999999999 mtime for d in $topd/*; do if [ -d $d ]; then for f in $d/*; do if [ -f $f ]; then mtime=$($STAT -c %Y $f) ((count++)) if [ $old -gt $mtime ]; then old=$mtime subdir=$d fi fi done fi done if [ $count -eq 0 ]; then $ECHO "OK - 0 queue files in $topd\n" exit $STATE_OK fi now=$($DATE +%s) age=$((now-old)) queuename=${subdir##*/} explain="- $count queue files, oldest $age secs old in the '$queuename' queue" if [ $age -le $warn ]; then $ECHO "OK $explain\n"; exit $STATE_OK; fi if [ $age -le $crit ]; then $ECHO "WARNING $explain\n"; exit $STATE_WARNING; fi $ECHO "CRITICAL $explain\n"; exit $STATE_CRITICAL; exit $STATE_UNKNOWN `---- jam -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 154 bytes Desc: not available URL: From dhall at vermeermfg.com Tue Apr 5 23:34:41 2005 From: dhall at vermeermfg.com (Dave Hall) Date: Tue, 5 Apr 2005 16:34:41 -0500 Subject: have to kill nagios 2x to kill it. Message-ID: <010a01c53a27$46839050$040410ac@vermeermfg.com> We are playing with the new nagios2. We have tried nagios2.0b2 and nagios2.0b3 on Sun Solaris 10, using plugins version 1.4 and are having the same problem, even after we try to stop the process, it is still running. To kill the nagios process we have to issue a second 'kill '. So far to stop the process using the nagios script, I have added a second line to the stop section. This kludge fixes the init file, but does not fix the web interface. Either way we try to stop nagios, we find 'caught SIGTERM, stutting down' in the nagios log and the web interface becomes disfunctional. I have been able to replicate this same scenario on Solaris 9 using Nagios 2.0bx. Any ideas? Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From drewk at bvrmc.org Tue Apr 5 23:42:33 2005 From: drewk at bvrmc.org (Drew Kollasch) Date: Tue, 5 Apr 2005 16:42:33 -0500 Subject: have to kill nagios 2x to kill it. Message-ID: <82A6470379751941BB7813ED375731EE34B04E@bvexch.bvrmc.org> I have been seeing the same issue on my gentoo Linux server w/ nagios 2.0b2. I just added the line 'pkill nagios && ps -e | grep nagios' to the init script, to ensure that its dead, but would think that this is an issue... ------------------------------------------------------- Drew Kollasch Network/Desktop Technician kollasch.drew at bvrmc.org 712-213-8668 Buena Vista Regional Medical Center 1525 W 5th St Storm Lake, IA 50588 ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Dave Hall Sent: Tuesday, April 05, 2005 4:35 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] have to kill nagios 2x to kill it. We are playing with the new nagios2. We have tried nagios2.0b2 and nagios2.0b3 on Sun Solaris 10, using plugins version 1.4 and are having the same problem, even after we try to stop the process, it is still running. To kill the nagios process we have to issue a second 'kill '. So far to stop the process using the nagios script, I have added a second line to the stop section. This kludge fixes the init file, but does not fix the web interface. Either way we try to stop nagios, we find 'caught SIGTERM, stutting down' in the nagios log and the web interface becomes disfunctional. I have been able to replicate this same scenario on Solaris 9 using Nagios 2.0bx. Any ideas? Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jelle_smet at skynet.be Tue Apr 5 23:49:36 2005 From: Jelle_smet at skynet.be (Jelle Smet) Date: Tue, 05 Apr 2005 23:49:36 +0200 Subject: See services or hosts based on authentication In-Reply-To: <4252FB04.6070504@its-lehmann.de> References: <42531289.7020200@skynet.be> <4252FB04.6070504@its-lehmann.de> Message-ID: <425307F0.9050100@skynet.be> Thanks for being sarcastic. I have found what I want. Greetings Jelle Arno Lehmann wrote: > Hello. > > Jelle Smet wrote: > >> Hi all, >> >> I want to be able to only show services and hosts based on login and >> password. > > > That's a good idea. > >> In other words, I want to grant users access to nagios so they can >> only see their own services and hosts based upon their own login and >> password. > > > Sounds very useful. I never tried this, but... > >> I think this isn't possible for the moment? > > > Wrong. > >> Are there any tips tricks or advice?? > > > Yup. > > Read the manual. > Especially th sections where it talks about authentication with the > web server and probably the comments in the supplied nagios.cfg file. > For me, it was very informative. > > If you did and couldn't understand, I'm sure that the developers will > gladly accept suggestions on how to improve the manual. > > Arno > >> >> Thanks in advance! >> >> Jelle Smet >> >> >> >> >> ------------------------------------------------------- SF email is >> sponsored by - The IT Product Guide Read honest & candid reviews on >> hundreds of IT Products from real users. Discover which products >> truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >> _______________________________________________ Nagios-users mailing >> list Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please >> include Nagios version, plugin version (-v) and OS when reporting any >> issue. ::: Messages without supporting info will risk being sent to >> /dev/null > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Tue Apr 5 23:53:56 2005 From: boinger at tradingtechnologies.com (jeff vier) Date: Tue, 05 Apr 2005 16:53:56 -0500 Subject: have to kill nagios 2x to kill it. In-Reply-To: <82A6470379751941BB7813ED375731EE34B04E@bvexch.bvrmc.org> References: <82A6470379751941BB7813ED375731EE34B04E@bvexch.bvrmc.org> Message-ID: <1112738037.27372.13.camel@localhost> On Tue, 2005-04-05 at 16:42 -0500, Drew Kollasch wrote: > I have been seeing the same issue on my gentoo Linux server w/ nagios > 2.0b2. I just added the line 'pkill nagios && ps -e | grep nagios' to > the init script, to ensure that its dead, but would think that this is > an issue... I found that nagios will *eventually* die over 95% or so of the time. in my restart case, I put: while [ $(pgrep -s $NAGPID | wc -l) -gt 1 ]; do sleep 1 echo -n "." done between the 'stop' and 'start'. it hangs permanently (meaning, it waits more than, say, a minute) very very rarely. now that I'm looking at it, I should probably move that to the 'stop' case, then I get the benefit on a 'stop' as well as a 'restart'. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mjh+nagios at itys.net Wed Apr 6 00:17:25 2005 From: mjh+nagios at itys.net (Matthew J. Harmon) Date: Tue, 5 Apr 2005 17:17:25 -0500 (CDT) Subject: "Monitoring process may not be running" Message-ID: It appears as if Nagios (debian nagios-pgsql) is up and running fine[0], postgres db calls on a regular basis, process is fine, disk space is fine (per FAQ) but not getting any results: Nagios check command did not return any output Any recommendations on where to continue my troubleshooting? Thx. -Matthew 0. nagios 10398 0.0 0.3 4604 1724 ? SNs 16:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg postgres 10399 0.0 0.7 18180 3752 pts/5 S 16:05 0:00 postgres: nagios nagios 127.0.0.1 idle root 10461 0.0 0.1 2340 620 pts/1 S+ 16:08 0:00 tail -f /var/log/nagios/nagios.log [...] root at alfa:/etc/nagios# /usr/lib/nagios/plugins/check_nagios_db Nagios OK: located 1 processes, program status updated 14 seconds ago ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mjh+nagios at itys.net Wed Apr 6 00:32:18 2005 From: mjh+nagios at itys.net (Matthew J. Harmon) Date: Tue, 5 Apr 2005 17:32:18 -0500 (CDT) Subject: (Fixed) Re: "Monitoring process may not be running" In-Reply-To: References: Message-ID: Ok, so I became dishearted too quickly, even though it was listed under another header, the answer exists at: http://www.nagios.org/faqs/viewfaq.php?faq_id=131&expand=false&showdesc=false *and* http://article.gmane.org/gmane.network.nagios.user/28116/match=+monitoring+process+running The magic line is: nagios_check_command=/usr/bin/perl /usr/lib/nagios/plugins/check_nagios_db To anyone writing a "Why didn't you RTFM!?" flame back you are welcome to recycle those bits. Thanks :) -Matthew On Tue, 5 Apr 2005, Matthew J. Harmon wrote: It appears as if Nagios (debian nagios-pgsql) is up and running fine[0], postgres db calls on a regular basis, process is fine, disk space is fine (per FAQ) but not getting any results: Nagios check command did not return any output Any recommendations on where to continue my troubleshooting? Thx. -Matthew 0. nagios 10398 0.0 0.3 4604 1724 ? SNs 16:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg postgres 10399 0.0 0.7 18180 3752 pts/5 S 16:05 0:00 postgres: nagios nagios 127.0.0.1 idle root 10461 0.0 0.1 2340 620 pts/1 S+ 16:08 0:00 tail -f /var/log/nagios/nagios.log [...] root at alfa:/etc/nagios# /usr/lib/nagios/plugins/check_nagios_db Nagios OK: located 1 processes, program status updated 14 seconds ago ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Wed Apr 6 01:51:17 2005 From: pla at softflare.com (Paul L. Allen) Date: Wed, 06 Apr 2005 00:51:17 +0100 Subject: Help: nrpe: Unknown option specified in config file In-Reply-To: <8764z0q5ya.fsf@athene.jamux.com> References: <87sm25p6f4.fsf@athene.jamux.com> <20050405201012.30787.qmail@mullet.softflare.net> <8764z0q5ya.fsf@athene.jamux.com> Message-ID: <20050405235117.31907.qmail@mullet.softflare.net> John A. Martin writes: > Many thanks. I saw the opening brace only after trying to grep for > the whole line! I had been looking for that for several days. It > works now. Time to change type fonts, That helps. > or get younger eyes. That helps too. Also useful is first looking at what the error messages report. Yeah, I know, 90% of the time error messages are incorrect because the program has been thrown out of kilter by an earlier error it didn't report, but sometimes the error messages are correct. In this case the error message was correct. Another trick is to get somebody else in your organization to look it over - somebody without your preconceptions about what is and isn't there is likely to spot it in seconds (which is what I did - I looked at the log message, looked at the command definition and saw the problem immediately). > What is the recommended way to implement a timeout in shell? Rewrite the shell script in perl. :) -- Paul Allen Softflare Support ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From strombrg at dcs.nac.uci.edu Wed Apr 6 02:03:25 2005 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Tue, 05 Apr 2005 17:03:25 -0700 Subject: Help: nrpe: Unknown option specified in config file In-Reply-To: <20050405235117.31907.qmail@mullet.softflare.net> References: <87sm25p6f4.fsf@athene.jamux.com> <20050405201012.30787.qmail@mullet.softflare.net> <8764z0q5ya.fsf@athene.jamux.com> <20050405235117.31907.qmail@mullet.softflare.net> Message-ID: <1112745805.7692.55.camel@seki.nac.uci.edu> On Wed, 2005-04-06 at 00:51 +0100, Paul L. Allen wrote: > John A. Martin writes: > > > Many thanks. I saw the opening brace only after trying to grep for > > the whole line! I had been looking for that for several days. It > > works now. Time to change type fonts, > > That helps. > > > or get younger eyes. > > That helps too. Also useful is first looking at what the error messages > report. Yeah, I know, 90% of the time error messages are incorrect > because the program has been thrown out of kilter by an earlier error it > didn't report, but sometimes the error messages are correct. In this case > the error message was correct. Another trick is to get somebody else in > your organization to look it over - somebody without your preconceptions > about what is and isn't there is likely to spot it in seconds (which is > what I did - I looked at the log message, looked at the command definition > and saw the problem immediately). > > > What is the recommended way to implement a timeout in shell? > > Rewrite the shell script in perl. :) perl kinda smells bad. If you want a practical language with a rational syntax, go for python. http://programming.newsforge.com/article.pl?sid=05/03/29/0747230 It's good enough for Redhat, Xerox Park, Google, and many more. But if you want to just get something going quickly, then try my maxtime program: http://dcs.nac.uci.edu/~strombrg/software/ It does network (and other forms of) timeouts from shell just fine, thank you very much. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From pla at softflare.com Wed Apr 6 02:34:17 2005 From: pla at softflare.com (Paul L. Allen) Date: Wed, 06 Apr 2005 01:34:17 +0100 Subject: Help: nrpe: Unknown option specified in config file In-Reply-To: <1112745805.7692.55.camel@seki.nac.uci.edu> References: <87sm25p6f4.fsf@athene.jamux.com> <20050405201012.30787.qmail@mullet.softflare.net> <8764z0q5ya.fsf@athene.jamux.com> <20050405235117.31907.qmail@mullet.softflare.net> <1112745805.7692.55.camel@seki.nac.uci.edu> Message-ID: <20050406003417.16686.qmail@mullet.softflare.net> Dan Stromberg writes: > On Wed, 2005-04-06 at 00:51 +0100, Paul L. Allen wrote: >> Rewrite the shell script in perl. :) > > perl kinda smells bad. Rewrite the shell script in perl or python or ruby or rexx or C or C++ or whatever else you're familiar with that has the features you need (which is why I didn't mention Java) and doesn't impose a significant overhead (which is why I didn't mention Java). I like the way perl smells. It smells of camel toes. :) -- Paul Allen Softflare Support ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Groesche at neo-partners.com Wed Apr 6 08:58:35 2005 From: Sebastian.Groesche at neo-partners.com (=?iso-8859-1?Q?Sebastian_Gr=F6sche?=) Date: Wed, 6 Apr 2005 08:58:35 +0200 Subject: WG: Missing cgi-files and where is the mail-notification plugin Message-ID: Hi, thx for reading. 2. Problem: The files (statusmap.cgi, trends.cgi, histogram.cgi) don't exists, that's the problem. All other CGI's can be opened via Web. Am I right when I think that all Binarys are stored in the folder /etc ? I think this because every opened cgi file is stored there. 3. Problem: Shure, everything is configured, I have configured that in case of an error the command call_admin should be used, but what must stand in the command_line ? Please help me, when I produce an error I see that the command is opened but I don't know how to say that he should send an email. Greets Sebastian Gr?sche -----Urspr?ngliche Nachricht----- Von: Aaron Carr [mailto:aaronhcarr at gmail.com] Gesendet: Freitag, 1. April 2005 22:09 An: nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] Missing cgi-files and where is the mail-notification plugin > 2. Problem > Several Links (Status Map, Trends, Alert Histogram) have no target (the CGI-Files not exists). Is it possible to compile them again or download them? Where can I get them. Your Apache configuration is probably off. Have you verified that the files are actually present on the filesystem and that the correct path has been given to Apache? > 3. Problem > I searched everything, I read in the manual for hours, checked google, the nagios-homepage but I never found a Tutorial how I could enable the email notification, am I just blind or is there really nothing about it? > The email should be send (when it's configured) over the internal mail server from our company and go to several contacts. That's the most important thing I'm working on. > Have you configured contacts, contact groups, hosts and services? Have you configured the notification methods and time periods for the contacts? Is this a mail server issue? (II know that my previous company had to explicitly allow servers to relay mail. Your mail may be getting silently rejected by the upstream MTA. > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/Info/Sentarus/hamr30 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 6 10:16:13 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 06 Apr 2005 10:16:13 +0200 Subject: Nagios and Burglar Alarm System In-Reply-To: <200504051438.j35EcHpd027685@mail03.cc.ksu.edu> References: <200504051438.j35EcHpd027685@mail03.cc.ksu.edu> Message-ID: <42539ACD.5080800@op5.se> Rob Wirtz wrote: > Can anyone point me to a site or location that has information on > integrating Nagios with a standard burglar alarm system. I know Nagios is > capable of monitoring environmental statistics with various hardware, and I > would think monitoring alarm status (siren off/on) would be pretty simple. > I'm unable to locate information on this topic though. > There's some company (can't remember the name) that has a product called ADAM (Advanced Data Aquisition Module) that can monitor electric currents in wires, but only if you patch the cable to the siren through it. This might reduce security of the alarm though, so you're probably better off with a decibel-meter or sound-detector. Those too can most likely be plugged in to the ADAM module. I've got a plugin for the adam stuff, but it's closed source (company time sort of thing) and would most likely need an update. Let me know if you're interested and I'm sure we can arrange something cheap. > > > Thanks! > > > > Rob Wirtz CNE, MCSE > > Senior Network Systems Analyst > > Computing and Network Services > > Kansas State University > > 2323 Anderson #146 > > Manhattan, KS 66502 > > 785-532-3346 > > rob at ksu.edu > > > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 6 10:32:55 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 06 Apr 2005 10:32:55 +0200 Subject: have to kill nagios 2x to kill it. In-Reply-To: <1112738037.27372.13.camel@localhost> References: <82A6470379751941BB7813ED375731EE34B04E@bvexch.bvrmc.org> <1112738037.27372.13.camel@localhost> Message-ID: <42539EB7.5090307@op5.se> This issue has to do with threads being stuck in uninterruptable IO (waiting for input from IPC pipes). The proper way to handle it is to do something like this send_term_to_nagios seconds=0 while [ nagios_still_running ]; do seconds=$((seconds+1)) [ $seconds -ge 10 ] && break done [ $seconds -ge 10 ] && send_kill_to_nagios jeff vier wrote: > On Tue, 2005-04-05 at 16:42 -0500, Drew Kollasch wrote: > >>I have been seeing the same issue on my gentoo Linux server w/ nagios >>2.0b2. I just added the line 'pkill nagios && ps -e | grep nagios' to >>the init script, to ensure that its dead, but would think that this is >>an issue... > > > I found that nagios will *eventually* die over 95% or so of the time. > > in my restart case, I put: > > while [ $(pgrep -s $NAGPID | wc -l) -gt 1 ]; do > sleep 1 > echo -n "." > done > > between the 'stop' and 'start'. it hangs permanently (meaning, it waits > more than, say, a minute) very very rarely. > > now that I'm looking at it, I should probably move that to the 'stop' > case, then I get the benefit on a 'stop' as well as a 'restart'. > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 6 10:37:32 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 06 Apr 2005 10:37:32 +0200 Subject: WG: Missing cgi-files and where is the mail-notification plugin In-Reply-To: References: Message-ID: <42539FCC.5020509@op5.se> Sebastian Gr?sche wrote: > Hi, thx for reading. > > 2. Problem: The files (statusmap.cgi, trends.cgi, histogram.cgi) > don't exists, You didn't have boutell's GD library and headerfiles installed during compile-time. > that's the problem. All other CGI's can be opened via > Web. Am I right when I think that all Binarys are stored in the > folder /etc ? No. /etc is unix-standard for configuration files. > I think this because every opened cgi file is stored > there. > You've made some seriously non-standard ./configuration run then, and you've most likely done it in a fairly dangerous way (if you actually mean /etc as opposed to /usr/local/nagios/etc). > 3. Problem: Shure, everything is configured, I have configured that > in case of an error the command call_admin should be used, but what > must stand in the command_line ? Please help me, when I produce an > error I see that the command is opened but I don't know how to say > that he should send an email. > You'd better get some help from a unix admin. You seem to have several really trivial problems and you don't know where to start. I suggest you pay someone to take care of everything for you. Helping you get everything up and running would simply take too long when you don't have a basic understanding of the underlying operating system. > Greets Sebastian Gr?sche -----Urspr?ngliche Nachricht----- Von: Aaron > Carr [mailto:aaronhcarr at gmail.com] Gesendet: Freitag, 1. April 2005 > 22:09 An: nagios-users at lists.sourceforge.net Betreff: Re: > [Nagios-users] Missing cgi-files and where is the mail-notification > plugin > > >> 2. Problem Several Links (Status Map, Trends, Alert Histogram) have >> no target (the CGI-Files not exists). Is it possible to compile >> them again or download them? Where can I get them. > > > > Your Apache configuration is probably off. Have you verified that > the files are actually present on the filesystem and that the correct > path has been given to Apache? > > > >> 3. Problem I searched everything, I read in the manual for hours, >> checked google, the nagios-homepage but I never found a Tutorial >> how I could enable the email notification, am I just blind or is >> there really nothing about it? The email should be send (when it's >> configured) over the internal mail server from our company and go >> to several contacts. That's the most important thing I'm working >> on. >> > > Have you configured contacts, contact groups, hosts and services? > > Have you configured the notification methods and time periods for the > contacts? > > Is this a mail server issue? (II know that my previous company had > to explicitly allow servers to relay mail. Your mail may be getting > silently rejected by the upstream MTA. > > >> ------------------------------------------------------- This SF.net >> email is sponsored by Demarc: A global provider of Threat >> Management Solutions. Download our HomeAdmin security software for >> free today! http://www.demarc.com/Info/Sentarus/hamr30 >> _______________________________________________ Nagios-users >> mailing list Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users ::: >> Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null >> > > > > ------------------------------------------------------- SF email is > sponsored by - The IT Product Guide Read honest & candid reviews on > hundreds of IT Products from real users. Discover which products > truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ Nagios-users mailing > list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > include Nagios version, plugin version (-v) and OS when reporting any > issue. ::: Messages without supporting info will risk being sent to > /dev/null > > > ------------------------------------------------------- SF email is > sponsored by - The IT Product Guide Read honest & candid reviews on > hundreds of IT Products from real users. Discover which products > truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick > _______________________________________________ Nagios-users mailing > list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > include Nagios version, plugin version (-v) and OS when reporting any > issue. ::: Messages without supporting info will risk being sent to > /dev/null > > > ------------------------------------------------------- SF email is > sponsored by - The IT Product Guide Read honest & candid reviews on > hundreds of IT Products from real users. Discover which products > truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=click > _______________________________________________ Nagios-users mailing > list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > include Nagios version, plugin version (-v) and OS when reporting any > issue. ::: Messages without supporting info will risk being sent to > /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From francois.vanderpoorte at banksys.be Wed Apr 6 11:26:56 2005 From: francois.vanderpoorte at banksys.be (francois.vanderpoorte at banksys.be) Date: Wed, 6 Apr 2005 11:26:56 +0200 Subject: (no subject) Message-ID: Hello, I am experiencing a problem with nagios, all the monitoring seems ok, but when my boss asked me an availability report, the uptime is not correct at all : The script tells me that the host was 100% up in the stats and give me the two systems crashes in the logs could you please help me ?? State Type / Reason Time % Total Time % Known Time UP Unscheduled 7d 0h 0m 0s 100.000% 100.000% Scheduled 0d 0h 0m 0s 0.000% 0.000% Total 7d 0h 0m 0s 100.000% 100.000% DOWN Unscheduled 0d 0h 0m 0s 0.000% 0.000% Scheduled 0d 0h 0m 0s 0.000% 0.000% Total 0d 0h 0m 0s 0.000% 0.000% UNREACHABLE Unscheduled 0d 0h 0m 0s 0.000% 0.000% Scheduled 0d 0h 0m 0s 0.000% 0.000% Total 0d 0h 0m 0s 0.000% 0.000% Undetermined Nagios Not Running 0d 0h 0m 0s 0.000% Insufficient Data 0d 0h 0m 0s 0.000% Total 0d 0h 0m 0s 0.000% All Total 7d 0h 0m 0s 100.000% 100.000% State Breakdowns For Host Services: Service % Time OK % Time Warning % Time Unknown % Time Critical % Time Undetermined CHECK_TELNET 100.000% (100.000%) 0.000% (0.000%) 0.000% (0.000%) 0.000% (0.000%) 0.000% dummy check 100.000% (100.000%) 0.000% (0.000%) 0.000% (0.000%) 0.000% (0.000%) 0.000% Average 100.000% (100.000%) 0.000% (0.000%) 0.000% (0.000%) 0.000% (0.000%) 0.000% Host Log Entries: [ View full log entries ] Event Start Time Event End Time Event Duration Event/State Type Event/State Information 02-16-2005 17:30:15 02-16-2005 17:34:16 0d 0h 4m 1s HOST UP (HARD) 02-16-2005 17:34:16 02-16-2005 17:34:27 0d 0h 0m 11s HOST UP (HARD) 02-16-2005 17:48:33 02-16-2005 17:50:58 0d 0h 2m 25s HOST UP (HARD) 02-16-2005 17:50:58 02-16-2005 17:52:53 0d 0h 1m 55s HOST UP (HARD) 02-16-2005 17:52:53 02-16-2005 17:54:49 0d 0h 1m 56s HOST UP (HARD) 02-16-2005 17:57:50 02-16-2005 18:15:39 0d 0h 17m 49s HOST UP (HARD) 02-16-2005 18:15:39 02-16-2005 18:22:31 0d 0h 6m 52s HOST UP (HARD) 02-16-2005 18:22:32 02-16-2005 18:24:36 0d 0h 2m 4s HOST UP (HARD) 02-16-2005 18:24:36 02-16-2005 18:25:37 0d 0h 1m 1s HOST UP (HARD) 02-16-2005 18:25:37 02-17-2005 10:57:25 0d 16h 31m 48s HOST UP (HARD) 02-17-2005 11:30:16 02-17-2005 12:42:55 0d 1h 12m 39s HOST UP (HARD) 02-17-2005 12:43:36 02-18-2005 11:41:43 0d 22h 58m 7s HOST UP (HARD) PING OK - Packet loss = 0%, RTA = 0.00 ms 02-18-2005 11:41:44 02-18-2005 14:26:35 0d 2h 44m 51s HOST UP (HARD) PING OK - Packet loss = 0%, RTA = 0.00 ms 02-18-2005 14:26:39 02-18-2005 14:27:13 0d 0h 0m 34s HOST UP (HARD) PING OK - Packet loss = 0%, RTA = 0.00 ms 02-18-2005 14:27:13 02-18-2005 14:27:45 0d 0h 0m 32s HOST UP (HARD) PING OK - Packet loss = 0%, RTA = 0.00 ms 02-18-2005 14:27:45 02-18-2005 14:29:12 0d 0h 1m 27s HOST UP (HARD) PING OK - Packet loss = 0%, RTA = 0.00 ms 02-18-2005 15:11:48 02-18-2005 16:34:01 0d 1h 22m 13s HOST UP (HARD) PING OK - Packet loss = 0%, RTA = 0.00 ms 02-18-2005 16:34:05 02-18-2005 16:54:37 0d 0h 20m 32s HOST UP (HARD) PING OK - Packet loss = 0%, RTA = 0.00 ms 02-18-2005 16:56:09 02-18-2005 17:04:07 0d 0h 7m 58s HOST UP (HARD) PING OK - Packet loss = 0%, RTA = 0.00 ms 02-18-2005 17:04:08 03-03-2005 14:10:10 12d 21h 6m 2s HOST UP (HARD) PING OK - Packet loss = 0%, RTA = 0.00 ms 03-03-2005 14:10:10 03-03-2005 14:46:56 0d 0h 36m 46s HOST DOWN (HARD) CRITICAL - Plugin timed out after 10 seconds 03-03-2005 14:46:56 03-13-2005 12:39:33 9d 21h 52m 37s HOST UP (HARD) PING OK - Packet loss = 0%, RTA = 1.00 ms 03-13-2005 12:39:33 03-13-2005 16:01:17 0d 3h 21m 44s HOST DOWN (HARD) CRITICAL - Plugin timed out after 10 seconds 03-13-2005 16:01:17 04-06-2005 10:31:11 23d 17h 29m 54s HOST UP (HARD) PING OK - Packet loss = 0%, RTA = 0.00 ms Francois Vanderpoorte Unix system engineer Banksys IT/SE Tel : +32 2 727 8943 Francois Vanderpoorte Unix system engineer Banksys IT/SE Tel : +32 2 727 8943 "The information contained in this e-mail and any attachment thereto is confidential and may contain information which is protected by intellectual property rights. This information is intended for the exclusive use of the recipient(s) named above. This e-mail does not constitute any binding relationship or offer toward any of the addressees. If you are not one of the addressees , one of their employees or a proxy holder entitled to hand over this message to the addressee(s), any use of the information contained herein (e.g. reproduction, divulgation, communication or distribution,...) is prohibited. If you have received this message in error, please notify the sender and destroy it immediately after. The integrity and security of this message cannot be guaranteed and it may be subject to data corruption, interception and unauthorized amendment, for which we accept no liability." -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.borsani at it.net Wed Apr 6 11:29:00 2005 From: m.borsani at it.net (Marco Borsani) Date: Wed, 6 Apr 2005 11:29:00 +0200 Subject: documentation Message-ID: Hi all. I'd like to upgrade my Nagios 1.1 to Nagios 1.2 (last stable versione, is it correct?) on a HP-UX 11.00, but I don't find the documentation regarding to. Sorry ! I have to be sure about this upgrade because the Nagios system is up and runnig for a lot of people! May anyone give me the "link" to find it? Marco Borsani e-mail: m.borsani at IT.net Unix & Monitoring System Administrator ITnet S.r.l. - Direzione e coordinamento di Enel S.p.A. Internet Service Provider Sede legale: Via C.G.Viola, 48 - 00148 Roma Direzione Centrale e Amministrativa: Via Pacinotti, 39 I-16151 GENOVA (ITALY) tel.: +39 010 4310115 fax: +39 010 4327454 http://www.IT.net mailto:info at IT.net ____________________________________________________________ Altre sedi ITnet: MILANO tel.: +39 02 30114900 info-milano at IT.net ROMA tel.: +39 06 83116707 info-roma at IT.net ____________________________________________________________ ITnet is associated to CIX Commercial IP eXchange and RIPE. ITnet is associated to AIIP (Associazione Italiana Internet Providers). -------------- next part -------------- An HTML attachment was scrubbed... URL: From al at its-lehmann.de Wed Apr 6 11:30:06 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Wed, 06 Apr 2005 11:30:06 +0200 Subject: See services or hosts based on authentication In-Reply-To: <425307F0.9050100@skynet.be> References: <42531289.7020200@skynet.be> <4252FB04.6070504@its-lehmann.de> <425307F0.9050100@skynet.be> Message-ID: <4253AC1E.70304@its-lehmann.de> Hello. Jelle Smet wrote: > Thanks for being sarcastic. I have found what I want. Sorry for sounding sarcastic, that was not my intention (although it was /that/ sort of day...) Anyway, I'm glad you found the information you needed. Arno > Greetings > > Jelle > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 6 11:45:23 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 06 Apr 2005 11:45:23 +0200 Subject: documentation In-Reply-To: References: Message-ID: <4253AFB3.1030901@op5.se> Marco Borsani wrote: > Hi all. > > I'd like to upgrade my Nagios 1.1 to Nagios 1.2 (last stable versione, is it > correct?) on a HP-UX 11.00, but I don't find the documentation regarding to. > Sorry ! > I have to be sure about this upgrade because the Nagios system is up and > runnig for a lot of people! > > May anyone give me the "link" to find it? > Just swap the binaries. It's only a bugfix release, so there shouldn't be anything to worry about. Install in a different location and try it out if you're worried. > > Marco Borsani e-mail: m.borsani at IT.net > Unix & Monitoring System Administrator > > > ITnet S.r.l. - Direzione e coordinamento di Enel S.p.A. > Internet Service Provider > Sede legale: Via C.G.Viola, 48 - 00148 Roma > Direzione Centrale e Amministrativa: > Via Pacinotti, 39 > I-16151 GENOVA (ITALY) > tel.: +39 010 4310115 > fax: +39 010 4327454 > http://www.IT.net mailto:info at IT.net > ____________________________________________________________ > Altre sedi ITnet: > MILANO tel.: +39 02 30114900 info-milano at IT.net > ROMA tel.: +39 06 83116707 info-roma at IT.net > ____________________________________________________________ > ITnet is associated to CIX Commercial IP eXchange and RIPE. > ITnet is associated to AIIP (Associazione Italiana Internet Providers). > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vivek_222 at rediffmail.com Wed Apr 6 12:26:37 2005 From: vivek_222 at rediffmail.com (vivek sharma sharma) Date: 6 Apr 2005 10:26:37 -0000 Subject: nagios-service down/recovery issues Message-ID: <20050406102637.16164.qmail@webmail8.rediffmail.com> Dear all, In nagios i am facing service down and recovery issues.If a service is down it shall show me after few minutes but when it comes up it takes atleast 10-12 min. for it to show up.Well for me this much of time difference means a lot when we are depending on Nagios for reports. I have got 85 hosts(mainly routers as of now) In second phase i shall be putting 25 server services in it And third phase 180 more customer devices(routers/modems/switches etc.) I am pasting down the relative configurations with it: 1.) ?command_line $USER1$/check_ping -H $HOSTADDRESS$ -p 10 -w 450.0,40% -c 1750.0,98% 2.)This service defn. is for all 85 hosts(routers etc.) define service{ use generic-service host_name XXX.XXX.XXX service_description check_ping is_volatile 0 check_period 24x7 check_freshness 1 freshness_threshold 60 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups noc-support notification_interval 30 notification_period 24x7 notification_options c check_command check_ping } 3.)Other related configurations: max_concurrent_checks 0 service_inter_check_delay_method s service_reaper_frequency 10 service_interleave_factor s max_check_attempts 3 Also to calculate the reaper freq. it is said that we can run nagios with -s option but when i do that it doesnot run(may be i am intercepting it the wrong way) [root at nagios root]# /etc/rc.d/init.d/nagios -s Usage: nagios {start|stop|restart|reload|force-reload|status} [root at nagios root]# /etc/rc.d/init.d/nagios -s start Usage: nagios {start|stop|restart|reload|force-reload|status} Also as suggested by some wise men in this list i have to strike a balance between check_interval and the reaper freq. as it wuld affect CPU. Can anybody suggest the optimum settings. Thanks. Vivek -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Wed Apr 6 12:39:50 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 06 Apr 2005 12:39:50 +0200 Subject: R: R: documentation In-Reply-To: References: Message-ID: <4253BC76.4030909@op5.se> Marco Borsani wrote: > thank you a lot for your patience, but I do not understand all you wrote. > I do not see "base" and "cgi" directories. I was referring to the build directory of nagios 1.2, as created when the tarball is unpacked. Please don't email me off-list. Several people may have the same or similar problem, and dealing with them in a non-public way doesn't allow them to see the answer. > Performing "ls -la" command I > see: > drwxrwxr-x 2 nagios nagios 96 Oct 2 2003 bin > drwxrwxr-x 3 nagios nagios 1024 Mar 9 17:19 etc > drwxrwxrwx 2 nagios nagios 2048 Feb 1 15:31 libexec > drwxrwxr-x 2 nagios nagios 2048 May 11 2004 sbin > drwxrwxr-x 9 nagios nagios 1024 Apr 21 2004 share > drwxrwxr-x 6 nagios nagios 1024 Apr 6 12:20 var > > The bin file "nagios" is in "bin" directory and ".cgi" files are in "sbin" > directory. > > Regards > Marco > > -}-----Messaggio originale----- > -}Da: Andreas Ericsson [mailto:ae at op5.se] > -}Inviato: mercoled? 6 aprile 2005 12.11 > -}A: Marco Borsani > -}Oggetto: Re: R: [Nagios-users] documentation > -} > -} > -}Marco Borsani wrote: > -}> Do you mean to swap the files inside bin and sbin directory ? > -} > -}Compile nagios 1.2. Copy base/nagios to wherever you keep your > -}previously running nagios. Copy cgi/*.cgi to wherever you currently keep > -}your cgi's. It's fairly straightforward. > -} > -}> Excuse me, I am not a expert developper (!), have I to > -}decompress the files > -}> and just substitute them in those directories? > -}> Thanks > -}> Marco > -}> > -}> -}-----Messaggio originale----- > -}> -}Da: nagios-users-admin at lists.sourceforge.net > -}> -}[mailto:nagios-users-admin at lists.sourceforge.net]Per conto di Andreas > -}> -}Ericsson > -}> -}Inviato: mercoled? 6 aprile 2005 11.45 > -}> -}A: Marco Borsani > -}> -}Cc: NAGIOS > -}> -}Oggetto: Re: [Nagios-users] documentation > -}> -} > -}> -} > -}> -}Marco Borsani wrote: > -}> -}> Hi all. > -}> -}> > -}> -}> I'd like to upgrade my Nagios 1.1 to Nagios 1.2 (last stable > -}> -}versione, is it > -}> -}> correct?) on a HP-UX 11.00, but I don't find the documentation > -}> -}regarding to. > -}> -}> Sorry ! > -}> -}> I have to be sure about this upgrade because the Nagios > -}system is up and > -}> -}> runnig for a lot of people! > -}> -}> > -}> -}> May anyone give me the "link" to find it? > -}> -}> > -}> -} > -}> -}Just swap the binaries. It's only a bugfix release, so there shouldn't > -}> -}be anything to worry about. Install in a different location and try it > -}> -}out if you're worried. > -}> -} > -}> -}> > -}> -}> Marco Borsani e-mail: m.borsani at IT.net > -}> -}> Unix & Monitoring System Administrator > -}> -}> > -}> -}> > -}> -}> ITnet S.r.l. - Direzione e coordinamento di Enel S.p.A. > -}> -}> Internet Service Provider > -}> -}> Sede legale: Via C.G.Viola, 48 - > -}00148 Roma > -}> -}> Direzione Centrale e Amministrativa: > -}> -}> Via Pacinotti, 39 > -}> -}> I-16151 > -}GENOVA (ITALY) > -}> -}> tel.: +39 > -}010 4310115 > -}> -}> fax: +39 > -}010 4327454 > -}> -}> http://www.IT.net mailto:info at IT.net > -}> -}> ____________________________________________________________ > -}> -}> Altre sedi ITnet: > -}> -}> MILANO tel.: +39 02 30114900 info-milano at IT.net > -}> -}> ROMA tel.: +39 06 83116707 info-roma at IT.net > -}> -}> ____________________________________________________________ > -}> -}> ITnet is associated to CIX Commercial IP eXchange and RIPE. > -}> -}> ITnet is associated to AIIP (Associazione Italiana Internet > -}Providers). > -}> -}> > -}> -}> > -}> -} > -}> -}-- > -}> -}Andreas Ericsson andreas.ericsson at op5.se > -}> -}OP5 AB www.op5.se > -}> -}Lead Developer > -}> -} > -}> -} > -}> -}------------------------------------------------------- > -}> -}SF email is sponsored by - The IT Product Guide > -}> -}Read honest & candid reviews on hundreds of IT Products from > -}real users. > -}> -}Discover which products truly live up to the hype. Start reading now. > -}> -}http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > -}> -}_______________________________________________ > -}> -}Nagios-users mailing list > -}> -}Nagios-users at lists.sourceforge.net > -}> -}https://lists.sourceforge.net/lists/listinfo/nagios-users > -}> -}::: Please include Nagios version, plugin version (-v) and OS > -}> -}when reporting any issue. > -}> -}::: Messages without supporting info will risk being sent to /dev/null > -}> > -}> > -} > -}-- > -}Andreas Ericsson andreas.ericsson at op5.se > -}OP5 AB www.op5.se > -}Lead Developer > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gabriel.constantinescu at nobel.ro Wed Apr 6 13:10:34 2005 From: gabriel.constantinescu at nobel.ro (Gabriel Constantinescu) Date: Wed, 06 Apr 2005 14:10:34 +0300 Subject: System hang Message-ID: <4253C3AA.70307@nobel.ro> Hi all, Have you ever experienced any system hang with Nagios v2 beta2 ? I have system that is running for almost a month without being stopped. A few days ago I added NSCA in inetd mode and few passive checks. Since then I experienced two system hangs. The weird thing is I had the same problem with a completly different machine in another location that handles 10 times more passive checks. Best regards, -- Gabriel Constantinescu ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Wed Apr 6 13:12:07 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Wed, 06 Apr 2005 13:12:07 +0200 Subject: nagios-service down/recovery issues In-Reply-To: <20050406102637.16164.qmail@webmail8.rediffmail.com> References: <20050406102637.16164.qmail@webmail8.rediffmail.com> Message-ID: <4253C407.70701@its-lehmann.de> Hi. vivek sharma sharma wrote: > Also to calculate the reaper freq. it is said that we can run nagios > with -s option but > when i do that it doesnot run(may be i am intercepting it the wrong way) > > [root at nagios root]# /etc/rc.d/init.d/nagios -s > Usage: nagios {start|stop|restart|reload|force-reload|status} > [root at nagios root]# /etc/rc.d/init.d/nagios -s start > Usage: nagios {start|stop|restart|reload|force-reload|status} You need to run nagios itself with the -s option, not its boot script. Arno -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Groesche at neo-partners.com Wed Apr 6 13:19:03 2005 From: Sebastian.Groesche at neo-partners.com (=?iso-8859-1?Q?Sebastian_Gr=F6sche?=) Date: Wed, 6 Apr 2005 13:19:03 +0200 Subject: AW: WG: Missing cgi-files and where is the mail-notificationplugin Message-ID: Ok, I think that my explanation was not enough. - Installed is the gd-library from Thomas Boutell in Version 2.0.22 - Installed OS is SuSe Linux 9.1 - I meant the subfolder /sbin in my /usr/local/nagios directory, sorry but I mistaked /etc with /sbin :-) - Yes, I only have basics in using Linux (Sorry but I'm at the start of my education) In this way I would like to ask, should I compile everything new to get the missing CGI-Files or is there another way to do that? How can I do it that my command call_admin sends an email to every user which is in the admin-group? I really don't know what I have to put in the command_line from my call_admin command. Thx for your help -----Urspr?ngliche Nachricht----- Von: Andreas Ericsson [mailto:ae at op5.se] Gesendet: Mittwoch, 6. April 2005 10:38 An: nagios-users at lists.sourceforge.net Betreff: Re: WG: [Nagios-users] Missing cgi-files and where is the mail-notificationplugin Sebastian Gr?sche wrote: > Hi, thx for reading. > > 2. Problem: The files (statusmap.cgi, trends.cgi, histogram.cgi) > don't exists, You didn't have boutell's GD library and headerfiles installed during compile-time. > that's the problem. All other CGI's can be opened via > Web. Am I right when I think that all Binarys are stored in the > folder /etc ? No. /etc is unix-standard for configuration files. > I think this because every opened cgi file is stored > there. > You've made some seriously non-standard ./configuration run then, and you've most likely done it in a fairly dangerous way (if you actually mean /etc as opposed to /usr/local/nagios/etc). > 3. Problem: Shure, everything is configured, I have configured that > in case of an error the command call_admin should be used, but what > must stand in the command_line ? Please help me, when I produce an > error I see that the command is opened but I don't know how to say > that he should send an email. > You'd better get some help from a unix admin. You seem to have several really trivial problems and you don't know where to start. I suggest you pay someone to take care of everything for you. Helping you get everything up and running would simply take too long when you don't have a basic understanding of the underlying operating system. > Greets Sebastian Gr?sche -----Urspr?ngliche Nachricht----- Von: Aaron > Carr [mailto:aaronhcarr at gmail.com] Gesendet: Freitag, 1. April 2005 > 22:09 An: nagios-users at lists.sourceforge.net Betreff: Re: > [Nagios-users] Missing cgi-files and where is the mail-notification > plugin > > >> 2. Problem Several Links (Status Map, Trends, Alert Histogram) have >> no target (the CGI-Files not exists). Is it possible to compile >> them again or download them? Where can I get them. > > > > Your Apache configuration is probably off. Have you verified that > the files are actually present on the filesystem and that the correct > path has been given to Apache? > > > >> 3. Problem I searched everything, I read in the manual for hours, >> checked google, the nagios-homepage but I never found a Tutorial >> how I could enable the email notification, am I just blind or is >> there really nothing about it? The email should be send (when it's >> configured) over the internal mail server from our company and go >> to several contacts. That's the most important thing I'm working >> on. >> > > Have you configured contacts, contact groups, hosts and services? > > Have you configured the notification methods and time periods for the > contacts? > > Is this a mail server issue? (II know that my previous company had > to explicitly allow servers to relay mail. Your mail may be getting > silently rejected by the upstream MTA. > > >> ------------------------------------------------------- This SF.net >> email is sponsored by Demarc: A global provider of Threat >> Management Solutions. Download our HomeAdmin security software for >> free today! http://www.demarc.com/Info/Sentarus/hamr30 >> _______________________________________________ Nagios-users >> mailing list Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users ::: >> Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null >> > > > > ------------------------------------------------------- SF email is > sponsored by - The IT Product Guide Read honest & candid reviews on > hundreds of IT Products from real users. Discover which products > truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ Nagios-users mailing > list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > include Nagios version, plugin version (-v) and OS when reporting any > issue. ::: Messages without supporting info will risk being sent to > /dev/null > > > ------------------------------------------------------- SF email is > sponsored by - The IT Product Guide Read honest & candid reviews on > hundreds of IT Products from real users. Discover which products > truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick > _______________________________________________ Nagios-users mailing > list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > include Nagios version, plugin version (-v) and OS when reporting any > issue. ::: Messages without supporting info will risk being sent to > /dev/null > > > ------------------------------------------------------- SF email is > sponsored by - The IT Product Guide Read honest & candid reviews on > hundreds of IT Products from real users. Discover which products > truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=click > _______________________________________________ Nagios-users mailing > list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > include Nagios version, plugin version (-v) and OS when reporting any > issue. ::: Messages without supporting info will risk being sent to > /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frederik.vanhee at perso.be Wed Apr 6 13:40:25 2005 From: frederik.vanhee at perso.be (Frederik Vanhee) Date: Wed, 06 Apr 2005 13:40:25 +0200 Subject: See services or hosts based on authentication In-Reply-To: <42531289.7020200@skynet.be> References: <42531289.7020200@skynet.be> Message-ID: <4253CAA9.3050901@perso.be> Hello Jelle, of course it's possible, that's what hostgroups and contactgroups/contacts are for. -Define hostgroups with your different hosts. -Link the hostgroups with contactgroups -Link the contacts with the contactgroups -Configure apache (htpasswd) for the different user logins When a user logs in, he only sees the hosts/services from which he's a member of the contactgroup. Frederik Jelle Smet wrote: > Hi all, > > I want to be able to only show services and hosts based on login and > password. > In other words, I want to grant users access to nagios so they can > only see their own services and hosts based upon their own login and > password. > > I think this isn't possible for the moment? > Are there any tips tricks or advice?? > > Thanks in advance! > > Jelle Smet > > > > > ------------------------------------------------------- SF email is > sponsored by - The IT Product Guide Read honest & candid reviews on > hundreds of IT Products from real users. Discover which products truly > live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ Nagios-users mailing > list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > include Nagios version, plugin version (-v) and OS when reporting any > issue. ::: Messages without supporting info will risk being sent to > /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frederik.vanhee at perso.be Wed Apr 6 13:44:48 2005 From: frederik.vanhee at perso.be (Frederik Vanhee) Date: Wed, 06 Apr 2005 13:44:48 +0200 Subject: CHECK_NRPE: Error... In-Reply-To: <1112713649.4252a9b1dc722@webmail.s1test1.it> References: <1112713649.4252a9b1dc722@webmail.s1test1.it> Message-ID: <4253CBB0.4070404@perso.be> Hello, try this : ./check_nrpe -H myHost -n -c check_disk The -n parameter indicates no to use ssl.... Frederik nagios_user at s1test1.it wrote: >Hello to all list! >I want to issue an other problem... >When I try to use check_nrpe with check_disk, I receive the following error: > >CHECK_NRPE: Error - Could not complete SSL handshake. > >My command is: ./check_nrpe -H myHost -c check_disk > >If I check on localhost using check_disk seem to run: > >./check_disk -w 20% -c 10% -p /dev/hda[...] > >...have you any ideas? May you help me? Thanks. >Best regards > >Rodolfo Greco > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_user at s1test1.it Wed Apr 6 13:47:06 2005 From: nagios_user at s1test1.it (nagios_user at s1test1.it) Date: Wed, 6 Apr 2005 13:47:06 +0200 Subject: CHECK_NRPE: Error... In-Reply-To: <4253CBB0.4070404@perso.be> References: <1112713649.4252a9b1dc722@webmail.s1test1.it> <4253CBB0.4070404@perso.be> Message-ID: <1112788026.4253cc3aab62e@webmail.s1test1.it> Scrive Frederik Vanhee : > Hello, > > try this : > > ./check_nrpe -H myHost -n -c check_disk > > The -n parameter indicates no to use ssl.... > > Frederik > > Thank all list! You have solve my problem in many ways. I hope that in future I can help someone... Regards Rodolfo Greco > > nagios_user at s1test1.it wrote: > > >Hello to all list! > >I want to issue an other problem... > >When I try to use check_nrpe with check_disk, I receive the following error: > > > >CHECK_NRPE: Error - Could not complete SSL handshake. > > > >My command is: ./check_nrpe -H myHost -c check_disk > > > >If I check on localhost using check_disk seem to run: > > > >./check_disk -w 20% -c 10% -p /dev/hda[...] > > > >...have you any ideas? May you help me? Thanks. > >Best regards > > > >Rodolfo Greco > > > > > > > >------------------------------------------------------- > >SF email is sponsored by - The IT Product Guide > >Read honest & candid reviews on hundreds of IT Products from real users. > >Discover which products truly live up to the hype. Start reading now. > >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > >::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sauger at pre2post.com Wed Apr 6 13:54:06 2005 From: sauger at pre2post.com (Stephane Auger) Date: Wed, 6 Apr 2005 07:54:06 -0400 Subject: Configuration Opinions Message-ID: <47F14DDBBE26B54892091AD9AAC5BF4A0E02E7@optimus.Pre2Post.local> Hi group, This question is more for opinions than anything concrete. How do you manage your config files, especially those of you with more than a hundred hosts? Do you use an interface, or go through the config files themselves? How are your files split? By hosts/services/subnets/etc... any tips and tricks to make managing a ton of hosts through an editor easier??? Thanks! Stephen -------------- next part -------------- An HTML attachment was scrubbed... URL: From dan.hopkins at uk.easynet.net Wed Apr 6 14:08:05 2005 From: dan.hopkins at uk.easynet.net (Dan Hopkins) Date: Wed, 6 Apr 2005 13:08:05 +0100 Subject: Check_ping problem Message-ID: <13E80BCA327C4D43AC2EFCE6B06E53140496AE@exch0-tmshm.uk.easynet.corp> > -----Original Message----- > From: Sally [mailto:frogmist at gmail.com] > Sent: 05 April 2005 09:12 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check_ping problem > > > Hi, > I'm using Nagios 1.2 with plugins version 1.4 on freebsd 5.3. > check_ping returns a "Return code of 139 is out of bounds" sometimes. > What does it mean? Thanks! For what it's worth, I'm seeing the same on freebsd 4.10-REL-p3 with Nag1.2 and plugins 1.4. Haven't had time to investigate the cause yet, but I'll let you know what I find... Dan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From artur.dassumpcao at di.com.pt Wed Apr 6 14:10:26 2005 From: artur.dassumpcao at di.com.pt (=?ISO-8859-1?Q?Artur_D=27Assump=E7=E3o?=) Date: Wed, 06 Apr 2005 13:10:26 +0100 Subject: Performance data. Message-ID: <4253D1B2.8050004@di.com.pt> Hi, Anyone could advice me a good add on to parse perfomance data into graphs (like MRTG) that fully integrates with nagios 2.0 web interface? I've already taked a look at PerfParse, but I would like to get the opinion of the comunity. Thanks, Artur D'Assump??o ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmaher at acetechnology.com Wed Apr 6 15:00:37 2005 From: dmaher at acetechnology.com (Daniel maher) Date: Wed, 6 Apr 2005 09:00:37 -0400 Subject: manual alerts Message-ID: Would it not make more sense to just set up a normal mailing list for the people in the alert group? Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: Todd Richmond [mailto:trichmon at eou.edu] Sent: April 4, 2005 7:47 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] manual alerts First thanks for all the help. Lots of nice people in this group and I got my problem fixed. Now i was wondering if there is a way to trigger an alert on perpose. For example if i have to take a machines down for repairs (unexpected and unschedualed) is there anyway to send a message out to everyone in the contact group? I can setup a list in evolution, or mozilla, but I want to be able to have non-techs do it if they have to (like when our server room flooded last winter). Todd -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.3 - Release Date: 05/04/2005 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 mm.quex.org Wed Apr 6 15:16:56 2005 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Wed, 6 Apr 2005 21:16:56 +0800 Subject: manual alerts In-Reply-To: References: Message-ID: <20050406131656.GB28889@quex.org> I'd find the ability to send messages to the contacts specified for a host or service quite useful, too. It can take a bit of work to configure Nagios' contacts to be correct, and duplicating that (and keeping it in sync) with a mailing list seems like a bit of effort one shouldn't need to go to. In particular it could be useful for commenting on a problem; e.g. providing additional information after someone has already acknowledged it, or further comments after it's been resolved. It's halfway there, as you can add comments to hosts and services, but they aren't sent to others unless it's a problem acknowledgement. Mind you, Nagios is designed to monitor networks, not to be a collaboration / messaging server. It might make sense to implement something like this as a separate system, and then have a Nagios notification command to send alerts into this other system. Even so, being able to send arbitrary 'notifications' could be useful to a number of people, and it probably wouldn't be difficult for someone familiar with Nagios' workings to add the functionality. On Wed, Apr 06, 2005 at 09:00:37AM -0400, Daniel maher wrote: > Would it not make more sense to just set up a normal mailing list for > the people in the alert group? > > -----Original Message----- > From: Todd Richmond [mailto:trichmon at eou.edu] > Sent: April 4, 2005 7:47 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] manual alerts > > First thanks for all the help. Lots of nice people in this group and I > got my problem fixed. Now i was wondering if there is a way to trigger > an alert on perpose. For example if i have to take a machines down for > repairs (unexpected and unschedualed) is there anyway to send a message > out to everyone in the contact group? I can setup a list in evolution, > or mozilla, but I want to be able to have non-techs do it if they have > to (like when our server room flooded last winter). > > Todd > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.3 - Release Date: 05/04/2005 > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dhall at vermeermfg.com Wed Apr 6 15:19:04 2005 From: dhall at vermeermfg.com (Dave Hall) Date: Wed, 6 Apr 2005 08:19:04 -0500 Subject: have to kill/stop nagios 2x to kill it- part II Message-ID: <001801c53aab$347ad150$040410ac@vermeermfg.com> Special thanks to Jeff Vier and Drew Kollasch for their responces. In our testing we have tried to stop nagios several times and left it over 5 minutes and it is still present when a ps -ef is run. So far we have delt with the init script - what about the web interface - it also does not work. Origional post: >>We are playing with the new nagios2. We have tried nagios2.0b2 and nagios2.0b3 on Sun Solaris 10, using plugins version 1.4 and are having the same problem, >>even after we try to stop the process, it is still running. To kill the nagios process we have to issue a second 'kill '. >>So far to stop the process using the nagios script, I have added a second line to the stop section. This kludge fixes the init file, but does not fix the web interface. >>Either way we try to stop nagios, we find 'caught SIGTERM, stutting down' in the nagios log and the web interface becomes disfunctional. >>I have been able to replicate this same scenario on Solaris 9 using Nagios 2.0bx. Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From boinger at tradingtechnologies.com Wed Apr 6 15:28:03 2005 From: boinger at tradingtechnologies.com (jeff vier) Date: Wed, 06 Apr 2005 08:28:03 -0500 Subject: have to kill/stop nagios 2x to kill it- part II In-Reply-To: <001801c53aab$347ad150$040410ac@vermeermfg.com> References: <001801c53aab$347ad150$040410ac@vermeermfg.com> Message-ID: <1112794083.27372.28.camel@localhost> On Wed, 2005-04-06 at 08:19 -0500, Dave Hall wrote: > In our testing we have tried to stop nagios several times and left it > over 5 minutes and it is still present when a ps ?ef is run. as Andreas said in another reply, you can write the logic to send a kill signal. I, myself, after a minute or so of hang-time will just kill -9 the parent nagios process and be done with it. So far: no harm, no foul (that I can tell, anyway). > So far we have dealt with the init script - what about the web > interface ? it also does not work. I never use the web interface - bitten too many times in v1.0 and v1.1 with spawning dupe nagios processes, so now it's habit that it never gets used. Maybe it's still unpredictable (as you're saying), maybe it's great...I wouldn't know :) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Erwin.Mascardo at intelsat.com Wed Apr 6 16:00:45 2005 From: Erwin.Mascardo at intelsat.com (Erwin.Mascardo at intelsat.com) Date: Wed, 6 Apr 2005 10:00:45 -0400 Subject: manual alerts Message-ID: <072660E32485D5118CC100306E0043340744C8CC@naex2.adm.intelsat.int> >-----Original Message----- >From: nagios at mm.quex.org [mailto:nagios at mm.quex.org] >Sent: Wednesday, 06 April, 2005 09:17 >To: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] manual alerts > > > >I'd find the ability to send messages to the contacts specified >for a host or service quite useful, too. It can take a bit of >work to configure Nagios' contacts to be correct, and duplicating >that (and keeping it in sync) with a mailing list seems like a >bit of effort one shouldn't need to go to. > >In particular it could be useful for commenting on a problem; >e.g. providing additional information after someone has already >acknowledged it, or further comments after it's been resolved. >It's halfway there, as you can add comments to hosts and services, >but they aren't sent to others unless it's a problem acknowledgement. > >Mind you, Nagios is designed to monitor networks, not to be a >collaboration / messaging server. It might make sense to implement >something like this as a separate system, and then have a Nagios >notification command to send alerts into this other system. > >Even so, being able to send arbitrary 'notifications' could be >useful to a number of people, and it probably wouldn't be >difficult for someone familiar with Nagios' workings to add the >functionality. Would manually submitting a passive check result serve your needs? (Services only in 1.x, hosts also in 2.x.) You can set the status manually to a level which would trigger a notification, and supply a message corresponding to the "output" from the service/host check. No additional functionality required, and it's available from the CGI or by dropping a check result directly into the command file. ############################################################ Building on 40 Years of Leadership - As a global communications leader with 40 years of experience, Intelsat helps service providers, broadcasters, corporations and governments deliver information and entertainment anywhere in the world, instantly, securely and reliably. ############################################################ This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Intelsat, Ltd. and its subsidiaries. ############################################################ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From theal at pace2020.com Wed Apr 6 16:09:09 2005 From: theal at pace2020.com (Tony Heal) Date: Wed, 6 Apr 2005 10:09:09 -0400 Subject: Configuration Opinions In-Reply-To: <47F14DDBBE26B54892091AD9AAC5BF4A0E02E7@optimus.Pre2Post.local> References: <47F14DDBBE26B54892091AD9AAC5BF4A0E02E7@optimus.Pre2Post.local> Message-ID: <002d01c53ab2$3424e4f0$7001a8c0@oceania> I have written a bash script that pulls a list from cvs, checks to see if a host already exists in Nagios and if not adds the host in hosts.cfg and adds it to a hostgroup in hostgroup.cfg. since the services I want to monitor are pretty much the same for most things, I have the services set to hostgroups so the new host will automatically be monitoring on those services. Tony -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Stephane Auger Sent: Wednesday, April 06, 2005 7:54 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Configuration Opinions Hi group, This question is more for opinions than anything concrete. How do you manage your config files, especially those of you with more than a hundred hosts? Do you use an interface, or go through the config files themselves? How are your files split? By hosts/services/subnets/etc... any tips and tricks to make managing a ton of hosts through an editor easier??? Thanks! Stephen -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 4604 bytes Desc: not available URL: From SrvFaucon at cslaval.qc.ca Wed Apr 6 16:24:57 2005 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Wed, 06 Apr 2005 10:24:57 -0400 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20Re:=20[Nagios-users]=20CHECK=5FNRPE:?= =?ISO-8859-1?Q?=20Error...?= Message-ID: > >CHECK_NRPE: Error - Could not complete SSL handshake. Then again, if you still want to use SSL for the communication, ensure that the version of SSL is the same on both systems. That is the nagios server and the machine with nrpe. # openssl version will give your version. --------------------------------------------------- Alexandre Racine - www.gardienvirtuel.com Montr?al, Qu?bec, Canada >>> 2005-04-06 07:47:06 >>> Scrive Frederik Vanhee : > Hello, > > try this : > > ./check_nrpe -H myHost -n -c check_disk > > The -n parameter indicates no to use ssl.... > > Frederik > > Thank all list! You have solve my problem in many ways. I hope that in future I can help someone... Regards Rodolfo Greco > > nagios_user at s1test1.it wrote: > > >Hello to all list! > >I want to issue an other problem... > >When I try to use check_nrpe with check_disk, I receive the following error: > > > >CHECK_NRPE: Error - Could not complete SSL handshake. > > > >My command is: ./check_nrpe -H myHost -c check_disk > > > >If I check on localhost using check_disk seem to run: > > > >./check_disk -w 20% -c 10% -p /dev/hda[...] > > > >...have you any ideas? May you help me? Thanks. > >Best regards > > > >Rodolfo Greco > > > > > > > >------------------------------------------------------- > >SF email is sponsored by - The IT Product Guide > >Read honest & candid reviews on hundreds of IT Products from real users. > >Discover which products truly live up to the hype. Start reading now. > >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > >::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yatindra.ranpura at ukbroadband.com Wed Apr 6 17:04:14 2005 From: yatindra.ranpura at ukbroadband.com (Yatindra Ranpura) Date: Wed, 6 Apr 2005 16:04:14 +0100 Subject: Check disk on windows 2003 server In-Reply-To: <002d01c53ab2$3424e4f0$7001a8c0@oceania> References: <002d01c53ab2$3424e4f0$7001a8c0@oceania> Message-ID: <20050406150248.03D034B685@netpilot.ukbroadband.com> Hi all, Im running nagios 1.2 on slackware 10 box, how can I check disk space on a windows 2003 server? I have tried the check_disk command in services but that doesn't give any results. Thanks in advance, Yatindra -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2982 bytes Desc: not available URL: From bmccann at andmore.com Wed Apr 6 17:09:22 2005 From: bmccann at andmore.com (McCann, Brian) Date: Wed, 6 Apr 2005 11:09:22 -0400 Subject: Check disk on windows 2003 server Message-ID: Go here, http://nsclient.ready2run.nl/ , and download and install the nsclient program on your Win2k3 server. It's the client daemon you need to run on any Windows box you need to monitor (aside from simple tests like ping and socket tests) with Nagios. Hope that helps, --Brian _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Yatindra Ranpura Sent: Wednesday, April 06, 2005 11:04 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Check disk on windows 2003 server Hi all, Im running nagios 1.2 on slackware 10 box, how can I check disk space on a windows 2003 server? I have tried the check_disk command in services but that doesn't give any results. Thanks in advance, Yatindra -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios-user at proy.org Wed Apr 6 17:20:57 2005 From: nagios-user at proy.org (Patrick Proy) Date: Wed, 6 Apr 2005 17:20:57 +0200 Subject: Check disk on windows 2003 server In-Reply-To: <20050406150248.03D034B685@netpilot.ukbroadband.com> References: <20050406150248.03D034B685@netpilot.ukbroadband.com> Message-ID: <20050406152058.A2796AB715@www.manubulon.com> Hi, You can also use snmp : it works OK with 2003 server. Patrick Proy nagios AT proy DOT org Script home page : http://www.manubulon.com/nagios/ SF Project page : http://sourceforge.net/projects/nagios-snmp/ ________________________________ De : nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] De la part de Yatindra Ranpura Envoy? : mercredi 6 avril 2005 17:04 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] Check disk on windows 2003 server Hi all, Im running nagios 1.2 on slackware 10 box, how can I check disk space on a windows 2003 server? I have tried the check_disk command in services but that doesn?t give any results. Thanks in advance, Yatindra ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bill_Akins at emoryhealthcare.org Wed Apr 6 17:31:11 2005 From: Bill_Akins at emoryhealthcare.org (Bill Akins) Date: Wed, 06 Apr 2005 11:31:11 -0400 Subject: Check disk on windows 2003 server Message-ID: In addition to SNMP, and nsclient, check this thread: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=4450 >>> "Yatindra Ranpura" 4/6/2005 11:04 AM >>> Hi all, Im running nagios 1.2 on slackware 10 box, how can I check disk space on a windows 2003 server? I have tried the check_disk command in services but that doesn t give any results. Thanks in advance, Yatindra -------------- next part -------------- An HTML attachment was scrubbed... URL: From nuffers at tsainc.com Wed Apr 6 18:18:28 2005 From: nuffers at tsainc.com (nuffers at tsainc.com) Date: Wed, 6 Apr 2005 11:18:28 -0500 Subject: WAP Interface CGI In-Reply-To: <20050406140747.09A9589774@sc8-sf-spam1.sourceforge.net> References: <20050406140747.09A9589774@sc8-sf-spam1.sourceforge.net> Message-ID: I am using the WAP interface and I'm having problems acknowledging a service/host. Nothing in the nagios.log file and no feed back after I hit OK. Other commands such as disable/enable work fine. I'm using this statuswml.cgi through a Dell Axim pocketpc. Steve Nagios 2.x Fedora Core 3 -------------- next part -------------- An HTML attachment was scrubbed... URL: From muksyed at yahoo.com Wed Apr 6 18:33:28 2005 From: muksyed at yahoo.com (Mukarram Syed) Date: Wed, 6 Apr 2005 09:33:28 -0700 (PDT) Subject: Help on check_disk using the -p option. Message-ID: <20050406163328.41928.qmail@web31514.mail.mud.yahoo.com> Hi Nagios gurus. Have a problem using check_disk with the -p option. When I use the check_disk command in the nrpe.cfg file on the client as shown below: command[check_disk]=/usr/local/etc/nagios/libexec/check_disk -w 10% -c 5% -p /dev/sda[1-6] and when I run the check_disk command from the nagios server: # /usr/local/etc/nagios/libexec/check_nrpe -H pegasus -c check_disk I get the output as: DISK OK [74748 kB (77%) free on /dev/sda1] It does not show the rest of the partitions (2 through 6). It only takes sda1. Anything else I may be missing on this. I tried to specify individual disk partitons like so: # Disk Checking: # sda command[check_disk]=/usr/local/etc/nagios/libexec/check_disk -w 10% -c 5% -p /dev/sda1 command[check_disk]=/usr/local/etc/nagios/libexec/check_disk -w 10% -c 5% -p /dev/sda2 command[check_disk]=/usr/local/etc/nagios/libexec/check_disk -w 10% -c 5% -p /dev/sda3 command[check_disk]=/usr/local/etc/nagios/libexec/check_disk -w 10% -c 5% -p /dev/sda5 command[check_disk]=/usr/local/etc/nagios/libexec/check_disk -w 10% -c 5% -p /dev/sda6 but the check_disk only looks at the last partiton like so: # /usr/local/etc/nagios/libexec/check_nrpe -H pegasus -c check_disk I get the output as: DISK OK [104748 kB (66%) free on /dev/sda6] Anything I might be missing on this or is there a better way to use the -p option in the check_disk. Or should I specify more options in the checkcommands.cfg file. My check_nrpe portion in the checkcommands.cfg file is shown below: # 'check_nrpe' command definition define command{ command_name check_nrpe command_line /usr/local/etc/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } If I add more arguments in the check_nrpe portion of my checkcommands.cfg file, all nrpe checks fail (for load and disk). I tried that once a few days ago. Or should I do something in the services.cfg file? Here is a clipping of the check_disk portion of my services.cfg file: # Service definition define service{ use generic-service ; Name of service template to use hostgroup_name computer-distopias service_description Disk is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups unix-team notification_interval 240 notification_period 24x7 notification_options w,c,r check_command check_nrpe!check_disk } Thanks for the help in advance. -Mukarram Syed. __________________________________ Yahoo! Messenger Show us what our next emoticon should look like. Join the fun. http://www.advision.webevents.yahoo.com/emoticontest ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bmccann at andmore.com Wed Apr 6 18:43:34 2005 From: bmccann at andmore.com (McCann, Brian) Date: Wed, 6 Apr 2005 12:43:34 -0400 Subject: Help on check_disk using the -p option. Message-ID: In the nrpe config, you need to name each of your commands differently. For example, don't use "check_disk" for them all. Use "check_disk1", "check_disk2", or whatever convention you want to follow. On the newer systems I'm building, I use "check_disk_mlxd0s1_a", "check_disk"mlxd0s1_d" for example (I'm running FreeBSD, so if you are unfamiliar with it, "mlxd0" is the device, "s1" and "a" is the slice and partition.) Hope that helps, --Brian -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mukarram Syed Sent: Wednesday, April 06, 2005 12:33 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Help on check_disk using the -p option. Hi Nagios gurus. Have a problem using check_disk with the -p option. When I use the check_disk command in the nrpe.cfg file on the client as shown below: command[check_disk]=/usr/local/etc/nagios/libexec/check_disk -w 10% -c 5% -p /dev/sda[1-6] and when I run the check_disk command from the nagios server: # /usr/local/etc/nagios/libexec/check_nrpe -H pegasus -c check_disk I get the output as: DISK OK [74748 kB (77%) free on /dev/sda1] It does not show the rest of the partitions (2 through 6). It only takes sda1. Anything else I may be missing on this. I tried to specify individual disk partitons like so: # Disk Checking: # sda command[check_disk]=/usr/local/etc/nagios/libexec/check_disk -w 10% -c 5% -p /dev/sda1 command[check_disk]=/usr/local/etc/nagios/libexec/check_disk -w 10% -c 5% -p /dev/sda2 command[check_disk]=/usr/local/etc/nagios/libexec/check_disk -w 10% -c 5% -p /dev/sda3 command[check_disk]=/usr/local/etc/nagios/libexec/check_disk -w 10% -c 5% -p /dev/sda5 command[check_disk]=/usr/local/etc/nagios/libexec/check_disk -w 10% -c 5% -p /dev/sda6 but the check_disk only looks at the last partiton like so: # /usr/local/etc/nagios/libexec/check_nrpe -H pegasus -c check_disk I get the output as: DISK OK [104748 kB (66%) free on /dev/sda6] Anything I might be missing on this or is there a better way to use the -p option in the check_disk. Or should I specify more options in the checkcommands.cfg file. My check_nrpe portion in the checkcommands.cfg file is shown below: # 'check_nrpe' command definition define command{ command_name check_nrpe command_line /usr/local/etc/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } If I add more arguments in the check_nrpe portion of my checkcommands.cfg file, all nrpe checks fail (for load and disk). I tried that once a few days ago. Or should I do something in the services.cfg file? Here is a clipping of the check_disk portion of my services.cfg file: # Service definition define service{ use generic-service ; Name of service template to use hostgroup_name computer-distopias service_description Disk is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups unix-team notification_interval 240 notification_period 24x7 notification_options w,c,r check_command check_nrpe!check_disk } Thanks for the help in advance. -Mukarram Syed. __________________________________ Yahoo! Messenger Show us what our next emoticon should look like. Join the fun. http://www.advision.webevents.yahoo.com/emoticontest ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muksyed at yahoo.com Wed Apr 6 18:59:21 2005 From: muksyed at yahoo.com (Mukarram Syed) Date: Wed, 6 Apr 2005 09:59:21 -0700 (PDT) Subject: Help on check_disk using the -p option. In-Reply-To: References: Message-ID: <20050406165921.62940.qmail@web31515.mail.mud.yahoo.com> Hmm, interesting... So in my server: in the $NAGIOSHOME/libexec directory: cp check_disk check_disk_sda1 cp check_disk check_disk_sda2 cp check_disk check_disk_sda3 ....4 ....5 cp check_disk check_disk_sda6 then in the servers services.cfg: # Service definition define service{ use generic-service ; Name of service template to use hostgroup_name computer-distopias service_description Disk1 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups unix-team notification_interval 240 notification_period 24x7 notification_options w,c,r check_command check_nrpe!check_disk_sda1 } same for the rest of the 5 disks with: service_description Disk2 check_command check_nrpe!check_disk_sda2 .... .... service_description Disk6 check_command check_nrpe!check_disk_sda6 On the clients nrpe.cfg: # sda command[check_disk_sda1]=/usr/local/etc/nagios/libexec/check_disk_sda1 -w 10% -c 5% -p /dev/sda1 command[check_disk_sda2]=/usr/local/etc/nagios/libexec/check_disk_sda2 -w 10% -c 5% -p /dev/sda2 command[check_disk_sda3]=/usr/local/etc/nagios/libexec/check_disk_sda3 -w 10% -c 5% -p /dev/sda3 command[check_disk_sda4]=/usr/local/etc/nagios/libexec/check_disk_sda4 -w 10% -c 5% -p /dev/sda4 command[check_disk_sda5]=/usr/local/etc/nagios/libexec/check_disk_sda5 -w 10% -c 5% -p /dev/sda5 command[check_disk_sda6]=/usr/local/etc/nagios/libexec/check_disk_sda6 -w 10% -c 5% -p /dev/sda6 Is this what you mean, in detail? Will this work. Thanks for your response. -Mukarram. --- "McCann, Brian" wrote: > In the nrpe config, you need to name each of your > commands differently. > For example, don't use "check_disk" for them all. > Use "check_disk1", > "check_disk2", or whatever convention you want to > follow. On the newer > systems I'm building, I use "check_disk_mlxd0s1_a", > "check_disk"mlxd0s1_d" for example (I'm running > FreeBSD, so if you are > unfamiliar with it, "mlxd0" is the device, "s1" and > "a" is the slice and > partition.) > > Hope that helps, > --Brian > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On > Behalf Of Mukarram > Syed > Sent: Wednesday, April 06, 2005 12:33 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Help on check_disk using the > -p option. > > > Hi Nagios gurus. > > Have a problem using check_disk with the -p option. > When I use the check_disk command in the nrpe.cfg > file on the client as > shown below: > > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > -w 10% -c 5% -p /dev/sda[1-6] > > and when I run the check_disk command from the > nagios > server: > > # /usr/local/etc/nagios/libexec/check_nrpe -H > pegasus -c check_disk I > get the output as: > > DISK OK [74748 kB (77%) free on /dev/sda1] > > It does not show the rest of the partitions (2 > through 6). It only > takes sda1. > Anything else I may be missing on this. > > I tried to specify individual disk partitons like > so: > # Disk Checking: > > # sda > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > -w 10% -c 5% -p /dev/sda1 > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > -w 10% -c 5% -p /dev/sda2 > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > -w 10% -c 5% -p /dev/sda3 > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > -w 10% -c 5% -p /dev/sda5 > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > -w 10% -c 5% -p /dev/sda6 > > but the check_disk only looks at the last partiton > like so: > # /usr/local/etc/nagios/libexec/check_nrpe -H > pegasus -c check_disk I > get the output as: > > DISK OK [104748 kB (66%) free on /dev/sda6] > > Anything I might be missing on this or is there a > better way to use the > -p option in the check_disk. > Or should I specify more options in the > checkcommands.cfg file. My check_nrpe portion in > the checkcommands.cfg > file is shown below: > # 'check_nrpe' command definition > define command{ > command_name check_nrpe > command_line > /usr/local/etc/nagios/libexec/check_nrpe -H > $HOSTADDRESS$ -c $ARG1$ > } > > If I add more arguments in the check_nrpe portion of > my > checkcommands.cfg file, all nrpe checks fail (for > load and disk). I > tried that once a few days ago. > > Or should I do something in the services.cfg file? > Here is a clipping of the check_disk portion of my > services.cfg file: > # Service definition > define service{ > use > generic-service ; Name of service template > to > use > hostgroup_name > computer-distopias > service_description Disk > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups unix-team > notification_interval 240 > notification_period 24x7 > notification_options w,c,r > check_command > check_nrpe!check_disk > } > > Thanks for the help in advance. > -Mukarram Syed. > > > > > __________________________________ > Yahoo! Messenger > Show us what our next emoticon should look like. > Join the fun. > http://www.advision.webevents.yahoo.com/emoticontest > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide Read > honest & candid > reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. > Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT > Products from real users. > Discover which products truly live up to the hype. > Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > Mukarram Syed muksyed at yahoo.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From artur.dassumpcao at di.com.pt Wed Apr 6 19:17:49 2005 From: artur.dassumpcao at di.com.pt (=?ISO-8859-1?Q?Artur_D=27Assump=E7=E3o?=) Date: Wed, 06 Apr 2005 18:17:49 +0100 Subject: Applying service checks to a hostgroup Message-ID: <425419BD.7000709@di.com.pt> Hi, Isn't there any way to apply a service check, not to a host but to a hostgroup, avoiding the definition of the exact same service for various hosts? Or there is any other simple way? Tnks, Artur D'Assump??o ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmaher at acetechnology.com Wed Apr 6 19:34:32 2005 From: dmaher at acetechnology.com (Daniel maher) Date: Wed, 6 Apr 2005 13:34:32 -0400 Subject: Check disk on windows 2003 server Message-ID: Xavier Dusart also released a number of plugins which might work for checking disk space on a windows server, among other things. 100% SNMP based, so they're nice and easy. :) http://xavier.dusart.free.fr/nagios/plugins/plugins_2k.0.1.tar.gz The associated webpage is all in French, but the plugin comments are in English. Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: Patrick Proy [mailto:nagios-user at proy.org] Sent: April 6, 2005 11:21 AM To: 'Yatindra Ranpura'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Check disk on windows 2003 server Hi, You can also use snmp : it works OK with 2003 server. Patrick Proy nagios AT proy DOT org Script home page : http://www.manubulon.com/nagios/ SF Project page : http://sourceforge.net/projects/nagios-snmp/ ________________________________ De : nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] De la part de Yatindra Ranpura Envoy? : mercredi 6 avril 2005 17:04 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] Check disk on windows 2003 server Hi all, Im running nagios 1.2 on slackware 10 box, how can I check disk space on a windows 2003 server? I have tried the check_disk command in services but that doesn't give any results. Thanks in advance, Yatindra ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.3 - Release Date: 05/04/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.3 - Release Date: 05/04/2005 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From getnag at yahoo.com Wed Apr 6 19:49:14 2005 From: getnag at yahoo.com (Naag Mummaneni) Date: Wed, 6 Apr 2005 10:49:14 -0700 (PDT) Subject: Nagios SNMP Plugins - (No output!) Message-ID: <20050406174914.87290.qmail@web50302.mail.yahoo.com> Hello All, I am trying to use the SNMP Plugins to monitor Windows Servers. I am using the check_snmp_storage.pl script.I am running the below command and the output looks fine.. [root at localhost libexec]# ./check_snmp_storage -H host1 -C public -m C: -w 80 -c 90 C:\ Label: Serial Number c6a91a7 : 34 %used (2766MB/8189MB) (< 80) : OK However when I use the same command in Nagios configuration..I see the following output on the Web interface... (No output!) Pls suggest where am I going wrong. BTW I am using the 1.1 version of check_snmp_storage.pl script. Thanx in Advance Naag. The following is my Nagios config... Checkcommands.cfg # 'check_snmp_storage' command definition define command{ command_name check_snmp_storage command_line $USER1$/check_snmp_storage.pl -H $ARG1$ -C $ARG2$ -m $ARG3$ -w $ARG4$ -c $ARG5$ } Services.cfg # Service definition define service{ use generic-service ; Name of service template to use host_name host1 service_description C Drive is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups nt-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_snmp_storage!host1!public!C:!80!90 } __________________________________ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Wed Apr 6 19:58:12 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Wed, 06 Apr 2005 19:58:12 +0200 Subject: nagios-service down/recovery issues In-Reply-To: <20050406165145.27925.qmail@webmail7.rediffmail.com> References: <20050406165145.27925.qmail@webmail7.rediffmail.com> Message-ID: <42542334.6000304@its-lehmann.de> Please send mail to the list, not to me personally. Or, of course, you can pay me. vivek sharma sharma wrote: > Dear Arno, > Well I did that and the output is as follows: > ./nagios -s /usr/local/nagios/etc/nagios.cfg > > HOST SCHEDULING INFORMATION > --------------------------- > Total hosts: 91 > Total scheduled hosts: 91 > Host inter-check delay method: SMART > Average host check interval: 120.00 sec > Host inter-check delay: 1.32 sec > Max host check spread: 30 min > First scheduled check: Wed Apr 6 22:08:26 2005 > Last scheduled check: Wed Apr 6 22:10:24 2005 > > > SERVICE SCHEDULING INFORMATION > ------------------------------- > Total services: 94 > Total scheduled services: 94 > Service inter-check delay method: SMART > Average service check interval: 75.32 sec > Inter-check delay: 0.80 sec > Interleave factor method: SMART > Average services per host: 1.03 > Service interleave factor: 2 > Max service check spread: 10 min > First scheduled check: Wed Apr 6 22:08:26 2005 > Last scheduled check: Wed Apr 6 22:09:40 2005 > > > CHECK PROCESSING INFORMATION > ---------------------------- > Service check reaper interval: 10 sec > Max concurrent service checks: Unlimited > > > PERFORMANCE SUGGESTIONS > ----------------------- > * Host checks might be scheduled too closely together - consider > increasing 'check_interval' option for your hosts > > The suggestion is for decr. the check_interval for hosts but I am facing > the problem that once a service goes down (it shows down in say five > minutes) but when it comes up again it happens for some services that it > takes hours(4-5) to show it up in Nagios.I don't know what to do with > this.I have pasted the reqd. configurations in my last mail. > > Hope you shall take time go thru that and suggest me.I have given max. > details in that mail(which u said u wuld require to help me out). > > Shall be waiting for ur reply. > > Thanks. > Vivek. > > > > > > > > > > > > > > > > > > > > > > > > > > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ratty at they.org Wed Apr 6 20:09:09 2005 From: ratty at they.org (frank) Date: Wed, 6 Apr 2005 11:09:09 -0700 (PDT) Subject: Applying service checks to a hostgroup In-Reply-To: <425419BD.7000709@di.com.pt> References: <425419BD.7000709@di.com.pt> Message-ID: http://nagios.sourceforge.net/docs/2_0/templatetricks.html#service You want the second example there, "All Hosts In Multiple Hostgroups". -f On Wed, 6 Apr 2005, [ISO-8859-1] Artur D'Assump??o wrote: > Date: Wed, 06 Apr 2005 18:17:49 +0100 > From: "[ISO-8859-1] Artur D'Assump??o" > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Applying service checks to a hostgroup > > Hi, > > Isn't there any way to apply a service check, not to a host but to a > hostgroup, avoiding the definition of the exact same service for various > hosts? > Or there is any other simple way? > > Tnks, > > Artur D'Assump??o > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. ::: Messages without supporting info will risk being sent to > /dev/null > From bmccann at andmore.com Wed Apr 6 20:09:57 2005 From: bmccann at andmore.com (McCann, Brian) Date: Wed, 6 Apr 2005 14:09:57 -0400 Subject: Help on check_disk using the -p option. Message-ID: Close...but not quite. You don't need multiple check_disk commands in your libexec directory. Those commands are executed when you are checking stuff on the local host only. Since you are checking a remote host via nrpe, you don't need them. Further, just so you understand this, the command the OS calls has nothing do to with what it is called in Nagios. Here is an example from one of my hosts (some stuff left out to make it short, important bits are there): Service definitions on the Nagios server: define service{ service_description / check_command check_nrpe!check_disk1 } define service{ service_description /tmp check_command check_nrpe!check_disk2 } Config lines in nrpe.cfg on the target host command[check_disk1]=/usr/local/libexec/netsaint/check_disk -w 20 -c 10 -p / command[check_disk2]=/usr/local/libexec/netsaint/check_disk -w 20 -c 10 -p /tmp What this equates to, is the Nagios server runs the check_nrpe command, giving it "check_disk1" as check to run on the remote host. The remote host sees that string, goes through it's nrpe.cfg file, sees that check_disk1 runs a certain command, runs it, then returns the results. Hope that clears things up a bit. You were close though....very close. :) --Brian -----Original Message----- From: Mukarram Syed [mailto:muksyed at yahoo.com] Sent: Wednesday, April 06, 2005 12:59 To: McCann, Brian; Nagios-Mailing-List Subject: RE: [Nagios-users] Help on check_disk using the -p option. Hmm, interesting... So in my server: in the $NAGIOSHOME/libexec directory: cp check_disk check_disk_sda1 cp check_disk check_disk_sda2 cp check_disk check_disk_sda3 ....4 ....5 cp check_disk check_disk_sda6 then in the servers services.cfg: # Service definition define service{ use generic-service ; Name of service template to use hostgroup_name computer-distopias service_description Disk1 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups unix-team notification_interval 240 notification_period 24x7 notification_options w,c,r check_command check_nrpe!check_disk_sda1 } same for the rest of the 5 disks with: service_description Disk2 check_command check_nrpe!check_disk_sda2 .... .... service_description Disk6 check_command check_nrpe!check_disk_sda6 On the clients nrpe.cfg: # sda command[check_disk_sda1]=/usr/local/etc/nagios/libexec/check_disk_sda1 -w 10% -c 5% -p /dev/sda1 command[check_disk_sda2]=/usr/local/etc/nagios/libexec/check_disk_sda2 -w 10% -c 5% -p /dev/sda2 command[check_disk_sda3]=/usr/local/etc/nagios/libexec/check_disk_sda3 -w 10% -c 5% -p /dev/sda3 command[check_disk_sda4]=/usr/local/etc/nagios/libexec/check_disk_sda4 -w 10% -c 5% -p /dev/sda4 command[check_disk_sda5]=/usr/local/etc/nagios/libexec/check_disk_sda5 -w 10% -c 5% -p /dev/sda5 command[check_disk_sda6]=/usr/local/etc/nagios/libexec/check_disk_sda6 -w 10% -c 5% -p /dev/sda6 Is this what you mean, in detail? Will this work. Thanks for your response. -Mukarram. --- "McCann, Brian" wrote: > In the nrpe config, you need to name each of your commands > differently. > For example, don't use "check_disk" for them all. > Use "check_disk1", > "check_disk2", or whatever convention you want to follow. On the > newer systems I'm building, I use "check_disk_mlxd0s1_a", > "check_disk"mlxd0s1_d" for example (I'm running FreeBSD, so if you are > unfamiliar with it, "mlxd0" is the device, "s1" and "a" is the slice > and > partition.) > > Hope that helps, > --Brian > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > Mukarram Syed > Sent: Wednesday, April 06, 2005 12:33 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Help on check_disk using the -p option. > > > Hi Nagios gurus. > > Have a problem using check_disk with the -p option. > When I use the check_disk command in the nrpe.cfg > file on the client as > shown below: > > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > -w 10% -c 5% -p /dev/sda[1-6] > > and when I run the check_disk command from the > nagios > server: > > # /usr/local/etc/nagios/libexec/check_nrpe -H > pegasus -c check_disk I > get the output as: > > DISK OK [74748 kB (77%) free on /dev/sda1] > > It does not show the rest of the partitions (2 > through 6). It only > takes sda1. > Anything else I may be missing on this. > > I tried to specify individual disk partitons like > so: > # Disk Checking: > > # sda > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > -w 10% -c 5% -p /dev/sda1 > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > -w 10% -c 5% -p /dev/sda2 > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > -w 10% -c 5% -p /dev/sda3 > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > -w 10% -c 5% -p /dev/sda5 > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > -w 10% -c 5% -p /dev/sda6 > > but the check_disk only looks at the last partiton > like so: > # /usr/local/etc/nagios/libexec/check_nrpe -H > pegasus -c check_disk I > get the output as: > > DISK OK [104748 kB (66%) free on /dev/sda6] > > Anything I might be missing on this or is there a > better way to use the > -p option in the check_disk. > Or should I specify more options in the > checkcommands.cfg file. My check_nrpe portion in > the checkcommands.cfg > file is shown below: > # 'check_nrpe' command definition > define command{ > command_name check_nrpe > command_line > /usr/local/etc/nagios/libexec/check_nrpe -H > $HOSTADDRESS$ -c $ARG1$ > } > > If I add more arguments in the check_nrpe portion of > my > checkcommands.cfg file, all nrpe checks fail (for > load and disk). I > tried that once a few days ago. > > Or should I do something in the services.cfg file? > Here is a clipping of the check_disk portion of my > services.cfg file: > # Service definition > define service{ > use > generic-service ; Name of service template > to > use > hostgroup_name > computer-distopias > service_description Disk > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups unix-team > notification_interval 240 > notification_period 24x7 > notification_options w,c,r > check_command > check_nrpe!check_disk > } > > Thanks for the help in advance. > -Mukarram Syed. > > > > > __________________________________ > Yahoo! Messenger > Show us what our next emoticon should look like. > Join the fun. > http://www.advision.webevents.yahoo.com/emoticontest > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide Read > honest & candid > reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. > Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT > Products from real users. > Discover which products truly live up to the hype. > Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > Mukarram Syed muksyed at yahoo.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CCrutchfield at inCodeWireless.com Wed Apr 6 20:18:29 2005 From: CCrutchfield at inCodeWireless.com (Crutchfield, Calvin) Date: Wed, 6 Apr 2005 11:18:29 -0700 Subject: Need your help, before I dive in.. Message-ID: <54792F335D85714D8124BD8C3629D77D5CCEC8@incode23.incodetel.com> I'm in the position to set up some serious monitoring. Essentially, 300 hosts with many routes to each. I know that a simple host status (ping) on a 1000 IP;s would be no problem, but can NAGIOS execute our own perl/shell scripts maintained locally on a remote host and report back? This functionality is crucial. ANy insight to NAGIOS with resepct to this would be extrememely helpful. This seems like a pretty powerful app and I'm trying to wrap my brain around it to ENSURE that it will suit our needs. Understanding od course that a significant time investment will be needed to get up and running. Thanks, Calvin ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Erwin.Mascardo at intelsat.com Wed Apr 6 20:37:24 2005 From: Erwin.Mascardo at intelsat.com (Erwin.Mascardo at intelsat.com) Date: Wed, 6 Apr 2005 14:37:24 -0400 Subject: Need your help, before I dive in.. Message-ID: <072660E32485D5118CC100306E0043340744C8CE@naex2.adm.intelsat.int> >-----Original Message----- >From: Crutchfield, Calvin [mailto:CCrutchfield at inCodeWireless.com] >Sent: Wednesday, 06 April, 2005 14:18 >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Need your help, before I dive in.. > > >I'm in the position to set up some serious monitoring. > >Essentially, 300 hosts with many routes to each. I know that >a simple host status (ping) on a 1000 IP;s would be no >problem, but can NAGIOS execute our own perl/shell scripts >maintained locally on a remote host and report back? This >functionality is crucial. > >ANy insight to NAGIOS with resepct to this would be >extrememely helpful. This seems like a pretty powerful app >and I'm trying to wrap my brain around it to ENSURE that it >will suit our needs. Understanding od course that a >significant time investment will be needed to get up and running. > >Thanks, > >Calvin check_by_ssh. NRPE. NSCA. If the monitoring server needs to initiate it, that would be check_by_ssh or NRPE. If circumstances keep that from happening, there's NSCA. All of these are well documented on the main Nagios site. Pick your poison, and those are just some of the "official" ways. Any scheme you can concoct that will have your monitoring server respond to a return code of 0-3 and a line of text from the remote host will work -- even an RFC-1149/2549-compliant network. ############################################################ Building on 40 Years of Leadership - As a global communications leader with 40 years of experience, Intelsat helps service providers, broadcasters, corporations and governments deliver information and entertainment anywhere in the world, instantly, securely and reliably. ############################################################ This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Intelsat, Ltd. and its subsidiaries. ############################################################ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Wed Apr 6 20:51:13 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Wed, 06 Apr 2005 20:51:13 +0200 Subject: Need your help, before I dive in.. In-Reply-To: <54792F335D85714D8124BD8C3629D77D5CCEC8@incode23.incodetel.com> References: <54792F335D85714D8124BD8C3629D77D5CCEC8@incode23.incodetel.com> Message-ID: <42542FA1.6060103@its-lehmann.de> Hi. Crutchfield, Calvin wrote: > I'm in the position to set up some serious monitoring. So you've got lots of work before you :-) > can NAGIOS execute our own perl/shell scripts maintained locally on a remote host and report back? This functionality is crucial. It can. Basically, you run a Nagios plugin that uses (for example) ssh to connect to the remote host and delivers the output - usefully formatted and condnsed, of course - to nagios. Actually, that's the regular way to work with Nagios. > ANy insight to NAGIOS with resepct to this would be extrememely helpful. This seems like a pretty powerful app and I'm trying to wrap my brain around it to ENSURE that it will suit our needs. Understanding od course that a significant time investment will be needed to get up and running. I'd suggest that you simply set up Nagios, try it, ask questions here and study the docs (not necessarily in this order, though many seem to prefer it...) You will hopefully find a very flexible and powerful application. Arno > Thanks, > > Calvin > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muksyed at yahoo.com Wed Apr 6 21:25:22 2005 From: muksyed at yahoo.com (Mukarram Syed) Date: Wed, 6 Apr 2005 12:25:22 -0700 (PDT) Subject: Help on check_disk using the -p option. In-Reply-To: References: Message-ID: <20050406192522.40372.qmail@web31512.mail.mud.yahoo.com> Brian, Is it possible to have multiple check_command for a single service_description? For example: define service{ service_description Disks check_command check_nrpe!check_disk1 check_command check_nrpe!check_disk2 } This is only an example, I have tried this but it only takes the check_command for the last disk in the check_command listing (in this case it is disk2). I have tried other options like: define service{ service_description Disks check_command check_nrpe!check_disk1 \ check_nrpe!check_disk2 } But this does not work. What you suggested is currently working, but I would prefer to have all the disks in one service_description. Any suggestions would be helpful. thanks for your help indeed. -Mukarram. --- "McCann, Brian" wrote: > Close...but not quite. You don't need multiple > check_disk commands in > your libexec directory. Those commands are executed > when you are > checking stuff on the local host only. Since you > are checking a remote > host via nrpe, you don't need them. Further, just > so you understand > this, the command the OS calls has nothing do to > with what it is called > in Nagios. Here is an example from one of my hosts > (some stuff left out > to make it short, important bits are there): > > Service definitions on the Nagios server: > define service{ > service_description / > check_command check_nrpe!check_disk1 > } > define service{ > service_description /tmp > check_command check_nrpe!check_disk2 > } > > Config lines in nrpe.cfg on the target host > command[check_disk1]=/usr/local/libexec/netsaint/check_disk > -w 20 -c 10 > -p / > command[check_disk2]=/usr/local/libexec/netsaint/check_disk > -w 20 -c 10 > -p /tmp > > What this equates to, is the Nagios server runs the > check_nrpe command, > giving it "check_disk1" as check to run on the > remote host. The remote > host sees that string, goes through it's nrpe.cfg > file, sees that > check_disk1 runs a certain command, runs it, then > returns the results. > > Hope that clears things up a bit. You were close > though....very close. > :) > > --Brian > > > -----Original Message----- > From: Mukarram Syed [mailto:muksyed at yahoo.com] > Sent: Wednesday, April 06, 2005 12:59 > To: McCann, Brian; Nagios-Mailing-List > Subject: RE: [Nagios-users] Help on check_disk using > the -p option. > > Hmm, interesting... > So in my server: in the $NAGIOSHOME/libexec > directory: > cp check_disk check_disk_sda1 > cp check_disk check_disk_sda2 > cp check_disk check_disk_sda3 > ....4 > ....5 > cp check_disk check_disk_sda6 > > then in the servers services.cfg: > > # Service definition > define service{ > use > generic-service ; Name of service template > to > use > hostgroup_name > computer-distopias > service_description Disk1 > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups unix-team > notification_interval 240 > notification_period 24x7 > notification_options w,c,r > check_command > check_nrpe!check_disk_sda1 > } > same for the rest of the 5 disks > with: > service_description Disk2 > check_command > check_nrpe!check_disk_sda2 > > .... > .... > > service_description Disk6 > check_command > check_nrpe!check_disk_sda6 > > On the clients nrpe.cfg: > > # sda > command[check_disk_sda1]=/usr/local/etc/nagios/libexec/check_disk_sda1 > -w 10% -c 5% -p /dev/sda1 > command[check_disk_sda2]=/usr/local/etc/nagios/libexec/check_disk_sda2 > -w 10% -c 5% -p /dev/sda2 > command[check_disk_sda3]=/usr/local/etc/nagios/libexec/check_disk_sda3 > -w 10% -c 5% -p /dev/sda3 > command[check_disk_sda4]=/usr/local/etc/nagios/libexec/check_disk_sda4 > -w 10% -c 5% -p /dev/sda4 > command[check_disk_sda5]=/usr/local/etc/nagios/libexec/check_disk_sda5 > -w 10% -c 5% -p /dev/sda5 > command[check_disk_sda6]=/usr/local/etc/nagios/libexec/check_disk_sda6 > -w 10% -c 5% -p /dev/sda6 > > Is this what you mean, in detail? > Will this work. > Thanks for your response. > > > -Mukarram. > > > --- "McCann, Brian" wrote: > > > In the nrpe config, you need to name each of your > commands > > differently. > > For example, don't use "check_disk" for them all. > > Use "check_disk1", > > "check_disk2", or whatever convention you want to > follow. On the > > newer systems I'm building, I use > "check_disk_mlxd0s1_a", > > "check_disk"mlxd0s1_d" for example (I'm running > FreeBSD, so if you are > > > unfamiliar with it, "mlxd0" is the device, "s1" > and "a" is the slice > > and > > partition.) > > > > Hope that helps, > > --Brian > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] > On Behalf Of > > Mukarram Syed > > Sent: Wednesday, April 06, 2005 12:33 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Help on check_disk using > the -p option. > > > > > > Hi Nagios gurus. > > > > Have a problem using check_disk with the -p > option. > > When I use the check_disk command in the nrpe.cfg > > file on the client as > > shown below: > > > > > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > > -w 10% -c 5% -p /dev/sda[1-6] > > > > and when I run the check_disk command from the > > nagios > > server: > > > > # /usr/local/etc/nagios/libexec/check_nrpe -H > > pegasus -c check_disk I > > get the output as: > > > > DISK OK [74748 kB (77%) free on /dev/sda1] > > > > It does not show the rest of the partitions (2 > > through 6). It only > > takes sda1. > > Anything else I may be missing on this. > > > > I tried to specify individual disk partitons like > > so: > > # Disk Checking: > > > > # sda > > > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > > -w 10% -c 5% -p /dev/sda1 > > > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > > -w 10% -c 5% -p /dev/sda2 > > > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > > -w 10% -c 5% -p /dev/sda3 > > > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > === message truncated === Mukarram Syed muksyed at yahoo.com __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bmccann at andmore.com Wed Apr 6 22:01:42 2005 From: bmccann at andmore.com (McCann, Brian) Date: Wed, 6 Apr 2005 16:01:42 -0400 Subject: Help on check_disk using the -p option. Message-ID: I don't believe you can do that, no. You may be able to accomplish something similar using a service group though. I don't have much of a need for them at the moment, so I wouldn't be able to help you much with them, but the documentation on them is fairly straightforward, and I'm sure there are plenty of other people on this list that could help you with them if you need it. :) --Brian -----Original Message----- From: Mukarram Syed [mailto:muksyed at yahoo.com] Sent: Wednesday, April 06, 2005 15:25 To: McCann, Brian; Nagios-Mailing-List Subject: RE: [Nagios-users] Help on check_disk using the -p option. Brian, Is it possible to have multiple check_command for a single service_description? For example: define service{ service_description Disks check_command check_nrpe!check_disk1 check_command check_nrpe!check_disk2 } This is only an example, I have tried this but it only takes the check_command for the last disk in the check_command listing (in this case it is disk2). I have tried other options like: define service{ service_description Disks check_command check_nrpe!check_disk1 \ check_nrpe!check_disk2 } But this does not work. What you suggested is currently working, but I would prefer to have all the disks in one service_description. Any suggestions would be helpful. thanks for your help indeed. -Mukarram. --- "McCann, Brian" wrote: > Close...but not quite. You don't need multiple check_disk commands in > your libexec directory. Those commands are executed when you are > checking stuff on the local host only. Since you are checking a > remote host via nrpe, you don't need them. Further, just so you > understand this, the command the OS calls has nothing do to with what > it is called in Nagios. Here is an example from one of my hosts (some > stuff left out to make it short, important bits are there): > > Service definitions on the Nagios server: > define service{ > service_description / > check_command check_nrpe!check_disk1 > } > define service{ > service_description /tmp > check_command check_nrpe!check_disk2 > } > > Config lines in nrpe.cfg on the target host > command[check_disk1]=/usr/local/libexec/netsaint/check_disk > -w 20 -c 10 > -p / > command[check_disk2]=/usr/local/libexec/netsaint/check_disk > -w 20 -c 10 > -p /tmp > > What this equates to, is the Nagios server runs the check_nrpe > command, giving it "check_disk1" as check to run on the remote host. > The remote host sees that string, goes through it's nrpe.cfg file, > sees that > check_disk1 runs a certain command, runs it, then returns the results. > > Hope that clears things up a bit. You were close though....very > close. > :) > > --Brian > > > -----Original Message----- > From: Mukarram Syed [mailto:muksyed at yahoo.com] > Sent: Wednesday, April 06, 2005 12:59 > To: McCann, Brian; Nagios-Mailing-List > Subject: RE: [Nagios-users] Help on check_disk using the -p option. > > Hmm, interesting... > So in my server: in the $NAGIOSHOME/libexec > directory: > cp check_disk check_disk_sda1 > cp check_disk check_disk_sda2 > cp check_disk check_disk_sda3 > ....4 > ....5 > cp check_disk check_disk_sda6 > > then in the servers services.cfg: > > # Service definition > define service{ > use > generic-service ; Name of service template > to > use > hostgroup_name > computer-distopias > service_description Disk1 > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups unix-team > notification_interval 240 > notification_period 24x7 > notification_options w,c,r > check_command > check_nrpe!check_disk_sda1 > } > same for the rest of the 5 disks > with: > service_description Disk2 > check_command > check_nrpe!check_disk_sda2 > > .... > .... > > service_description Disk6 > check_command > check_nrpe!check_disk_sda6 > > On the clients nrpe.cfg: > > # sda > command[check_disk_sda1]=/usr/local/etc/nagios/libexec/check_disk_sda1 > -w 10% -c 5% -p /dev/sda1 > command[check_disk_sda2]=/usr/local/etc/nagios/libexec/check_disk_sda2 > -w 10% -c 5% -p /dev/sda2 > command[check_disk_sda3]=/usr/local/etc/nagios/libexec/check_disk_sda3 > -w 10% -c 5% -p /dev/sda3 > command[check_disk_sda4]=/usr/local/etc/nagios/libexec/check_disk_sda4 > -w 10% -c 5% -p /dev/sda4 > command[check_disk_sda5]=/usr/local/etc/nagios/libexec/check_disk_sda5 > -w 10% -c 5% -p /dev/sda5 > command[check_disk_sda6]=/usr/local/etc/nagios/libexec/check_disk_sda6 > -w 10% -c 5% -p /dev/sda6 > > Is this what you mean, in detail? > Will this work. > Thanks for your response. > > > -Mukarram. > > > --- "McCann, Brian" wrote: > > > In the nrpe config, you need to name each of your > commands > > differently. > > For example, don't use "check_disk" for them all. > > Use "check_disk1", > > "check_disk2", or whatever convention you want to > follow. On the > > newer systems I'm building, I use > "check_disk_mlxd0s1_a", > > "check_disk"mlxd0s1_d" for example (I'm running > FreeBSD, so if you are > > > unfamiliar with it, "mlxd0" is the device, "s1" > and "a" is the slice > > and > > partition.) > > > > Hope that helps, > > --Brian > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] > On Behalf Of > > Mukarram Syed > > Sent: Wednesday, April 06, 2005 12:33 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Help on check_disk using > the -p option. > > > > > > Hi Nagios gurus. > > > > Have a problem using check_disk with the -p > option. > > When I use the check_disk command in the nrpe.cfg file on the client > > as shown below: > > > > > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > > -w 10% -c 5% -p /dev/sda[1-6] > > > > and when I run the check_disk command from the nagios > > server: > > > > # /usr/local/etc/nagios/libexec/check_nrpe -H pegasus -c check_disk > > I get the output as: > > > > DISK OK [74748 kB (77%) free on /dev/sda1] > > > > It does not show the rest of the partitions (2 through 6). It only > > takes sda1. > > Anything else I may be missing on this. > > > > I tried to specify individual disk partitons like > > so: > > # Disk Checking: > > > > # sda > > > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > > -w 10% -c 5% -p /dev/sda1 > > > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > > -w 10% -c 5% -p /dev/sda2 > > > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > > -w 10% -c 5% -p /dev/sda3 > > > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > === message truncated === Mukarram Syed muksyed at yahoo.com __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BLeier at mercurynews.com Wed Apr 6 22:13:08 2005 From: BLeier at mercurynews.com (Leier, Bill) Date: Wed, 6 Apr 2005 13:13:08 -0700 Subject: FW: Help on check_disk using the -p option. Message-ID: In the new plugin package (1.4) the new disk_check can do multiple disks. If you do a disk_check -h , the help msg gives examples: check_disk -w 10% -c 5% -p /tmp -p /var -C -w 100000 -c 50000 -p / Checks /tmp and /var at 10%,5% and / at 100MB, 50MB Lots more options with this newer check. > -----Original Message----- > From: McCann, Brian [SMTP:bmccann at andmore.com] > Sent: Wednesday, April 06, 2005 1:02 PM > To: Mukarram Syed; Nagios-Mailing-List > Subject: RE: [Nagios-users] Help on check_disk using the -p option. > > I don't believe you can do that, no. You may be able to accomplish > something similar using a service group though. I don't have much of a > need for them at the moment, so I wouldn't be able to help you much with > them, but the documentation on them is fairly straightforward, and I'm > sure there are plenty of other people on this list that could help you > with them if you need it. :) > > --Brian > > -----Original Message----- > From: Mukarram Syed [mailto:muksyed at yahoo.com] > Sent: Wednesday, April 06, 2005 15:25 > To: McCann, Brian; Nagios-Mailing-List > Subject: RE: [Nagios-users] Help on check_disk using the -p option. > > Brian, > Is it possible to have multiple check_command for a single > service_description? > For example: > > define service{ > service_description Disks > check_command check_nrpe!check_disk1 > check_command check_nrpe!check_disk2 > } > > This is only an example, I have tried this but it only takes the > check_command for the last disk in the check_command listing (in this > case it is disk2). > > I have tried other options like: > define service{ > service_description Disks > check_command check_nrpe!check_disk1 \ > check_nrpe!check_disk2 > } > > But this does not work. > > What you suggested is currently working, but I would prefer to have all > the disks in one service_description. > Any suggestions would be helpful. > thanks for your help indeed. > -Mukarram. > > --- "McCann, Brian" wrote: > > > Close...but not quite. You don't need multiple check_disk commands in > > > your libexec directory. Those commands are executed when you are > > checking stuff on the local host only. Since you are checking a > > remote host via nrpe, you don't need them. Further, just so you > > understand this, the command the OS calls has nothing do to with what > > it is called in Nagios. Here is an example from one of my hosts (some > > > stuff left out to make it short, important bits are there): > > > > Service definitions on the Nagios server: > > define service{ > > service_description / > > check_command check_nrpe!check_disk1 > > } > > define service{ > > service_description /tmp > > check_command check_nrpe!check_disk2 > > } > > > > Config lines in nrpe.cfg on the target host > > > command[check_disk1]=/usr/local/libexec/netsaint/check_disk > > -w 20 -c 10 > > -p / > > > command[check_disk2]=/usr/local/libexec/netsaint/check_disk > > -w 20 -c 10 > > -p /tmp > > > > What this equates to, is the Nagios server runs the check_nrpe > > command, giving it "check_disk1" as check to run on the remote host. > > The remote host sees that string, goes through it's nrpe.cfg file, > > sees that > > check_disk1 runs a certain command, runs it, then returns the results. > > > > Hope that clears things up a bit. You were close though....very > > close. > > :) > > > > --Brian > > > > > > -----Original Message----- > > From: Mukarram Syed [mailto:muksyed at yahoo.com] > > Sent: Wednesday, April 06, 2005 12:59 > > To: McCann, Brian; Nagios-Mailing-List > > Subject: RE: [Nagios-users] Help on check_disk using the -p option. > > > > Hmm, interesting... > > So in my server: in the $NAGIOSHOME/libexec > > directory: > > cp check_disk check_disk_sda1 > > cp check_disk check_disk_sda2 > > cp check_disk check_disk_sda3 > > ....4 > > ....5 > > cp check_disk check_disk_sda6 > > > > then in the servers services.cfg: > > > > # Service definition > > define service{ > > use > > generic-service ; Name of service template > > to > > use > > hostgroup_name > > computer-distopias > > service_description Disk1 > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 5 > > retry_check_interval 1 > > contact_groups unix-team > > notification_interval 240 > > notification_period 24x7 > > notification_options w,c,r > > check_command > > check_nrpe!check_disk_sda1 > > } > > same for the rest of the 5 disks > > with: > > service_description Disk2 > > check_command > > check_nrpe!check_disk_sda2 > > > > .... > > .... > > > > service_description Disk6 > > check_command > > check_nrpe!check_disk_sda6 > > > > On the clients nrpe.cfg: > > > > # sda > > > command[check_disk_sda1]=/usr/local/etc/nagios/libexec/check_disk_sda1 > > -w 10% -c 5% -p /dev/sda1 > > > command[check_disk_sda2]=/usr/local/etc/nagios/libexec/check_disk_sda2 > > -w 10% -c 5% -p /dev/sda2 > > > command[check_disk_sda3]=/usr/local/etc/nagios/libexec/check_disk_sda3 > > -w 10% -c 5% -p /dev/sda3 > > > command[check_disk_sda4]=/usr/local/etc/nagios/libexec/check_disk_sda4 > > -w 10% -c 5% -p /dev/sda4 > > > command[check_disk_sda5]=/usr/local/etc/nagios/libexec/check_disk_sda5 > > -w 10% -c 5% -p /dev/sda5 > > > command[check_disk_sda6]=/usr/local/etc/nagios/libexec/check_disk_sda6 > > -w 10% -c 5% -p /dev/sda6 > > > > Is this what you mean, in detail? > > Will this work. > > Thanks for your response. > > > > > > -Mukarram. > > > > > > --- "McCann, Brian" wrote: > > > > > In the nrpe config, you need to name each of your > > commands > > > differently. > > > For example, don't use "check_disk" for them all. > > > Use "check_disk1", > > > "check_disk2", or whatever convention you want to > > follow. On the > > > newer systems I'm building, I use > > "check_disk_mlxd0s1_a", > > > "check_disk"mlxd0s1_d" for example (I'm running > > FreeBSD, so if you are > > > > > unfamiliar with it, "mlxd0" is the device, "s1" > > and "a" is the slice > > > and > > > partition.) > > > > > > Hope that helps, > > > --Brian > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net] > > On Behalf Of > > > Mukarram Syed > > > Sent: Wednesday, April 06, 2005 12:33 > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Help on check_disk using > > the -p option. > > > > > > > > > Hi Nagios gurus. > > > > > > Have a problem using check_disk with the -p > > option. > > > When I use the check_disk command in the nrpe.cfg file on the client > > > > as shown below: > > > > > > > > > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > > > -w 10% -c 5% -p /dev/sda[1-6] > > > > > > and when I run the check_disk command from the nagios > > > server: > > > > > > # /usr/local/etc/nagios/libexec/check_nrpe -H pegasus -c check_disk > > > I get the output as: > > > > > > DISK OK [74748 kB (77%) free on /dev/sda1] > > > > > > It does not show the rest of the partitions (2 through 6). It only > > > takes sda1. > > > Anything else I may be missing on this. > > > > > > I tried to specify individual disk partitons like > > > so: > > > # Disk Checking: > > > > > > # sda > > > > > > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > > > -w 10% -c 5% -p /dev/sda1 > > > > > > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > > > -w 10% -c 5% -p /dev/sda2 > > > > > > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > > > -w 10% -c 5% -p /dev/sda3 > > > > > > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > > > === message truncated === > > > Mukarram Syed > muksyed at yahoo.com > > > > __________________________________ > Do you Yahoo!? > Yahoo! Small Business - Try our new resources site! > http://smallbusiness.yahoo.com/resources/ > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 6 23:48:50 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 7 Apr 2005 09:48:50 +1200 Subject: Excessive Latency (solved!) Nagios v1.2 Message-ID: <015701c53af2$6b0d2f50$01fea8c0@itss.auckland.ac.nz> >From reading the various postings here, I now have solved my latency problems. As was indicated by another user (sorry, I do not remember any names) the culprit is host checks. As soon as we have a host down -- even if acknowledged or in scheduled downtime -- then latency starts to creep up indefinitely until there are *no* hosts down. This is because hosts checks are high priority, and are serial rather than parallel. We have >400 hosts in our Nagios, so something is always in scheduled downtime, it seems. The Latency was getting up to 10 mins after a long weekend. To fix it, I did the following: 1) Change the max_check_attempts for the default host template to 2 (was 10). This helped substantially, and is the main fix. 2) When a host is expected to be down for a long time (1+ day), disable host checks for that host, even if it is in scheduled downtime. However it seems that sometimes the host checks are being run anyway... 3) Try to educate users to inform me when a host is being decommissioned, rather than them just disabling alerts for it and forgetting about it. This is the hardest. 4) Add freshness checks for many services. This doesn't help much since the queue (low priority) is not being processed due to the backlog of host checks (high priority) I looked into changing the Nagios code to make it not obsess over host checks and still process *all* the lower priority checks, but I'd rather not make code modifications and I'm not 100% sure what to change! Hope this helps other people in this situation... Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From nagios-user at proy.org Wed Apr 6 23:58:35 2005 From: nagios-user at proy.org (Patrick Proy) Date: Wed, 6 Apr 2005 23:58:35 +0200 Subject: Nagios SNMP Plugins - (No output!) In-Reply-To: <20050406174914.87290.qmail@web50302.mail.yahoo.com> References: <20050406174914.87290.qmail@web50302.mail.yahoo.com> Message-ID: <20050406215835.2033AAB8B6@www.manubulon.com> Hi, Check : - Has nagios user the right to execute the script ? - The path in check_snmp_storage.pl : use lib "/usr/local/nagios/libexec"; Is the utils.pm file in /usr/local/nagios/libexec ? Try (if perl is in /usr/bin/perl) : # 'check_snmp_storage' command definition define command{ command_name check_snmp_storage command_line /usr/bin/perl $USER1$/check_snmp_storage.pl -H $ARG1$ -C $ARG2$ -m $ARG3$ -w $ARG4$ -c $ARG5$ } Patrick Proy Nagios @ proy.org http://www.manubulon.com/nagios/ > -----Message d'origine----- > De : nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] De la part > de Naag Mummaneni > Envoy? : mercredi 6 avril 2005 19:49 > ? : nagios-users at lists.sourceforge.net > Objet : [Nagios-users] Nagios SNMP Plugins - (No output!) > > Hello All, > > I am trying to use the SNMP Plugins to monitor Windows > Servers. I am using the check_snmp_storage.pl script.I am > running the below command and the output looks fine.. > > [root at localhost libexec]# ./check_snmp_storage -H > host1 -C public -m C: -w 80 -c 90 > C:\ Label: Serial Number c6a91a7 : 34 %used > (2766MB/8189MB) (< 80) : OK > > However when I use the same command in Nagios > configuration..I see the following output on the Web interface... > > (No output!) > > Pls suggest where am I going wrong. BTW I am using the > 1.1 version of check_snmp_storage.pl script. > > Thanx in Advance > Naag. > > The following is my Nagios config... > Checkcommands.cfg > # 'check_snmp_storage' command definition define command{ > command_name check_snmp_storage > command_line $USER1$/check_snmp_storage.pl > -H $ARG1$ -C $ARG2$ -m $ARG3$ -w $ARG4$ -c $ARG5$ > } > > Services.cfg > # Service definition > define service{ > use > generic-service ; Name of service template to > use > > host_name host1 > service_description C Drive > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 1 > contact_groups nt-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command > check_snmp_storage!host1!public!C:!80!90 > } > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - 250MB free storage. Do more. Manage less. > http://info.mail.yahoo.com/mail_250 > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from > real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From theal at pace2020.com Thu Apr 7 04:12:24 2005 From: theal at pace2020.com (theal) Date: Wed, 6 Apr 2005 22:12:24 -0400 Subject: Notifications References: <4253D1B2.8050004@di.com.pt> Message-ID: <00ca01c53b17$40332f30$0b00a8c0@portabrother> I can not determine when alerts are sent out. All the documentation I have read states that you can make adjustments to 2nd and subsequent notifications and how long in between them. May question is when are alerts send out? I have a completly passive system and I can send a critical signal and the GUI shows it as critical. Nagios.log show that the signal came thru, but does not send out the notifications. Tonight I had to send the critical signal 3 times before the notifications were sent. Is there a setting to determine when or how many times the service/host has to have a warning or critical signal before it sends it's notifications? Tony ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Thu Apr 7 04:25:21 2005 From: jhmartin at toger.us (Jason Martin) Date: Wed, 6 Apr 2005 19:25:21 -0700 Subject: Notifications In-Reply-To: <00ca01c53b17$40332f30$0b00a8c0@portabrother> References: <4253D1B2.8050004@di.com.pt> <00ca01c53b17$40332f30$0b00a8c0@portabrother> Message-ID: <20050407022520.GC21556@zippy.toger.us> On Wed, Apr 06, 2005 at 10:12:24PM -0400, theal wrote: > Is there a setting to determine when or how many times the service/host has > to have a warning or critical signal before it sends it's notifications? max_check_attempts. -Jason Martin -- Dust-balls: The cheap man's Tribble This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From theal at pace2020.com Thu Apr 7 04:47:41 2005 From: theal at pace2020.com (theal) Date: Wed, 6 Apr 2005 22:47:41 -0400 Subject: Notifications References: <4253D1B2.8050004@di.com.pt><00ca01c53b17$40332f30$0b00a8c0@portabrother> <20050407022520.GC21556@zippy.toger.us> Message-ID: <00fc01c53b1c$2dcb7a00$0b00a8c0@portabrother> Thanks, I was looking under 'notifications'. I missed 'checks'. Tony ----- Original Message ----- From: "Jason Martin" To: Sent: Wednesday, April 06, 2005 10:25 PM Subject: Re: [Nagios-users] Notifications ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nuffers at tsainc.com Thu Apr 7 05:57:49 2005 From: nuffers at tsainc.com (nuffers at tsainc.com) Date: Wed, 6 Apr 2005 22:57:49 -0500 Subject: Steve Nuffer/US/AM/TSA is out of the office. Message-ID: I will be out of the office starting 04/06/2005 and will not return until 04/11/2005. I will respond to your message when I return. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 7 06:58:29 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 7 Apr 2005 16:58:29 +1200 Subject: Nagios EventLog agent v1.4.1 available Message-ID: <017701c53b2e$7092a400$01fea8c0@itss.auckland.ac.nz> Anyone who is using the Nagios EventLog agent v1.4.0, please be aware that version 1.4.1 is now available. This new version fixes a bug in the agent which on some systems can result in the NSCA password being lost after several alerts have been forwarded. This probably does not affect you; however you are recommended to upgrade as soon as possible in order to avoid possible problems. There are no other changes since version 1.4.0. The new version is available from www.steveshipway.org/software in the Nagios section, and from www.NagiosExchange.org in the Windows Agents section. Thankyou for your time, Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From vivek_222 at rediffmail.com Thu Apr 7 07:47:39 2005 From: vivek_222 at rediffmail.com (vivek sharma sharma) Date: 7 Apr 2005 05:47:39 -0000 Subject: Nagios SNMP Plugins - (No output!) Message-ID: <20050407054739.5594.qmail@webmail8.rediffmail.com> ?try running the same command logged in as nagios user and then try unless that happens Nagios shall not be able to generate any output. Thanks. Vivek On Wed, 06 Apr 2005 Naag Mummaneni wrote : >Hello All, > >I am trying to use the SNMP Plugins to monitor Windows >Servers. I am using the check_snmp_storage.pl script.I >am running the below command and the output looks >fine.. > >[root at localhost libexec]# ./check_snmp_storage -H >host1 -C public -m C: -w 80 -c 90 >C:\ Label: Serial Number c6a91a7 : 34 %used >(2766MB/8189MB) (< 80) : OK > >However when I use the same command in Nagios >configuration..I see the following output on the Web >interface... > >(No output!) > >Pls suggest where am I going wrong. BTW I am using the >1.1 version of check_snmp_storage.pl script. > >Thanx in Advance >Naag. > >The following is my Nagios config... >Checkcommands.cfg ># 'check_snmp_storage' command definition >define command{ > command_name check_snmp_storage > command_line $USER1$/check_snmp_storage.pl >-H $ARG1$ -C $ARG2$ -m $ARG3$ -w $ARG4$ -c $ARG5$ > } > >Services.cfg ># Service definition >define service{ > use >generic-service ; Name of service template to >use > > host_name host1 > service_description C Drive > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 1 > contact_groups nt-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command >check_snmp_storage!host1!public!C:!80!90 > } > > > > >__________________________________ >Do you Yahoo!? >Yahoo! Mail - 250MB free storage. Do more. Manage less. >http://info.mail.yahoo.com/mail_250 > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From vivek_222 at rediffmail.com Thu Apr 7 07:45:41 2005 From: vivek_222 at rediffmail.com (vivek sharma sharma) Date: 7 Apr 2005 05:45:41 -0000 Subject: Service down/refresh Issue Message-ID: <20050407054541.3359.qmail@webmail10.rediffmail.com> Dear all, In nagios i am facing service down and recovery issues.If a service is down it shall show me after few minutes but when it comes up it takes atleast 10-12 min. for it to show up.Well for me this much of time difference means a lot when we are depending on Nagios for reports. I have got 85 hosts(mainly routers as of now) In second phase i shall be putting 25 server services in it And third phase 180 more customer devices(routers/modems/switches etc.) I am pasting down the relative configurations with it: 1.) command_line $USER1$/check_ping -H $HOSTADDRESS$ -p 10 -w 450.0,40% -c 1750.0,98% 2.)This service defn. is for all 85 hosts(routers etc.) define service{ use generic-service host_name XXX.XXX.XXX service_description check_ping is_volatile 0 check_period 24x7 check_freshness 1 freshness_threshold 60 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups noc-support notification_interval 30 notification_period 24x7 notification_options c check_command check_ping } 3.)Other related configurations: max_concurrent_checks 0 service_inter_check_delay_method s service_reaper_frequency 10 service_interleave_factor s max_check_attempts 3 Also as suggested by some wise men in this list i have to strike a balance between check_interval and the reaper freq. as it wuld affect CPU. Can anybody suggest the optimum settings. Thanks. Vivek ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From matthias.fischer at gundlach.de Thu Apr 7 08:31:14 2005 From: matthias.fischer at gundlach.de (Fischer Matthias) Date: Thu, 7 Apr 2005 08:31:14 +0200 Subject: sms_client notification problem, $CONTACTPAGER$ not passed correctly ? Message-ID: <8FE81E6C8E024A4291DC076BABF34CA903720C@pandia.gundlach.de> Hi List I have a problem regarding notifications sent by sms_client :/ Things I?ve done so far : - Installed sms_client and tested function (sent sms by using the shell "sms_client test" i.e. works perfectly fine. - added the notify-by-sms command into misccomands.cfg misccommands.cfg : define command{ command_name notify-by-sms command_line /bin/sms_client -q $CONTACTPAGER$ '$NOTIFICATIONTYPE$: $HOSTNAME$: $SERVICEDESC$ is $SERVICESTATE$ ($OUTPUT$)' } define command{ command_name host-notify-by-sms command_line /bin/sms_client -q $CONTACTPAGER$ '$NOTIFICATIONTYPE$: $HOSTNAME$ is $HOSTSTATE$ ($OUTPUT$)' } - Added the number of my cellphone to my contact-information # 'matthias.fischer' contact definition define contact{ contact_name matthias.fischer alias Matthias Fischer service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email,notify-by-sms host_notification_commands host-notify-by-email,host-notify-by-sms email matthias.fischer at gundlach.de pager } - Every time a notification via email occured I take a look into the log-file and it says : Apr 6 11:47:36 localhost nagios: SERVICE NOTIFICATION: matthias.fischer;Entropoint;TELNET;CRITICAL;notify-by-sms;Connection refused by host Doesn?t look like an errormessage to me o.O - What I?ve done next : I have replaced the notify-by-sms command line in the misccommands.cfg with something like : /usr/bin/printf "$CONTACTPAGER$ '$NOTIFICATIONTYPE$: $HOSTNAME$: $SERVICEDESC$ is $SERVICESTATE$ ($OUTPUT$)'" > /tmp/test1 This line does generate a file called test1 in the given directory but : This file is empty :( I?m quite puzzled by now O.o Could it be that there is a problem with that $CONTACTPAGER$ variable ? May be someone else faced the same problem before ? May be I?m just too dumb ? Thanks in Advance Cheers Matthias ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthias.fischer at gundlach.de Thu Apr 7 08:35:39 2005 From: matthias.fischer at gundlach.de (Fischer Matthias) Date: Thu, 7 Apr 2005 08:35:39 +0200 Subject: appendix to "notification problem, $CONTACTPAGER$ not passed correctly?" Message-ID: <8FE81E6C8E024A4291DC076BABF34CA92392AB@pandia.gundlach.de> Uhhh .. in the heat of the action I forgot to tell you the version : It?s Nagios 1.2 from Feb 2002 on a FC 3 sytsem and sms_client 2.0.8y Sorry! Cheers Matthias ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.simkins at gmail.com Thu Apr 7 10:05:32 2005 From: mike.simkins at gmail.com (Mike Simkins) Date: Thu, 7 Apr 2005 09:05:32 +0100 Subject: Disable check-host-alive for certain hosts In-Reply-To: References: Message-ID: In your HOST definition (not service), there is also a check_command (normally set to check-host-alive), if you set this to check_ssh instead that should work correctly, I am using it for some routers on my network where ICMP is blocked, and I use check_tcp to check them for telnet access. On Apr 5, 2005 4:36 PM, Bergstr?m Sebastian wrote: > I have the check_command defined to check_ssh. As I understand, normal behaviour for Nagios is that if a Service does not respond - it tries to Ping it instead. When the host does not reply on SSH calls, Nagios tries to ping the host instead which results in a host down alert. > > How do I change this behaviour? > > Below are the service settings for my SSH checks. > > Any input is deeply appreciated. > > Best regards, > Sebastian Bergstroem > > ---- > > checkcommands.cfg > > define command{ > command_name check_ssh > command_line $USER1$/check_ssh $HOSTADDRESS$ > } > ---- > > services.cfg > > define service{ > name generic-service ; The 'name' of this se$ > active_checks_enabled 1 ; Active service checks are ena$ > passive_checks_enabled 1 ; Passive service checks are en$ > parallelize_check 1 ; Active service checks should $ > obsess_over_service 1 ; We should obsess over this se$ > check_freshness 0 ; Default is to NOT check servi$ > notifications_enabled 1 ; Service notifications are ena$ > event_handler_enabled 1 ; Service event handler is enab$ > flap_detection_enabled 1 ; Flap detection is enabled > process_perf_data 1 ; Process performance data > retain_status_information 1 ; Retain status information acr$ > retain_nonstatus_information 1 ; Retain non-status information$ > register 0 ; DONT REGISTER THIS DEFINITION$ > } > > # NSClient service definition template > define service{ > use generic-service > name nsclient-service > check_period 24x7 > max_check_attempts 3 > normal_check_interval 10 > retry_check_interval 1 > contact_groups Operation > notification_interval 30 > notification_period 24x7 > notification_options w,u,c,r > register 0 ; DO NOT REGISTER, TEMPLATE! > } > > define service{ > use nsclient-service > host_name fw01,fw02,fw03 > service_description SSH > check_command check_ssh > } > ---- > > -----Ursprungligt meddelande----- > Fr?n: Mike Simkins [mailto:mike.simkins at gmail.com] > Skickat: den 5 april 2005 10:27 > Till: Bergstr?m Sebastian > Kopia: nagios-users at lists.sourceforge.net > ?mne: Re: [Nagios-users] Disable check-host-alive for certain hosts > > > Change the check_command for the host to use an SSH check. > > You can use any check command to see if a host is alive, not just > check-host-alive > > On Apr 4, 2005 12:25 PM, Bergstr?m Sebastian > wrote: > > We use Nagios v.1.2 and monitors some remote Firewalls (among others). The Firewalls does not reply on ICMP (which makes check-host-alive useless). Our current check implementation is to ensure that the SSH daemon runs on the Firewalls. When the SSH daemon does not respond for whatever reason, check-host-alive kicks in and that results in a Host down alert (since the Firewalls does not respond on ICMP). > > > > How can I force Nagios to only rely on the SSH service check? > > > > Any thoughts or ideas are deeply appreciated. > > > > Thanks in advance! > > > > Best regards, > > Sebastian Bergstroem > > > > ---------------------------------------------- > > Sebastian Bergstroem > > Technical coordinator > > Kunskapsskolan i Sverige AB > > sebastian.bergstroem at kunskapsskolan.se > > ----------------------------------------------- > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_ide95&alloc_id396&opclick > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From artur.dassumpcao at di.com.pt Thu Apr 7 10:56:35 2005 From: artur.dassumpcao at di.com.pt (=?ISO-8859-1?Q?Artur_D=27Assump=E7=E3o?=) Date: Thu, 07 Apr 2005 09:56:35 +0100 Subject: Distributed Toplogy - check-host-live doubt Message-ID: <4254F5C3.2020900@di.com.pt> Hi ppl, Here I am again with a distributed topology doubt. In my present configuration I have Parents that depends from other lower Parents to detected some unreachable client status. In this topology I had to create a check-unreachable-host-live command that returns a dummy OK status, so the top parent could process the host's passive checks. So far so good, but I have one litle problem, I wish that the beneath parent, that is actually able to reach this specific client, could also send the reachability status of this host to its direct parent. If this check was a service, then there was no problem, but since this is a host specific directive(check_command), how can I acomplish this, or get around it? Hope I was clear, Thnks in advance, Artur D'Assump??o ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vivek_222 at rediffmail.com Thu Apr 7 15:35:07 2005 From: vivek_222 at rediffmail.com (vivek sharma sharma) Date: 7 Apr 2005 13:35:07 -0000 Subject: Plugin compatibility issue-On solaris Message-ID: <20050407133507.8261.qmail@webmail30.rediffmail.com> Dear all, I am running Nagios Version 2.0b2 I am using push_check.sh command to check remote-disk/remote-procs by using check_disk .It is working fine from linux(Nagios host) to linux(client) but when i try to monitor it on Solaris then it gives me error as following: ./push_check.sh /home/nagios/.ssh/id_rsa root at XXX.XXX.XXX ./check_procs -w 1:2 -c 2:1024 -C radiusd ./push_check.sh: line 90: [: : integer expression expected After reading the help for push_check.sh i found out that it may be an issue with plugin compatibility. My Nagios Host is running on ::Linux 2.4.20-8 #1 The client that i am trying to test is running on:: SunOS sudsr 5.9 Generic sun4u sparc SUNW,Ultra-60 If this is an compatibility issue then from where i can get plugin for Solaris 7,8,9. Plz suggest. Thanks. Vivek -------------- next part -------------- An HTML attachment was scrubbed... URL: From artur.dassumpcao at di.com.pt Thu Apr 7 16:29:33 2005 From: artur.dassumpcao at di.com.pt (=?ISO-8859-1?Q?Artur_D=27Assump=E7=E3o?=) Date: Thu, 07 Apr 2005 15:29:33 +0100 Subject: Distributed Toplogy - check-host-live doubt In-Reply-To: <4254F5C3.2020900@di.com.pt> References: <4254F5C3.2020900@di.com.pt> Message-ID: <425543CD.7000302@di.com.pt> I'm sorry to insist in this subject, but i'm really running on a schedulle here. Can any one help me out? Artur D'Assump??o Artur D'Assump??o wrote: > Hi ppl, > > Here I am again with a distributed topology doubt. In my present > configuration I have Parents that depends from other lower Parents to > detected some unreachable client status. In this topology I had to > create a check-unreachable-host-live command that returns a dummy OK > status, so the top parent could process the host's passive checks. So > far so good, but I have one litle problem, I wish that the beneath > parent, that is actually able to reach this specific client, could > also send the reachability status of this host to its direct parent. > If this check was a service, then there was no problem, but since this > is a host specific directive(check_command), how can I acomplish this, > or get around it? > > Hope I was clear, > > Thnks in advance, > > Artur D'Assump??o > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Thu Apr 7 16:44:02 2005 From: jhmartin at toger.us (Jason Martin) Date: Thu, 7 Apr 2005 07:44:02 -0700 Subject: Excluding ackd/downtime on Service Problems Message-ID: <20050407144402.GE21556@zippy.toger.us> Is there any way to exclude services that are in downtime or that are acknowledged from the Service Problems page? I'd like to have a screen that shows only problems that need some sort of action. Thanks, -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From rodney.caston at match.com Thu Apr 7 16:49:06 2005 From: rodney.caston at match.com (Rodney Caston) Date: Thu, 7 Apr 2005 09:49:06 -0500 Subject: send_ncsa Message-ID: <573F1E2597A7974E924A5F814CAC166D10BFCC68@da0shme010.match.corp> Where is send_ncsa obtained? ------ Also, in the 2.0 nagios docs, distributed monitoring is setup with this command; define command{ command_name submit_check_result command_line /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' } should $OUTPUT$ be changed to reflect the new macro of $SERVICEOUTPUT$ ? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rhall at HealthVision.com Thu Apr 7 16:58:06 2005 From: rhall at HealthVision.com (Rusty Hall) Date: Thu, 7 Apr 2005 09:58:06 -0500 Subject: nagios windows directory monitroing question Message-ID: Quick question I need to monitor a directory on a windows server and get notification if there are any files in that directory. Currently with NSclient I cant accompish this, does anyone have any ideas on how to accomplish this? Thanks In Advance Rusty -------------- next part -------------- An HTML attachment was scrubbed... URL: From nmaccoll at systemsfusion.com Thu Apr 7 17:03:03 2005 From: nmaccoll at systemsfusion.com (Neil MacColl) Date: Thu, 07 Apr 2005 17:03:03 +0200 Subject: NRPE Message-ID: <0IEL0014A0GD7V@ims-1.dctr.sa.sysfusion.net> Hi all, New to nagios, but its working. I have downloaded the nagios plugins and compiled it successfully, yet I am unable to find nrpe anywhere. I have read the docs, but can't seem to find anything that will help me find this config file. I would like it running on one of our machines to use check_disk, Can anyone help me find this file, or how to generate it. Regards Neil -------------- next part -------------- An HTML attachment was scrubbed... URL: From bmccann at andmore.com Thu Apr 7 17:06:16 2005 From: bmccann at andmore.com (McCann, Brian) Date: Thu, 7 Apr 2005 11:06:16 -0400 Subject: nagios windows directory monitroing question Message-ID: I haven't tried this yet, but I plan on using it in the near future. Check out www.miwi-dv.com/nrpent/ . It's a Windows "clone" of the *nix NRPE daemon. It's my understanding that it functions very similar to the *nix version, so you could then make your own little script that nrpent can run to check for the files...and just use check_nrpe on your Nagios server. At least, that's similar to what I plan on doing anyway. Hope this helps! Good luck! --Brian _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Rusty Hall Sent: Thursday, April 07, 2005 10:58 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios windows directory monitroing question Quick question I need to monitor a directory on a windows server and get notification if there are any files in that directory. Currently with NSclient I cant accompish this, does anyone have any ideas on how to accomplish this? Thanks In Advance Rusty -------------- next part -------------- An HTML attachment was scrubbed... URL: From nicolas.herbiet at gmail.com Thu Apr 7 17:07:26 2005 From: nicolas.herbiet at gmail.com (Nicolas Herbiet) Date: Thu, 7 Apr 2005 17:07:26 +0200 Subject: =?ISO-8859-1?Q?Probl=E9me_Nagios?= In-Reply-To: <450006a5050407080526cb5470@mail.gmail.com> References: <450006a5050407080526cb5470@mail.gmail.com> Message-ID: <450006a5050407080711a3869@mail.gmail.com> Bonjour, Je me permets de vous contacter car je vient d'installer nagios est j'ai un petit probl?me quand je lance nagios j'ai une erreur : No lock file found in /var/run/nagios.pid. Pourriez vous m'aider ? Merci d'avance -- Nicolas Herbiet Email : nicolas.herbiet at gmail.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bmccann at andmore.com Thu Apr 7 17:11:40 2005 From: bmccann at andmore.com (McCann, Brian) Date: Thu, 7 Apr 2005 11:11:40 -0400 Subject: NRPE Message-ID: Go here ( http://www.nagios.org/download/extras.php ) and search for "nrpe" on the page...you should find it. Once installed, the config file is called nrpe.cfg. If you are fortunate enough to be running FreeBSD, it's in the ports collection as well (since that's how I typically install it). Hope this helps. --Brian _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Neil MacColl Sent: Thursday, April 07, 2005 11:03 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE Hi all, New to nagios, but its working. I have downloaded the nagios plugins and compiled it successfully, yet I am unable to find nrpe anywhere. I have read the docs, but can't seem to find anything that will help me find this config file. I would like it running on one of our machines to use check_disk, Can anyone help me find this file, or how to generate it. Regards Neil -------------- next part -------------- An HTML attachment was scrubbed... URL: From guillaume.lohez at linagora.com Thu Apr 7 17:23:37 2005 From: guillaume.lohez at linagora.com (guillaume LOHEZ) Date: Thu, 07 Apr 2005 17:23:37 +0200 Subject: =?ISO-8859-1?Q?Probl=E9me_Nagios?= In-Reply-To: <450006a5050407080711a3869@mail.gmail.com> References: <450006a5050407080526cb5470@mail.gmail.com> <450006a5050407080711a3869@mail.gmail.com> Message-ID: <42555079.5080608@linagora.com> Salut A la fin du demarage de Nagios, il cherche a lister le fichier PID pour obtenir le PID avec lequel Nagios tourne pour l'afficher.... C'est donc que ton Nagios est pas demare sur le fichier PID n'existe pas..... Donc ton Nagios doit pas demarrer correctement !! Tu devrais verifier tes confs..... Tu peux aussi tester la commande "{nagios_bin_path}/nagios -v {nagios_etc_path}/nagios.cfg" Ca te dira si tu as des erreurs dans ta config. A plus Guillaume Nicolas Herbiet a ?crit : >Bonjour, > >Je me permets de vous contacter car je vient d'installer nagios est >j'ai un petit >probl?me quand je lance nagios j'ai une erreur : No lock file found in >/var/run/nagios.pid. > >Pourriez vous m'aider ? > >Merci d'avance > > > -- Guillaume LOHEZ Administrateur Systemes & Reseaux Portable: +33 (0)6 72 23 20 16 E-mail: guillaume.lohez at linagora.com ------------------------------------ LINAGORA 30 Rue Saint Augustin, PARIS 2eme Telephone: +33 (0)1 58 18 68 28 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Thu Apr 7 17:26:41 2005 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 07 Apr 2005 10:26:41 -0500 Subject: =?ISO-8859-1?Q?Probl=E9me?= Nagios In-Reply-To: <450006a5050407080711a3869@mail.gmail.com> References: <450006a5050407080526cb5470@mail.gmail.com> <450006a5050407080711a3869@mail.gmail.com> Message-ID: <1112887602.27372.38.camel@localhost> Dies ist eine englische Mailingliste. Und wir moechten, dass es so bleibt. Vielen Dank fuer Ihr Verstaendnis. C'est une liste anglaise d'exp?dition. Et nous la pr?f?rons pour rester de cette fa?on. Merci de la compr?hension. Ci? ? una lista inglese spedire. E la preferiamo per rimanere quel senso. Grazie per capire. Esta ? uma lista inglesa enviar. E n?s preferimo-la permanecer essa maneira. Obrigado compreendendo. Esto es una lista inglesa el enviar. Y la preferimos para permanecer esa manera. Gracias por entender. ????????????????????????? ????????????????????????????? ???? ??? ?? ?? ?? ??. ??? ? ??? ?? ?? ??? ??? ??? ????. ??? ?? ?? ?? ????. ????????????????????????? ???? This is an English mailing list. And we prefer it to stay that way. Thank you for understanding. On Thu, 2005-04-07 at 17:07 +0200, Nicolas Herbiet wrote: > Bonjour, > > Je me permets de vous contacter car je vient d'installer nagios est > j'ai un petit > probl?me quand je lance nagios j'ai une erreur : No lock file found in > /var/run/nagios.pid. > > Pourriez vous m'aider ? > > Merci d'avance > From gimenez at cict.fr Thu Apr 7 17:42:11 2005 From: gimenez at cict.fr (carole gimenez) Date: Thu, 07 Apr 2005 17:42:11 +0200 Subject: =?UTF-8?B?77+9?= In-Reply-To: <1112887602.27372.38.camel@localhost> References: <450006a5050407080526cb5470@mail.gmail.com> <450006a5050407080711a3869@mail.gmail.com> <1112887602.27372.38.camel@localhost> Message-ID: <425554D3.90902@cict.fr> The french mailing-list is accessible via: nagios-french at lists.unixtech.be jeff vier wrote: >Dies ist eine englische Mailingliste. Und wir moechten, dass es so >bleibt. Vielen Dank fuer Ihr Verstaendnis. > >C'est une liste anglaise d'exp?dition. Et nous la pr?f?rons pour rester >de cette fa?on. Merci de la compr?hension. > >Ci? ? una lista inglese spedire. E la preferiamo per rimanere quel >senso. Grazie per capire. > >Esta ? uma lista inglesa enviar. E n?s preferimo-la permanecer essa >maneira. Obrigado compreendendo. > >Esto es una lista inglesa el enviar. Y la preferimos para permanecer >esa manera. Gracias por entender. > >????????????????????????? ????????????????????????????? ???? > >??? ?? ?? ?? ??. ??? ? ??? ?? ?? ??? ??? ??? ????. ??? ?? ?? ?? ????. > >????????????????????????? ???? > >This is an English mailing list. And we prefer it to stay that way. >Thank you for understanding. > >On Thu, 2005-04-07 at 17:07 +0200, Nicolas Herbiet wrote: > > >>Bonjour, >> >>Je me permets de vous contacter car je vient d'installer nagios est >>j'ai un petit >>probl?me quand je lance nagios j'ai une erreur : No lock file found in >>/var/run/nagios.pid. >> >>Pourriez vous m'aider ? >> >>Merci d'avance >> >> >> >???????????????????????????????????????????X???'???u??N?L??v?-?y?v'z??q????'????wky?(|???nr????y?n????8?r??brk????k?\????-??r??????x'???????,v?o?i????Z ?'????)rO??????????????????????????????????????????f??)?+-5?"??????X??????y?+???z?m?????b??????q??????+-??b??~??j???z?????y? ?w%??j???*'??n?)?z?"????t???z?+?)?j|??????1?,j??+a??l??h???)????????? ??h???{? > > > > From ian at mintra.com Thu Apr 7 17:53:13 2005 From: ian at mintra.com (Ian McCloy) Date: Thu, 07 Apr 2005 16:53:13 +0100 Subject: Problems With new install - CGIWrap Error: Script dir not found Message-ID: <42555769.80408@mintra.com> Hello, trying to get nagios installed onto a fedora core 1 server, I get an error whenever I access the cgi files, CGIWrap Error: Script dir not found -------------------------------------------------------------------------------- The specified user does not have a script directory set up for execution of cgi scripts, or the directory permissions prevent cgiwrap from using that directory. the /usr/local/nagios/sbin/ directory is 777 and all the CGIs are 777 now if I access the nagios system from a secure connection i.e. https:// I get another error Whoops! Error: Could not read object configuration data! but I've created all my object config files as directed. the apache conf is as follows --------- ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios/ /usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all AllowOverride AuthConfig order allow,deny allow from all Options ExecCGI AllowOverride AuthConfig order allow,deny allow from all --------- I've also got nagiosweb (PHP/MySQL configuration tool) installed. When I access the site with HTTP: it seems to work, but when I access the site with HTTPS the php is not parsed and only the text of the script is displayed. Any ideas on what I'm missing? thanks, Ian McCloy ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bmccann at andmore.com Thu Apr 7 18:09:39 2005 From: bmccann at andmore.com (McCann, Brian) Date: Thu, 7 Apr 2005 12:09:39 -0400 Subject: Problems With new install - CGIWrap Error: Script dir not found Message-ID: I'm no expert, but everything you have is close to what I have in my working system, except I don't use the "Options ExecCGI" line. What, if anything, is in the apache error and access logs? When I was setting mine up originally, those logs made it easy to find the problem. --Brian -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ian McCloy Sent: Thursday, April 07, 2005 11:53 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problems With new install - CGIWrap Error: Script dir not found Hello, trying to get nagios installed onto a fedora core 1 server, I get an error whenever I access the cgi files, CGIWrap Error: Script dir not found ------------------------------------------------------------------------ -------- The specified user does not have a script directory set up for execution of cgi scripts, or the directory permissions prevent cgiwrap from using that directory. the /usr/local/nagios/sbin/ directory is 777 and all the CGIs are 777 now if I access the nagios system from a secure connection i.e. https:// I get another error Whoops! Error: Could not read object configuration data! but I've created all my object config files as directed. the apache conf is as follows --------- ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios/ /usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all AllowOverride AuthConfig order allow,deny allow from all Options ExecCGI AllowOverride AuthConfig order allow,deny allow from all --------- I've also got nagiosweb (PHP/MySQL configuration tool) installed. When I access the site with HTTP: it seems to work, but when I access the site with HTTPS the php is not parsed and only the text of the script is displayed. Any ideas on what I'm missing? thanks, Ian McCloy ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muksyed at yahoo.com Thu Apr 7 20:21:51 2005 From: muksyed at yahoo.com (Mukarram Syed) Date: Thu, 7 Apr 2005 11:21:51 -0700 (PDT) Subject: Help on check_disk using the -p option. In-Reply-To: 6667 Message-ID: <20050407182151.21455.qmail@web31504.mail.mud.yahoo.com> All, I am in the process of writing a script for this. Thanks to everyone who responded to this Subject. -Mukarram. --- andrew2 at one.net wrote: > nagios-users-admin at lists.sourceforge.net wrote: > > Is it possible to have multiple check_command for > a single > > service_description? For example: > > > > define service{ > > service_description Disks > > check_command check_nrpe!check_disk1 > > check_command check_nrpe!check_disk2 > > } > > No, you can only do one check per service. One > thing you could do to > achieve the results you're looking for would be to > write up your own > script that performs each of the individual checks > for your disks and > then concatenates the results into one result that > returns OK, WARNING, > or CRITICAL along with whatever additional text > you'd like and then have > Nagios use your script as the check command for that > service. > > Andrew > > Mukarram Syed muksyed at yahoo.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frederik.vanhee at perso.be Thu Apr 7 21:46:05 2005 From: frederik.vanhee at perso.be (Vanhee Frederik) Date: Thu, 07 Apr 2005 21:46:05 +0200 Subject: Contactgroups : host vs services In-Reply-To: References: Message-ID: <42558DFD.5040005@perso.be> Hello, to explain my problem, I will simplify it. Let's say I have two hosts : host1 and host2 and on these two hosts 1 service is checked, for example cpu load host1 has contactgroup host1admins host2 has contactgroup host2admins service cpu-load is defined in common for the 2 hosts, contactgroup = host1admins,host2admins My problem, when the service cpu-load on host1 is not-ok, I want host1admins to be alerted, when the cpu-load on host2 is not-ok, I want host2admins to be alerted. Is there a way to filter out service-notifications that notifications are only sent when to the contactgroups that belong to the host and the service ? Or any other ideas ? The real problem is that my service is defined once and applied to 30 hostgroups (with their contactgroups). Thank in advance, Frederik ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bestevez at gmail.com Thu Apr 7 21:53:00 2005 From: bestevez at gmail.com (Bernardo Estevez) Date: Thu, 7 Apr 2005 15:53:00 -0400 Subject: Setting up Nagios as an SNMP Trap Receiver Message-ID: Greetings: Has anyone been successful in setting up Nagios to receive SNMP traps. If so, can you share your experince with us in how you got it working? I recently read an article on this from the March issue of Sys Admin magazine. I tried following their method which suggests using other utilities in conjunction with Nagios. I have not been successful in fully implementing it yet. Thanks, -Bernardo ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Thu Apr 7 22:26:30 2005 From: b00mer at gmx.net (Hendrik Baecker) Date: Thu, 07 Apr 2005 22:26:30 +0200 Subject: New version 2.0b2 New Servicegroups feature In-Reply-To: References: Message-ID: <42559776.2010908@gmx.net> Hi, perhaps a little bit late, but I wasn't able to find a reply to your post... Did you read the servicegroups carefully? .... members HOST,SERVICE,ANOTHER_HOST, WITH_HIS_SERVICE ..... I tried this new feature a few minutes ago without carefully reading. I just typed some Member services only: members LOAD,MYSQL just to see what happens, but after the sanity check --> SEG_FAULT. @Developer: Perhaps it is possible to screw up the sanity check to give some useful errors? My System: SuSE Linux Sles9, Nagios 2.02b (tarball, not cvs but even no RPM!) Best regards, Hendrik Marcel Smeets schrieb: >Maybe someone has the same problem, or even better, the solution. In >this version is a new feature: servicegroups. I created a new file >servicegroups.cfg, put this in the nagios.cfg as the cfg file for >servicegroups. Made a couple of servicegroups, followed the example. >Checked with nagios -v nagios.cfg till all the "normal" typo's were >gone, so everything is correctly added but the the final check failed. > >/bin/nagios -v nagios.cfg > >Nagios 2.0b2 >Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org) >Last Modified: 02-09-2005 >License: GPL > >Reading configuration data... > >Segmentation fault > >There is no other error message visible anywhere. So what is wrong??? >Could there be a bug with this new servicegroups > >Marcel > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Thu Apr 7 22:40:04 2005 From: b00mer at gmx.net (Hendrik Baecker) Date: Thu, 07 Apr 2005 22:40:04 +0200 Subject: Contactgroups : host vs services In-Reply-To: <42558DFD.5040005@perso.be> References: <42558DFD.5040005@perso.be> Message-ID: <42559AA4.2080901@gmx.net> Hello, many choices.... ;) 1) You can define 30 Services for the same check but different contactgroups = many to type 2) If you have 30 Services and want to deal with a hand full of contactgroups define a hand full of service templates with this hand full of contactgroups 3) AFAIK you don't realy apply services to hostgroups... to your hosts ok, but hostgroups? The contactgroups in your hostgroup definition will be the target if you have a host alert but not on a service alert (so under Nagios <2.x) My suggestion: Read the docs about templates in your object configfiles, since Nagios 1.1 (I think) you can use them and they are realy usefull. Hendrik Vanhee Frederik schrieb: > Hello, > > to explain my problem, I will simplify it. > > Let's say I have two hosts : host1 and host2 and on these two hosts 1 > service is checked, for example cpu load > > host1 has contactgroup host1admins > host2 has contactgroup host2admins > > service cpu-load is defined in common for the 2 hosts, contactgroup = > host1admins,host2admins > > My problem, when the service cpu-load on host1 is not-ok, I want > host1admins to be alerted, when the cpu-load on host2 is not-ok, I > want host2admins to be alerted. > Is there a way to filter out service-notifications that notifications > are only sent when to the contactgroups that belong to the host and > the service ? > > Or any other ideas ? The real problem is that my service is defined > once and applied to 30 hostgroups (with their contactgroups). > > Thank in advance, > > Frederik > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Thu Apr 7 22:50:09 2005 From: b00mer at gmx.net (Hendrik Baecker) Date: Thu, 07 Apr 2005 22:50:09 +0200 Subject: nagios windows directory monitroing question In-Reply-To: References: Message-ID: <42559D01.6050903@gmx.net> Rusty Hall schrieb: > Quick question I need to monitor a directory on a windows > server and get notification if there are any files in that directory. > Currently with NSclient I cant accompish this, does anyone have any > ideas on how to accomplish this? > > > > Thanks In Advance > > Rusty > Hi Rusty, is it possilbe for you to write a Windoze Script to check if there ist something in your dir? CMD, Perl, whatever... Then you can use the NRPE (http://www.nagiosexchange.org/NRPE.77.0.html) for NT (AFAIK not only NT) for you. Nagios connect to the NRPE_NT, NRPE executes some local Scripts and gives the results back to Nagios. Your self-made check has to answer correctly, read more about writing own plugins under: http://nagiosplug.sourceforge.net/developer-guidelines.html Special: http://nagiosplug.sourceforge.net/developer-guidelines.html#PLUGOUTPUT http://nagiosplug.sourceforge.net/developer-guidelines.html#RETURNCODES Hope this helps Hendrik ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 7 22:49:03 2005 From: marc at ena.com (Marc Powell) Date: Thu, 7 Apr 2005 15:49:03 -0500 Subject: Setting up Nagios as an SNMP Trap Receiver Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Bernardo Estevez > Sent: Thursday, April 07, 2005 2:53 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Setting up Nagios as an SNMP Trap Receiver > > Greetings: > > Has anyone been successful in setting up Nagios to receive SNMP traps. > If so, can you share your experince with us in how you got it working? > > I recently read an article on this from the March issue of Sys Admin > magazine. I tried following their method which suggests using other > utilities in conjunction with Nagios. I have not been successful in > fully implementing it yet. I haven't tried it personally but the documentation at http://nagios.sourceforge.net/docs/1_0/int-snmptrap.html looks pretty thorough and straightforward. In concept it's not significantly different than distributed monitoring or submitting external commands which I've done a lot of and know to be easy to accomplish. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 7 22:53:52 2005 From: marc at ena.com (Marc Powell) Date: Thu, 7 Apr 2005 15:53:52 -0500 Subject: NRPE Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Neil MacColl > Sent: Thursday, April 07, 2005 10:03 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NRPE > > Hi all, > > > > New to nagios, but its working. I have downloaded the nagios plugins and > compiled it successfully, yet I am unable to find nrpe anywhere. I have > read the docs, but can't seem to find anything that will help me find > this config file. I would like it running on one of our machines to use > check_disk, > > > > Can anyone help me find this file, or how to generate it. It's an addon program, not a config file. http://www.nagios.org/download/extras.php I got to that by following the 'Addons and Extras Download Page' link from http://www.nagios.org/download. You can also find it available at http://www.nagiosexchange.org/NRPE.77.0.html?&tx_netnagext_pi1[p_view]=1 26 -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Thu Apr 7 23:00:03 2005 From: b00mer at gmx.net (Hendrik Baecker) Date: Thu, 07 Apr 2005 23:00:03 +0200 Subject: Nagios calling out to somewhere - Addon Message-ID: <42559F53.1070906@gmx.net> Hi Lists, a collegue of mine and myself just working with Nagios 2.02b and want that the Nagios Server is able to dial a Telephonenumber and do some text2speech to some user a la: HOST has a Problem with SERVICE. Please check. Until now we are using such a kind of notification to call out our "Emergency" Standby Admins on their mobilephone to annoy them in the middle of the night to check Critical Services with a pre-spoken text. Now we want the mentionend text 2 speech for better Speech-Notifications. My question: Is there anybody out there who is doing something like this or could it be interesting for someone? I guess it would not be the Problem to write a detailed documentation how to set up this construct. Answers like "Great Idea, give it to us" or "Go away and live your f.... live" would be nice ;) Best regards, Hendrik ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 7 22:57:30 2005 From: marc at ena.com (Marc Powell) Date: Thu, 7 Apr 2005 15:57:30 -0500 Subject: send_ncsa Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Rodney Caston > Sent: Thursday, April 07, 2005 9:49 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] send_ncsa > > Where is send_ncsa obtained? http://www.nagios.org/download/extras.php You want the Nagios Service Check Acceptor (NSCA). > > ------ > Also, in the 2.0 nagios docs, distributed monitoring is setup with this > command; > > define command{ > command_name submit_check_result > command_line > /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ > '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' > } > > should $OUTPUT$ be changed to reflect the new macro of $SERVICEOUTPUT$ ? Yes. The documentation is not fully updated yet. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 7 23:06:07 2005 From: marc at ena.com (Marc Powell) Date: Thu, 7 Apr 2005 16:06:07 -0500 Subject: Excluding ackd/downtime on Service Problems Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jason Martin > Sent: Thursday, April 07, 2005 9:44 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Excluding ackd/downtime on Service Problems > > Is there any way to exclude services that are in downtime or > that are acknowledged from the Service Problems page? I'd like > to have a screen that shows only problems that need some sort of > action. Go to the Tactical Overview. If you have a Critical service that has not been acknowledged or isn't in Downtime, you'll see something like 'x Unhandled Problems' in the Critical Column. Click on that link. You could also add the destination of that link to your side.html menu. It'll be something like -- http://your.nagios.host/nagios/cgi-bin/status.cgi?host=all&style=detail& servicestatustypes=32&hoststatustypes=3&serviceprops=42 That will only show you unhandled Critical services though. http://your.nagios.host/nagios/cgi-bin/status.cgi?host=all&style=detail& servicestatustypes=40&hoststatustypes=3&serviceprops=42 Should show you Critical and Warning. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eshine at mcosta.eng.br Thu Apr 7 23:26:40 2005 From: eshine at mcosta.eng.br (Edgar Shine) Date: Thu, 07 Apr 2005 18:26:40 -0300 Subject: Unexpected trends reports Message-ID: <4255A590.7040609@mcosta.eng.br> Greetings, I?m using Nagios (2.0b2) to monitor remote radios (about 300 devices) using ping plugin. It?s working fine, but this morning I?ve been notice by my NOC about an enexpected behavior. Sometimes, NOC collects trend reports for statistics purposes and they verified that trend reports didn?t reflect the real service downtime from a device. Digging a little, I found these lines about the polled device: ---begin--- [1112890437] SERVICE ALERT: tajuras_comercial;PING;CRITICAL;HARD;1;CRITICAL - Plugin timed out after 10 seconds [1112890678] SERVICE ALERT: tajuras_comercial;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 40%, RTA = 25.30 ms [1112890737] SERVICE ALERT: tajuras_comercial;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 29.40 ms [1112898887] INITIAL SERVICE STATE: tajuras_comercial;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 35.50 ms --eof--- Apparently, we had a situation where this device have entered in a CRITICAL HARD state and after a SOFT recovery the hard state remain in a critical state (for trend report, monitor pages show OK state) until another hard state change (e.g. a Nagios restart). I?ll really appreciate any help or advice about this issue. TIA for your time and understanding (I know, my english is terrible...). rgds, Edgar Shine ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 7 23:25:14 2005 From: marc at ena.com (Marc Powell) Date: Thu, 7 Apr 2005 16:25:14 -0500 Subject: Plugin compatibility issue-On solaris Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of vivek sharma sharma > Sent: Thursday, April 07, 2005 8:35 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Plugin compatibility issue-On solaris > > Dear all, > I am running Nagios Version 2.0b2 > I am using push_check.sh command to check remote-disk/remote-procs by > using check_disk .It is working fine from linux(Nagios host) to > linux(client) but when i try to monitor it on Solaris then it gives me > error as following: > ./push_check.sh /home/nagios/.ssh/id_rsa root at XXX.XXX.XXX ./check_procs -w > 1:2 -c 2:1024 -C radiusd > ./push_check.sh: line 90: [: : integer expression expected > > After reading the help for push_check.sh i found out that it may be an > issue with plugin compatibility. I haven't ever heard of push_check.sh before and I've been using Nagios and Netsaint for years. Perhaps I've missed something. If it's the wrapper that is available at http://jjoseph.org/linux-work/nagios-plugins, it looks like it assumes that each plugin works universally on all architectures, i.e. you have python installed and are using his python scripts and they really do work across all architectures as he seems to claim. The standard nagios plugins are generally architecture dependent meaning you can not run a plugin compiled on linux on a sun box and vice-versa. Even different flavors of an OS can be problematic. A plugin compiled on Fedora Core 3 probably isn't going to run on a Redhat 7.x box for example. You might want to look at NRPE or the plain-old check-by-ssh. This is the type of implementation they were designed for. Unless the author of that program is a member of this list you'll probably have better luck contacting him directly if you want to continue to use his solution. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 7 23:35:12 2005 From: marc at ena.com (Marc Powell) Date: Thu, 7 Apr 2005 16:35:12 -0500 Subject: WAP Interface CGI Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of nuffers at tsainc.com > Sent: Wednesday, April 06, 2005 11:18 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] WAP Interface CGI > > > I am using the WAP interface and I'm having problems acknowledging a > service/host. Nothing in the nagios.log file and no feed back after I hit > OK. Other commands such as disable/enable work fine. > > I'm using this statuswml.cgi through a Dell Axim pocketpc. Did you check your apache access/error logs? Does the request get there? Any errors? -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jon at clearconcepts.ca Thu Apr 7 23:44:18 2005 From: Jon at clearconcepts.ca (Jon Schneider) Date: Thu, 7 Apr 2005 16:44:18 -0500 Subject: Missing Files Message-ID: Hello all, I am pretty new to Nagios but I managed to get it all up and running, just a few minor oddities I have questions about. I appear to be missing a few of the CGI files. Specifically trends.cgi, histogram.cgi, statusmap.cgi, and statuswrl.cgi seems to just want to download when I click on 3-D status map. These files simply do not exhist in the sbin directory or anywhere else. Other that these missing files everything seems to work perfectly. I built from source, I am using Mandrake 10.1, Please let me know if you have any idea why these files may not have been created... Thanks, Jon ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 7 23:42:03 2005 From: marc at ena.com (Marc Powell) Date: Thu, 7 Apr 2005 16:42:03 -0500 Subject: nagios-service down/recovery issues Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Arno Lehmann > Sent: Wednesday, April 06, 2005 6:12 AM > To: vivek sharma sharma > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios-service down/recovery issues > > Hi. > > vivek sharma sharma wrote: > > > Also to calculate the reaper freq. it is said that we can run nagios > > with -s option but > > when i do that it doesnot run(may be i am intercepting it the wrong way) > > > > [root at nagios root]# /etc/rc.d/init.d/nagios -s > > Usage: nagios {start|stop|restart|reload|force-reload|status} > > [root at nagios root]# /etc/rc.d/init.d/nagios -s start > > Usage: nagios {start|stop|restart|reload|force-reload|status} > > You need to run nagios itself with the -s option, not its boot script. And it's actually /path/to/nagios -s /path/to/nagios.cfg '/usr/local/nagios/bin/nagios -s /usr/local/nagios/etc/nagios.cfg' if you're using default locations. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 7 23:43:04 2005 From: marc at ena.com (Marc Powell) Date: Thu, 7 Apr 2005 16:43:04 -0500 Subject: Missing Files Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jon Schneider > Sent: Thursday, April 07, 2005 4:44 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Missing Files > > Hello all, > > I am pretty new to Nagios but I managed to get it all up and running, > just a few minor oddities I have questions about. I appear to be > missing a few of the CGI files. Specifically trends.cgi, histogram.cgi, > statusmap.cgi, and statuswrl.cgi seems to just want to download when I > click on 3-D status map. These files simply do not exhist in the sbin > directory or anywhere else. Other that these missing files everything > seems to work perfectly. > > I built from source, I am using Mandrake 10.1, Please let me know if you > have any idea why these files may not have been created... > http://www.nagios.org/faqs/viewfaq.php?faq_id=55 -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 7 23:44:38 2005 From: marc at ena.com (Marc Powell) Date: Thu, 7 Apr 2005 16:44:38 -0500 Subject: Missing Files Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jon Schneider > Sent: Thursday, April 07, 2005 4:44 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Missing Files > > Hello all, > > I am pretty new to Nagios but I managed to get it all up and running, > just a few minor oddities I have questions about. I appear to be > missing a few of the CGI files. Specifically trends.cgi, histogram.cgi, > statusmap.cgi, and statuswrl.cgi seems to just want to download when I > click on 3-D status map. These files simply do not exhist in the sbin > directory or anywhere else. Other that these missing files everything > seems to work perfectly. > > I built from source, I am using Mandrake 10.1, Please let me know if you > have any idea why these files may not have been created... Sorry, one more addition. statuswrl.cgi 'wants to download' because you do not have a VRML viewer installed. http://www.nagios.org/faqs/viewfaq.php?faq_id=52 -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From artur.dassumpcao at di.com.pt Thu Apr 7 23:51:06 2005 From: artur.dassumpcao at di.com.pt (=?ISO-8859-1?Q?Artur_D=27Assump=E7=E3o?=) Date: Thu, 07 Apr 2005 22:51:06 +0100 Subject: Distributed Toplogy - check-host-live doubt - Please help needed! In-Reply-To: <425543CD.7000302@di.com.pt> References: <4254F5C3.2020900@di.com.pt> <425543CD.7000302@di.com.pt> Message-ID: <4255AB4A.1070907@di.com.pt> I still can't solve this issue, can any one help me here please? I would be gratefull. Artur D'Assump??o wrote: > I'm sorry to insist in this subject, but i'm really running on a > schedulle here. Can any one help me out? > > Artur D'Assump??o > > Artur D'Assump??o wrote: > >> Hi ppl, >> >> Here I am again with a distributed topology doubt. In my present >> configuration I have Parents that depends from other lower Parents to >> detected some unreachable client status. In this topology I had to >> create a check-unreachable-host-live command that returns a dummy OK >> status, so the top parent could process the host's passive checks. So >> far so good, but I have one litle problem, I wish that the beneath >> parent, that is actually able to reach this specific client, could >> also send the reachability status of this host to its direct parent. >> If this check was a service, then there was no problem, but since >> this is a host specific directive(check_command), how can I acomplish >> this, or get around it? >> >> Hope I was clear, >> >> Thnks in advance, >> >> Artur D'Assump??o >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fish4tuna at gmail.com Fri Apr 8 00:18:18 2005 From: fish4tuna at gmail.com (Jon Mineiko) Date: Thu, 7 Apr 2005 17:18:18 -0500 Subject: Warnings do not show up for Trend Reports Message-ID: <7e6ff0c10504071518613fc528@mail.gmail.com> Warnings show up as status but not when I run a report. In the report they count as Up. Has anyone had this issue? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 8 00:58:08 2005 From: marc at ena.com (Marc Powell) Date: Thu, 7 Apr 2005 17:58:08 -0500 Subject: Distributed Toplogy - check-host-live doubt - Please help needed! Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Artur D'Assump??o > Sent: Thursday, April 07, 2005 4:51 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Distributed Toplogy - check-host-live doubt - > Please help needed! > > I still can't solve this issue, can any one help me here please? I would > be gratefull. > > > Artur D'Assump??o wrote: > > > I'm sorry to insist in this subject, but i'm really running on a > > schedulle here. Can any one help me out? > > > > Artur D'Assump??o > > > > Artur D'Assump??o wrote: > > > >> Hi ppl, > >> > >> Here I am again with a distributed topology doubt. In my present > >> configuration I have Parents that depends from other lower Parents to > >> detected some unreachable client status. In this topology I had to > >> create a check-unreachable-host-live command that returns a dummy OK > >> status, so the top parent could process the host's passive checks. So > >> far so good, but I have one litle problem, I wish that the beneath > >> parent, that is actually able to reach this specific client, could > >> also send the reachability status of this host to its direct parent. > >> If this check was a service, then there was no problem, but since > >> this is a host specific directive(check_command), how can I acomplish > >> this, or get around it? Resending the same thing over and over again isn't going to help. Perhaps no one has done what you are trying, you haven't supplied enough information to answer or, more likely, what you're trying to accomplish isn't clear at all. I for one have no idea what your desired end-result is from the information above or how it differs from the documented parenting/network reachability logic that is already incorporated into Nagios. Perhaps you should read http://nagios.sourceforge.net/docs/1_0/networkreachability.html and http://nagios.sourceforge.net/docs/1_0/networkoutages.html and then tell us how what you want is different and/or state your problem more simply, using examples. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 8 01:03:37 2005 From: marc at ena.com (Marc Powell) Date: Thu, 7 Apr 2005 18:03:37 -0500 Subject: Warnings do not show up for Trend Reports Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jon Mineiko > Sent: Thursday, April 07, 2005 5:18 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Warnings do not show up for Trend Reports > > Warnings show up as status but not when I run a report. In the report > they count as Up. Has anyone had this issue? No. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From artur.dassumpcao at di.com.pt Fri Apr 8 01:23:27 2005 From: artur.dassumpcao at di.com.pt (=?ISO-8859-1?Q?Artur_D=27Assump=E7=E3o?=) Date: Fri, 08 Apr 2005 00:23:27 +0100 Subject: Distributed Toplogy - check-host-live doubt - Please help needed! In-Reply-To: References: Message-ID: <4255C0EF.5030809@di.com.pt> Sorry, you're right and I apollagize. My doubt is really simple. I've got a monitoring distributed/recursive topology like it i've already explained in a previous thread: --- - root A (this will receive and web publish all the incoming passive submits. NSCA) -- root B (this will receive, web publish his results and re-submit them no root A. NSCA / OSCP) --- clientB:x (this is a standar client submiting to root B, OSCP with send_nsca) -- root C (analogous to root B) --- client C:x (analogous to client B:x) ---- So the problem is, for example: Since root A can't reach clientB:x, i'm dependent from root B to obsess the passive checks submited by client B:x directly to root A. So far so good, and I confirm this topology works in pefection. But i've got one problem in root A, since the checks for client B:x are received passively trough root B and this client is unreachable from root A's network, I had to redefine the check_command to a "dummy OK" check that enables the client's services to be checked, otherwise the host would get stated has DOWN and service checks disabled. But what I really needed and is exacly the problem I am having, is that root B, that actually can reach and check actively (with check_command) the clientB:x status, also notified root A for this status. If this is possible, root A, like the service checks, will be also capable to determine the clientB:x status trough the root B submits. My english is not very well, but I hope I was clear, please ask me to try to explain better if it wasn't so clear. Hope anyone could lead me here please. Tnks, Artur D'Assump??o Marc Powell wrote: >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of Artur D'Assump??o >>Sent: Thursday, April 07, 2005 4:51 PM >>To: nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] Distributed Toplogy - check-host-live doubt - >>Please help needed! >> >>I still can't solve this issue, can any one help me here please? I would >>be gratefull. >> >> >>Artur D'Assump??o wrote: >> >> >> >>>I'm sorry to insist in this subject, but i'm really running on a >>>schedulle here. Can any one help me out? >>> >>>Artur D'Assump??o >>> >>>Artur D'Assump??o wrote: >>> >>> >>> >>>>Hi ppl, >>>> >>>>Here I am again with a distributed topology doubt. In my present >>>>configuration I have Parents that depends from other lower Parents to >>>>detected some unreachable client status. In this topology I had to >>>>create a check-unreachable-host-live command that returns a dummy OK >>>>status, so the top parent could process the host's passive checks. So >>>>far so good, but I have one litle problem, I wish that the beneath >>>>parent, that is actually able to reach this specific client, could >>>>also send the reachability status of this host to its direct parent. >>>>If this check was a service, then there was no problem, but since >>>>this is a host specific directive(check_command), how can I acomplish >>>>this, or get around it? >>>> >>>> > >Resending the same thing over and over again isn't going to help. Perhaps no one has done what you are trying, you haven't supplied enough information to answer or, more likely, what you're trying to accomplish isn't clear at all. I for one have no idea what your desired end-result is from the information above or how it differs from the documented parenting/network reachability logic that is already incorporated into Nagios. > >Perhaps you should read http://nagios.sourceforge.net/docs/1_0/networkreachability.html and http://nagios.sourceforge.net/docs/1_0/networkoutages.html and then tell us how what you want is different and/or state your problem more simply, using examples. > >-- >Marc > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_ide95&alloc_id396&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alex_b at users.sourceforge.net Fri Apr 8 02:43:17 2005 From: alex_b at users.sourceforge.net (Alex Burger) Date: Thu, 07 Apr 2005 20:43:17 -0400 Subject: Setting up Nagios as an SNMP Trap Receiver In-Reply-To: References: Message-ID: <4255D3A5.4010109@users.sourceforge.net> Hi Bernardo. Bernardo Estevez wrote: > Greetings: > > Has anyone been successful in setting up Nagios to receive SNMP traps. > If so, can you share your experince with us in how you got it working? Have you read the Nagios section of the SNMPTT documentation? It has a different approach that does not involve SEC. http://www.snmptt.org/docs/snmptt.shtml#Nagios-Netsaint Alex > I recently read an article on this from the March issue of Sys Admin > magazine. I tried following their method which suggests using other > utilities in conjunction with Nagios. I have not been successful in > fully implementing it yet. > > Thanks, > -Bernardo ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.henry at axegroup.com.au Fri Apr 8 03:15:16 2005 From: michael.henry at axegroup.com.au (Michael Henry) Date: Fri, 8 Apr 2005 11:15:16 +1000 Subject: NSClient no-longer available? Message-ID: <4A79920EBF3C1445955A00C163CA397831554C@shadow.axegroup.local> Hi, The link on the "Extras and Addons" page for NSClient is bad; the domain http://support.tsmgsoftware.com/ no-longer exists. Is this software available from another source? Does anyone have it handy? Thanks, Michael -- axe group MIS Innovation Award Solution Winner 2004 michael henry senior consultant t +61 2 9966 9336 f +61 2 9966 9337 e michael.henry at axegroup.com.au w www.axegroup.com.au 51a hume street crows nest nsw 2065 australia axe group pty. limited - abn 62 095 107 814 This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify Axe Group. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.henry at axegroup.com.au Fri Apr 8 03:21:32 2005 From: michael.henry at axegroup.com.au (Michael Henry) Date: Fri, 8 Apr 2005 11:21:32 +1000 Subject: NSClient no-longer available? Message-ID: <4A79920EBF3C1445955A00C163CA397831554F@shadow.axegroup.local> Sorry for replying to my own post, but I've found what seems to be the official site: http://nsclient.ready2run.nl/ > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Michael Henry > Sent: Friday, 8 April 2005 11:15 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NSClient no-longer available? > Importance: High > > Hi, > > The link on the "Extras and Addons" page for NSClient > is bad; the domain http://support.tsmgsoftware.com/ no-longer > exists. Is this software available from another source? Does > anyone have it handy? > > Thanks, > > Michael > > > > > > -- > axe group > MIS Innovation Award Solution Winner 2004 > > michael henry > senior consultant > > t +61 2 9966 9336 > f +61 2 9966 9337 > e michael.henry at axegroup.com.au > w www.axegroup.com.au > > 51a hume street crows nest nsw 2065 australia > > axe group pty. limited - abn 62 095 107 814 This email and > any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error > please notify Axe Group. > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide Read honest & > candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From digitalnervesystem at gmail.com Fri Apr 8 03:40:07 2005 From: digitalnervesystem at gmail.com (digital nerve) Date: Fri, 8 Apr 2005 09:40:07 +0800 Subject: check_procs (plugin 1.4) Message-ID: Hi, I have try using the check_procs, but it does not allow me to define the number of warning process running to 0 (zero). I want to have an alert if a single process failed. I checked the c code, and if I am not mistaken, check_procs take any value less than zero or equal to zero as zero, then another line in c code will treat zero as status OK. Therefore if the process number is 0 (zero), the status is OK. Anybody can fix this or has this check_procs been fixed ? Or is there any plugin that will change status to warning if the defined process is zero ? Another problem I face is this check_procs cannot be used in solaris. -- digitalnervesystem ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dido at imperium.ph Fri Apr 8 06:13:40 2005 From: dido at imperium.ph (Rafael 'Dido' Sevilla) Date: Fri, 8 Apr 2005 12:13:40 +0800 Subject: hints on using Nagios/NSCA with many hosts/services Message-ID: <20050408041203.GA20442@imperium.ph> I'm presently running a distributed Nagios setup with somewhat more than 2000 hosts and 26,000 or so services on these hosts, and am running into some configuration problems. After noting that the released version of NSCA 2.4 has a memory leak that was contributing to the problem, I found a FAQ item: http://www.nagios.org/faqs/viewfaq.php?faq_id=115 that describes exactly what is happening to my CMS Nagios instance. However, the distributed servers send NSCA check results faster than the rate at which the service reaper can process them, even with a reaper frequency of 1 second, and I see processes accumulating constantly until I hit swap. Any hints on handling this case? -- El sue?o de la Razon Produce Monstruos... http://stormwyrm.blogspot.com/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vickers at qut.edu.au Fri Apr 8 07:14:50 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Fri, 08 Apr 2005 15:14:50 +1000 Subject: Retrieving the output of check_cluster2 outside of the Nagios environment Message-ID: <4256134A.6040609@qut.edu.au> Hi all, I want to move one of our Nagios servers from 1.2->2.0. This will necessitate an upgrade from check_cluster to check_cluster2 because of the different format of the status.log file. I am currently calling check_cluster from a perl script and parsing the check_cluster output for generating a display on a web page. This will not work with check_cluster2 as the on-demand service state macros are passed on the command line to check_cluster2, and are expanded by Nagios when running check_cluster2 (as a child process?) to the current service state IDs. These macro values are not available inside my perl script... Does anyone know: a) do the service state IDs change upon restart of Nagios? i.e. can I hard code them (I'm guessing not) b) where can you see what the service state IDs are? (I'm guessing status.log? - sorry don't have a working install of Nagios 2.0 atm) To retrieve this output from check_cluster2 I could wrap the output and store it in temporary files on the HDD which are then read by the perl script, but that's kinda kludgy. Does anyone have any ideas about getting this information to my perl script directly from Nagios? (Hmm, idea, I could take check_cluster2 and convert the perl script to C and have a custom version of check_cluster2 huh...) -- Greg Vickers Computer Systems Officer Teaching and Learning Support Services, Systems and Architecture Queensland University of Technology Phone: (07) 3864 8276 Mobile: 0416 001 674, SD #6 6147 Email: g.vickers at qut.edu.au CRICOS No. 00213J ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gimenez at cict.fr Fri Apr 8 09:29:26 2005 From: gimenez at cict.fr (carole gimenez) Date: Fri, 08 Apr 2005 09:29:26 +0200 Subject: check_procs (plugin 1.4) In-Reply-To: References: Message-ID: <425632D6.5050501@cict.fr> Hi, I use nagios-plugins-1.4.0alpha1 on my 5 solaris servers and the check_procs plugin works well. Carole. digital nerve wrote: >Hi, > >I have try using the check_procs, but it does not allow me to define >the number of warning process running to 0 (zero). I want to have an >alert if a single process failed. I checked the c code, and if I am >not mistaken, check_procs take any value less than zero or equal to >zero as zero, then another line in c code will treat zero as status >OK. Therefore if the process number is 0 (zero), the status is OK. > >Anybody can fix this or has this check_procs been fixed ? Or is there >any plugin that will change status to warning if the defined process >is zero ? > >Another problem I face is this check_procs cannot be used in solaris. > > > -- ********************************** GIMENEZ Carole Ing?nieur Syst?me CICT - Universit? Paul Sabatier 118, route de Narbonne 31062 Toulouse Cedex T?l.: 05.61.36.60.44 Fax: 05.61.52.14.58 Mail: gimenez at cict.fr ********************************** ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.simkins at gmail.com Fri Apr 8 09:54:07 2005 From: mike.simkins at gmail.com (Mike Simkins) Date: Fri, 8 Apr 2005 08:54:07 +0100 Subject: Missing Files In-Reply-To: References: Message-ID: You probably did not have the Boutell GD library installed during the build, check the Mandrake RPMs for a package (you will need the gd and gd-devel), or get it from www.boutell.com/gd/ - you should rebuild and these CGI's should be generated. On Apr 7, 2005 10:44 PM, Jon Schneider wrote: > Hello all, > > I am pretty new to Nagios but I managed to get it all up and running, > just a few minor oddities I have questions about. I appear to be > missing a few of the CGI files. Specifically trends.cgi, histogram.cgi, > statusmap.cgi, and statuswrl.cgi seems to just want to download when I > click on 3-D status map. These files simply do not exhist in the sbin > directory or anywhere else. Other that these missing files everything > seems to work perfectly. > > I built from source, I am using Mandrake 10.1, Please let me know if you > have any idea why these files may not have been created... > > Thanks, > > Jon > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&opclick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.simkins at gmail.com Fri Apr 8 10:01:55 2005 From: mike.simkins at gmail.com (Mike Simkins) Date: Fri, 8 Apr 2005 09:01:55 +0100 Subject: NSClient no-longer available? In-Reply-To: <4A79920EBF3C1445955A00C163CA397831554F@shadow.axegroup.local> References: <4A79920EBF3C1445955A00C163CA397831554F@shadow.axegroup.local> Message-ID: You could also look at NC_Net if your boxes are running the dotNET framework http://www.shatterit.com/NC_Net/ On Apr 8, 2005 2:21 AM, Michael Henry wrote: > > Sorry for replying to my own post, but I've found what seems to > be the official site: http://nsclient.ready2run.nl/ > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > > Of Michael Henry > > Sent: Friday, 8 April 2005 11:15 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] NSClient no-longer available? > > Importance: High > > > > Hi, > > > > The link on the "Extras and Addons" page for NSClient > > is bad; the domain http://support.tsmgsoftware.com/ no-longer > > exists. Is this software available from another source? Does > > anyone have it handy? > > > > Thanks, > > > > Michael > > > > > > > > > > > > -- > > axe group > > MIS Innovation Award Solution Winner 2004 > > > > michael henry > > senior consultant > > > > t +61 2 9966 9336 > > f +61 2 9966 9337 > > e michael.henry at axegroup.com.au > > w www.axegroup.com.au > > > > 51a hume street crows nest nsw 2065 australia > > > > axe group pty. limited - abn 62 095 107 814 This email and > > any files transmitted with it are confidential and intended > > solely for the use of the individual or entity to whom they > > are addressed. If you have received this email in error > > please notify Axe Group. > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide Read honest & > > candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&opclick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fred.blaise at excilan.com Fri Apr 8 10:35:47 2005 From: fred.blaise at excilan.com (Fred Blaise) Date: Fri, 08 Apr 2005 10:35:47 +0200 Subject: web interface acting weird Message-ID: <1112949347.9136.12.camel@localhost.localdomain> Hello Running nagios 1.3 on debian testing, file based. After modifying services.cfg and restarting Nagios, I half the time experience truncated web pages.. The hosts I have changed or services are not showing on the web page. Sometimes, refreshing brings them back, other times not. Sometimes it shows everything, and after a refresh, they are gone again, without restarting nagios... Does anyone know why there is such a instability on the web end? I don't think any monitoring is missed, just the web page don't show up properly, just as if it wasn't parsing the files right. If anyone has some kind of explanations, I'd be glad to understand this phenomenon. Thanks Regards fred -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From ian.chard at sers.ox.ac.uk Fri Apr 8 10:38:04 2005 From: ian.chard at sers.ox.ac.uk (Ian Chard) Date: Fri, 08 Apr 2005 09:38:04 +0100 Subject: XML interface to Nagios 2.0? Message-ID: <425642EC.9040207@sers.ox.ac.uk> Hi, Is there a way of getting, say, XML-format status information out of Nagios 2.0? I found NXE but I don't think that works with version 2. At the moment I've written some hacky lex and yacc to parse status.dat, but if there's a better way then I'd like to use it! Thanks - Ian -- Ian Chard, Unix & Network Administrator | E: ian.chard at sers.ox.ac.uk Systems and Electronic Resources Service | T: 80587 / (01865) 280587 Oxford University Library Services | F: (01865) 204937 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Fri Apr 8 11:17:34 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Fri, 08 Apr 2005 11:17:34 +0200 Subject: Distributed Toplogy - check-host-live doubt - Please help needed! In-Reply-To: <4255C0EF.5030809@di.com.pt> References: <4255C0EF.5030809@di.com.pt> Message-ID: <42564C2E.8060303@its-lehmann.de> Hi. I start to understand... Artur D'Assump??o wrote: > My doubt is really simple. I've got a monitoring distributed/recursive > topology like it i've already explained in a previous thread: > > --- > - root A (this will receive and web publish all the incoming passive > submits. NSCA) > -- root B (this will receive, web publish his results and re-submit them > no root A. NSCA / OSCP) > --- clientB:x (this is a standar client submiting to root B, OSCP with > send_nsca) > -- root C (analogous to root B) > --- client C:x (analogous to client B:x) > ---- > > So the problem is, for example: > > Since root A can't reach clientB:x, i'm dependent from root B to obsess > the passive checks submited by client B:x directly to root A. So far so > good, and I confirm this topology works in pefection. But i've got one > problem in root A, since the checks for client B:x are received > passively trough root B and this client is unreachable from root A's > network, I had to redefine the check_command to a "dummy OK" check that > enables the client's services to be checked, otherwise the host would > get stated has DOWN and service checks disabled. But what I really > needed and is exacly the problem I am having, is that root B, that > actually can reach and check actively (with check_command) the clientB:x > status, also notified root A for this status. I think you need the passive hosts check feature from nagios version 2. > If this is possible, root A, like the service checks, will be also > capable to determine the clientB:x status trough the root B submits. > > My english is not very well, but I hope I was clear, please ask me to > try to explain better if it wasn't so clear. I think it's becoming clear now. > Hope anyone could lead me here please. > > Tnks, > > Artur D'Assump??o Arno > Marc Powell wrote: > >>> -----Original Message----- >>> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>> admin at lists.sourceforge.net] On Behalf Of Artur D'Assump??o >>> Sent: Thursday, April 07, 2005 4:51 PM >>> To: nagios-users at lists.sourceforge.net >>> Subject: Re: [Nagios-users] Distributed Toplogy - check-host-live >>> doubt - >>> Please help needed! >>> >>> I still can't solve this issue, can any one help me here please? I would >>> be gratefull. >>> >>> >>> Artur D'Assump??o wrote: >>> >>> >>> >>>> I'm sorry to insist in this subject, but i'm really running on a >>>> schedulle here. Can any one help me out? >>>> >>>> Artur D'Assump??o >>>> >>>> Artur D'Assump??o wrote: >>>> >>>> >>>> >>>>> Hi ppl, >>>>> >>>>> Here I am again with a distributed topology doubt. In my present >>>>> configuration I have Parents that depends from other lower Parents to >>>>> detected some unreachable client status. In this topology I had to >>>>> create a check-unreachable-host-live command that returns a dummy OK >>>>> status, so the top parent could process the host's passive checks. So >>>>> far so good, but I have one litle problem, I wish that the beneath >>>>> parent, that is actually able to reach this specific client, could >>>>> also send the reachability status of this host to its direct parent. >>>>> If this check was a service, then there was no problem, but since >>>>> this is a host specific directive(check_command), how can I acomplish >>>>> this, or get around it? >>>>> >> >> >> Resending the same thing over and over again isn't going to help. >> Perhaps no one has done what you are trying, you haven't supplied >> enough information to answer or, more likely, what you're trying to >> accomplish isn't clear at all. I for one have no idea what your >> desired end-result is from the information above or how it differs >> from the documented parenting/network reachability logic that is >> already incorporated into Nagios. >> >> Perhaps you should read >> http://nagios.sourceforge.net/docs/1_0/networkreachability.html and >> http://nagios.sourceforge.net/docs/1_0/networkoutages.html and then >> tell us how what you want is different and/or state your problem more >> simply, using examples. >> >> -- >> Marc >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_ide95&alloc_id396&op=click >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null >> >> > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Fri Apr 8 11:15:00 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Fri, 08 Apr 2005 11:15:00 +0200 Subject: web interface acting weird In-Reply-To: <1112949347.9136.12.camel@localhost.localdomain> References: <1112949347.9136.12.camel@localhost.localdomain> Message-ID: <42564B94.1060401@its-lehmann.de> Hi. Fred Blaise wrote: > Hello > > Running nagios 1.3 on debian testing, file based. > After modifying services.cfg and restarting Nagios, I half the time > experience truncated web pages.. > The hosts I have changed or services are not showing on the web page. > Sometimes, refreshing brings them back, other times not. Sometimes it > shows everything, and after a refresh, they are gone again, without > restarting nagios... I guess you've got more than one instance of nagios running. Probably a left-over from the restart - this happens quite often, unfortunatley. Simply try to stop nagios, wait a little, kill all remaining nagios processes, check they are gone, repeat if necessary :-) and start nagios. Bad if you want continous monitoring in the logs, but that's life... Arno > Does anyone know why there is such a instability on the web end? I don't > think any monitoring is missed, just the web page don't show up > properly, just as if it wasn't parsing the files right. > > If anyone has some kind of explanations, I'd be glad to understand this > phenomenon. > > Thanks > > Regards > > fred -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fred.blaise at excilan.com Fri Apr 8 11:27:06 2005 From: fred.blaise at excilan.com (Fred Blaise) Date: Fri, 08 Apr 2005 11:27:06 +0200 Subject: web interface acting weird In-Reply-To: <42564B94.1060401@its-lehmann.de> References: <1112949347.9136.12.camel@localhost.localdomain> <42564B94.1060401@its-lehmann.de> Message-ID: <1112952426.9136.16.camel@localhost.localdomain> Thanks. That was it it seems. Good w-e to you fred On Fri, 2005-04-08 at 11:15 +0200, Arno Lehmann wrote: > Hi. > > Fred Blaise wrote: > > > Hello > > > > Running nagios 1.3 on debian testing, file based. > > After modifying services.cfg and restarting Nagios, I half the time > > experience truncated web pages.. > > The hosts I have changed or services are not showing on the web page. > > Sometimes, refreshing brings them back, other times not. Sometimes it > > shows everything, and after a refresh, they are gone again, without > > restarting nagios... > > I guess you've got more than one instance of nagios running. Probably a > left-over from the restart - this happens quite often, unfortunatley. > > Simply try to stop nagios, wait a little, kill all remaining nagios > processes, check they are gone, repeat if necessary :-) and start nagios. > > Bad if you want continous monitoring in the logs, but that's life... > > Arno > > > Does anyone know why there is such a instability on the web end? I don't > > think any monitoring is missed, just the web page don't show up > > properly, just as if it wasn't parsing the files right. > > > > If anyone has some kind of explanations, I'd be glad to understand this > > phenomenon. > > > > Thanks > > > > Regards > > > > fred > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From Thomas.Nilsen at roxar.com Fri Apr 8 13:07:03 2005 From: Thomas.Nilsen at roxar.com (Thomas Nilsen) Date: Fri, 8 Apr 2005 13:07:03 +0200 Subject: Problem with passive check Message-ID: Hope someone can shed some light on this problem. I've got 2 Nagios 1.2 servers installed, both active monitoring, but one also supports passive monitoring of the other one. One of the services on the server which receives the passive monitoring is constantly switching between FAIL and OK on a service. What's strange about it is that the server which is actively checking the service has had an OK status for months for this particular service. However, the main nagios server will report "Return Code of 127..."), and then soon after it will return OK. I can't figure out why this is, as the server doing the service checks never sends anything but OK to the main server. The hardware for the main server (the one which receives the passive info) is a 3 CPU 768 MB RAM. Load is around average 24%. A total of 421 services on 102 hosts, where 24 servers and 137 services are passive. Nagios.log show the the following for the serivce in question. ------------------------------------------------------------------------------------- [1112947261] Warning: Return code of 127 for check of service 'CPU Load' on host 'micmac' was out of bounds. Make sure the plugin you're trying to run actually exists. [1112947265] SERVICE ALERT: micmac;CPU Load;CRITICAL;SOFT;1;(Return code of 127 is out of bounds - plugin may be missing) [1112947278] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;micmac;CPU Load;0;OK - load average: 0.00, 0.00, 0.00 [1112947278] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;micmac;Telnet;0;TCP OK - 0.001 second response time on port 23 [1112947306] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;micmac;ClearCase TCP;0;TCP OK - 0.000 second response time on port 371 [1112947340] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;micmac;Disk /;0;DISK OK [10617 MB (80%) free on /] [1112947340] SERVICE ALERT: micmac;CPU Load;OK;SOFT;2;OK - load average: 0.00, 0.00, 0.00 [1112947340] SERVICE ALERT: micmac;Telnet;OK;HARD;1;TCP OK - 0.001 second response time on port 23 ------------------------------------------------------------------------------------- And the GUI event log for the service in question show this: ------------------------------------------------------------------------------------- Service Critical[08-04-2005 10:26:28] SERVICE ALERT: micmac;CPU Load;CRITICAL;SOFT;1;(Return code of 127 is out of bounds - plugin may be missing) Service Ok[08-04-2005 10:25:35] SERVICE ALERT: micmac;CPU Load;OK;SOFT;2;OK - load average: 0.00, 0.03, 0.00 Service Critical[08-04-2005 10:25:15] SERVICE ALERT: micmac;CPU Load;CRITICAL;SOFT;1;(Return code of 127 is out of bounds - plugin may be missing) Program Start[08-04-2005 10:23:30] Nagios 1.2 starting... (PID=1144) Program Restart[08-04-2005 10:23:07] Caught SIGHUP, restarting... Service Ok[08-04-2005 10:20:04] SERVICE ALERT: micmac;CPU Load;OK;HARD;3;OK - load average: 0.12, 0.09, 0.02 Service Critical[08-04-2005 10:18:59] SERVICE ALERT: micmac;CPU Load;CRITICAL;HARD;3;(Return code of 127 is out of bounds - plugin may be missing) Service Critical[08-04-2005 10:18:42] SERVICE ALERT: micmac;CPU Load;CRITICAL;SOFT;2;(Return code of 127 is out of bounds - plugin may be missing) Service Critical[08-04-2005 10:17:41] SERVICE ALERT: micmac;CPU Load;CRITICAL;SOFT;1;(Return code of 127 is out of bounds - plugin may be missing) Service Ok[08-04-2005 10:14:52] SERVICE ALERT: micmac;CPU Load;OK;SOFT;3;OK - load average: 0.00, 0.00, 0.00 Service Critical[08-04-2005 10:13:53] SERVICE ALERT: micmac;CPU Load;CRITICAL;SOFT;2;(Return code of 127 is out of bounds - plugin may be missing) Service Critical[08-04-2005 10:11:28] SERVICE ALERT: micmac;CPU Load;CRITICAL;SOFT;1;(Return code of 127 is out of bounds - plugin may be missing) Service Ok[08-04-2005 10:10:50] SERVICE ALERT: micmac;CPU Load;OK;SOFT;2;OK - load average: 0.00, 0.00, 0.00 Service Critical[08-04-2005 10:10:50] SERVICE ALERT: micmac;CPU Load;CRITICAL;SOFT;1;(Return code of 127 is out of bounds - plugin may be missing) Service Ok[08-04-2005 10:09:40] SERVICE ALERT: micmac;CPU Load;OK;SOFT;2;OK - load average: 0.00, 0.00, 0.00 Service Critical[08-04-2005 10:08:44] SERVICE ALERT: micmac;CPU Load;CRITICAL;SOFT;1;(Return code of 127 is out of bounds - plugin may be missing) Service Ok[08-04-2005 10:05:37] SERVICE ALERT: micmac;CPU Load;OK;SOFT;2;OK - load average: 0.00, 0.00, 0.00 Service Critical[08-04-2005 10:04:52] SERVICE ALERT: micmac;CPU Load;CRITICAL;SOFT;1;(Return code of 127 is out of bounds - plugin may be missing) Service Ok[08-04-2005 10:02:20] SERVICE ALERT: micmac;CPU Load;OK;SOFT;2;OK - load average: 0.00, 0.00, 0.00 Service Critical[08-04-2005 10:01:05] SERVICE ALERT: micmac;CPU Load;CRITICAL;SOFT;1;(Return code of 127 is out of bounds - plugin may be missing) ------------------------------------------------------------------------------------- I've also got a server on the same LAN as the main nagios server which constantly failes it host and service checks every 30 minutes or so. Timeout on the host check is 10 sec. However, if I run a local ping against it from the nagios box, it will never drop a single package... Anyone got any good ideas? Regards, Thomas Nilsen BGO / SVG Support Roxar AS Tel: +47 55599505 / Mob: +47 916 98 229 -------------- next part -------------- An HTML attachment was scrubbed... URL: From nmaccoll at systemsfusion.com Fri Apr 8 13:26:22 2005 From: nmaccoll at systemsfusion.com (Neil MacColl) Date: Fri, 08 Apr 2005 13:26:22 +0200 Subject: NRPE In-Reply-To: References: Message-ID: <0IEM0037IL3502@ims-1.dctr.sa.sysfusion.net> Thank you for this, I have it compiled and working. However I seem to be getting this error in my /var/log/messages Apr 8 07:59:36 linux nagios: SERVICE ALERT: demo-db.dctr;/dev/sdb2 Free space;CRITICAL;HARD;3;CHECK_NRPE: Error - Could not complete SSL handshake. Thanks again for the help Neil _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of McCann, Brian Sent: 07 April 2005 17:12 To: Neil MacColl; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE Go here ( http://www.nagios.org/download/extras.php ) and search for "nrpe" on the page...you should find it. Once installed, the config file is called nrpe.cfg. If you are fortunate enough to be running FreeBSD, it's in the ports collection as well (since that's how I typically install it). Hope this helps. --Brian _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Neil MacColl Sent: Thursday, April 07, 2005 11:03 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE Hi all, New to nagios, but its working. I have downloaded the nagios plugins and compiled it successfully, yet I am unable to find nrpe anywhere. I have read the docs, but can't seem to find anything that will help me find this config file. I would like it running on one of our machines to use check_disk, Can anyone help me find this file, or how to generate it. Regards Neil -------------- next part -------------- An HTML attachment was scrubbed... URL: From nmaccoll at systemsfusion.com Fri Apr 8 13:34:38 2005 From: nmaccoll at systemsfusion.com (Neil MacColl) Date: Fri, 08 Apr 2005 13:34:38 +0200 Subject: NRPE In-Reply-To: <0IEM0037IL3502@ims-1.dctr.sa.sysfusion.net> References: <0IEM0037IL3502@ims-1.dctr.sa.sysfusion.net> Message-ID: <0IEM00396LGX02@ims-1.dctr.sa.sysfusion.net> Please Ignore this mail. I did not set up allowd hosts. Thank you _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Neil MacColl Sent: 08 April 2005 13:26 To: 'McCann, Brian'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE Thank you for this, I have it compiled and working. However I seem to be getting this error in my /var/log/messages Apr 8 07:59:36 linux nagios: SERVICE ALERT: demo-db.dctr;/dev/sdb2 Free space;CRITICAL;HARD;3;CHECK_NRPE: Error - Could not complete SSL handshake. Thanks again for the help Neil _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of McCann, Brian Sent: 07 April 2005 17:12 To: Neil MacColl; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE Go here ( http://www.nagios.org/download/extras.php ) and search for "nrpe" on the page...you should find it. Once installed, the config file is called nrpe.cfg. If you are fortunate enough to be running FreeBSD, it's in the ports collection as well (since that's how I typically install it). Hope this helps. --Brian _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Neil MacColl Sent: Thursday, April 07, 2005 11:03 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE Hi all, New to nagios, but its working. I have downloaded the nagios plugins and compiled it successfully, yet I am unable to find nrpe anywhere. I have read the docs, but can't seem to find anything that will help me find this config file. I would like it running on one of our machines to use check_disk, Can anyone help me find this file, or how to generate it. Regards Neil -------------- next part -------------- An HTML attachment was scrubbed... URL: From anxoasi at yahoo.es Fri Apr 8 14:00:27 2005 From: anxoasi at yahoo.es (Anxo) Date: Fri, 8 Apr 2005 14:00:27 +0200 (CEST) Subject: (no subject) Message-ID: <20050408120027.80921.qmail@web53103.mail.yahoo.com> Jose Angel Buceta Villar Bolseiro Aulas de Inform?tica Facultade de CCEE, USC --------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From anxoasi at yahoo.es Fri Apr 8 14:12:23 2005 From: anxoasi at yahoo.es (Anxo) Date: Fri, 8 Apr 2005 14:12:23 +0200 (CEST) Subject: sai Message-ID: <20050408121223.9304.qmail@web53102.mail.yahoo.com> anybody if i can in nagios config a UPS/SAI? Jose Angel Buceta Villar Bolseiro Aulas de Inform?tica Facultade de CCEE, USC --------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Fri Apr 8 15:03:01 2005 From: marc at ena.com (Marc Powell) Date: Fri, 8 Apr 2005 08:03:01 -0500 Subject: Problem with passive check Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Thomas Nilsen > Sent: Friday, April 08, 2005 6:07 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problem with passive check > > Hope someone can shed some light on this problem. > > I've got 2 Nagios 1.2 servers installed, both active monitoring, but one > also supports passive monitoring of the other one. One of the services on > the server which receives the passive monitoring is constantly switching > between FAIL and OK on a service. What's strange about it is that the > server which is actively checking the service has had an OK status for > months for this particular service. However, the main nagios server will > report "Return Code of 127..."), and then soon after it will return OK. > > I can't figure out why this is, as the server doing the service checks > never sends anything but OK to the main server. > The hardware for the main server (the one which receives the passive info) > is a 3 CPU 768 MB RAM. Load is around average 24%. A total of 421 services > on 102 hosts, where 24 servers and 137 services are passive. > > Nagios.log show the the following for the serivce in question. > ------------------------------------------------------------------------ -- > ----------- > [1112947261] Warning: Return code of 127 for check of service 'CPU Load' > on host 'micmac' was out of bounds. Make sure the plugin you're trying to > run actually exists. > > [1112947265] SERVICE ALERT: micmac;CPU Load;CRITICAL;SOFT;1;(Return code > of 127 is out of bounds - plugin may be missing) Nagios on this machine is attempting to actively check this service but the plugin referenced by the check_command for this host and service either does not exist or is not in the specified location. If it's not supposed to be actively checking this service, set active_checks to 0 for it. If it is supposed to be actively checking then make sure your command definition is correct and the plugin exists where you've told nagios to find it. > > [1112947278] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;micmac;CPU > Load;0;OK - load average: 0.00, 0.00, 0.00 > [1112947278] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;micmac;Telnet;0;TCP OK - 0.001 second > response time on port 23 This external command (passive service check) overrides the Warning state above. That's why you see it flip-flop between the two states. > > I've also got a server on the same LAN as the main nagios server which > constantly failes it host and service checks every 30 minutes or so. > Timeout on the host check is 10 sec. However, if I run a local ping > against it from the nagios box, it will never drop a single package... How does it 'fail'? There are lots of ways. Plugin timeout? 100% packet loss? High latency? What's the service and command definition? > Anyone got any good ideas? You tell us, we just provide the suggestions. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Fri Apr 8 14:04:31 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Fri, 8 Apr 2005 14:04:31 +0200 Subject: history.cgi by default without process messages? Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E011C986A@SYGOMAIL.GOE.AD.SYCOR.DE> Hi, can anyone help me in which switches I have to change, to have the checkbox "hide process messages" on history.cgi checked and the process messages hidden by default? Thanks in advance! Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 - 490 - 0 Telefax +49 (0) 551 - 490 - 232468 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nmaccoll at systemsfusion.com Fri Apr 8 16:19:43 2005 From: nmaccoll at systemsfusion.com (Neil MacColl) Date: Fri, 08 Apr 2005 16:19:43 +0200 Subject: nrpe Error Message-ID: <0IEM003Y6T4102@ims-1.dctr.sa.sysfusion.net> Hi all, Have installed nrpe on one of our clients and using check_disk. I am having an error saying "Unable to read output" on the nagios host. Is it perhaps because I have nrpe 2 and nagios 1.2 installed. The Extra's page does not list a compatible version Thanks in advance Neil -------------- next part -------------- An HTML attachment was scrubbed... URL: From lionel.verscheure at inria.fr Fri Apr 8 16:26:44 2005 From: lionel.verscheure at inria.fr (Lionel Verscheure) Date: Fri, 08 Apr 2005 16:26:44 +0200 Subject: nrpe Error In-Reply-To: <0IEM003Y6T4102@ims-1.dctr.sa.sysfusion.net> References: <0IEM003Y6T4102@ims-1.dctr.sa.sysfusion.net> Message-ID: <425694A4.3090100@inria.fr> Hi, Have you already launch the check_disk command on your client ? is it ok ? if it's ok, check the log ("grep nrpe /var/log/messages"), you should probably have a trouble here. no firewall between then ? Neil MacColl a ?crit : > Hi all, > > Have installed nrpe on one of our clients and using check_disk. I am > having an error saying ?Unable to read output? on the nagios host. > > Is it perhaps because I have nrpe 2 and nagios 1.2 installed. The > Extra?s page does not list a compatible version > > Thanks in advance > > Neil > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gimenez at cict.fr Fri Apr 8 16:30:21 2005 From: gimenez at cict.fr (carole gimenez) Date: Fri, 08 Apr 2005 16:30:21 +0200 Subject: nrpe Error In-Reply-To: <0IEM003Y6T4102@ims-1.dctr.sa.sysfusion.net> References: <0IEM003Y6T4102@ims-1.dctr.sa.sysfusion.net> Message-ID: <4256957D.9030201@cict.fr> Can you give what OS and what version of plugin you use? Can you join also your command definition in your nrpe.cfg and the command you try to execute? I use NRPE 2.0 and Nagios 1.2 and all works well. Carole Gimenez. Neil MacColl wrote: > Hi all, > > Have installed nrpe on one of our clients and using check_disk. I am > having an error saying ?Unable to read output? on the nagios host. > > Is it perhaps because I have nrpe 2 and nagios 1.2 installed. The > Extra?s page does not list a compatible version > > Thanks in advance > > Neil > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 8 17:40:17 2005 From: marc at ena.com (Marc Powell) Date: Fri, 8 Apr 2005 10:40:17 -0500 Subject: history.cgi by default without process messages? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Sand Philipp > Sent: Friday, April 08, 2005 7:05 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] history.cgi by default without process messages? > > Hi, > > can anyone help me in which switches I have to change, to have the > checkbox "hide process messages" on history.cgi checked and the process > messages hidden by default? In case you don't get any other answers I believe you can just change 'int display_system_messages=TRUE;' to 'FALSE' near the top of history.c and recompile. I have not tested this however. You could also change the logic that's used to display the HTML for that checkbox further down in that same file. I'd be more specific as to the line number but I have no idea what version of Nagios you are using. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Groesche at neo-partners.com Fri Apr 8 18:03:21 2005 From: Sebastian.Groesche at neo-partners.com (=?iso-8859-1?Q?Sebastian_Gr=F6sche?=) Date: Fri, 8 Apr 2005 18:03:21 +0200 Subject: E-Mail notification Message-ID: Hi all, my Nagios system is running very well now, all Commands are running but there is only one thing where I don't know how to realize that. So, how can I enable the email-notification, a group with several Users is created and a command that should be executed when something is wrong is also set, but what must be set to send the email? The problem is that there should be no mailserver running on the nagios-system. The emails should be sent over the internal mailserver. Do I have to write me a shell script that opens a connection to the server, sends the mail etc. or is there already a plugin that do this for me? I'm looking forward to your answer. Regards, Sebastian PS. Sorry for my bad english (when it's bad) :-) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drewk at bvrmc.org Fri Apr 8 18:07:56 2005 From: drewk at bvrmc.org (Drew Kollasch) Date: Fri, 8 Apr 2005 11:07:56 -0500 Subject: E-Mail notification Message-ID: <82A6470379751941BB7813ED375731EE34B067@bvexch.bvrmc.org> Depending on the base OS, it is usually the easiest to install mailx. "Fortunately" for me though, my nagios server doubles as the spam filter (postfix p based) for the organization. ------------------------------------------------------- Drew Kollasch Network/Desktop Technician kollasch.drew at bvrmc.org 712-213-8668 Buena Vista Regional Medical Center 1525 W 5th St Storm Lake, IA 50588 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sebastian Gr?sche Sent: Friday, April 08, 2005 11:03 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] E-Mail notification Hi all, my Nagios system is running very well now, all Commands are running but there is only one thing where I don't know how to realize that. So, how can I enable the email-notification, a group with several Users is created and a command that should be executed when something is wrong is also set, but what must be set to send the email? The problem is that there should be no mailserver running on the nagios-system. The emails should be sent over the internal mailserver. Do I have to write me a shell script that opens a connection to the server, sends the mail etc. or is there already a plugin that do this for me? I'm looking forward to your answer. Regards, Sebastian PS. Sorry for my bad english (when it's bad) :-) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muksyed at yahoo.com Fri Apr 8 19:36:04 2005 From: muksyed at yahoo.com (Mukarram Syed) Date: Fri, 8 Apr 2005 10:36:04 -0700 (PDT) Subject: NRPE on AIX client: "Are we allowed to connect to the host?" Message-ID: <20050408173604.63778.qmail@web31512.mail.mud.yahoo.com> Hi Gurus, I am trying to configure NRPE on an AIX client. Nagios Server is Solaris. When I try to telnet to port 5666, it connects but it immediately drops the connection. When I run the check_nrpe command from the solaris host, I am getting the following: root at gallileo:/# /opt/nagios/libexec/check_nrpe elux-oems -c check_load CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? I researched this error in Nagios and checked & rechecked my inetd.conf "nrpe" section. Port 5666 is in the /etc/services file. First time trying to run nrpe on AIX. Very much used to Solaris and Linux. Can anyone help? Thanks in advance. -Mukarram Syed. root at elux-oems:/# grep nrpe /etc/inetd.conf nrpe stream tcp nowait nobody /opt/nagios/libexec/nrpe /opt/nagios/libexec/nrpe -c /opt/nagios/etc/nrpe.cfg --inetd root at elux-oems:/# ls -lrt /opt/nagios/libexec/nrpe -rwxr-xr-x 1 nobody nobody 143379 May 19 2004 /opt/nagios/libexec/nrpe* root at elux-oems:/# ls -lart /opt/nagios/libexec/nrpe -rwxr-xr-x 1 nobody nobody 143379 May 19 2004 /opt/nagios/libexec/nrpe* root at elux-oems:/# ls -lart /opt/nagios/etc/nrpe.cfg -rw-r--r-- 1 nobody nobody 3810 Apr 06 11:00 /opt/nagios/etc/nrpe.cfg root at elux-oems:/# grep 5666 /etc/services nrpe 5666/tcp # NRPE __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muksyed at yahoo.com Fri Apr 8 19:55:08 2005 From: muksyed at yahoo.com (Mukarram Syed) Date: Fri, 8 Apr 2005 10:55:08 -0700 (PDT) Subject: NRPE on AIX client: "Are we allowed to connect to the host?" In-Reply-To: 6667 Message-ID: <20050408175508.79690.qmail@web31504.mail.mud.yahoo.com> One more note. nrpe is listening: root at elux-oems:/# netstat -a |grep nrpe tcp4 0 0 *.nrpe *.* LISTEN --- Mukarram Syed wrote: > Hi Gurus, > I am trying to configure NRPE on an AIX client. > Nagios Server is Solaris. > When I try to telnet to port 5666, it connects but > it > immediately drops the connection. > When I run the check_nrpe command from the solaris > host, I am getting the following: > root at gallileo:/# /opt/nagios/libexec/check_nrpe > elux-oems -c check_load > CHECK_NRPE: Received 0 bytes. Are we allowed to > connect to the host? > > I researched this error in Nagios and checked & > rechecked my inetd.conf "nrpe" section. Port 5666 > is > in the /etc/services file. > First time trying to run nrpe on AIX. Very much > used > to Solaris and Linux. > > Can anyone help? > Thanks in advance. > > -Mukarram Syed. > > root at elux-oems:/# grep nrpe /etc/inetd.conf > nrpe stream tcp nowait nobody > /opt/nagios/libexec/nrpe /opt/nagios/libexec/nrpe -c > /opt/nagios/etc/nrpe.cfg --inetd > root at elux-oems:/# ls -lrt /opt/nagios/libexec/nrpe > -rwxr-xr-x 1 nobody nobody 143379 May 19 > 2004 /opt/nagios/libexec/nrpe* > root at elux-oems:/# ls -lart /opt/nagios/libexec/nrpe > -rwxr-xr-x 1 nobody nobody 143379 May 19 > 2004 /opt/nagios/libexec/nrpe* > root at elux-oems:/# ls -lart /opt/nagios/etc/nrpe.cfg > -rw-r--r-- 1 nobody nobody 3810 Apr 06 > 11:00 /opt/nagios/etc/nrpe.cfg > root at elux-oems:/# grep 5666 /etc/services > nrpe 5666/tcp # > NRPE > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Small Business - Try our new resources site! > http://smallbusiness.yahoo.com/resources/ > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT > Products from real users. > Discover which products truly live up to the hype. > Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > Mukarram Syed muksyed at yahoo.com __________________________________ Yahoo! Messenger Show us what our next emoticon should look like. Join the fun. http://www.advision.webevents.yahoo.com/emoticontest ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at enertiasoft.com Fri Apr 8 19:58:21 2005 From: andy at enertiasoft.com (Andrew) Date: Fri, 8 Apr 2005 12:58:21 -0500 Subject: nrpe and check_nrpe2 Message-ID: <605136e0c6fbd470ece8585af4306fa7@enertiasoft.com> Hi, I'm having some problems with the check_nrpe that was installed with the nagios 1.2 rpm. Is this a common problem? I have nrpe2 setup on a few test clients, and the commands work correctly when I use check_nrpe2 from an older FreeBSD machine (which had the plugins and nrpe2 installed via ports), but I have a problem the check_nrpe command on my Fedora Core 2 system (which had nagios 1.2 installed via YUM and dag's rpm repository). I was contemplating building the 1.4 plugins from source and seeing if that includes check_nrpe2, but is there a better way I should go about it (that I'm probably just not seeing?) Thanks, Andrew ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 8 20:19:42 2005 From: marc at ena.com (Marc Powell) Date: Fri, 8 Apr 2005 13:19:42 -0500 Subject: nrpe and check_nrpe2 Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Andrew > Sent: Friday, April 08, 2005 12:58 PM > To: 'Nagios-Users' > Subject: [Nagios-users] nrpe and check_nrpe2 > > Hi, I'm having some problems with the check_nrpe that was installed > with the nagios 1.2 rpm. Is this a common problem? I have nrpe2 setup How can we guess? You don't say what specific problem you're experiencing. > on a few test clients, and the commands work correctly when I use > check_nrpe2 from an older FreeBSD machine (which had the plugins and > nrpe2 installed via ports), but I have a problem the check_nrpe command > on my Fedora Core 2 system (which had nagios 1.2 installed via YUM and NRPE 2.x is not backwards compatible with NRPE 1.x if that's what you're trying. You can't mix and match an NRPE2 client with an NRPE1 server or vice-versa. > dag's rpm repository). I was contemplating building the 1.4 plugins > from source and seeing if that includes check_nrpe2, but is there a > better way I should go about it (that I'm probably just not seeing?) NRPE is a standalone application and isn't included with the plugins available on Sourceforge. The packager of the plugins you installed must have included it as a courtesy. The source for NRPE is downloadable from http://www.nagios.org/download/extras.php. As to whether compiling from scratch will help depends entirely on the specific problem you are experiencing. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 8 20:29:30 2005 From: marc at ena.com (Marc Powell) Date: Fri, 8 Apr 2005 13:29:30 -0500 Subject: NRPE on AIX client: "Are we allowed to connect to the host?" Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mukarram Syed > Sent: Friday, April 08, 2005 12:36 PM > To: Nagios-Mailing-List > Subject: [Nagios-users] NRPE on AIX client: "Are we allowed to connect to > the host?" > > Hi Gurus, > I am trying to configure NRPE on an AIX client. > Nagios Server is Solaris. > When I try to telnet to port 5666, it connects but it > immediately drops the connection. > When I run the check_nrpe command from the solaris > host, I am getting the following: > root at gallileo:/# /opt/nagios/libexec/check_nrpe > elux-oems -c check_load > CHECK_NRPE: Received 0 bytes. Are we allowed to > connect to the host? > > I researched this error in Nagios and checked & > rechecked my inetd.conf "nrpe" section. Port 5666 is > in the /etc/services file. > First time trying to run nrpe on AIX. Very much used > to Solaris and Linux. > > Can anyone help? Did you add the IP for your solaris box to the allowed_hosts in nrpe.cfg? You may also need to add it to hosts.allow (if such a file exists under AIX). You should probably be seeing some kind of error via syslog on your AIX box, either from inetd or nrpe indicating why the connection was dropped. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 8 20:43:39 2005 From: marc at ena.com (Marc Powell) Date: Fri, 8 Apr 2005 13:43:39 -0500 Subject: E-Mail notification Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Sebastian Gr?sche > Sent: Friday, April 08, 2005 11:03 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] E-Mail notification > > Hi all, > my Nagios system is running very well now, all Commands are running but > there is only one thing where I don't know how to realize that. > > So, how can I enable the email-notification, a group with several Users is > created and a command that should be executed when something is wrong is > also set, but what must be set to send the email? > > The problem is that there should be no mailserver running on the nagios- > system. The emails should be sent over the internal mailserver. > > Do I have to write me a shell script that opens a connection to the > server, sends the mail etc. or is there already a plugin that do this for > me? http://www.nagios.org/faqs/viewfaq.php?faq_id=150 -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Apr 8 21:04:11 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 08 Apr 2005 21:04:11 +0200 Subject: Distributed Toplogy - check-host-live doubt - Please help needed! In-Reply-To: <4255AB4A.1070907@di.com.pt> References: <4254F5C3.2020900@di.com.pt> <425543CD.7000302@di.com.pt> <4255AB4A.1070907@di.com.pt> Message-ID: <4256D5AB.40802@op5.se> Artur D'Assump??o wrote: > I still can't solve this issue, can any one help me here please? I would > be gratefull. > I'm sure you would. However, your tight schedules are worth exactly nothing to any of us doing-this-for-free people on this list. The fact that you actually asked this question and then urged us to answer it twice the same day tells me that you have absolutely no respect for other peoples time. If you want answers that bad you should simply try and get someone you can pay for getting this answer. Before posting to a public mailing list of an opensource project again, you might want to read http://catb.org/~esr/faqs/smart-questions.html and make sure you thoroughly understand it. That way you can most likely avoid making this sort of rude mistake again. > > Artur D'Assump??o wrote: > >> I'm sorry to insist in this subject, but i'm really running on a >> schedulle here. Can any one help me out? >> >> Artur D'Assump??o >> >> Artur D'Assump??o wrote: >> >>> Hi ppl, >>> >>> Here I am again with a distributed topology doubt. In my present >>> configuration I have Parents that depends from other lower Parents to >>> detected some unreachable client status. In this topology I had to >>> create a check-unreachable-host-live command that returns a dummy OK >>> status, so the top parent could process the host's passive checks. So >>> far so good, but I have one litle problem, I wish that the beneath >>> parent, that is actually able to reach this specific client, could >>> also send the reachability status of this host to its direct parent. >>> If this check was a service, then there was no problem, but since >>> this is a host specific directive(check_command), how can I acomplish >>> this, or get around it? >>> >>> Hope I was clear, >>> >>> Thnks in advance, >>> >>> Artur D'Assump??o >>> >>> >>> ------------------------------------------------------- >>> SF email is sponsored by - The IT Product Guide >>> Read honest & candid reviews on hundreds of IT Products from real users. >>> Discover which products truly live up to the hype. Start reading now. >>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. ::: Messages without supporting info will risk >>> being sent to /dev/null >> >> >> >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Apr 8 21:07:14 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 08 Apr 2005 21:07:14 +0200 Subject: =?windows-1252?Q?Probl=E9me_Nagios?= In-Reply-To: <1112887602.27372.38.camel@localhost> References: <450006a5050407080526cb5470@mail.gmail.com> <450006a5050407080711a3869@mail.gmail.com> <1112887602.27372.38.camel@localhost> Message-ID: <4256D662.8060205@op5.se> Sorry for this non-sensical post, but I just got to say I LOVE this email. Like a diplomatic slap in the face. :) jeff vier wrote: > Dies ist eine englische Mailingliste. Und wir moechten, dass es so > bleibt. Vielen Dank fuer Ihr Verstaendnis. > > C'est une liste anglaise d'exp??dition. Et nous la pr??f??rons pour rester > de cette fa??on. Merci de la compr??hension. > > Ci?? ?? una lista inglese spedire. E la preferiamo per rimanere quel > senso. Grazie per capire. > > Esta ?? uma lista inglesa enviar. E n??s preferimo-la permanecer essa > maneira. Obrigado compreendendo. > > Esto es una lista inglesa el enviar. Y la preferimos para permanecer > esa manera. Gracias por entender. > > ??????????????????????????????????????????????????????????????????????????? ??????????????????????????????????????????????????????????????????????????????????????? ???????????? > > ????????? ?????? ?????? ?????? ??????. ???????? ? ? ????????? ?????? ?????? ????????? ????????? ????????? ????????????. ????????? ?????? ?????? ?????? ????????????. > > ??????????? ??????????????????????????????????????????????????????? ??????? ???????????? > > This is an English mailing list. And we prefer it to stay that way. > Thank you for understanding. > > On Thu, 2005-04-07 at 17:07 +0200, Nicolas Herbiet wrote: > >>Bonjour, >> >>Je me permets de vous contacter car je vient d'installer nagios est >>j'ai un petit >>probl??me quand je lance nagios j'ai une erreur : No lock file found in >>/var/run/nagios.pid. >> >>Pourriez vous m'aider ? >> >>Merci d'avance >> > > HW?j)b??h??+y??N?L??v?-??y?v'z?\jwbv????,?xn???v?!3????????j?j[?z???(????'!????l????X?z?m??^?*^J?????v)???!????l??gr??i?????e???^??)?rCZ?*,????f??)??+-5?"???z?%??l???q????z?m????X???(??~??zw??X??????b?????"???z????z)???^5?"????????n?)?z?"?{????????h????????.x???????????i??b??~?"?Z??F??x,z{m??^???ll== -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer From ae at op5.se Fri Apr 8 21:10:10 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 08 Apr 2005 21:10:10 +0200 Subject: Nagios calling out to somewhere - Addon In-Reply-To: <42559F53.1070906@gmx.net> References: <42559F53.1070906@gmx.net> Message-ID: <4256D712.7070106@op5.se> Hendrik Baecker wrote: > Hi Lists, > > a collegue of mine and myself just working with Nagios 2.02b and want > that the Nagios Server is able to dial a Telephonenumber and do some > text2speech to some user a la: HOST has a Problem with SERVICE. Please > check. > > Until now we are using such a kind of notification to call out our > "Emergency" Standby Admins on their mobilephone to annoy them in the > middle of the night to check Critical Services with a pre-spoken text. > > Now we want the mentionend text 2 speech for better Speech-Notifications. > > My question: Is there anybody out there who is doing something like this > or could it be interesting for someone? > > I guess it would not be the Problem to write a detailed documentation > how to set up this construct. > > Answers like "Great Idea, give it to us" or "Go away and live your f.... > live" would be nice ;) > Great idea! Post it http://www.nagiosexchange.org. To the maintainer of nagiosexchange.org; How about a tutorials/FAQ section for this kind of stuff? I guess it would not be the Problem to write a detailed documentation how to set up this construct. Answers like "Great Idea, give it to us" or "Go away and live your f.... live" would be nice ;) Best regards, Hendrik > Best regards, > Hendrik > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muksyed at yahoo.com Fri Apr 8 21:10:30 2005 From: muksyed at yahoo.com (Mukarram Syed) Date: Fri, 8 Apr 2005 12:10:30 -0700 (PDT) Subject: NRPE on AIX client: "Are we allowed to connect to the host?" In-Reply-To: 6667 Message-ID: <20050408191030.56334.qmail@web31502.mail.mud.yahoo.com> Thanks all. I got it to work. Some problem in the nrpe.cfg file. Commented everything except the check stuff and the port number and it worked. -Mukarram. --- Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Mukarram > Syed > > Sent: Friday, April 08, 2005 12:36 PM > > To: Nagios-Mailing-List > > Subject: [Nagios-users] NRPE on AIX client: "Are > we allowed to connect > to > > the host?" > > > > Hi Gurus, > > I am trying to configure NRPE on an AIX client. > > Nagios Server is Solaris. > > When I try to telnet to port 5666, it connects but > it > > immediately drops the connection. > > When I run the check_nrpe command from the solaris > > host, I am getting the following: > > root at gallileo:/# /opt/nagios/libexec/check_nrpe > > elux-oems -c check_load > > CHECK_NRPE: Received 0 bytes. Are we allowed to > > connect to the host? > > > > I researched this error in Nagios and checked & > > rechecked my inetd.conf "nrpe" section. Port 5666 > is > > in the /etc/services file. > > First time trying to run nrpe on AIX. Very much > used > > to Solaris and Linux. > > > > Can anyone help? > > Did you add the IP for your solaris box to the > allowed_hosts in > nrpe.cfg? You may also need to add it to hosts.allow > (if such a file > exists under AIX). You should probably be seeing > some kind of error via > syslog on your AIX box, either from inetd or nrpe > indicating why the > connection was dropped. > > -- > Marc > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT > Products from real users. > Discover which products truly live up to the hype. > Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > Mukarram Syed muksyed at yahoo.com __________________________________ Do you Yahoo!? Yahoo! Personals - Better first dates. More second dates. http://personals.yahoo.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From artur.dassumpcao at di.com.pt Fri Apr 8 21:27:15 2005 From: artur.dassumpcao at di.com.pt (=?ISO-8859-1?Q?Artur_D=27Assump=E7=E3o?=) Date: Fri, 08 Apr 2005 20:27:15 +0100 Subject: Distributed Toplogy - check-host-live doubt - Please help needed! In-Reply-To: <42564C2E.8060303@its-lehmann.de> References: <4255C0EF.5030809@di.com.pt> <42564C2E.8060303@its-lehmann.de> Message-ID: <4256DB13.7060409@di.com.pt> Tnks Arno, I didn't new that was a passive host check feature, only passive service check. I'll will read about it. Tnks once again. Arno Lehmann wrote: > Hi. > > I start to understand... > > Artur D'Assump??o wrote: > > > My doubt is really simple. I've got a monitoring distributed/recursive > >> topology like it i've already explained in a previous thread: >> >> --- >> - root A (this will receive and web publish all the incoming passive >> submits. NSCA) >> -- root B (this will receive, web publish his results and re-submit >> them no root A. NSCA / OSCP) >> --- clientB:x (this is a standar client submiting to root B, OSCP >> with send_nsca) >> -- root C (analogous to root B) >> --- client C:x (analogous to client B:x) >> ---- >> >> So the problem is, for example: >> >> Since root A can't reach clientB:x, i'm dependent from root B to >> obsess the passive checks submited by client B:x directly to root A. >> So far so good, and I confirm this topology works in pefection. But >> i've got one problem in root A, since the checks for client B:x are >> received passively trough root B and this client is unreachable from >> root A's network, I had to redefine the check_command to a "dummy OK" >> check that enables the client's services to be checked, otherwise the >> host would get stated has DOWN and service checks disabled. But what >> I really needed and is exacly the problem I am having, is that root >> B, that actually can reach and check actively (with check_command) >> the clientB:x status, also notified root A for this status. > > > > I think you need the passive hosts check feature from nagios version 2. > >> If this is possible, root A, like the service checks, will be also >> capable to determine the clientB:x status trough the root B submits. >> >> My english is not very well, but I hope I was clear, please ask me to >> try to explain better if it wasn't so clear. > > > I think it's becoming clear now. > >> Hope anyone could lead me here please. >> >> Tnks, >> >> Artur D'Assump??o > > > > Arno > >> Marc Powell wrote: >> >>>> -----Original Message----- >>>> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>>> admin at lists.sourceforge.net] On Behalf Of Artur D'Assump??o >>>> Sent: Thursday, April 07, 2005 4:51 PM >>>> To: nagios-users at lists.sourceforge.net >>>> Subject: Re: [Nagios-users] Distributed Toplogy - check-host-live >>>> doubt - >>>> Please help needed! >>>> >>>> I still can't solve this issue, can any one help me here please? I >>>> would >>>> be gratefull. >>>> >>>> >>>> Artur D'Assump??o wrote: >>>> >>>> >>>> >>>>> I'm sorry to insist in this subject, but i'm really running on a >>>>> schedulle here. Can any one help me out? >>>>> >>>>> Artur D'Assump??o >>>>> >>>>> Artur D'Assump??o wrote: >>>>> >>>>> >>>>> >>>>>> Hi ppl, >>>>>> >>>>>> Here I am again with a distributed topology doubt. In my present >>>>>> configuration I have Parents that depends from other lower >>>>>> Parents to >>>>>> detected some unreachable client status. In this topology I had to >>>>>> create a check-unreachable-host-live command that returns a dummy OK >>>>>> status, so the top parent could process the host's passive >>>>>> checks. So >>>>>> far so good, but I have one litle problem, I wish that the beneath >>>>>> parent, that is actually able to reach this specific client, could >>>>>> also send the reachability status of this host to its direct parent. >>>>>> If this check was a service, then there was no problem, but since >>>>>> this is a host specific directive(check_command), how can I >>>>>> acomplish >>>>>> this, or get around it? >>>>>> >>>>> >>> >>> >>> Resending the same thing over and over again isn't going to help. >>> Perhaps no one has done what you are trying, you haven't supplied >>> enough information to answer or, more likely, what you're trying to >>> accomplish isn't clear at all. I for one have no idea what your >>> desired end-result is from the information above or how it differs >>> from the documented parenting/network reachability logic that is >>> already incorporated into Nagios. >>> >>> Perhaps you should read >>> http://nagios.sourceforge.net/docs/1_0/networkreachability.html and >>> http://nagios.sourceforge.net/docs/1_0/networkoutages.html and then >>> tell us how what you want is different and/or state your problem >>> more simply, using examples. >>> >>> -- >>> Marc >>> >>> >>> >>> ------------------------------------------------------- >>> SF email is sponsored by - The IT Product Guide >>> Read honest & candid reviews on hundreds of IT Products from real >>> users. >>> Discover which products truly live up to the hype. Start reading now. >>> http://ads.osdn.com/?ad_ide95&alloc_id396&op=click >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. ::: Messages without supporting info will risk >>> being sent to /dev/null >>> >>> >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null >> > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From artur.dassumpcao at di.com.pt Fri Apr 8 21:29:39 2005 From: artur.dassumpcao at di.com.pt (=?ISO-8859-1?Q?Artur_D=27Assump=E7=E3o?=) Date: Fri, 08 Apr 2005 20:29:39 +0100 Subject: Distributed Toplogy - check-host-live doubt - Please help needed! In-Reply-To: <4256D5AB.40802@op5.se> References: <4254F5C3.2020900@di.com.pt> <425543CD.7000302@di.com.pt> <4255AB4A.1070907@di.com.pt> <4256D5AB.40802@op5.se> Message-ID: <4256DBA3.4070601@di.com.pt> You're right, I appollagise once again, it won't happen again. Andreas Ericsson wrote: > Artur D'Assump??o wrote: > >> I still can't solve this issue, can any one help me here please? I >> would be gratefull. >> > > I'm sure you would. However, your tight schedules are worth exactly > nothing to any of us doing-this-for-free people on this list. The fact > that you actually asked this question and then urged us to answer it > twice the same day tells me that you have absolutely no respect for > other peoples time. If you want answers that bad you should simply try > and get someone you can pay for getting this answer. > > Before posting to a public mailing list of an opensource project > again, you might want to read > http://catb.org/~esr/faqs/smart-questions.html and make sure you > thoroughly understand it. That way you can most likely avoid making > this sort of rude mistake again. > > >> >> Artur D'Assump??o wrote: >> >>> I'm sorry to insist in this subject, but i'm really running on a >>> schedulle here. Can any one help me out? >>> >>> Artur D'Assump??o >>> >>> Artur D'Assump??o wrote: >>> >>>> Hi ppl, >>>> >>>> Here I am again with a distributed topology doubt. In my present >>>> configuration I have Parents that depends from other lower Parents >>>> to detected some unreachable client status. In this topology I had >>>> to create a check-unreachable-host-live command that returns a >>>> dummy OK status, so the top parent could process the host's passive >>>> checks. So far so good, but I have one litle problem, I wish that >>>> the beneath parent, that is actually able to reach this specific >>>> client, could also send the reachability status of this host to its >>>> direct parent. If this check was a service, then there was no >>>> problem, but since this is a host specific >>>> directive(check_command), how can I acomplish this, or get around it? >>>> >>>> Hope I was clear, >>>> >>>> Thnks in advance, >>>> >>>> Artur D'Assump??o >>>> >>>> >>>> ------------------------------------------------------- >>>> SF email is sponsored by - The IT Product Guide >>>> Read honest & candid reviews on hundreds of IT Products from real >>>> users. >>>> Discover which products truly live up to the hype. Start reading now. >>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>> reporting any issue. ::: Messages without supporting info will risk >>>> being sent to /dev/null >>> >>> >>> >>> >>> >>> >>> >>> ------------------------------------------------------- >>> SF email is sponsored by - The IT Product Guide >>> Read honest & candid reviews on hundreds of IT Products from real >>> users. >>> Discover which products truly live up to the hype. Start reading now. >>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. ::: Messages without supporting info will risk >>> being sent to /dev/null >> >> >> >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null >> > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Fri Apr 8 21:30:44 2005 From: boinger at tradingtechnologies.com (jeff vier) Date: Fri, 08 Apr 2005 14:30:44 -0500 Subject: =?ISO-8859-1?Q?Probl=E9me?= Nagios In-Reply-To: <4256D662.8060205@op5.se> References: <450006a5050407080526cb5470@mail.gmail.com> <450006a5050407080711a3869@mail.gmail.com> <1112887602.27372.38.camel@localhost> <4256D662.8060205@op5.se> Message-ID: <1112988645.5751.11.camel@localhost> On Fri, 2005-04-08 at 21:07 +0200, Andreas Ericsson wrote: > Sorry for this non-sensical post, but I just got to say I LOVE this > email. Like a diplomatic slap in the face. :) Thanks. I was inspired by an email (I don't know that it was on this list) that came in reply to a non-English posting - that reply was primarily in the posted language, then had an English P.S. saying something like "Since most on this list don't speak , I told him 'Read the documentation section on Blah Blah and that this is an English mailing list, please don't post in '" I lightbulb went off in my head - I thought I'd take just a dismissive (yet, as you say, diplomatic) sentence and translate it into a pile of common languages (either programatically or by asking someone fluent) for use in case another non-English posting came up. I've posted it a few times on here, and at least twice I've been assisted by someone who proofread some of my poor non-English grammar (which I greatly appreciate. While I *do* want to be dismissive, I also want to do so eloquently). So, I'm glad you like it. It's "open", so feel free to steal it, too :) --jeff Oh, and, in case someone who's read this far thinks I'm just a typical Amero-centric jerk...I have no problem with non-English anywhere it's appropriate. A mailing list specifically designated for English communications, however, diminishes the quality of the mailing list for everyone. Regardless if I personally can read a given non-English posting or not, this forum is not the place for it. > jeff vier wrote: > > Dies ist eine englische Mailingliste. Und wir moechten, dass es so > > bleibt. Vielen Dank fuer Ihr Verstaendnis. > > > > C'est une liste anglaise d'exp??dition. Et nous la pr??f??rons pour rester > > de cette fa??on. Merci de la compr??hension. > > > > Ci?? ?? una lista inglese spedire. E la preferiamo per rimanere quel > > senso. Grazie per capire. > > > > Esta ?? uma lista inglesa enviar. E n??s preferimo-la permanecer essa > > maneira. Obrigado compreendendo. > > > > Esto es una lista inglesa el enviar. Y la preferimos para permanecer > > esa manera. Gracias por entender. > > > > ?????????????????????????????????????????????????????????? ????????????????????????????????????????????????????????????????? ????????? > > > > ??????? ????? ?????? ?????? ?????. ???????? ? ? ???????? ?????? ?????? ????????? ????????? ???????? ????????????. ???????? ?????? ?????? ????? ????????????. > > > > ??????????? ???????????????????????????????????????????????????? ??????? ???????????? > > > > This is an English mailing list. And we prefer it to stay that way. > > Thank you for understanding. > > > > On Thu, 2005-04-07 at 17:07 +0200, Nicolas Herbiet wrote: > > > >>Bonjour, > >> > >>Je me permets de vous contacter car je vient d'installer nagios est > >>j'ai un petit > >>probl??me quand je lance nagios j'ai une erreur : No lock file found in > >>/var/run/nagios.pid. > >> > >>Pourriez vous m'aider ? > >> > >>Merci d'avance > >> > > > > HW?j)b??h??+y??N?L??v?-?y?v'z?\jwbv????,?xn??v?!3????????j?j[?z???(????'!?? ??l????X?z?m??^?*^J?????v)???!????l??gr??i????e??^??)?rCZ?*,????f??)??+-5?"???z?%??l???q????z?m????X???(?? ~??zw??X??????b???"???z????z)???^5?"????????n?)?z?"?{???????h???????.x???? ???????i??b??~?"?Z??F??x,z{m??^???ll== > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > �HW?j)b??h??+y??N?L??v?-?y?v'z?\jwbv????,?xn??v?!3????????j?j[?z???(????'!?? ??l????X?z?m??^?*^J?????v)???!????l??gr??i??}??e??^7??)?brCZ?*,????f??)??+-5?"???z?%??l???q????z?m????X???(?? ~??zw??X??????b???"???z????z)???^5?"????????n?)?z?"?{???????h???????.x???? ???????i??b??~?"?Z??F??x,z{m??^??? From ratty at they.org Fri Apr 8 22:24:11 2005 From: ratty at they.org (frank) Date: Fri, 8 Apr 2005 13:24:11 -0700 (PDT) Subject: host checks not running until services are restored Message-ID: Nagios 2.0b2 on Debian Sarge. Been running for about a month. All my hosts use check_icmp (symlinked as check_host) for HOST checks. Service checks for this particular host are done over SNMP. I had a host go down last night at 1:16am. When it was rebooted, the SNMP daemon was not restarted because I failed to add it to system startup scripts. My fault of course. So I would expect all the _service_ checks to fail in this case. And they did. What confuses me is that the HOST checks (icmp) weren't running at all until I restarted snmpd, allowing the service checks to complete properly. It appears that the host checks ran 10 times at 1:16am (per our global host config), sent out the "host down" alert, and then slept for over 9.5 hours while the SNMP daemon was down. Meanwhile, service checks continued to run and return "UNKNOWN" values because of their inability to contact snmpd. Is this expected behavior? Is it because the service checks return UNKNOWN instead of CRITICAL? I thought the proper action to be taken when a service check returns not-OK is to re-execute the host-check. Is this incorrect? TIA -Frank ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 8 23:41:39 2005 From: marc at ena.com (Marc Powell) Date: Fri, 8 Apr 2005 16:41:39 -0500 Subject: host checks not running until services are restored Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of frank > Sent: Friday, April 08, 2005 3:24 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] host checks not running until services are > restored > > > Nagios 2.0b2 on Debian Sarge. Been running for about a month. > > All my hosts use check_icmp (symlinked as check_host) for HOST checks. > Service checks for this particular host are done over SNMP. > > I had a host go down last night at 1:16am. When it was rebooted, the SNMP > daemon was not restarted because I failed to add it to system startup > scripts. My fault of course. So I would expect all the _service_ checks to > fail in this case. And they did. > > What confuses me is that the HOST checks (icmp) weren't running at all > until I restarted snmpd, allowing the service checks to complete properly. > It appears that the host checks ran 10 times at 1:16am (per our global > host config), sent out the "host down" alert, and then slept for over 9.5 > hours while the SNMP daemon was down. Meanwhile, service checks continued > to run and return "UNKNOWN" values because of their inability to contact > snmpd. > > Is this expected behavior? Is it because the service checks return UNKNOWN Yes, this is expected behavior. Host status is not regularly checked under any circumstances. Host checks are essentially only run under two conditions -- 1) A service goes down and the host is currently OK 2) A service recovers and the host is currently not OK > instead of CRITICAL? I thought the proper action to be taken when a > service check returns not-OK is to re-execute the host-check. Is this > incorrect? Your assumption is incorrect. See above. The exception to this appears to be if you have aggressive host checks enabled which forces a check regardless of the previous host state. That will likely increase your check latency and is discouraged. Nagios will stop _everything_ else it is doing while checking your host so if you check it every time you check a service that isn't OK you're going to really limit the number of checks you can perform. In the event of a major outage nagios will be so bogged down trying to accomplish host checks that it'll be useless for actually determining what's down on your network. I'd suggest you just add a ping service check in addition to your SNMP based checks. If the host is up, ping will respond and your host status will be checked appropriately regardless of whether your snmpd service is running or not. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Fri Apr 8 23:55:40 2005 From: b00mer at gmx.net (Hendrik "Boomer" Baecker) Date: Fri, 08 Apr 2005 23:55:40 +0200 Subject: Nagios calling out to somewhere - Addon In-Reply-To: <4256D712.7070106@op5.se> References: <42559F53.1070906@gmx.net> <4256D712.7070106@op5.se> Message-ID: <4256FDDC.9080905@gmx.net> Andreas Ericsson schrieb: > Hendrik Baecker wrote: > >> Hi Lists, >> >> a collegue of mine and myself just working with Nagios 2.02b and want >> that the Nagios Server is able to dial a Telephonenumber and do some >> text2speech to some user a la: HOST has a Problem with SERVICE. >> Please check. >> >> Until now we are using such a kind of notification to call out our >> "Emergency" Standby Admins on their mobilephone to annoy them in the >> middle of the night to check Critical Services with a pre-spoken text. >> >> Now we want the mentionend text 2 speech for better >> Speech-Notifications. >> >> My question: Is there anybody out there who is doing something like >> this or could it be interesting for someone? >> >> I guess it would not be the Problem to write a detailed documentation >> how to set up this construct. >> >> Answers like "Great Idea, give it to us" or "Go away and live your >> f.... live" would be nice ;) >> > > Great idea! Post it http://www.nagiosexchange.org. Ok, but I need some time. My collegue who is working on this stuff is a little bit of a perfectionist. Have to screw him down and write some usefull documentation. AFAIK there are components which are reading some textfiles, push them through a couple of OpenSource tools to get an wav optimised for 64kbit ISDN and puts them through vgetty (i think) to a voicemodem. I really don't know what to be done but we can write some detailed things about this kind of "magic" we are doing on our system with a (german) FritzAVM Pci Card on an euro-isdn. I think it should be easy to shrink the outgoing wav-files to whatever you need to get a good voice and the interface to drop this wavs to a modem should be a little bit configuration. We will see.... Next week my collegue is at his holidays for one week, I think one more week after he comes back we can work on a howto. Can someone tell us what we have to mention about the different licences of the two or three tools you need to use for? Or is it ok when we just say that everyone has to read the different licences for himself? Greetings Hendrik > > To the maintainer of nagiosexchange.org; How about a tutorials/FAQ > section for this kind of stuff? > > I guess it would not be the Problem to write a detailed documentation > how to set up this construct. > > Answers like "Great Idea, give it to us" or "Go away and live your > f.... live" would be nice ;) > > Best regards, > Hendrik > >> Best regards, >> Hendrik >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null >> > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mister.roy at gmail.com Sat Apr 9 00:35:23 2005 From: mister.roy at gmail.com (Brian Roy) Date: Fri, 8 Apr 2005 17:35:23 -0500 Subject: Nagios calling out to somewhere - Addon In-Reply-To: <4256FDDC.9080905@gmx.net> References: <42559F53.1070906@gmx.net> <4256D712.7070106@op5.se> <4256FDDC.9080905@gmx.net> Message-ID: <1316644905040815354eb69bf8@mail.gmail.com> On Apr 8, 2005 4:55 PM, Hendrik Boomer Baecker wrote: > Andreas Ericsson schrieb: > > AFAIK there are components which are reading some textfiles, push them > through a couple of OpenSource tools to get an wav optimised for 64kbit > ISDN and puts them through vgetty (i think) to a voicemodem. > > What you need is Asterisk. http://www.asterisk.org or better yet http://www.voip-info.org/wiki-Asterisk Now, that being said, I'm an active contributer to the Asterisk project. Most of my need for Nagios was actually to use it to monitor my Asterisk applications and installations. I often thought that I would take on the project of making Asterisk a notification arm to Nagios. It's really not that difficult and could probably be done with minimal effort. As for text to speech there are two open source (well one officially) that are widely used in the Asterisk world. Festival http://www.voip-info.org/wiki-Asterisk+festival+installation http://www.cstr.ed.ac.uk/projects/festival/ and Cepstral (My personal favorite, but there is a nominal cost with licensing voices) http://www.voip-info.org/wiki-Cepstral http://www.cepstral.com/ There are other crossovers (Nagios/Asterisk) developers/maintainers/users that would probably contribute to the project. One that I am familiar with is RoyK (irc nick on freenode). He developed the Asterisk monitor plugin for Nagios. I'm sure we could talk him into helping with the project. Bottom line is, if you want to take this on with Asterisk, I think that you would find a lot of support from the Asterisk development world. Catch me on IRC some time and we can discuss further. nick == Chuji -Brian ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ratty at they.org Sat Apr 9 00:57:01 2005 From: ratty at they.org (frank) Date: Fri, 8 Apr 2005 15:57:01 -0700 (PDT) Subject: host checks not running until services are restored In-Reply-To: References: Message-ID: Understood, I will do exactly that. Thanks! -Frank On Fri, 8 Apr 2005, Marc Powell wrote: [snip] > I'd suggest you just add a ping service check in addition to your SNMP > based checks. If the host is up, ping will respond and your host status > will be checked appropriately regardless of whether your snmpd service > is running or not. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lmoore at shopping.com Sat Apr 9 04:00:23 2005 From: lmoore at shopping.com (Lionel Moore) Date: Fri, 8 Apr 2005 19:00:23 -0700 Subject: Excluding ackd/downtime on Service Problems (Marc Powell) Message-ID: <0C99873E269DF9449701C2CA6D9782C91CADB7@mail-na.shopping.com> You can construct a URL that creates any filter combination that you desire by referring to to values set for properties and status types in cgi/cgiutils.h and common/statusdata.h. Use any of the following parameters on status.cgi: Hoststatustypes= Servicestatustypes= Serviceprops= Hostprops= Add up the decimal values for all of the properties you want ANDed or statuses you want ORed. Like SERVICE_NO_SCHEDULED_DOWNTIME && SERVICE_CHECKS_ENABLED Results in status.cgi?serviceprops=34 And HOST_PENDING || HOST_UP Results in status.cgi?hoststatustypes=3 You'll see the definition of the filter you create in the "Display Filters" box. The only difficulty I've had is that the filter does an AND on all types (hoststatustypes,servicestatustypes,serviceprops,and hostprops). So for example status.cgi?serviceprops=1&hostprops=1 will show me nothing unless I've scheduled downtime for both the host and its services. Lionel Moore NOC Systems Administrator lmoore at shopping.com >From cgi/cgiutils.h /****************** HOST AND SERVICE FILTER PROPERTIES *******************/ #define HOST_SCHEDULED_DOWNTIME 1 #define HOST_NO_SCHEDULED_DOWNTIME 2 #define HOST_STATE_ACKNOWLEDGED 4 #define HOST_STATE_UNACKNOWLEDGED 8 #define HOST_CHECKS_DISABLED 16 #define HOST_CHECKS_ENABLED 32 #define HOST_EVENT_HANDLER_DISABLED 64 #define HOST_EVENT_HANDLER_ENABLED 128 #define HOST_FLAP_DETECTION_DISABLED 256 #define HOST_FLAP_DETECTION_ENABLED 512 #define HOST_IS_FLAPPING 1024 #define HOST_IS_NOT_FLAPPING 2048 #define HOST_NOTIFICATIONS_DISABLED 4096 #define HOST_NOTIFICATIONS_ENABLED 8192 #define SERVICE_SCHEDULED_DOWNTIME 1 #define SERVICE_NO_SCHEDULED_DOWNTIME 2 #define SERVICE_STATE_ACKNOWLEDGED 4 #define SERVICE_STATE_UNACKNOWLEDGED 8 #define SERVICE_CHECKS_DISABLED 16 #define SERVICE_CHECKS_ENABLED 32 #define SERVICE_EVENT_HANDLER_DISABLED 64 #define SERVICE_EVENT_HANDLER_ENABLED 128 #define SERVICE_FLAP_DETECTION_ENABLED 256 #define SERVICE_FLAP_DETECTION_DISABLED 512 #define SERVICE_IS_FLAPPING 1024 #define SERVICE_IS_NOT_FLAPPING 2048 #define SERVICE_NOTIFICATIONS_DISABLED 4096 #define SERVICE_NOTIFICATIONS_ENABLED 8192 #define SERVICE_PASSIVE_CHECKS_DISABLED 16384 #define SERVICE_PASSIVE_CHECKS_ENABLED 32768 #define SERVICE_PASSIVE_CHECK 65536 #define SERVICE_ACTIVE_CHECK 131072 >From common/statusdata.h: /*************************** SERVICE STATES ***************************/ #define SERVICE_PENDING 1 #define SERVICE_OK 2 #define SERVICE_RECOVERY 4 #define SERVICE_WARNING 8 #define SERVICE_UNKNOWN 16 #define SERVICE_CRITICAL 32 #define SERVICE_HOST_DOWN 64 #define SERVICE_UNREACHABLE 128 /**************************** HOST STATES ****************************/ #define HOST_PENDING 1 #define HOST_UP 2 #define HOST_DOWN 4 #define HOST_UNREACHABLE 8 --__--__-- Message: 2 Subject: RE: [Nagios-users] Excluding ackd/downtime on Service Problems Date: Thu, 7 Apr 2005 16:06:07 -0500 From: "Marc Powell" To: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jason Martin > Sent: Thursday, April 07, 2005 9:44 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Excluding ackd/downtime on Service Problems >=20 > Is there any way to exclude services that are in downtime or > that are acknowledged from the Service Problems page? I'd like > to have a screen that shows only problems that need some sort of > action. Go to the Tactical Overview. If you have a Critical service that has not been acknowledged or isn't in Downtime, you'll see something like 'x Unhandled Problems' in the Critical Column. Click on that link. You could also add the destination of that link to your side.html menu. It'll be something like -- http://your.nagios.host/nagios/cgi-bin/status.cgi?host=3Dall&style=3Ddet a= il& servicestatustypes=3D32&hoststatustypes=3D3&serviceprops=3D42 That will only show you unhandled Critical services though.=20 http://your.nagios.host/nagios/cgi-bin/status.cgi?host=3Dall&style=3Ddet a= il& servicestatustypes=3D40&hoststatustypes=3D3&serviceprops=3D42 Should show you Critical and Warning. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Sat Apr 9 06:23:02 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Sat, 9 Apr 2005 00:23:02 -0400 Subject: NSClient no-longer available? In-Reply-To: References: <4A79920EBF3C1445955A00C163CA397831554F@shadow.axegroup.local> Message-ID: I am releasing a new version of NC_Net within a few days, It has some requested enhancements as well as some Known bug fixes. NC_Net is available through Nagios Exchange or from the official web site, www.shatterit.com/NC_Net documentation for NC_Net can be viewed/downloaded form the official web site. Good luck. and thank you to everyone who has been using NC_Net. Tony On Apr 8, 2005 4:01 AM, Mike Simkins wrote: > You could also look at NC_Net if your boxes are running the dotNET framework > > http://www.shatterit.com/NC_Net/ > > On Apr 8, 2005 2:21 AM, Michael Henry wrote: > > > > Sorry for replying to my own post, but I've found what seems to > > be the official site: http://nsclient.ready2run.nl/ > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > > > Of Michael Henry > > > Sent: Friday, 8 April 2005 11:15 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] NSClient no-longer available? > > > Importance: High > > > > > > Hi, > > > > > > The link on the "Extras and Addons" page for NSClient > > > is bad; the domain http://support.tsmgsoftware.com/ no-longer > > > exists. Is this software available from another source? Does > > > anyone have it handy? > > > > > > Thanks, > > > > > > Michael > > > > > > > > > > > > > > > > > > -- > > > axe group > > > MIS Innovation Award Solution Winner 2004 > > > > > > michael henry > > > senior consultant > > > > > > t +61 2 9966 9336 > > > f +61 2 9966 9337 > > > e michael.henry at axegroup.com.au > > > w www.axegroup.com.au > > > > > > 51a hume street crows nest nsw 2065 australia > > > > > > axe group pty. limited - abn 62 095 107 814 This email and > > > any files transmitted with it are confidential and intended > > > solely for the use of the individual or entity to whom they > > > are addressed. If you have received this email in error > > > please notify Axe Group. > > > > > > > > > ------------------------------------------------------- > > > SF email is sponsored by - The IT Product Guide Read honest & > > > candid reviews on hundreds of IT Products from real users. > > > Discover which products truly live up to the hype. Start reading now. > > > http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS > > > when reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_ide95&alloc_id396&opclick > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&opclick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Sat Apr 9 08:20:49 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Sat, 9 Apr 2005 02:20:49 -0400 Subject: Nagios And OWA In-Reply-To: References: Message-ID: you can try using NC_Net, however NC_Net requires Dot Net Framework 1.1 and WMI to be installed into NT4.0 before it can be installed and run. A new version of NC_Net is going to be released within the next few days. NC_Net is used to monitor many different windows objects. To monitor OWA for exchange you can monitor it's processes, services, performance counters and/or event logs. for more details on exacly what to monitor see Microsoft whitepaper on OWA http://support.microsoft.com/default.aspx?scid=kb;en-us;840252 Other than NC_Net you can try any of the other plugons for Windows that give access to the objects you want to monitor. I would suggest browsing nagiosexchange for these: http://www.nagiosexchange.org/Windows.49.0.html Good Luck. TOny On Apr 5, 2005 9:47 AM, Andrade Marcelo wrote: > Hi, Anyone know how I can monitor my owa server?? > > my server is NT 4.0 with owa for exchange 5.5 > > Regards > ________________________________________ > Se informa que el contenido de este mensaje, como tambi?n los archivos > adjuntos, pueden ser de car?cter confidencial. Si usted no es el leg?timo > destinatario de este mensaje, avise inmediatamente por este mismo medio, > reenviando o respondiendo este mensaje al originador. Tambi?n proceda a > borrar y/o destruir este mensaje y los archivos asociados al mismo, ya que > cualquier distribuci?n, divulgaci?n o copia no autorizada de este mensaje y > sus archivos asociados, est? sancionado por ley. Gracias > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&opclick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adamdoti at yahoo.com Sat Apr 9 08:26:26 2005 From: adamdoti at yahoo.com (Adam Doti) Date: Fri, 8 Apr 2005 23:26:26 -0700 (PDT) Subject: Internal Server Error Message-ID: <20050409062626.63743.qmail@web51308.mail.yahoo.com> Ok so I did my homework prior to posting this message and can't seem to find anybody who has had this exact same problem surprisingly enough. Anyway I am using Fedora Core 3, and have installed Nagios Version 2.0b3. I am using this system for nothing else at all. Only for Nagios. I did Nagios install as root. I followed the instructions to a tee! Spent whole day dedicated to making sure I didn't miss a step. I also used the GZIPed package and not the RPM package for Nagios and the Nagios plugins. My problem is I get the Nagios home page fine, and the documentation page fine, but all other links down the left side from "Tactical Overview" through "View Config" all give me the following browser error? (Actually there are a few pages that give me a CGI not found error, but I figured I deal with those later?.) ------------------------------------------------------------------------------ Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, adamdoti at perculator.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. -------------------------------------------------------------------------------- And then in my Apache error.log I get the following error... ------------------------------------------------------------------------ [Date][error] [client IP] (13) Permission denied: exec of '/usr/local/nagios/sbin/status.cgi' failed, referrer: http://192.168.1.119/nagios/side.html [Date][error] [client IP] Premature end of script headers: status.cgi, referer: http://192.168.1.119/nagios/side.html ------------------------------------------------------------------------ I have tried both with and without authentication flag set. I have tried with and without the default user name options set. And finally I have tried with setting auth on all folders CGI and HTML via the .htaccess file. I'm at a total loss. Any ideas? -Adam __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjk_saji at yahoo.com Sat Apr 9 08:35:45 2005 From: jjk_saji at yahoo.com (John Joseph) Date: Sat, 9 Apr 2005 07:35:45 +0100 (BST) Subject: Internal Server Error In-Reply-To: 6667 Message-ID: <20050409063545.31369.qmail@web40811.mail.yahoo.com> I also faced the same problem I tried in the net , there were people who had simillar problem , accordin to thier suggestions I did chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/ chcon -R -t httpd_sys_content_t /usr/local/nagios/share/ Which sloved the problem Thanks Joseph John --- Adam Doti wrote: > Ok so I did my homework prior to posting this > message > and can't seem to find anybody who has had this > exact > same problem surprisingly enough. > > Anyway I am using Fedora Core 3, and have installed > Nagios Version 2.0b3. I am using this system for > nothing else at all. Only for Nagios. > > I did Nagios install as root. > > I followed the instructions to a tee! Spent whole > day > dedicated to making sure I didn't miss a step. I > also > used the GZIPed package and not the RPM package for > Nagios and the Nagios plugins. > > My problem is I get the Nagios home page fine, and > the > documentation page fine, but all other links down > the > left side from "Tactical Overview" through "View > Config" all give me the following browser error > (Actually there are a few pages that give me a CGI > not > found error, but I figured I deal with those > later .) > > ------------------------------------------------------------------------------ > Internal Server Error > The server encountered an internal error or > misconfiguration and was unable to complete your > request. > > Please contact the server administrator, > adamdoti at perculator.com and inform them of the time > the error occurred, and anything you might have done > that may have caused the error. > > More information about this error may be available > in > the server error log. > -------------------------------------------------------------------------------- > > And then in my Apache error.log I get the following > error... > > ------------------------------------------------------------------------ > [Date][error] [client IP] (13) Permission denied: > exec > of '/usr/local/nagios/sbin/status.cgi' failed, > referrer: http://192.168.1.119/nagios/side.html > > [Date][error] [client IP] Premature end of script > headers: status.cgi, referer: > http://192.168.1.119/nagios/side.html > ------------------------------------------------------------------------ > > > I have tried both with and without authentication > flag > set. > I have tried with and without the default user name > options set. > And finally I have tried with setting auth on all > folders CGI and HTML via the .htaccess file. > > I'm at a total loss. Any ideas? > > -Adam > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - Helps protect you from nasty viruses. > http://promotions.yahoo.com/new_mail > > > > __________________________________ > Do you Yahoo!? > Yahoo! Small Business - Try our new resources site! > http://smallbusiness.yahoo.com/resources/ > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT > Products from real users. > Discover which products truly live up to the hype. > Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > Send instant messages to your online friends http://uk.messenger.yahoo.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adamdoti at yahoo.com Sat Apr 9 08:55:01 2005 From: adamdoti at yahoo.com (Adam Doti) Date: Fri, 8 Apr 2005 23:55:01 -0700 (PDT) Subject: Internal Server Error In-Reply-To: <20050409063545.31369.qmail@web40811.mail.yahoo.com> References: <20050409063545.31369.qmail@web40811.mail.yahoo.com> Message-ID: <20050409065502.40837.qmail@web51303.mail.yahoo.com> Funny you shoudl say that.. I JUST found the same fix on Apaches Bugzilla. Thanks! -Adam --- John Joseph wrote: > I also faced the same problem > > I tried in > the net , there were people who had simillar > problem > , > accordin to thier suggestions I did > > > chcon -R -t httpd_sys_content_t > /usr/local/nagios/sbin/ > chcon -R -t httpd_sys_content_t > /usr/local/nagios/share/ > > Which sloved the problem > Thanks > Joseph John > > > > --- Adam Doti wrote: > > Ok so I did my homework prior to posting this > > message > > and can't seem to find anybody who has had this > > exact > > same problem surprisingly enough. > > > > Anyway I am using Fedora Core 3, and have > installed > > Nagios Version 2.0b3. I am using this system for > > nothing else at all. Only for Nagios. > > > > I did Nagios install as root. > > > > I followed the instructions to a tee! Spent whole > > day > > dedicated to making sure I didn't miss a step. I > > also > > used the GZIPed package and not the RPM package > for > > Nagios and the Nagios plugins. > > > > My problem is I get the Nagios home page fine, and > > the > > documentation page fine, but all other links down > > the > > left side from "Tactical Overview" through "View > > Config" all give me the following browser error? > > (Actually there are a few pages that give me a CGI > > not > > found error, but I figured I deal with those > > later?.) > > > > > ------------------------------------------------------------------------------ > > Internal Server Error > > The server encountered an internal error or > > misconfiguration and was unable to complete your > > request. > > > > Please contact the server administrator, > > adamdoti at perculator.com and inform them of the > time > > the error occurred, and anything you might have > done > > that may have caused the error. > > > > More information about this error may be available > > in > > the server error log. > > > -------------------------------------------------------------------------------- > > > > And then in my Apache error.log I get the > following > > error... > > > > > ------------------------------------------------------------------------ > > [Date][error] [client IP] (13) Permission denied: > > exec > > of '/usr/local/nagios/sbin/status.cgi' failed, > > referrer: http://192.168.1.119/nagios/side.html > > > > [Date][error] [client IP] Premature end of script > > headers: status.cgi, referer: > > http://192.168.1.119/nagios/side.html > > > ------------------------------------------------------------------------ > > > > > > I have tried both with and without authentication > > flag > > set. > > I have tried with and without the default user > name > > options set. > > And finally I have tried with setting auth on all > > folders CGI and HTML via the .htaccess file. > > > > I'm at a total loss. Any ideas? > > > > -Adam > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Mail - Helps protect you from nasty > viruses. > > http://promotions.yahoo.com/new_mail > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Small Business - Try our new resources > site! > > http://smallbusiness.yahoo.com/resources/ > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT > > Products from real users. > > Discover which products truly live up to the hype. > > Start reading now. > > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version > > (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk > being > > sent to /dev/null > > > > Send instant messages to your online friends > http://uk.messenger.yahoo.com > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT > Products from real users. > Discover which products truly live up to the hype. > Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From artur.dassumpcao at di.com.pt Sat Apr 9 19:03:15 2005 From: artur.dassumpcao at di.com.pt (=?ISO-8859-1?Q?Artur_D=27Assump=E7=E3o?=) Date: Sat, 09 Apr 2005 18:03:15 +0100 Subject: passive host checks status instability, bug or configuration error? Message-ID: <42580AD3.9040401@di.com.pt> Hi ppl, I'm having very strange instable results in passive host checks, I don't know if i've found a bug or if I am actually doing something wrong here. I'll try to introduce the network first, before exposing the actual problem: Well, I have some hosts that are behind firewalled networks, so service and host checks have to be submited passively using send_nsca. In the main config I have these refresh options: check_service_freshness=1 check_host_freshness=1 service_freshness_check_interval=300 host_freshness_check_interval=60 retain status options are disabled also. A generic host in these conditions uses this template configuration, define host { name generic-passive-unreachable-host active_checks_enabled 0 passive_checks_enabled 1 obsess_over_host 1 event_handler_enabled 0 flap_detection_enabled 0 process_perf_data 0 retain_status_information 0 retain_nonstatus_information 0 check_command host-is-stale check_freshness 1 freshness_threshold 120 max_check_attempts 1 notifications_enabled 1 notification_interval 60 notification_period 24x7 notification_options d,u,r contact_groups dummy-contacts register 0 } analogous for services: define service { name generic-passive-service active_checks_enabled 0 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 0 flap_detection_enabled 0 process_perf_data 1 retain_status_information 0 retain_nonstatus_information 0 is_volatile 0 check_command service-is-stale check_freshness 1 freshness_threshold 300 parallelize_check 1 check_period 24x7 max_check_attempts 2 normal_check_interval 5 retry_check_interval 5 notifications_enabled 1 notification_interval 60 notification_period 24x7 notification_options c,r contact_groups dummy-contacts register 0 } Now to the real problem. I'm having problems with the host status flapping from UP to DOWN constantly. In my tests I have only the monitoring server up, the other clients/servers are down. Everytime the host threshold expires the 'host-is-stale' get run, returning allways a DOWN state: Apr 9 17:52:09 sr-0 nagios: Warning: The results of host 'domain.pt_sfci-dr-0' are stale by 60 seconds (threshold=120 seconds). I'm forcing an immediate check of the host. This is the expected behavior, so far so good... The problem starts happening when I see that this host related passive services threshold is also expiring, even when the host is in status DOWN: Apr 9 17:52:17 sr-0 nagios: Warning: The results of service '[SYS] Swap Usage' on host 'domian.pt_sfci-dr-0' are stale by 40 seconds (threshold=500 seconds). I'm forcing an immediate check of the service. Well, when this happens the command 'service-is-stale' get executed placing the service in an UNKNOWN status and consequently the host status changes to UP. Now, let me shoot my question, aren't supposed the services checks for a stated DOWN host be ignored? This is causing the UP/DOWN flapping instability, I remember that there aren't any other distributed servers ou clients submiting results, NSCA isn't even running at this time. Any clues? I'm running nagios version 2.0b2. (I know there is 2.0b3 but since I havent found any changlog references on this subject, I am aiming for a configuration problem) Thanks very much, AD ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From artur.dassumpcao at di.com.pt Sat Apr 9 20:42:17 2005 From: artur.dassumpcao at di.com.pt (=?ISO-8859-1?Q?Artur_D=27Assump=E7=E3o?=) Date: Sat, 09 Apr 2005 19:42:17 +0100 Subject: passive host checks status instability, bug or configuration error? In-Reply-To: <42580AD3.9040401@di.com.pt> References: <42580AD3.9040401@di.com.pt> Message-ID: <42582209.9070508@di.com.pt> I am still having the same problem in the same conditions, but I think I've found a workaround that can help you debug this issue: I've changed the service-is-stale with another plugin that returns 1 of 2 states possible depending on the $HOSTSTATE$ macro: sr-0 plugins-di # cat service_is_stale if [ $1 == "DOWN" ]; then /usr/nagios/libexec/check_dummy 2 "Service results not received" elif [ $1 == "UP" ]; then /usr/nagios/libexec/check_dummy 3 "Service results not received" fi -- # default command used when nsca results for a given host's service wheren't received define command { command_name service-is-stale command_line $USER2$/service_is_stale $HOSTSTATE$ } Now, when he service checks get staled the status returned depends the $HOSTSTATE$ macro. In this specific case, why the host status is DOWN the returned value for the staled services is CRITICAL, leading to a not change of the host status. Anyway, I still have the same question, isn't supposed to ignore all the service checks if the host is stated DOWN? AD Artur D'Assump??o wrote: > Hi ppl, > > I'm having very strange instable results in passive host checks, I > don't know if i've found a bug or if I am actually doing something > wrong here. > > I'll try to introduce the network first, before exposing the actual > problem: > > Well, I have some hosts that are behind firewalled networks, so > service and host checks have to be submited passively using send_nsca. > > In the main config I have these refresh options: > > check_service_freshness=1 > check_host_freshness=1 > > service_freshness_check_interval=300 > host_freshness_check_interval=60 > > retain status options are disabled also. > > A generic host in these conditions uses this template configuration, > > define host { > name generic-passive-unreachable-host > > active_checks_enabled 0 > passive_checks_enabled 1 > > obsess_over_host 1 > event_handler_enabled 0 > flap_detection_enabled 0 > process_perf_data 0 > retain_status_information 0 > retain_nonstatus_information 0 > > check_command host-is-stale > check_freshness 1 > freshness_threshold 120 > max_check_attempts 1 > > notifications_enabled 1 > notification_interval 60 > notification_period 24x7 > notification_options d,u,r > > contact_groups dummy-contacts > > register 0 > } > > analogous for services: > > define service { > name generic-passive-service > > active_checks_enabled 0 > passive_checks_enabled 1 > > obsess_over_service 1 > event_handler_enabled 0 > flap_detection_enabled 0 > process_perf_data 1 > retain_status_information 0 > retain_nonstatus_information 0 > is_volatile 0 > > check_command service-is-stale > check_freshness 1 > freshness_threshold 300 > parallelize_check 1 > check_period 24x7 > max_check_attempts 2 > normal_check_interval 5 > retry_check_interval 5 > > notifications_enabled 1 > notification_interval 60 > notification_period 24x7 > notification_options c,r > > contact_groups dummy-contacts > > register 0 > } > > > Now to the real problem. I'm having problems with the host status > flapping from UP to DOWN constantly. In my tests I have only the > monitoring server up, the other clients/servers are down. Everytime > the host threshold expires the 'host-is-stale' get run, returning > allways a DOWN state: > > Apr 9 17:52:09 sr-0 nagios: Warning: The results of host > 'domain.pt_sfci-dr-0' are stale by 60 seconds (threshold=120 > seconds). I'm forcing an immediate check of the host. > > This is the expected behavior, so far so good... > > The problem starts happening when I see that this host related passive > services threshold is also expiring, even when the host is in status > DOWN: > > Apr 9 17:52:17 sr-0 nagios: Warning: The results of service '[SYS] > Swap Usage' on host 'domian.pt_sfci-dr-0' are stale by 40 seconds > (threshold=500 seconds). I'm forcing an immediate check of the service. > > Well, when this happens the command 'service-is-stale' get executed > placing the service in an UNKNOWN status and consequently the host > status changes to UP. > > Now, let me shoot my question, aren't supposed the services checks for > a stated DOWN host be ignored? This is causing the UP/DOWN flapping > instability, I remember that there aren't any other distributed > servers ou clients submiting results, NSCA isn't even running at this > time. Any clues? > > I'm running nagios version 2.0b2. (I know there is 2.0b3 but since I > havent found any changlog references on this subject, I am aiming for > a configuration problem) > > Thanks very much, > > AD > > > > > > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From artur.dassumpcao at di.com.pt Sun Apr 10 10:29:51 2005 From: artur.dassumpcao at di.com.pt (=?ISO-8859-1?Q?Artur_D=27Assump=E7=E3o?=) Date: Sun, 10 Apr 2005 09:29:51 +0100 Subject: passive host checks status instability, bug or configuration error? In-Reply-To: <42582209.9070508@di.com.pt> References: <42580AD3.9040401@di.com.pt> <42582209.9070508@di.com.pt> Message-ID: <4258E3FF.7060108@di.com.pt> I guess I was wrong... I left this workaround testing trought the night with notifications on and today i've received a few status changes notifications. So, this isn't good working too. AD Artur D'Assump??o wrote: > I am still having the same problem in the same conditions, but I think > I've found a workaround that can help you debug this issue: > > I've changed the service-is-stale with another plugin that returns 1 > of 2 states possible depending on the $HOSTSTATE$ macro: > > sr-0 plugins-di # cat service_is_stale > if [ $1 == "DOWN" ]; then > /usr/nagios/libexec/check_dummy 2 "Service results not received" > elif [ $1 == "UP" ]; then > /usr/nagios/libexec/check_dummy 3 "Service results not received" > fi > > > -- > > # default command used when nsca results for a given host's service > wheren't received > define command { > command_name service-is-stale > command_line $USER2$/service_is_stale $HOSTSTATE$ > } > > Now, when he service checks get staled the status returned depends the > $HOSTSTATE$ macro. In this specific case, why the host status is DOWN > the returned value for the staled services is CRITICAL, leading to a > not change of the host status. > > Anyway, I still have the same question, isn't supposed to ignore all > the service checks if the host is stated DOWN? > > AD > > > > Artur D'Assump??o wrote: > >> Hi ppl, >> >> I'm having very strange instable results in passive host checks, I >> don't know if i've found a bug or if I am actually doing something >> wrong here. >> >> I'll try to introduce the network first, before exposing the actual >> problem: >> >> Well, I have some hosts that are behind firewalled networks, so >> service and host checks have to be submited passively using send_nsca. >> >> In the main config I have these refresh options: >> >> check_service_freshness=1 >> check_host_freshness=1 >> >> service_freshness_check_interval=300 >> host_freshness_check_interval=60 >> >> retain status options are disabled also. >> >> A generic host in these conditions uses this template configuration, >> >> define host { >> name generic-passive-unreachable-host >> >> active_checks_enabled 0 >> passive_checks_enabled 1 >> >> obsess_over_host 1 >> event_handler_enabled 0 >> flap_detection_enabled 0 >> process_perf_data 0 >> retain_status_information 0 >> retain_nonstatus_information 0 >> >> check_command host-is-stale >> check_freshness 1 >> freshness_threshold 120 >> max_check_attempts 1 >> >> notifications_enabled 1 >> notification_interval 60 >> notification_period 24x7 >> notification_options d,u,r >> >> contact_groups dummy-contacts >> >> register 0 >> } >> >> analogous for services: >> >> define service { >> name generic-passive-service >> >> active_checks_enabled 0 >> passive_checks_enabled 1 >> >> obsess_over_service 1 >> event_handler_enabled 0 >> flap_detection_enabled 0 >> process_perf_data 1 >> retain_status_information 0 >> retain_nonstatus_information 0 >> is_volatile 0 >> >> check_command service-is-stale >> check_freshness 1 >> freshness_threshold 300 >> parallelize_check 1 >> check_period 24x7 >> max_check_attempts 2 >> normal_check_interval 5 >> retry_check_interval 5 >> >> notifications_enabled 1 >> notification_interval 60 >> notification_period 24x7 >> notification_options c,r >> >> contact_groups dummy-contacts >> >> register 0 >> } >> >> >> Now to the real problem. I'm having problems with the host status >> flapping from UP to DOWN constantly. In my tests I have only the >> monitoring server up, the other clients/servers are down. Everytime >> the host threshold expires the 'host-is-stale' get run, returning >> allways a DOWN state: >> >> Apr 9 17:52:09 sr-0 nagios: Warning: The results of host >> 'domain.pt_sfci-dr-0' are stale by 60 seconds (threshold=120 >> seconds). I'm forcing an immediate check of the host. >> >> This is the expected behavior, so far so good... >> >> The problem starts happening when I see that this host related >> passive services threshold is also expiring, even when the host is in >> status DOWN: >> >> Apr 9 17:52:17 sr-0 nagios: Warning: The results of service '[SYS] >> Swap Usage' on host 'domian.pt_sfci-dr-0' are stale by 40 seconds >> (threshold=500 seconds). I'm forcing an immediate check of the service. >> >> Well, when this happens the command 'service-is-stale' get executed >> placing the service in an UNKNOWN status and consequently the host >> status changes to UP. >> >> Now, let me shoot my question, aren't supposed the services checks >> for a stated DOWN host be ignored? This is causing the UP/DOWN >> flapping instability, I remember that there aren't any other >> distributed servers ou clients submiting results, NSCA isn't even >> running at this time. Any clues? >> >> I'm running nagios version 2.0b2. (I know there is 2.0b3 but since I >> havent found any changlog references on this subject, I am aiming for >> a configuration problem) >> >> Thanks very much, >> >> AD >> >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vivek_222 at rediffmail.com Sun Apr 10 15:02:14 2005 From: vivek_222 at rediffmail.com (vivek sharma sharma) Date: 10 Apr 2005 13:02:14 -0000 Subject: Fwd:Plugin compatibility issue-On solaris Message-ID: <20050410130214.21982.qmail@webmail31.rediffmail.com> Dear all, As already discussed I am running Nagios server on one Linux Server and i also have to monitor Solaris Os servers(SUN). Is there any way out for this Plz suggest. Thanks. Vivek? Note: Forwarded message attached -- Orignal Message -- From: "vivek sharma sharma" To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Plugin compatibility issue-On solaris -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded message was scrubbed... From: "vivek sharma sharma" Subject: [Nagios-users] Plugin compatibility issue-On solaris Date: no date Size: 3530 URL: From artur.dassumpcao at di.com.pt Sun Apr 10 17:38:42 2005 From: artur.dassumpcao at di.com.pt (=?ISO-8859-1?Q?Artur_D=27Assump=E7=E3o?=) Date: Sun, 10 Apr 2005 16:38:42 +0100 Subject: Someone explain could explain me the correct behaviour for freshness checkings please? Message-ID: <42594882.2080100@di.com.pt> Someone explain could explain me the correct behavior for freshness checkings please? It's driving me crazy. The main configuration has: service_freshness_check_interval=60 So I supose that this will define de check rate for the services freshness check. Then, for every service I use the same template, where I have the following configurations: check_command service-is-stale check_freshness 1 freshness_threshold 300 parallelize_check 1 max_check_attempts 2 normal_check_interval 2 retry_check_interval 2 So the logical behavior for me, is that everytime nagios will trigger a freshness check (each 60s in this case), if the last submited check sample for a given service is more than 300s old it will declare that service staled and run service-is-stale. Now, i'm pretty shure that samples are being fed in a +-120s rate, and I'm having a lot of status changes from OK to UNKNOWN (returned from the service-is-stale)! Here it it goes some interestings logs: Apr 10 16:26:17 sr-0 nsca[13018]: SERVICE CHECK -> Host Name: 'compal.pt_sfci-dr-1', Service Description: '[SYS] System Load', Return Code: '1', Output: 'WARNING - load average: 1.00, 1.00, 1.00' Apr 10 16:26:47 sr-0 nsca[30732]: SERVICE CHECK -> Host Name: 'compal.pt_sfci-dr-1', Service Description: '[SYS] Disk Usage', Return Code: '0', Output: 'DISK OK - free space: / 3692 MB (64%):' Apr 10 16:27:07 sr-0 nsca[23332]: SERVICE CHECK -> Host Name: 'compal.pt_sfci-dr-1', Service Description: '[SYS] Swap Usage', Return Code: '0', Output: 'SWAP OK: 100% free (494 MB out of 494 MB)' Apr 10 16:27:10 sr-0 nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;compal.pt_sfci-dr-1;[SYS] System Load;1;WARNING - load average: 1.00, 1.00, 1.00 Apr 10 16:27:10 sr-0 nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;compal.pt_sfci-dr-1;[SYS] Disk Usage;0;DISK OK - free space: / 3692 MB (64%): Apr 10 16:27:10 sr-0 nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;compal.pt_sfci-dr-1;[SYS] Swap Usage;0;SWAP OK: 100% free (494 MB out of 494 MB) Apr 10 16:27:37 sr-0 nsca[29813]: SERVICE CHECK -> Host Name: 'compal.pt_sfci-dr-1', Service Description: '[SRV] SSH', Return Code: '0', Output: 'SSH OK - OpenSSH_3.9p1 (protocol 2.0)' Apr 10 16:28:08 sr-0 nsca[17504]: SERVICE CHECK -> Host Name: 'compal.pt_sfci-dr-1', Service Description: '[SYS] Interfaces', Return Code: '0', Output: 'OK - interfaces lo eth0 tun0 are up' Apr 10 16:28:10 sr-0 nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;compal.pt_sfci-dr-1;[SRV] SSH;0;SSH OK - OpenSSH_3.9p1 (protocol 2.0) Apr 10 16:28:10 sr-0 nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;compal.pt_sfci-dr-1;[SYS] Interfaces;0;OK - interfaces lo eth0 tun0 are up Apr 10 16:28:17 sr-0 nsca[13184]: SERVICE CHECK -> Host Name: 'compal.pt_sfci-dr-1', Service Description: '[SYS] System Load', Return Code: '1', Output: 'WARNING - load average: 1.00, 1.00, 1.00' ---- SERVICES WHERE OK WHEN REACHED HERE ---- ---- SERVICES CHANGED TO UNKNOWN AFTER THIS NEXT BLOCK ---- Apr 10 16:28:17 sr-0 nagios: Warning: The results of service '[SYS] Disk Usage' on host 'compal.pt_sfci-dr-1' are stale by 40 seconds (threshold=500 seconds). I'm forcing an immediate check of the service. Apr 10 16:28:17 sr-0 nagios: Warning: The results of service '[SYS] Swap Usage' on host 'compal.pt_sfci-dr-1' are stale by 40 seconds (threshold=500 seconds). I'm forcing an immediate check of the service. Apr 10 16:28:47 sr-0 nsca[10633]: SERVICE CHECK -> Host Name: 'compal.pt_sfci-dr-1', Service Description: '[SYS] Disk Usage', Return Code: '0', Output: 'DISK OK - free space: / 3692 MB (64%):' Apr 10 16:29:07 sr-0 nsca[6978]: SERVICE CHECK -> Host Name: 'compal.pt_sfci-dr-1', Service Description: '[SYS] Swap Usage', Return Code: '0', Output: 'SWAP OK: 100% free (494 MB out of 494 MB)' Apr 10 16:29:10 sr-0 nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;compal.pt_sfci-dr-1;[SYS] System Load;1;WARNING - load average: 1.00, 1.00, 1.00 Apr 10 16:29:10 sr-0 nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;compal.pt_sfci-dr-1;[SYS] Disk Usage;0;DISK OK - free space: / 3692 MB (64%): Apr 10 16:29:10 sr-0 nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;compal.pt_sfci-dr-1;[SYS] Swap Usage;0;SWAP OK: 100% free (494 MB out of 494 MB) The last 2nd block of logs, and correct me if i'm wrong, shows me that something is not ok here, first of all services are being considered staled near 2 mins after a submited check: Apr 10 16:27:07 sr-0 nsca[23332]: SERVICE CHECK -> Host Name: 'compal.pt_sfci-dr-1', Service Description: '[SYS] Swap Usage', Return Code: '0', Output: 'SWAP OK: 100% free (494 MB out of 494 MB)' Apr 10 16:28:17 sr-0 nagios: Warning: The results of service '[SYS] Swap Usage' on host 'compal.pt_sfci-dr-1' are stale by 40 seconds (threshold=500 seconds). I'm forcing an immediate check of the service. Then i'm looking to a 500s threshold and 40s stale that i've never defined, and I'm shure of this, because all my objects, and they're are very few for this testing environment, uses the same template that i've shown before. Could be this any default value that is not being overided? If it is, I can't find any reference to it in the documentation. I'm using nagios 2.0b. I'd be very thankfull with some help in this subject please. AD ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vivek_222 at rediffmail.com Sun Apr 10 20:21:42 2005 From: vivek_222 at rediffmail.com (vivek sharma sharma) Date: 10 Apr 2005 18:21:42 -0000 Subject: check_by_ssh-issue(remote host monitoring) Message-ID: <20050410182142.3024.qmail@webmail7.rediffmail.com> Dear all, I guess there is no solution for getting Nagios work in betn. two OS as I have not got any reply in 3 days. Well I have tried to work out one solution,its through check_by_ssh plugin wherein i am trying to run the commands through it in the remote system(Solaris-OS) and give me the output in Nagios(Nagios-OS).But the problem That i am getting is that i am getting proper output when i run the command on command line as Nagios user but when i restart the Nagios service and see it in GUI it basically gives me only first line of output.Same behaviour happens in the command line also if i remove the -O option but after giving that it works fine in command line but no improvement in GUI mode . My configuration is as follows: define command { command_name solaris_disk_check command_line $USER1$/check_by_ssh -H xxx.xxx.xxx -l root -C 'df -k' -n solaris-disk-check -s solaris-disk-check -O $USER1$/test } Command line output: [nagios at nagios libexec]$ id uid=501(nagios) gid=501(nagios) groups=501(nagios),502(nagcmd) [nagios at nagios libexec]$ /usr/local/nagios/libexec/check_by_ssh -H xxx.xxx.xxx -l root -C 'df -k' -n solaris-disk-check -s solaris-check-disk -O /usr/local/nagios/libexec/test Filesystem kbytes used avail capacity Mounted on /dev/md/dsk/d10 5040814 4140918 849488 83% / /proc 0 0 0 0% /proc mnttab 0 0 0 0% /etc/mnttab fd 0 0 0 0% /dev/fd /dev/md/dsk/d30 4032504 3450385 541794 87% /var swap 2248192 168 2248024 1% /var/run swap 2254928 6904 2248024 1% /tmp /dev/md/dsk/d50 1984564 1660404 264624 87% /export /dev/md/dsk/d40 1488787 111161 1318075 8% /opt [nagios at nagios libexec]$ GUI Output: Filesystem kbytes used avail capacity Mounted on Both check_by_ssh plugin and test file are in /usr/local/nagios/libexec=$USER1$ directory Also how would i make the nagios get a warning status for %age amount of disk free etc. b'cos check_by_ssh plugin has option for warning/critical only on response time which is not useful for my situation. Plz suggest. Thanks. Vivek. ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Sun Apr 10 21:00:46 2005 From: ae at op5.se (Andreas Ericsson) Date: Sun, 10 Apr 2005 21:00:46 +0200 Subject: check_by_ssh-issue(remote host monitoring) In-Reply-To: <20050410182142.3024.qmail@webmail7.rediffmail.com> References: <20050410182142.3024.qmail@webmail7.rediffmail.com> Message-ID: <425977DE.1040600@op5.se> Please use an email-client that wraps long lines. It's nicer on the eyes for those poor bastards that receive it. vivek sharma sharma wrote: > Dear all, I guess there is no solution for getting Nagios work in > betn. two OS as I have not got any reply in 3 days. Well I have tried > to work out one solution,its through check_by_ssh plugin wherein i am > trying to run the commands through it in the remote > system(Solaris-OS) and give me the output in Nagios(Nagios-OS).But > the problem That i am getting is that i am getting proper output when > i run the command on command line as Nagios user but when i restart > the Nagios service and see it in GUI it basically gives me only first > line of output. This is the intended behaviour and properly documented. Do your homework. >Same behaviour happens in the command line also if i > remove the -O option but after giving that it works fine in command > line but no improvement in GUI mode . My configuration is as follows: > > > define command { command_name solaris_disk_check command_line > $USER1$/check_by_ssh -H xxx.xxx.xxx -l root -C 'df -k' -n > solaris-disk-check -s solaris-disk-check -O $USER1$/test } > > Command line output: [nagios at nagios libexec]$ id uid=501(nagios) > gid=501(nagios) groups=501(nagios),502(nagcmd) [nagios at nagios > libexec]$ /usr/local/nagios/libexec/check_by_ssh -H xxx.xxx.xxx -l > root -C 'df -k' -n solaris-disk-check -s solaris-check-disk -O > /usr/local/nagios/libexec/test Filesystem kbytes used > avail capacity Mounted on /dev/md/dsk/d10 5040814 4140918 > 849488 83% / /proc 0 0 0 > 0% /proc mnttab 0 0 0 0% > /etc/mnttab fd 0 0 0 0% > /dev/fd /dev/md/dsk/d30 4032504 3450385 541794 87% /var > swap 2248192 168 2248024 1% /var/run swap > 2254928 6904 2248024 1% /tmp /dev/md/dsk/d50 1984564 > 1660404 264624 87% /export /dev/md/dsk/d40 1488787 > 111161 1318075 8% /opt [nagios at nagios libexec]$ > > GUI Output: Filesystem kbytes used avail capacity Mounted on > > Both check_by_ssh plugin and test file are in > /usr/local/nagios/libexec=$USER1$ directory > > Also how would i make the nagios get a warning status for %age amount > of disk free etc. b'cos check_by_ssh plugin has option for > warning/critical only on response time which is not useful for my > situation. > > Plz suggest. > Run a script on the remote host via check_by_ssh, or better still, a compiled nagios-plugin. It's what everybody else does, and what every FAQ, tutorial and other piece of documentation suggests you do. > Thanks. Vivek. > > > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sun Apr 10 21:49:52 2005 From: marc at ena.com (Marc Powell) Date: Sun, 10 Apr 2005 14:49:52 -0500 Subject: check_by_ssh-issue(remote host monitoring) Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of vivek sharma sharma > Sent: Sunday, April 10, 2005 1:22 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_by_ssh-issue(remote host monitoring) > > Dear all, > I guess there is no solution for getting Nagios work in betn. two OS > as I have not got any reply in 3 days. There are many ways. Guess any way you please though. As to your other comment, I know that there was at least one. > Well I have tried to work out one solution,its through check_by_ssh plugin > wherein i am trying to run the commands through it > in the remote system(Solaris-OS) and give me the output in Nagios(Nagios- > OS).But the problem That i am getting is that i am > getting proper output when i run the command on command line as Nagios > user but when i restart the Nagios service and see it > in GUI it basically gives me only first line of output.Same behaviour > happens in the command line also if i remove the -O > option but after giving that it works fine in command line but no > improvement in GUI mode . That is expected behavior given the command you are running below. If you're going to write your own check plugins you should read the Plugin Developers Guidelines at http://nagiosplug.sf.net, then you won't be surprised by these little details. check_by_ssh is just a wrapper, passing the output of the plugin run on the remote host back to Nagios. > My configuration is as follows: > > define command { > command_name solaris_disk_check > command_line $USER1$/check_by_ssh -H xxx.xxx.xxx -l root - > C 'df -k' -n solaris-disk-check -s solaris-disk-check -O $USER1$/test > } > > Command line output: > [nagios at nagios libexec]$ id > uid=501(nagios) gid=501(nagios) groups=501(nagios),502(nagcmd) > [nagios at nagios libexec]$ /usr/local/nagios/libexec/check_by_ssh -H > xxx.xxx.xxx -l root -C 'df -k' -n solaris-disk-check -s > solaris-check-disk -O /usr/local/nagios/libexec/test > Filesystem kbytes used avail capacity Mounted on > /dev/md/dsk/d10 5040814 4140918 849488 83% / > /proc 0 0 0 0% /proc > mnttab 0 0 0 0% /etc/mnttab > fd 0 0 0 0% /dev/fd > /dev/md/dsk/d30 4032504 3450385 541794 87% /var > swap 2248192 168 2248024 1% /var/run > swap 2254928 6904 2248024 1% /tmp > /dev/md/dsk/d50 1984564 1660404 264624 87% /export > /dev/md/dsk/d40 1488787 111161 1318075 8% /opt > [nagios at nagios libexec]$ > > GUI Output: > Filesystem kbytes used avail capacity Mounted on > > Both check_by_ssh plugin and test file are in > /usr/local/nagios/libexec=$USER1$ directory > > Also how would i make the nagios get a warning status for %age amount of > disk free etc. b'cos check_by_ssh plugin has option > for warning/critical only on response time which is not useful for my > situation. Read the Plugin Developers Guidelines on how to exit with the proper code or use the check_disk plugin which has already been written for you. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Mon Apr 11 09:38:14 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Mon, 11 Apr 2005 09:38:14 +0200 Subject: AW: NSClient no-longer available? Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E01B79672@SYGOMAIL.GOE.AD.SYCOR.DE> This Homepage isn't the "official" nsclient page, though it had been the official a few years ago... the "offical" homepage ist he one from tsmgsoftware... but it seems they droped the project or something... To download the latest version (on nsclient.ready2run you can find the old one) goto www.nagiosexchange.org . Or take a look at NC_Net or nsclient++ > -----Urspr?ngliche Nachricht----- > Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] Im Auftrag von Michael Henry > Gesendet: Freitag, 8. April 2005 03:22 > An: nagios-users at lists.sourceforge.net > Betreff: RE: [Nagios-users] NSClient no-longer available? > > > Sorry for replying to my own post, but I've found what seems to > be the official site: http://nsclient.ready2run.nl/ > > > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > > Of Michael Henry > > Sent: Friday, 8 April 2005 11:15 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] NSClient no-longer available? > > Importance: High > > > > Hi, > > > > The link on the "Extras and Addons" page for NSClient > > is bad; the domain http://support.tsmgsoftware.com/ no-longer > > exists. Is this software available from another source? Does > > anyone have it handy? > > > > Thanks, > > > > Michael > > > > > > > > > > > > -- > > axe group > > MIS Innovation Award Solution Winner 2004 > > > > michael henry > > senior consultant > > > > t +61 2 9966 9336 > > f +61 2 9966 9337 > > e michael.henry at axegroup.com.au > > w www.axegroup.com.au > > > > 51a hume street crows nest nsw 2065 australia > > > > axe group pty. limited - abn 62 095 107 814 This email and > > any files transmitted with it are confidential and intended > > solely for the use of the individual or entity to whom they > > are addressed. If you have received this email in error > > please notify Axe Group. > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide Read honest & > > candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Je_Ho at gmx.de Mon Apr 11 09:40:47 2005 From: Je_Ho at gmx.de (Jessica Holle) Date: Mon, 11 Apr 2005 09:40:47 +0200 (MEST) Subject: nagios log (daily, hourly...) help please Message-ID: <8074.1113205247@www79.gmx.net> A few days ago I've asked here too, but I don't get an answer. My problem is the regularly log. This values are set in my nagios.cfg. log_rotation_method=h log_archive_path=/usr/local/nagios/var/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=1 log_external_commands=1 log_passive_service_checks=1 But my log looks so: [1113204593] Nagios 1.2 starting... (PID=11027) [1113204593] Warning: Could not set effective GID=1000 [1113204753] HOST ALERT: rzvlabwks;UP;HARD;0;(Host assumed to be up) [1113204753] SERVICE ALERT: rzvlabwks;PING;OK;HARD;1;OK - 172.16.1.200: rta 0.050ms, lost 0% [1113204903] HOST ALERT: rzvnotes1;UP;HARD;0;(Host assumed to be up) [1113204903] SERVICE ALERT: rzvnotes1;PING;OK;HARD;1;OK - 172.16.1.19: rta 0.985ms, lost 0% I've two this I test, this is the log, but now there are no more entrys. I think all checks should be loged but nothing happend. only when the log rotate there is an entry an nothing else. Why are no more entrys? Can anybody help me? Please! Greets Jessica -- Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian.chard at sers.ox.ac.uk Mon Apr 11 10:08:05 2005 From: ian.chard at sers.ox.ac.uk (Ian Chard) Date: Mon, 11 Apr 2005 09:08:05 +0100 Subject: Big fat memory leak in 2.0b3 Message-ID: <425A3065.7080401@sers.ox.ac.uk> Hi, I've recently upgraded to 2.0b3 and twice now I've found a nagios process running at 535MB (it usually sits around 38MB). Has anyone else experienced this? - Ian -- Ian Chard, Unix & Network Administrator | E: ian.chard at sers.ox.ac.uk Systems and Electronic Resources Service | T: 80587 / (01865) 280587 Oxford University Library Services | F: (01865) 204937 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Mon Apr 11 10:30:41 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Mon, 11 Apr 2005 10:30:41 +0200 Subject: Big fat memory leak in 2.0b3 In-Reply-To: <425A3065.7080401@sers.ox.ac.uk> References: <425A3065.7080401@sers.ox.ac.uk> Message-ID: <425A35B1.5090301@its-lehmann.de> Hello. Ian Chard wrote: > Hi, > > I've recently upgraded to 2.0b3 and twice now I've found a nagios > process running at 535MB (it usually sits around 38MB). Has anyone > else experienced this? No, but something that might be related. You might want tosee the thread "Memory leak" started by me on April 3, although I just notice that my last posts didn't make it to the list... In short: I see memory usage going way up when Nagios (2.0b2 or -b3) is running. I can't tie this to the nagios process as ps or top don't give unexpected RSSes or SZes, but this can be reproduced. Independent of using the normal configuration or a stripped-down version. Although I'm not able to prove that the memory is used (or the memory usage is initiated) by Nagios, I guess Nagios is responsible for it. Valgrind output gives me lots of hints concerning possible memory leaks but I don't exactly understand it... Arno > - Ian > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Mon Apr 11 10:35:13 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Mon, 11 Apr 2005 10:35:13 +0200 Subject: Memory leak Message-ID: <425A36C1.4070408@its-lehmann.de> As I can't see this mail in the archive and Ians question might be related to this... Once more. Hello. Well, I did something Really Very Stupid and sent the following to me, not to the list... ok, that happens, but I didn't even notice. ------------ As promised... Arno Lehmann wrote: >> Run it through valgrind and log everything. Post the logs on some public webpage so users with little or no interest doesn't have to cope with them on the list. > > > > Doing it just now... wait some time, and I'll post the URL. http://www.lehleute.de/nagios-valgrind-err.txt has the valgrind output. I understand only small parts of it... This file is about 1.4 MB in size and resulted from a nagios run with my test config: 22 Hosts, 22 services, checks by check_icmp and check_dummy, no notifications, state retention file exists and fits the config file (hopefully...) Nagios ran for only a few minutes but still "ate" some memory. Created with: valgrind --tool=memcheck --leak-check=yes nagios-2.0b2/base/nagios /usr/local/nagios/etc/nagios.cfg >nagios-valgrind.txt 2>nagios-valgrind-err.txt Nagios is version 2.0b2 compiled from tarball: > elf:~ # more nagios-2.0b2/config.status > #! /bin/sh > # Generated automatically by configure. > # Run this file to recreate the current configuration. > # This directory was configured as follows, > # on host elf: > # > # ./configure > elf:~ # valgrind --version > valgrind-2.2.0 I hope someone can use this output to find the (possible) memory leaks. Arno ------------ Well, time has passed and I worked on the problem myself. I installed -b03 and kept everything the same except the binaries. Now, memory usage still goes up when Nagios runs - about 220 MB in hours - but then it stays at that level. About 10 hours after stopping Nagios the memory usage goes down again in "steps" to a "normal" level. To me, this looks like some kernel memory issue, like open sockets with a long timeout before they're shut down or something. Still, everything with 22 hosts and 22 (more or less) dummy checks. I'm reactivating the normal service checks one by one now... Anyway, something inside Nagios has obviously changed and it has an effect on Nagios' or the kernels memory consumption. Arno Andreas Ericsson wrote: > Arno Lehmann wrote: > >> Hi. >> >> Andreas Ericsson wrote: >> >>> The kernel uses memory, and most os's implement copy-on-write with >>> forked processes (Linux does this, and judging by the apps running >>> that's what you're using). That means only changed frames are >>> actually copied on a fork(), but the theoretical maximum consumption >>> (as determined by allocated buffers in the master process) is >>> displayed anyways. >> >> >> >> Errm - sure. Anyway, what I see is that the memory claimed by >> processes is far less than what the kernel says is used. >> > > This is because free and friends show what's available to a program > running on the system. Removed from that pool is memory hogged by > graphic drivers that shadow ram, and the kernels own memory. Large > routing tables, software raid and stateful in-kernel firewalls are three > of the most common causes for "disappearing" memory. If nagios had had a > leak it's process size would grow abnormally and most likely fairly > rapidly. In short, memory wouldn't be "missing", it would be assigned to > a process that usually doesn't claim that much of it. > >>>> Any other ideas? >>>> >>> >>> Run it through valgrind and log everything. Post the logs on some >>> public webpage so users with little or no interest doesn't have to >>> cope with them on the list. >> >> >> >> Doing it just now... wait some time, and I'll post the URL. >> > > Excellent. > >> One question, though: >> I get output like the following >> >>> ==30154== Syscall param socketcall.sendto(msg) contains uninitialised >>> or unaddressable byte(s) >>> ==30154== at 0x1BA4A4E1: sendto (in /lib/tls/libc.so.6) >>> ==30154== by 0x1BA33FB6: getaddrinfo (in /lib/tls/libc.so.6) >>> ==30154== by 0x1BC00521: ldap_connect_to_host (in >>> /usr/lib/libldap-2.2.so.7.0.8) >>> ==30154== by 0x1BBEACDC: ldap_int_open_connection (in >>> /usr/lib/libldap-2.2.so.7.0.8) >>> ==30154== Address 0x52BFD07D is on thread 1's stack >>> Nagios 2.0b2 starting... (PID=30154) >>> ==30160== >>> ==30160== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 41 >>> from 1) >>> ==30160== malloc/free: in use at exit: 1250742 bytes in 122 blocks. >>> ==30160== malloc/free: 17115 allocs, 16993 frees, 2215553 bytes >>> allocated. >>> ==30160== For counts of detected errors, rerun with: -v >>> ==30160== searching for pointers to 122 not-freed blocks. >>> ==30158== >>> ==30158== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 41 >>> from 1) >>> ==30158== malloc/free: in use at exit: 1250742 bytes in 122 blocks. >>> ==30158== malloc/free: 17146 allocs, 17024 frees, 2215788 bytes >>> allocated. >>> ==30158== For counts of detected errors, rerun with: -v >>> ==30158== searching for pointers to 122 not-freed blocks. >>> ==30160== checked 2197636 bytes. >>> ==30160== >>> ==30160== >>> ==30160== 8 bytes in 2 blocks are definitely lost in loss record 1 of 18 >>> ==30160== at 0x1B903BAC: malloc (in >>> /usr/lib/valgrind/vgpreload_memcheck.so) >>> ==30160== by 0x1B8E9F5E: _dl_map_object_from_fd (in /lib/ld-2.3.3.so) >>> ==30160== by 0x1B8EACC9: _dl_map_object (in /lib/ld-2.3.3.so) >>> ==30160== by 0x1B8F09CD: openaux (in /lib/ld-2.3.3.so) >>> ==30160== >>> ==30160== >>> ==30160== 37 bytes in 2 blocks are definitely lost in loss record 4 >>> of 18 >>> ==30160== at 0x1B903BAC: malloc (in >>> /usr/lib/valgrind/vgpreload_memcheck.so) >>> ==30160== by 0x1B9F7CAF: strdup (in /lib/tls/libc.so.6) >>> ==30160== by 0x807753E: add_host_notification_command_to_contact >>> (objects.c:2465) >>> ==30160== by 0x8084C95: xodtemplate_register_contact >>> (xodtemplate.c:7800) >>> ==30160== >>> ==30160== >>> ==30160== 41 bytes in 2 blocks are definitely lost in loss record 5 >>> of 18 >>> ==30160== at 0x1B903BAC: malloc (in >>> /usr/lib/valgrind/vgpreload_memcheck.so) >>> ==30160== by 0x1BC1D900: ??? >>> ==30160== by 0x1BC1DA58: ??? >>> ==30160== by 0x1BC05149: ??? >> >> >> >> The last block contains addresses, but not code lines. Is that normal? > > > Yes. It happens whenever the eip enters a library that hasn't got any > debug symbols, or if the binary is stripped and you don't have a symbol > table to load in to valgrind (you need to get the symbol table *before* > stripping for valgrind to be able to use it). > >> I assume that's kernel space, but I'm not sure about anything - >> valgrinds output is quite crypic to me. Above, I have the code lines >> and function names. >> > > Kernel space doesn't have debug symbols attached, ofcourse, so that > could be it. > >> Arno >> >>>> Arno >>>> >>> >> > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From netnagios at yahoo.com Mon Apr 11 11:16:31 2005 From: netnagios at yahoo.com (nagios monitor) Date: Mon, 11 Apr 2005 02:16:31 -0700 (PDT) Subject: monitor ipv6 host.. Message-ID: <20050411091632.41852.qmail@web42407.mail.yahoo.com> halooo there.. i'am using nagios-2.0b1 and plugin 1.4beta1.. i have a problem in monitoring my ipv6 host.. in my check_ping command... # 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 } what should i add so i can ping6 to my ipv6 host?? any suggestion?? thankss.. __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.lohez at linagora.com Mon Apr 11 11:29:53 2005 From: guillaume.lohez at linagora.com (guillaume LOHEZ) Date: Mon, 11 Apr 2005 11:29:53 +0200 Subject: monitor ipv6 host.. In-Reply-To: <20050411091632.41852.qmail@web42407.mail.yahoo.com> References: <20050411091632.41852.qmail@web42407.mail.yahoo.com> Message-ID: <425A4391.6030609@linagora.com> Hi You should add "-6" to the command like : command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 /*-6*/ Regards Guillaume nagios monitor a ?crit : >halooo there.. > >i'am using nagios-2.0b1 and plugin 1.4beta1.. > >i have a problem in monitoring my ipv6 host.. > >in my check_ping command... > ># 'check_ping' command definition >define command{ > command_name check_ping > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w >3000.0,80% -c 5000.0,100% -p 5 > } > >what should i add so i can ping6 to my ipv6 host?? >any suggestion?? > >thankss.. > > > >__________________________________ >Do you Yahoo!? >Yahoo! Small Business - Try our new resources site! >http://smallbusiness.yahoo.com/resources/ > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 LOHEZ Administrateur Systemes & Reseaux Portable: +33 (0)6 72 23 20 16 E-mail: guillaume.lohez at linagora.com ------------------------------------ LINAGORA 30 Rue Saint Augustin, PARIS 2eme Telephone: +33 (0)1 58 18 68 28 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremy+nagios at undergrid.net Mon Apr 11 11:36:29 2005 From: jeremy+nagios at undergrid.net (Jeremy T. Bouse) Date: Mon, 11 Apr 2005 02:36:29 -0700 Subject: monitor ipv6 host.. In-Reply-To: <20050411091632.41852.qmail@web42407.mail.yahoo.com> References: <20050411091632.41852.qmail@web42407.mail.yahoo.com> Message-ID: <20050411093629.GA3830@UnderGrid.net> That would depend on your OS and distribution of said OS. I know on Debian the ping6 (/bin/ping6) application is in the iputils-ping package. Having written most of the IPv6 support into check_ping back in revision 1.18 I've looked through the diff of the current version against what I wrote and most of it has remained unchanged except for improvement. The command call still remains the same, thus using --with-ping6-command=SYNTAX similar to --with-ping-command during the configure script if it is not detected automatically. Regards, Jeremy On Mon, Apr 11, 2005 at 02:16:31AM -0700, nagios monitor wrote: > halooo there.. > > i'am using nagios-2.0b1 and plugin 1.4beta1.. > > i have a problem in monitoring my ipv6 host.. > > in my check_ping command... > > # 'check_ping' command definition > define command{ > command_name check_ping > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w > 3000.0,80% -c 5000.0,100% -p 5 > } > > what should i add so i can ping6 to my ipv6 host?? > any suggestion?? > > thankss.. > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremy+nagios at undergrid.net Mon Apr 11 11:44:33 2005 From: jeremy+nagios at undergrid.net (Jeremy T. Bouse) Date: Mon, 11 Apr 2005 02:44:33 -0700 Subject: monitor ipv6 host.. In-Reply-To: <425A4391.6030609@linagora.com> References: <20050411091632.41852.qmail@web42407.mail.yahoo.com> <425A4391.6030609@linagora.com> Message-ID: <20050411094433.GB3830@UnderGrid.net> Actually the -6 is only needed if you want to explicitly have the command run check_ping for IPv6 only. Otherwise the code is written so that if the hostname given returns both IPv6 and IPv4 it attempts both. If the hostname only returns IPv6 or IPv4 it runs check_ping accordingly as if -4 or -6 were used. However this is only true if the IPv6 stack is available when check through the configure script. If a hostname is not given and an IP address is given it is treated accordingly depending on if that address is IPv6 or IPv4. The check_ping plugin was designed to handle both conditions. Regards, Jeremy On Mon, Apr 11, 2005 at 11:29:53AM +0200, guillaume LOHEZ wrote: > Hi > > You should add "-6" to the command like : > > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 /*-6*/ > > > Regards > Guillaume > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mugabonakeolivier at gmail.com Mon Apr 11 12:27:59 2005 From: mugabonakeolivier at gmail.com (Olivier Mugabonake) Date: Mon, 11 Apr 2005 12:27:59 +0200 Subject: No output returned from plugin Message-ID: <56f32e21050411032721102445@mail.gmail.com> Hello there, I 'm running nagios 1.2 on a linux gentoo. I would like to monitor hosts other than where nagios is intalled. when I run this nagios-server etc # /usr/nagios/libexec/check_nrpe -H remoteHost -c check_disk1 I receive the right status of disks on remoteHost. My problem is this: when I define the above command in services config file to be automatically handled by nagios, I receive this status on my nagios web interface:"No output returned from plugin" nrpe and nsca are running and correctly configured on nagios server and remoteHost. Please help me. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Mon Apr 11 12:36:26 2005 From: b00mer at gmx.net (Hendrik Baecker) Date: Mon, 11 Apr 2005 12:36:26 +0200 Subject: No output returned from plugin In-Reply-To: <56f32e21050411032721102445@mail.gmail.com> References: <56f32e21050411032721102445@mail.gmail.com> Message-ID: <425A532A.8090702@gmx.net> Olivier Mugabonake schrieb: >Hello there, > >I 'm running nagios 1.2 on a linux gentoo. >I would like to monitor hosts other than where nagios is intalled. >when I run this > nagios-server etc # /usr/nagios/libexec/check_nrpe -H remoteHost -c check_disk1 > >I receive the right status of disks on remoteHost. > > Did you try this as the User under which is Nagios running? Or just as root? >My problem is this: >when I define the above command in services config file to be >automatically handled by nagios, I receive this status on my nagios >web interface:"No output returned from plugin" > > > I hope you don't try to insert "/usr/nagios/libexec/check_nrpe -H remoteHost -c check_disk1" as check_command in your services.cfg... Normaly you define your check_command "PATH/check_nrpe ARGS" in your checkcommands.cfg with a nagios command_name like nrpe and this command_name you should have in your service definition. How did you do? Perhaps you can send the used parts out of your configs (services.cfg, checkcommands.cfg) >nrpe and nsca are running and correctly configured on nagios server >and remoteHost. > >Please help me. > > ...we will try... > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > Best regards, Hendrik ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vivek_222 at rediffmail.com Mon Apr 11 12:52:06 2005 From: vivek_222 at rediffmail.com (vivek sharma sharma) Date: 11 Apr 2005 10:52:06 -0000 Subject: Fwd:Plugin compatibility issue-On solaris Message-ID: <20050411105206.25535.qmail@webmail50.rediffmail.com> Dear Carole, Thanks for the suggestion but my requirement is that i have to maintain my Nagios server on linux-9 and have to monitor Solaris clients from it(Solaris 7,8,9) Any suggestions. Thanks. vivek On Mon, 11 Apr 2005 carole gimenez wrote : >*********************** >Warning: Your file, nagios-plugins-1.4.0-20040602.tar.gz, contains more than 32 files after decompression and cannot be scanned. >*********************** > > >Hi, > >I use nagios plugins on severals server based on solaris 8 and that works well. > >In attached file, you would find a modified version of nagios-plugins-1.4.0alpha1.tar.gz (the version of check_disk.c used is v1.42 (nagios-plugins 1.40alpha2) instead of v1.38 (nagios-plugins 1.40alpha1)). > >You must compile and install it on solaris servers that you want to monitor. > >I hope that will help you. > >Carole. > >vivek sharma sharma wrote: > >>Dear all, >> As already discussed I am running Nagios server on one Linux Server and i also have to >>monitor Solaris Os servers(SUN). >> >>Is there any way out for this >> >>Plz suggest. >> >>Thanks. >>Vivek >> >>Note: Forwarded message attached >> >>-- Orignal Message -- >> >> From: "vivek sharma sharma" >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] Plugin compatibility issue-On solaris >> >> ------------------------------------------------------------------------ >> >>Subject: >>[Nagios-users] Plugin compatibility issue-On solaris >> From: >>"vivek sharma sharma" >>To: >>nagios-users at lists.sourceforge.net >> >>To: >>nagios-users at lists.sourceforge.net >> >> >>Dear all, >> I am running Nagios Version 2.0b2 >>I am using push_check.sh command to check remote-disk/remote-procs by using check_disk .It is working fine from linux(Nagios host) to linux(client) but when i try to monitor it on Solaris then it gives me error as following: >>./push_check.sh /home/nagios/.ssh/id_rsa root at XXX.XXX.XXX ./check_procs -w 1:2 -c 2:1024 -C radiusd >>./push_check.sh: line 90: [: : integer expression expected >> >>After reading the help for push_check.sh i found out that it may be an issue with plugin compatibility. >> >>My Nagios Host is running on ::Linux 2.4.20-8 #1 >>The client that i am trying to test is running on:: >>SunOS sudsr 5.9 Generic sun4u sparc SUNW,Ultra-60 >> >>If this is an compatibility issue then from where i can get plugin for Solaris 7,8,9. >> >>Plz suggest. >> >>Thanks. >>Vivek >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mugabonakeolivier at gmail.com Mon Apr 11 13:01:57 2005 From: mugabonakeolivier at gmail.com (Olivier Mugabonake) Date: Mon, 11 Apr 2005 13:01:57 +0200 Subject: No output returned from plugin In-Reply-To: <425A532A.8090702@gmx.net> References: <56f32e21050411032721102445@mail.gmail.com> <425A532A.8090702@gmx.net> Message-ID: <56f32e2105041104015402d713@mail.gmail.com> Thanks for your reply >>Did you try this as the User under which is Nagios running? Or just as root? I did so just as root not as nagios user >>I hope you don't try to insert "/usr/nagios/libexec/check_nrpe -H remoteHost -c >>check_disk1" as check_command in your services.cfg... I defined the command above in the checkcommands.cfg file, in servece.cfg file I just gave the the name of the command To be more explicit here is a part of my services.cfg file : host_name mx1srv3 check_command check_disk_mx1srv3 And this is the concerned part of my checkcommand.cfg file define command{ command_name check_disk_mx1srv3 command_line /usr/nagios/libexec/check_nrpe -H mx1srv3 -c check_disk1 -w 25% -c 15% } I also set the specified permissions on the external command file (/var/nagios/rw ) (it belongs to nagios and apache users) Hope my problem is more clear I'll send you any other information you need. Thanks On Apr 11, 2005 12:36 PM, Hendrik Baecker wrote: > Olivier Mugabonake schrieb: > > >Hello there, > > > >I 'm running nagios 1.2 on a linux gentoo. > >I would like to monitor hosts other than where nagios is intalled. > >when I run this > > nagios-server etc # /usr/nagios/libexec/check_nrpe -H remoteHost -c check_disk1 > > > >I receive the right status of disks on remoteHost. > > > > > Did you try this as the User under which is Nagios running? Or just as root? > > >My problem is this: > >when I define the above command in services config file to be > >automatically handled by nagios, I receive this status on my nagios > >web interface:"No output returned from plugin" > > > > > > > I hope you don't try to insert > "/usr/nagios/libexec/check_nrpe -H remoteHost -c check_disk1" > as check_command in your services.cfg... > > Normaly you define your check_command "PATH/check_nrpe ARGS" in your > checkcommands.cfg with a nagios command_name like nrpe and this > command_name you should have in your service definition. > How did you do? > > Perhaps you can send the used parts out of your configs (services.cfg, > checkcommands.cfg) > > >nrpe and nsca are running and correctly configured on nagios server > >and remoteHost. > > > >Please help me. > > > > > ...we will try... > > > > >------------------------------------------------------- > >SF email is sponsored by - The IT Product Guide > >Read honest & candid reviews on hundreds of IT Products from real users. > >Discover which products truly live up to the hype. Start reading now. > >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > >::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > Best regards, > Hendrik > << ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adamdoti at yahoo.com Mon Apr 11 01:26:09 2005 From: adamdoti at yahoo.com (Adam Doti) Date: Sun, 10 Apr 2005 16:26:09 -0700 (PDT) Subject: Setting Up Notifications to email me Message-ID: <20050410232609.74269.qmail@web51309.mail.yahoo.com> Hello all, So I am looking for the straightforward way to set up Nagios to email me when a host goes down, restart etc.. I have read this page: http://192.168.1.119/nagios/docs/notifications.html Howere is very complicated and good if I want to do some fancy stuff I'm sure, but to just sinply send an email for all activity it doesn treally go into. I have found the "define_contact" function in the minimal.cfg file, I set it up with my email address, but no go. Any help or reference is much appreciated. -A __________________________________ Do you Yahoo!? Make Yahoo! your home page http://www.yahoo.com/r/hs ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Sun Apr 10 23:48:25 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Sun, 10 Apr 2005 23:48:25 +0200 Subject: Memory leak In-Reply-To: <42517F48.5070504@op5.se> References: <20050404031312.D865C890F5@sc8-sf-spam1.sourceforge.net> <20050404035155.GD96286@ws11114.aipo.gov.au> <42511270.3020909@its-lehmann.de> <42511C65.8040609@op5.se> <425174C2.7060806@its-lehmann.de> <42517F48.5070504@op5.se> Message-ID: <42599F29.3090808@its-lehmann.de> Hello. Well, I did something Really Very Stupid and sent the following to me, not to tehe list... ok, that happens, but I didn't even notice. ------------ As promised... Arno Lehmann wrote: >> Run it through valgrind and log everything. Post the logs on some public webpage so users with little or no interest doesn't have to cope with them on the list. > > > > Doing it just now... wait some time, and I'll post the URL. http://www.lehleute.de/nagios-valgrind-err.txt has the valgrind output. I understand only small parts of it... This file is about 1.4 MB in size and resulted from a nagios run with my test config: 22 Hosts, 22 services, checks by check_icmp and check_dummy, no notifications, state retention file exists and fits the config file (hopefully...) Nagios ran for only a few minutes but still "ate" some memory. Created with: valgrind --tool=memcheck --leak-check=yes nagios-2.0b2/base/nagios /usr/local/nagios/etc/nagios.cfg >nagios-valgrind.txt 2>nagios-valgrind-err.txt Nagios is version 2.0b2 compiled from tarball: > elf:~ # more nagios-2.0b2/config.status > #! /bin/sh > # Generated automatically by configure. > # Run this file to recreate the current configuration. > # This directory was configured as follows, > # on host elf: > # > # ./configure > elf:~ # valgrind --version > valgrind-2.2.0 I hope someone can use this output to find the (possible) memory leaks. Arno ------------ Well, time has passed and I worked on the problem myself. I installed -b03 and kept everything the same except the binaries. Now, memory usage still goes up when Nagios runs - about 220 MB in hours - but then it stays at that level. About 10 hours after stopping Nagios the memory usage goes down again in "steps" to a "normal" level. To me, this looks like some kernel memory issue, like open sockets with a long timeout before they're shut down or something. Still, everything with 22 hosts and 22 (more or less) dummy checks. I'm reactivating the normal service checks one by one now... Anyway, something inside Nagios has obviously changed and it has an effect on Nagios' or the kernels memory consumption. Arno Andreas Ericsson wrote: > Arno Lehmann wrote: > >> Hi. >> >> Andreas Ericsson wrote: >> >>> The kernel uses memory, and most os's implement copy-on-write with >>> forked processes (Linux does this, and judging by the apps running >>> that's what you're using). That means only changed frames are >>> actually copied on a fork(), but the theoretical maximum consumption >>> (as determined by allocated buffers in the master process) is >>> displayed anyways. >> >> >> >> Errm - sure. Anyway, what I see is that the memory claimed by >> processes is far less than what the kernel says is used. >> > > This is because free and friends show what's available to a program > running on the system. Removed from that pool is memory hogged by > graphic drivers that shadow ram, and the kernels own memory. Large > routing tables, software raid and stateful in-kernel firewalls are three > of the most common causes for "disappearing" memory. If nagios had had a > leak it's process size would grow abnormally and most likely fairly > rapidly. In short, memory wouldn't be "missing", it would be assigned to > a process that usually doesn't claim that much of it. > >>>> Any other ideas? >>>> >>> >>> Run it through valgrind and log everything. Post the logs on some >>> public webpage so users with little or no interest doesn't have to >>> cope with them on the list. >> >> >> >> Doing it just now... wait some time, and I'll post the URL. >> > > Excellent. > >> One question, though: >> I get output like the following >> >>> ==30154== Syscall param socketcall.sendto(msg) contains uninitialised >>> or unaddressable byte(s) >>> ==30154== at 0x1BA4A4E1: sendto (in /lib/tls/libc.so.6) >>> ==30154== by 0x1BA33FB6: getaddrinfo (in /lib/tls/libc.so.6) >>> ==30154== by 0x1BC00521: ldap_connect_to_host (in >>> /usr/lib/libldap-2.2.so.7.0.8) >>> ==30154== by 0x1BBEACDC: ldap_int_open_connection (in >>> /usr/lib/libldap-2.2.so.7.0.8) >>> ==30154== Address 0x52BFD07D is on thread 1's stack >>> Nagios 2.0b2 starting... (PID=30154) >>> ==30160== >>> ==30160== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 41 >>> from 1) >>> ==30160== malloc/free: in use at exit: 1250742 bytes in 122 blocks. >>> ==30160== malloc/free: 17115 allocs, 16993 frees, 2215553 bytes >>> allocated. >>> ==30160== For counts of detected errors, rerun with: -v >>> ==30160== searching for pointers to 122 not-freed blocks. >>> ==30158== >>> ==30158== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 41 >>> from 1) >>> ==30158== malloc/free: in use at exit: 1250742 bytes in 122 blocks. >>> ==30158== malloc/free: 17146 allocs, 17024 frees, 2215788 bytes >>> allocated. >>> ==30158== For counts of detected errors, rerun with: -v >>> ==30158== searching for pointers to 122 not-freed blocks. >>> ==30160== checked 2197636 bytes. >>> ==30160== >>> ==30160== >>> ==30160== 8 bytes in 2 blocks are definitely lost in loss record 1 of 18 >>> ==30160== at 0x1B903BAC: malloc (in >>> /usr/lib/valgrind/vgpreload_memcheck.so) >>> ==30160== by 0x1B8E9F5E: _dl_map_object_from_fd (in /lib/ld-2.3.3.so) >>> ==30160== by 0x1B8EACC9: _dl_map_object (in /lib/ld-2.3.3.so) >>> ==30160== by 0x1B8F09CD: openaux (in /lib/ld-2.3.3.so) >>> ==30160== >>> ==30160== >>> ==30160== 37 bytes in 2 blocks are definitely lost in loss record 4 >>> of 18 >>> ==30160== at 0x1B903BAC: malloc (in >>> /usr/lib/valgrind/vgpreload_memcheck.so) >>> ==30160== by 0x1B9F7CAF: strdup (in /lib/tls/libc.so.6) >>> ==30160== by 0x807753E: add_host_notification_command_to_contact >>> (objects.c:2465) >>> ==30160== by 0x8084C95: xodtemplate_register_contact >>> (xodtemplate.c:7800) >>> ==30160== >>> ==30160== >>> ==30160== 41 bytes in 2 blocks are definitely lost in loss record 5 >>> of 18 >>> ==30160== at 0x1B903BAC: malloc (in >>> /usr/lib/valgrind/vgpreload_memcheck.so) >>> ==30160== by 0x1BC1D900: ??? >>> ==30160== by 0x1BC1DA58: ??? >>> ==30160== by 0x1BC05149: ??? >> >> >> >> The last block contains addresses, but not code lines. Is that normal? > > > Yes. It happens whenever the eip enters a library that hasn't got any > debug symbols, or if the binary is stripped and you don't have a symbol > table to load in to valgrind (you need to get the symbol table *before* > stripping for valgrind to be able to use it). > >> I assume that's kernel space, but I'm not sure about anything - >> valgrinds output is quite crypic to me. Above, I have the code lines >> and function names. >> > > Kernel space doesn't have debug symbols attached, ofcourse, so that > could be it. > >> Arno >> >>>> Arno >>>> >>> >> > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Mon Apr 11 09:11:01 2005 From: b00mer at gmx.net (Hendrik Baecker) Date: Mon, 11 Apr 2005 09:11:01 +0200 Subject: Customizing CGIs Message-ID: <425A2305.2060404@gmx.net> Hi all, I have some Problem with customizing my trends.cgi. My boss wants the first assumed state to be the best. So for Hosts & Services it should be "Host UP" and "Service OK" State without clicking the drop down boxes on the Website. In trends.c I've found: **near line 467** if(display_type==DISPLAY_HOST_TRENDS){ printf("",initial_assumed_service_state); printf("